|
@@ -43,7 +43,19 @@ var globalBackgroundSync=true;
|
43
|
43
|
var globalSyncResourcesInterval=120000;
|
44
|
44
|
var globalEnableRefresh=false;
|
45
|
45
|
var globalEnableKbNavigation=true;
|
46
|
|
-var globalInterfaceLanguage=window.parent.globalTracimLang === 'fr' ? 'fr_FR' : window.parent.globalTracimLang; // globalTracimLang is declared in tracim header (caldavzap in in an iframe)
|
|
46
|
+// var globalInterfaceLanguage=window.parent.globalTracimLang === 'fr' ? 'fr_FR' : window.parent.globalTracimLang; // Côme - 2017/09/14 - line outdated
|
|
47
|
+// globalTracimLang is declared in tracim header (caldavzap in in an iframe)
|
|
48
|
+var globalInterfaceLanguage = (function (lang) {
|
|
49
|
+ switch (lang) {
|
|
50
|
+ case 'fr':
|
|
51
|
+ return 'fr_FR';
|
|
52
|
+ case 'en':
|
|
53
|
+ return 'en_US';
|
|
54
|
+ default:
|
|
55
|
+ return 'en_US';
|
|
56
|
+ }
|
|
57
|
+})(window.parent.globalTracimLang)
|
|
58
|
+
|
47
|
59
|
var globalInterfaceCustomLanguages=['en_US', 'fr_FR'];
|
48
|
60
|
var globalSortAlphabet=' 0123456789'+
|
49
|
61
|
'AÀÁÂÄÆÃÅĀBCÇĆČDĎEÈÉÊËĒĖĘĚFGĞHIÌÍÎİÏĪĮJKLŁĹĽMNŃÑŇOÒÓÔÖŐŒØÕŌ'+
|