Browse Source

New lang - fixed french langcode and comparsion in lang-clean script

Robert Pelnar 5 years ago
parent
commit
d301aa0e8c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Firmware/language.h
  2. 1 1
      lang/lang-clean.sh

+ 1 - 1
Firmware/language.h

@@ -93,7 +93,7 @@ typedef struct
 #define LANG_CODE_CZ 0x6373 //!<'cs'
 #define LANG_CODE_DE 0x6465 //!<'de'
 #define LANG_CODE_ES 0x6573 //!<'es'
-#define LANG_CODE_FR 0x6671 //!<'fr'
+#define LANG_CODE_FR 0x6672 //!<'fr'
 #define LANG_CODE_IT 0x6974 //!<'it'
 #define LANG_CODE_PL 0x706c //!<'pl'
 ///@}

+ 1 - 1
lang/lang-clean.sh

@@ -21,7 +21,7 @@ rm_if_exists()
 
 clean_lang()
 {
- if [ "$1" == "en" ]; then
+ if [ "$1" = "en" ]; then
   rm_if_exists lang_$1.tmp
  else
   rm_if_exists lang_$1.tmp