summaryrefslogtreecommitdiff
path: root/lib/Minz/Translate.php
AgeCommit message (Collapse)Author
2015-01-08Fix translation bugGravatar Marien Fressinaud
A path registered after initialization must be loaded.
2015-01-08Fix bug with Minz_TranslateGravatar Marien Fressinaud
When a path was registered before initialization, it was not considered unless by calling reset() method. This is fixed now.
2015-01-08Fix install.php script (choice of lang)Gravatar Marien Fressinaud
Fix a bug in Minz_Translate too
2015-01-08Change Minz_Translate::reset() behaviourGravatar Marien Fressinaud
- Don't reset the path list (use init() instead) - init() accept a null lang_name. To use i18n, you'll have to use reset() later. It is helpful to load the list of available language before choosing one of them.
2015-01-08Fix Minz_Translate::availableLanguages() methodGravatar Marien Fressinaud
2015-01-08Merge branch 'dev' into 252-extensionsGravatar Marien Fressinaud
Conflicts: app/FreshRSS.php app/Models/Configuration.php app/views/index/index.phtml app/views/index/normal.phtml lib/Minz/Configuration.php lib/Minz/Translate.php lib/lib_rss.php
2015-01-06Fix i18n loading and availableLanguages callsGravatar Marien Fressinaud
- Change the way to init i18n - Add a availableLanguages() method to Minz_Translate See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06BREAKING FEATURE: Remove general in configGravatar Marien Fressinaud
General attribute has been removed from system config. Now subattributes (e.g. environment, salt, title, etc.) are directly accessible. YOU HAVE TO FIX YOUR ./data/config.php file! - Remove the general array - Values inside this array must be kept - To see what it must look like, please have a look to ./data/config.default.php (but keep your values!!). See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-05New configuration system (not working yet)Gravatar Marien Fressinaud
- Use only Minz_Configuration - register() method to load a new configuration file - get() to get a configuration - new exceptions related to configuration - fix a list configuration calls to have FRSS working Current problems to resolve: - How to handle configuration param verifications (i.e. check auth_type is a value from none, http_auth, persona or form) - We must use $conf = Minz_Configuration::get('system'); $general_conf = $conf->general; to access global system configuration which is quite annoying. How to change that? See https://github.com/FreshRSS/FreshRSS/issues/730
2014-12-18Update Minz_TranslationGravatar Marien Fressinaud
- Give possibility to register new i18n files - Add a extension->registerTranslates() method - extensions can define new strings or override previous ones Fix https://github.com/FreshRSS/FreshRSS/issues/731
2014-12-10Verbose for unvalid key formatGravatar Marien Fressinaud
2014-12-03Update the i18n system.Gravatar Marien Fressinaud
Follow recommendations from https://github.com/FreshRSS/FreshRSS/issues/334
2014-08-01Basic protection against XSRF using RefererGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/554 Also edited the error controler to use the log message passed in Minz_Error::error().
2014-06-15Add two wrappers (_t() and _i())Gravatar Marien Fressinaud
- _t() is a wrapper for Minz_Translate::t() - Improve coding style of Translate.php - _i() is a wrapper for FreshRSS::icon() - queries.phtml shows how they work - It is a lot easier to read files with these functions :)
2013-12-15Problème de casse renommage répertoireGravatar Alexandre Alapetite