diff options
Diffstat (limited to 'html/l10n.js')
-rw-r--r-- | html/l10n.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/html/l10n.js b/html/l10n.js index a0b0808..8d6eac7 100644 --- a/html/l10n.js +++ b/html/l10n.js @@ -2,7 +2,8 @@ // Change current language setting -__$FC_l10n = Abcd.frTexts; +__$FC_l10n = (Abcd.context !== undefined && Abcd.context.lang !== undefined && Abcd.context.lang == "fr" ) ? Abcd.frTexts : Abcd.enTexts; +Abcd.letters = (Abcd.context !== undefined && Abcd.context.lang !== undefined && Abcd.context.lang == "fr" ) ? Abcd.frLetters : Abcd.enLetters; __$FC_l10n_set = function(texts) { __$FC_l10n = texts; Abcd.context.lang = __$FC_l10n[0]; |