git ssb

10+

Matt McKegg / patchwork



Commit 130286f770625230c71948c18c13ba3dd97a5d07

Auto-loading of all languages

As default i18n-node read all files within that directory and detect all given locales by their filenames.
Marcos Gutierrez committed on 9/29/2017, 6:34:19 PM
Parent: cabc473e5efae9784e813e91373c35c0b8c5635f

Files changed

plugs/intl/sync/i18n.jschanged
plugs/intl/sync/i18n.jsView
@@ -74,9 +74,8 @@
7474 if (_locale) return
7575 //TODO: Depject this!
7676 _locale = true;
7777 i18nL.configure({
78- locales:['en','ki','es'],
7978 directory: appRoot + '/locales',
8079 defaultLocale: 'en'
8180 });
8281

Built with git-ssb-web