Browse Source

added comment for a languages definition

Skylsmoi 6 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,7 +15,7 @@ var tracimJsTraduction = {
15 15
 
16 16
 function __ (tradId) {
17 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 19
       case 'fr':
20 20
       case 'fr-fr':
21 21
       case 'fr_FR':