Browse Source

added comment for a languages definition

Skylsmoi 7 years ago
parent
commit
7fb59f9979
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/public/assets/js/trad.js

+ 1 - 1
tracim/tracim/public/assets/js/trad.js View 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':