From 6369d46211017b0fab5e76c0fa51d00f1232a2bd Mon Sep 17 00:00:00 2001 From: eugenr Date: Fri, 11 Mar 2022 04:15:10 -0800 Subject: [PATCH 1/2] Romanian translit --- translit/translit.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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{ "😂", ":')", "😊", ":)", From d56760b494a2054fb380433968621df2c2353038 Mon Sep 17 00:00:00 2001 From: eugenr Date: Fri, 11 Mar 2022 04:17:12 -0800 Subject: [PATCH 2/2] Add Romanian to README.md --- README.md | 1 + 1 file changed, 1 insertion(+) 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: