diff --git a/README.md b/README.md index 98f2e7c..7449d47 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/translit/translit.go b/translit/translit.go index 33f1039..19bd56d 100644 --- a/translit/translit.go +++ b/translit/translit.go @@ -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{ "😂", ":')", "😊", ":)",