summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/locales.php
AgeCommit message (Collapse)Author
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-09-28Add locale for Thai. Fixes #1916.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-12-24Added Croatian as hr_HR. Fixes #1514.Bharat Mediratta
2010-11-28Replace self::func() with <helper_name>::func() for all public APIsBharat Mediratta
and constants to make overloading easier. Fixes #1510.
2010-11-18Add Bengali (bn_BD).Bharat Mediratta
2010-11-07Add Malay as 'Bahasa Melayu'Bharat Mediratta
2010-09-07Add Macedonian. Fixes ticket #1345.Bharat Mediratta
2010-09-06Revert "change the Setswana locale from tn_ZA to tn_BW since it's mostly"Bharat Mediratta
This reverts commit 2d948cb39fd2da6a5f966a10cbeb4f5d5caec5a3. Valiant said that tn_ZA is right: http://gallery.menalto.com/node/97840#comment-352865
2010-09-06change the Setswana locale from tn_ZA to tn_BW since it's mostlyBharat Mediratta
Botswana anyway according to @sagemaniac in http://gallery.menalto.com/node/97840
2010-09-05Add Setswana (tn_ZA). Fixes ticket #1336.Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-24Add Faroese to the language list. Verified that it uses the default plural ↵Andy Staudacher
rules, thus no changes in Gallery_I18n.php or on the server side required.
2010-02-09Whitespace.Bharat Mediratta
2010-02-08Fix Arabic language name. Thanks shaibn for reporting the issue. Verified ↵Andy Staudacher
with CLDR data.
2010-02-07Refactor the is_rtl() helper into the Gallery_I18n class. This allows checkingTim Almdal
for a config value "force_rtl" which will layout the gallery pages in rtl mode without having to change to an language that is no longer understandable to the developer. Adding the line "$config['force_rtl'] = true;" to the config/locales.php file will make it happen.
2010-02-06Fix for ticket 892: Avoid double escaping of HTML entities, instead use ↵Andy Staudacher
Unicode in the source code for the locale names (as we do in other places already). Note: Also fixing the localized name of Ukrainian. For some reason it was garbled before.
2010-01-28Fix language preference block / language cookie reading.Andy Staudacher
The preference block must have been broken by a jquery update, and the cookie reading by a Kohana update.
2010-01-23Fix for bug 984, consistently interpret installed / available locales as array.Andy Staudacher
On the current hostgater setup (PHP 5.2.12), locales::available() was returning an array and isset($locales->$code) would always (silently) return false. Choosing array over stdClass since count($someStdClass) will always return 1, and not the number of object members.
2009-11-24Rename I18n to Gallery_I18n to avoid conflict with Kohana 2.4Bharat Mediratta
2009-10-23Minor changes to more closely align this branch with masterTim Almdal
2009-10-22Change the name of identity library from Identity to IdentityProvider. ↵Tim Almdal
Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
2009-10-16Remove all non Identity API methods from Identity.php. Created an ↵Tim Almdal
MY_Session class to provide the user state changes in the session and a login.php helper that has the login form.
2009-10-16Start simplifying the interface by moving the static methods from user.php ↵Tim Almdal
and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.
2009-10-13remove duplicate function definitionTim Almdal
2009-10-13Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/helpers/gallery_block.php modules/gallery/helpers/gallery_theme.php modules/gallery/helpers/user.php modules/user/helpers/user_event.php
2009-10-13refactor locale related functionality out of the user module and into the ↵Tim Almdal
gallery module.
2009-10-06Change the focus of the user module from providing user/group management to ↵Tim Almdal
providing the default Identity implementation. * Remove the user_event callbacks and move them to the gallery_event callbacks. This will insure that the active user is always loaded (because the gallery callbacks are always called first) to its available to other gallery_ready handlers. Moved the method set_request_locale to the locales helper as it is more related to locales. * Move the user controllers and views into the gallery module. * Move the theme and block processing out of the user module and into core.
2009-09-15Improve language preference (Acccept-Language header matching): Boost ↵Andy Staudacher
same-language match over exact locale match for lower qvalue.
2009-09-05Bugfixes for locales::locale_from_http_request(), and adding tests.Andy Staudacher
(And the tests should illustrate that kohana 2.4's API doesn't quite fit our purpose of simply getting the best match between the accepted (client) and the installed (g3) locales.)
2009-09-04Add @todo to replace locales::locale_from_http_request()Bharat Mediratta
request::accepts_language() when we upgrade to Kohana 2.4
2009-09-04Add new locale preferences: Adding per session (cookie) locale preferences ↵Andy Staudacher
and check the browser's / OS' locale preferences. Ticket 582.
2009-07-17Rename "locale" helper to "locales" to avoid conflicting with PHP 5.3.Bharat Mediratta
Fixes ticket #194