mirror of
https://github.com/discourse/discourse.git
synced 2024-12-20 00:55:58 +08:00
a2c04be718
FIX: client's translation overrides were not working when the current locale was missing a key FIX: ExtraLocalesController.show was not properly handling multiple translations FIX: JsLocaleHelper#output_locale was not properly handling multiple translations FIX: ExtraLocalesController.show's spec which was randomly failing FIX: JsLocaleHelper#output_locale was muting cached translations hashes REFACTOR: move 'enableVerboseLocalization' to the 'localization' initializer REFACTOR: remove unused I18n.js methods (getFallbacks, localize, parseDate, toTime, strftime, toCurrency, toPercentage) REFACTOR: remove all I18n.pluralizationRules and instead use MessageFormat's pluralization rules TEST: add tests for localization initializer TEST: add tests for I18n.js
4 lines
96 B
Plaintext
4 lines
96 B
Plaintext
//= depend_on 'client.sk.yml'
|
|
//= require locales/i18n
|
|
<%= JsLocaleHelper.output_locale(:sk) %>
|