FEATURE: Allow plugins to register a new locale

This commit is contained in:
Gerhard Schlager
2018-01-25 12:09:18 +01:00
parent ba6cd83e3a
commit eb52c5469e
29 changed files with 480 additions and 71 deletions

View File

@@ -0,0 +1,2 @@
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:es_MX) %>

View File

@@ -0,0 +1,2 @@
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:foo) %>

View File

@@ -0,0 +1,2 @@
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:tlh) %>

View File

@@ -0,0 +1 @@
es_MX:

View File

@@ -0,0 +1 @@
foo:

View File

@@ -0,0 +1 @@
tlh:

View File

@@ -0,0 +1 @@
es_MX:

View File

@@ -0,0 +1 @@
foo:

View File

@@ -0,0 +1 @@
tlh:

View File

@@ -0,0 +1 @@
// this file should contain plural rules

View File

@@ -0,0 +1 @@
// this file should contain plural rules

View File

@@ -0,0 +1 @@
// this file should contain the locale configuration for moment.js

View File

@@ -0,0 +1,4 @@
# name: custom-locales
# about: Fixtures for plugin that adds new locales
# version: 1.0
# authors: Gerhard Schlager