Merge pull request 'Romanian transliterate' (#12) from eugenr/itd:romanian into master

Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/12
This commit is contained in:
Elara 2022-03-11 10:04:26 -08:00
commit 8d4e53b35f
2 changed files with 19 additions and 0 deletions

View File

@ -60,6 +60,7 @@ Since the PineTime does not have enough space to store all unicode glyphs, it on
- Armenian
- Korean
- Chinese
- Romanian
- Emoji
Place the desired map names in an array as `notifs.translit.use`. They will be evaluated in order. You can also put custom transliterations in `notifs.translit.custom`. These take priority over any other maps. The `notifs.translit` config section should look like this:

View File

@ -327,6 +327,24 @@ var Transliterators = map[string]Transliterator{
"ÿ", "y",
"ç", "c",
},
"Romanian": Map{
"ă", "a",
"Ă", "A",
"â", "a",
"Â", "A",
"î", "i",
"Î", "I",
"ș", "s",
"Ș", "S",
"ț", "t",
"Ț", "T",
"ş", "s",
"Ş", "S",
"ţ", "t",
"Ţ", "T",
"„", "\"",
"”", "\"",
},
"Emoji": Map{
"😂", ":')",
"😊", ":)",