Update replace Czech non aA-zZ characters

This commit is contained in:
3d-gussner 2022-02-02 17:22:17 +01:00
parent cbae08991c
commit 2a4e90bd93

View File

@ -81,20 +81,66 @@ sed -i 's/ \\n/ /g;s/\\n/ /g' $LNG'_filtered.po'
#replace in czech translation
if [ "$LNG" = "cz" ]; then
#replace 'ž' with 'z'
sed -i 's/\xc5\xbe/z/g' $LNG'_filtered.po'
#replace 'ì' with 'e'
sed -i 's/\xc4\x9b/e/g' $LNG'_filtered.po'
#replace 'í' with 'i'
sed -i 's/\xc3\xad/i/g' $LNG'_filtered.po'
#replace 'ø' with 'r'
sed -i 's/\xc5\x99/r/g' $LNG'_filtered.po'
#replace 'è' with 'c'
sed -i 's/\xc4\x8d/c/g' $LNG'_filtered.po'
#replace 'Á' with 'A'
sed -i 's/\xc3\x81/A/g' $LNG'_filtered.po'
#replace 'á' with 'a'
sed -i 's/\xc3\xa1/a/g' $LNG'_filtered.po'
#replace 'Č' with 'C'
sed -i 's/\xc4\x8c/C/g' $LNG'_filtered.po'
#replace 'č' with 'c'
sed -i 's/\xc4\x8d/c/g' $LNG'_filtered.po'
#replace 'Ď' with 'D'
sed -i 's/\xc4\x8e/D/g' $LNG'_filtered.po'
#replace 'ď' with 'd'
sed -i 's/\xc4\x8f/d/g' $LNG'_filtered.po'
#replace 'É' with 'E'
sed -i 's/\xc3\x89/E/g' $LNG'_filtered.po'
#replace 'é' with 'e'
sed -i 's/\xc3\xa9/e/g' $LNG'_filtered.po'
#replace 'Ě' with 'E'
sed -i 's/\xc4\x9a/E/g' $LNG'_filtered.po'
#replace 'ě' with 'e'
sed -i 's/\xc4\x9b/e/g' $LNG'_filtered.po'
#replace 'Í' with 'I'
sed -i 's/\xc3\x8d/I/g' $LNG'_filtered.po'
#replace 'í' with 'i'
sed -i 's/\xc3\xad/i/g' $LNG'_filtered.po'
#replace 'Ň' with 'N'
sed -i 's/\xc5\x87/N/g' $LNG'_filtered.po'
#replace 'ň' with 'n'
sed -i 's/\xc5\x88/n/g' $LNG'_filtered.po'
#replace 'Ó' with 'O'
sed -i 's/\xc3\x93/O/g' $LNG'_filtered.po'
#replace 'ó' with 'o'
sed -i 's/\xc3\xb3/o/g' $LNG'_filtered.po'
#replace 'Ř' with 'R'
sed -i 's/\xc5\x98/R/g' $LNG'_filtered.po'
#replace 'ř' with 'r'
sed -i 's/\xc5\x99/r/g' $LNG'_filtered.po'
#replace 'Š' with 'S'
sed -i 's/\xc5\xa0/S/g' $LNG'_filtered.po'
#replace 'š' with 's'
sed -i 's/\xc5\xa1/s/g' $LNG'_filtered.po'
#replace 'Ť' with 'T'
sed -i 's/\xc5\xa4/T/g' $LNG'_filtered.po'
#replace 'ť' with 't'
sed -i 's/\xc5\xa5/t/g' $LNG'_filtered.po'
#replace 'Ú' with 'U'
sed -i 's/\xc3\x9a/U/g' $LNG'_filtered.po'
#replace 'ú' with 'u'
sed -i 's/\xc3\xba/u/g' $LNG'_filtered.po'
#replace 'Ů' with 'U'
sed -i 's/\xc5\xae/U/g' $LNG'_filtered.po'
#replace 'ů' with 'u'
sed -i 's/\xc5\xaf/u/g' $LNG'_filtered.po'
#replace 'Ý' with 'Y'
sed -i 's/\xc3\x9d/Y/g' $LNG'_filtered.po'
#replace 'ý' with 'y'
sed -i 's/\xc3\xbd/y/g' $LNG'_filtered.po'
#replace 'Ž' with 'Z'
sed -i 's/\xc5\xbd/Z/g' $LNG'_filtered.po'
#replace 'ž' with 'z'
sed -i 's/\xc5\xbe/z/g' $LNG'_filtered.po'
fi
#replace in german translation https://en.wikipedia.org/wiki/German_orthography