From: Rudolf Polzer Date: Fri, 6 Jul 2018 20:31:29 +0000 (+0200) Subject: Fix sort order of languages list. X-Git-Tag: xonotic-v0.8.5~1960 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8c0f3ce76fad7d0992fb6a19d35a91954ca1c4ba;p=xonotic%2Fxonotic-data.pk3dir.git Fix sort order of languages list. --- diff --git a/check-translations.sh b/check-translations.sh index 5e2ad5a54..6a55b5ef7 100755 --- a/check-translations.sh +++ b/check-translations.sh @@ -101,11 +101,11 @@ if [ x"$mode" = x"txt" ]; then if [ "$p" -lt 50 ]; then continue fi - item="$l $l \"$l\" 0%" + item="$l \"$l\" \"$l\" 0%" fi printf "%s\n" "$item" | sed -e "s/[0-9][0-9]*%/$p%/" done - } | tr '"' '\t' | sort -k3 | tr '\t' '"' + } | LC_ALL=C sort -t '"' -k4,4 fi if [ x"$mode" = x"po" ]; then diff --git a/languages.txt b/languages.txt index 41f0dda9f..e16e0b878 100644 --- a/languages.txt +++ b/languages.txt @@ -1,25 +1,25 @@ -ko Korean "한국의" 33% -ast Asturian "Asturianu" 73% +ast "Asturian" "Asturianu" 73% +de "German" "Deutsch" 99% +de_CH "German (Switzerland)" "Deutsch (Schweiz)" 99% +en "English" "English" 100% +en_AU "English (Australia)" "English (Australia)" 86% +es "Spanish" "Español" 99% +fr "French" "Français" 99% +ga "Irish" "Irish" 35% +it "Italian" "Italiano" 99% +hu "Hungarian" "Magyar" 55% +nl "Dutch" "Nederlands" 70% +pl "Polish" "Polski" 81% +pt "Portuguese" "Português" 98% +pt_BR "Portuguese (Brazil)" "Português (Brasil)" 99% +ro "Romanian" "Romana" 83% +fi "Finnish" "Suomi" 33% +el "Greek" "Ελληνική" 33% +be "Belarusian" "Беларуская" 61% +bg "Bulgarian" "Български" 68% +ru "Russian" "Русский" 99% +sr "Serbian" "Српски" 71% +uk "Ukrainian" "Українська" 57% zh_CN "Chinese (China)" "中文" 62% -de German "Deutsch" -de_CH German "Deutsch (Schweiz)" -en English "English" -en_AU English "English (Australia)" 86% -es Spanish "Español" 99% -fr French "Français" -ga Irish "Irish" 35% -it Italian "Italiano" -hu Hungarian "Magyar" 55% -nl Dutch "Nederlands" 70% -pl Polish "Polski" 81% -pt Portuguese "Português" -pt_BR Portuguese "Português (Brasil)" 99% -ro Romanian "Romana" 83% -fi Finnish "Suomi" 33% zh_TW "Chinese (Taiwan)" "國語" 68% -el Greek "Ελληνική" 33% -be Belarusian "Беларуская" 61% -bg Bulgarian "Български" 68% -ru Russian "Русский" -sr Serbian "Српски" 71% -uk Ukrainian "Українська" 57% +ko "Korean" "한국의" 33%