Sfoglia il codice sorgente

added comment for a languages definition

Skylsmoi 8 anni fa
parent
commit
7fb59f9979
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tracim/tracim/public/assets/js/trad.js

+ 1 - 1
tracim/tracim/public/assets/js/trad.js Vedi File

15
 
15
 
16
 function __ (tradId) {
16
 function __ (tradId) {
17
   const normalizedLang = (() => {
17
   const normalizedLang = (() => {
18
-    switch (globalTracimLang) { // this var is set in tracim header
18
+    switch (globalTracimLang) { // @TODO - Côme - 2017/10/30 - need a more secure way to handle different langs
19
       case 'fr':
19
       case 'fr':
20
       case 'fr-fr':
20
       case 'fr-fr':
21
       case 'fr_FR':
21
       case 'fr_FR':