fi
# Note: we're only reporting EXISTING fuzzy matches in the Fuzzy count, thus -N.
po=`msgmerge -N "$X" common.pot`
- ne=`printf "%s\n" "$po" | msgfmt -o /dev/null --check-format --check-header --use-fuzzy - 2>&1 | grep . | wc -l`
- nu=`printf "%s\n" "$po" | msgattrib --untranslated - | grep -c ^#:`
- nf=`printf "%s\n" "$po" | msgattrib --fuzzy - | grep -c ^#:`
- nt=`printf "%s\n" "$po" | grep -c ^#:`
+ ne=`printf "%s\n" "$po" | msgfmt -o /dev/null --check-format --check-header --use-fuzzy - 2>&1 | grep . | wc -l || true`
+ nu=`printf "%s\n" "$po" | msgattrib --untranslated - | grep -c ^#: || true`
+ nf=`printf "%s\n" "$po" | msgattrib --fuzzy - | grep -c ^#: || true`
+ nt=`printf "%s\n" "$po" | grep -c ^#: || true`
n=$(($ne + $nu + $nf))
p=$(( (nt - n) * 100 / nt ))
echo >&2 "TODO for translation $X:"
+ast "Asturian" "Asturianu" 74%
+de "German" "Deutsch" 99%
+de_CH "German (Switzerland)" "Deutsch (Schweiz)" 99%
en "English" "English" 100%
+en_AU "English (Australia)" "English (Australia)" 69%
+es "Spanish" "Español" 99%
+fr "French" "Français" 100%
+ga "Irish" "Irish" 29%
+it "Italian" "Italiano" 99%
+hu "Hungarian" "Magyar" 43%
+nl "Dutch" "Nederlands" 62%
+pl "Polish" "Polski" 80%
+pt "Portuguese" "Português" 78%
+pt_BR "Portuguese (Brazil)" "Português (Brasil)" 100%
+ro "Romanian" "Romana" 68%
+fi "Finnish" "Suomi" 99%
+sv "Swedish" "Svenska" 99%
+tr "Turkish" "Türkçe" 50%
+id_ID "id_ID" "id_ID" 39%
+la "la" "la" 44%
+cs "Czech" "Čeština" 31%
+el "Greek" "Ελληνική" 44%
+be "Belarusian" "Беларуская" 49%
+bg "Bulgarian" "Български" 66%
+ru "Russian" "Русский" 100%
+sr "Serbian" "Српски" 58%
+uk "Ukrainian" "Українська" 49%
+zh_TW "Chinese (Taiwan)" "中文(正體字)" 100%
+zh_CN "Chinese (China)" "中文(简体字)" 100%
+zh_HK "Chinese (Hong Kong)" "中文(香港字)" 100%
+ja_JP "Japanese" "日本語" 99%
+ko "Korean" "한국의" 35%