Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/html/l10n.js
diff options
context:
space:
mode:
authorLionel LASKE <llaske@c2s.fr>2013-04-18 20:02:42 (GMT)
committer Lionel LASKE <llaske@c2s.fr>2013-04-18 20:02:42 (GMT)
commite62984c24b0c7c6ab3714a7fb8650b92c2d89c9c (patch)
treee66ec9d18f4fab8259b56236d56babcd118b9af6 /html/l10n.js
parentf5330eb90da1d56efd0c08bfccbb4a3fd3d493fa (diff)
Credit screen. Context saving on the XO.
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];