Skip to content

Commit

Permalink
fix gl_ES -> gl
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
  • Loading branch information
julien-nc committed Dec 23, 2024
1 parent 64500f0 commit 7ee4752
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion l10n/descriptions/gen_info.xml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DEST_INFO_XML_FILE=info.xml
rm -f $TMP_XML_FILE $INFO_XML_FILE

for d in */ ; do
lang=`echo "$d" | sed 's/fr_FR/fr/g' | sed 's/es_ES/es/g' | sed 's/de_DE/de/g' | sed 's/ja_JP/ja/g' | sed 's/ru_RU/ru/g' | sed 's/nl_NL/nl/g' | sed 's/it_IT/it/g' | sed 's/da_DK/da/g' | sed 's/sv_SE/sv/g' | sed 's/tr_TR/tr/g' | sed 's/ko_KR/ko/g' | sed 's/ca_ES/ca/g' | sed 's/ro_RO/ro/g' | sed 's/no_NO/nn/g' | sed 's/cs_CZ/cs/g' | sed 's/fi_FI/fi/g' | sed 's/hu_HU/hu/g' | sed 's/pl_PL/pl/g' | sed 's/sk_SK/sk/g' | sed 's/fa_IR/fa/g' | sed 's/hi_IN/hi/g' | sed 's/id_ID/id/g' | sed 's/uk_UA/uk/g' | sed 's/el_GR/el/g' | sed 's/bg_BG/bg/g' | sed 's/en_GB/en/g' | sed 's/sl_SI/sl/g' | sed 's/af_ZA/af/g' | sed 's/pt_PT/pt/g' | sed 's/pt_BR/pt-br/g' | sed 's/ar_SA/ar/g' | sed 's/bn_BD/bn/g' | sed 's/af_ZA/af/g' | sed 's/he_IL/he/g' | sed 's/mn_MN/mn/g' | sed 's/ne_NP/ne/g' | sed 's/sr_SP/sr/g' | sed 's/ta_IN/ta/g' | sed 's/te_IN/te/g' | sed 's/th_TH/th/g' | sed 's/vi_VN/vi/g' | sed 's/zh_CN/zh-hans/g' | sed 's/zh_TW/zh-hant/g' | sed 's/sq_AL/sq/g' | sed 's/mk_MK/mk/g' | sed 's/lt_LT/lt/g' | sed 's/ur_IN/ur/g' | sed 's|/||g'`
lang=`echo "$d" | sed 's/fr_FR/fr/g' | sed 's/es_ES/es/g' | sed 's/gl_ES/gl/g' | sed 's/de_DE/de/g' | sed 's/ja_JP/ja/g' | sed 's/ru_RU/ru/g' | sed 's/nl_NL/nl/g' | sed 's/it_IT/it/g' | sed 's/da_DK/da/g' | sed 's/sv_SE/sv/g' | sed 's/tr_TR/tr/g' | sed 's/ko_KR/ko/g' | sed 's/ca_ES/ca/g' | sed 's/ro_RO/ro/g' | sed 's/no_NO/nn/g' | sed 's/cs_CZ/cs/g' | sed 's/fi_FI/fi/g' | sed 's/hu_HU/hu/g' | sed 's/pl_PL/pl/g' | sed 's/sk_SK/sk/g' | sed 's/fa_IR/fa/g' | sed 's/hi_IN/hi/g' | sed 's/id_ID/id/g' | sed 's/uk_UA/uk/g' | sed 's/el_GR/el/g' | sed 's/bg_BG/bg/g' | sed 's/en_GB/en/g' | sed 's/sl_SI/sl/g' | sed 's/af_ZA/af/g' | sed 's/pt_PT/pt/g' | sed 's/pt_BR/pt-br/g' | sed 's/ar_SA/ar/g' | sed 's/bn_BD/bn/g' | sed 's/af_ZA/af/g' | sed 's/he_IL/he/g' | sed 's/mn_MN/mn/g' | sed 's/ne_NP/ne/g' | sed 's/sr_SP/sr/g' | sed 's/ta_IN/ta/g' | sed 's/te_IN/te/g' | sed 's/th_TH/th/g' | sed 's/vi_VN/vi/g' | sed 's/zh_CN/zh-hans/g' | sed 's/zh_TW/zh-hant/g' | sed 's/sq_AL/sq/g' | sed 's/mk_MK/mk/g' | sed 's/lt_LT/lt/g' | sed 's/ur_IN/ur/g' | sed 's|/||g'`

# skip some languages
if [ "$lang" == "en_US" ] || [ "$lang" == "eo_UY" ] || [ "$lang" == "oc_FR" ] || [ "$lang" == "qu_PE" ] || [ "$lang" == "bo_BT" ]; then
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions l10n/write.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ translationtool.phar convert-po-files
cd -
rename 's/fr_FR/fr/g' *.js*
rename 's/es_ES/es/g' *.js*
rename 's/gl_ES/gl/g' *.js*
rename 's/de_DE/de/g' *.js*
rename 's/ja_JP/ja/g' *.js*
rename 's/ru_RU/ru/g' *.js*
Expand Down

0 comments on commit 7ee4752

Please sign in to comment.