Commit graph

20 commits

Author SHA1 Message Date
Benjamin Renard 32e27b931e
I18n: Move ___() function in functions.php 2023-03-22 18:19:08 +01:00
Benjamin Renard 85f631a911
I18n: remove useless (and potentially problematic) locales alias links 2023-03-09 18:16:09 +01:00
Benjamin Renard 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
Benjamin Renard c626bc177a I18n CLI commands: replace --core parameter by Cli::core_mode() 2023-02-28 01:14:37 +01:00
Benjamin Renard 6a810bf75a I18n: fix handling core mode in po2json() 2023-02-25 17:19:17 +01:00
Benjamin Renard 5b9d09b644 I18n: to not extract messages from vendor directories and Smarty cache templates files 2023-02-25 17:00:14 +01:00
Benjamin Renard a4d2e3369c I18n: fix handling non-executable smarty-gettext/tsmarty2c.php script 2023-02-25 05:07:00 +01:00
Benjamin Renard 8ff2fe663d Fix PHP 7.3 compatibility 2023-02-16 01:53:08 +01:00
Benjamin Renard 73dc860972 I18n: Split translated messages of core and app in discting gettext domains 2023-02-14 01:21:52 +01:00
Benjamin Renard 9213ae076f I18n: fix CLI commands messages 2023-02-13 03:02:00 +01:00
Benjamin Renard 5bd930c838 I18n: fix locles JS file path in compile_messages CLI command 2023-02-13 02:48:37 +01:00
Benjamin Renard 5691494f12 I18n: fix extracting messages from all PHP, JS and templates files 2023-02-13 02:36:40 +01:00
Benjamin Renard 317cb30cb3 Tpl: Add stuff to have multiple templates directories with priority 2023-02-13 00:42:37 +01:00
Benjamin Renard 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
Benjamin Renard 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
Benjamin Renard 0eb2c543f1 Remove useless "use" statments in EesyPHP namespace 2023-01-31 01:00:56 +01:00
Benjamin Renard 1fff8f0af4 Move templating stuff in EesyPHP namespace 2023-01-31 00:30:04 +01:00
Benjamin Renard c8659ea46f Move CLI stuff in EesyPHP namespace 2023-01-30 00:11:26 +01:00
Benjamin Renard 5e8a2b6d1c Move translation (i18n) stuff in EesyPHP namespace 2023-01-29 23:35:17 +01:00