encoder: add czech diacritics as encoding shortcuts

This commit is contained in:
Vlasta Vesely 2018-06-09 10:15:59 +02:00
parent 1f9eab3a7c
commit 48619fe120

View file

@ -14,15 +14,20 @@ struct encoder_tuple {
static const struct encoder_tuple table[] = {
{"a-", "ā"}, {"A-", "Ā"},
{"á", "ā"}, {"Á", "Ā"},
{"i-", "ī"}, {"I-", "Ī"},
{"í", "ī"}, {"Í", "Ī"},
{"u-", "ū"}, {"U-", "Ū"},
{"ú", "ū"}, {"Ú", "Ū"},
{"r.", ""}, {"R.", ""},
{"r.-", ""}, {"R.-", ""},
{"l.", ""}, {"L.", ""},
{"l.-", ""}, {"L.-", ""},
{"n^.", ""}, {"N^.", ""},
{"n~", "ñ"}, {"N~", "Ñ"},
{"ň", "ñ"}, {"Ň", "Ñ"},
{"s,", "ś"}, {"S,", "Ś"},
{"š", "ś"}, {"Š", "Ś"},
{"t.", ""}, {"T.", ""},
{"d.", ""}, {"D.", ""},
{"n.", ""}, {"N.", ""},