Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/html/l10n.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/l10n.js')
-rw-r--r--html/l10n.js3
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];