Romanian transliterate #12

Merged
Elara6331 merged 2 commits from eugenr/itd:romanian into master 2022-03-11 18:04:26 +00:00
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 - Armenian
- Korean - Korean
- Chinese - Chinese
- Romanian
- Emoji - 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: 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", "ÿ", "y",
"ç", "c", "ç", "c",
}, },
"Romanian": Map{
"ă", "a",
"Ă", "A",
"â", "a",
"Â", "A",
"î", "i",
"Î", "I",
"ș", "s",
"Ș", "S",
"ț", "t",
"Ț", "T",
"ş", "s",
"Ş", "S",
"ţ", "t",
"Ţ", "T",
"„", "\"",
"”", "\"",
},
"Emoji": Map{ "Emoji": Map{
"😂", ":')", "😂", ":')",
"😊", ":)", "😊", ":)",