Commit graph

18 commits

Author SHA1 Message Date
3bf65aea4d CLI compile_messages: include core translated messages in JSON catalog 2023-03-07 17:50:17 +01:00
Benjamin Renard
83f1445799
Make core libs set their default config values in App
This permit to homogenize the method to store it and permit an access to 
all config default values.
Futhermore, core libs init() methods now does not handle parameters: all 
are taken from config.
2023-03-01 16:22:11 +01:00
c626bc177a I18n CLI commands: replace --core parameter by Cli::core_mode() 2023-02-28 01:14:37 +01:00
6a810bf75a I18n: fix handling core mode in po2json() 2023-02-25 17:19:17 +01:00
5b9d09b644 I18n: to not extract messages from vendor directories and Smarty cache templates files 2023-02-25 17:00:14 +01:00
a4d2e3369c I18n: fix handling non-executable smarty-gettext/tsmarty2c.php script 2023-02-25 05:07:00 +01:00
8ff2fe663d Fix PHP 7.3 compatibility 2023-02-16 01:53:08 +01:00
73dc860972 I18n: Split translated messages of core and app in discting gettext domains 2023-02-14 01:21:52 +01:00
9213ae076f I18n: fix CLI commands messages 2023-02-13 03:02:00 +01:00
5bd930c838 I18n: fix locles JS file path in compile_messages CLI command 2023-02-13 02:48:37 +01:00
5691494f12 I18n: fix extracting messages from all PHP, JS and templates files 2023-02-13 02:36:40 +01:00
317cb30cb3 Tpl: Add stuff to have multiple templates directories with priority 2023-02-13 00:42:37 +01:00
4f47dc056d Tpl: Add stuff to handle static files
* Move example application in example sub-directory
* Widely use App::get() instead of Config::get()
2023-02-12 00:30:36 +01:00
f2edf4910a Switch to YAML configuration file, add Config & App classes in EesyPHP namespace
App initialization is now handle by App::init() method and all 
configuration information is now retreive using Config::get() method.
2023-02-08 02:27:15 +01:00
0eb2c543f1 Remove useless "use" statments in EesyPHP namespace 2023-01-31 01:00:56 +01:00
1fff8f0af4 Move templating stuff in EesyPHP namespace 2023-01-31 00:30:04 +01:00
c8659ea46f Move CLI stuff in EesyPHP namespace 2023-01-30 00:11:26 +01:00
5e8a2b6d1c Move translation (i18n) stuff in EesyPHP namespace 2023-01-29 23:35:17 +01:00