From 8c0f3ce76fad7d0992fb6a19d35a91954ca1c4ba Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 6 Jul 2018 22:31:29 +0200 Subject: [PATCH] Fix sort order of languages list. --- check-translations.sh | 4 ++-- languages.txt | 46 +++++++++++++++++++++---------------------- 2 files changed, 25 insertions(+), 25 deletions(-) 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% -- 2.39.2