Commit e595bb54 authored by Tobias Quathamer's avatar Tobias Quathamer

Add script to convert latin Tatar into cyrillic Tatar

parent ce85a765
......@@ -5,6 +5,8 @@ iso-codes 3.XX
* Rename all tt.po files to tt@iqtelif.po. The Tatar translations
use the latin script, which is specified with the modifier @iqtelif.
Thanks to Mike FABIAN for the bug report. Closes: alioth#314422.
* Add sed script to convert latin Tatar into cyrillic Tatar. The
converted translations are named tt.po.
iso-codes 3.48
......
......@@ -26,6 +26,7 @@ AC_PROG_MAKE_SET
AC_PATH_PROG([MSGMERGE],[msgmerge])
AC_PATH_PROG([MSGFMT],[msgfmt])
AC_PATH_PROG([MSGFILTER],[msgfilter])
AC_PATH_PROG([RECODE_SR_LATIN],[recode-sr-latin])
AC_MSG_CHECKING([if $MSGFMT is GNU msgfmt])
gnu_msgfmt=no
......
# Double characters
s/Ya/Я/g
s/ya/я/g
s/Yo/Ё/g
s/yo/ё/
s/Yu/Ю/g
s/yu/ю/g
s/Ts/Ц/g
s/ts/ц/g
s/Şç/Щ/g
s/şç/щ/g
# Single characters
s/A/А/g
s/a/а/g
s/Ä/Ә/g
s/ä/ә/g
s/B/Б/g
s/b/б/g
s/V/В/g
s/v/в/g
s/Ğ/Г/g
s/ğ/г/g
s/D/Д/g
s/d/д/g
s/E/Е/g
s/e/е/g
s/J/Ж/g
s/j/ж/g
s/C/Җ/g
s/c/җ/g
s/Z/З/g
s/z/з/g
s/I/И/g
s/i/и/g
s/Y/Й/g
s/y/й/g
s/K/К/g
s/k/к/g
s/Q/К/g
s/q/к/g
s/L/Л/g
s/l/л/g
s/M/М/g
s/m/м/g
s/N/Н/g
s/n/н/g
s/Ñ/Ң/g
s/ñ/ң/g
s/O/О/g
s/o/о/g
s/Ö/Ө/g
s/ö/ө/g
s/P/П/g
s/p/п/g
s/R/Р/g
s/r/р/g
s/S/С/g
s/s/с/g
s/T/Т/g
s/t/т/g
s/U/У/g
s/u/у/g
s/Ü/Ү/g
s/ü/ү/g
s/F/Ф/g
s/f/ф/g
s/X/Х/g
s/x/х/g
s/H/Һ/g
s/h/һ/g
s/Ç/Ч/g
s/ç/ч/g
s/Ş/Ш/g
s/ş/ш/g
# Note: The upper I without dot cannot be transliterated, it's already used above.
# s/I/Ы/g
s/ı/ы/g
# The following cyrillic chars are already used for "V" and "v", so not unique.
s/W/В/g
s/w/в/g
......@@ -24,8 +24,9 @@ update-po:
msgattrib --no-obsolete tmpfile > $$pofile; \
sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
done
$(RECODE_SR_LATIN) < sr.po > sr@latin.po
rm -f tmpfile
if [ -f sr.po ] ; then $(RECODE_SR_LATIN) < sr.po > sr@latin.po ; fi
if [ -f tt@iqtelif.po ] ; then $(MSGFILTER) --keep-header sed -f $(top_srcdir)/recode-tt-cyrillic.sed < tt@iqtelif.po > tt.po ; fi
localedir = $(datadir)/locale
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment