FEATURE: Allow plugins to add custom emoji translations

FIX: buildTranslationTree was erroring when translations overlapped (ie. ":-)" and ":-))")
FIX: emoji translations wasn't working properly when translations overlapped
This commit is contained in:
Régis Hanol
2019-01-04 15:14:16 +01:00
parent 88e861e895
commit 95e5f8380d
5 changed files with 98 additions and 94 deletions

View File

@@ -7115,5 +7115,33 @@
"cry": [
"sob"
]
},
"translations": {
":)" : "slight_smile",
":-)" : "slight_smile",
"^_^" : "slight_smile",
"^__^": "slight_smile",
":(" : "frowning",
":-(" : "frowning",
";)" : "wink",
";-)" : "wink",
":'(" : "cry",
":'-(": "cry",
":-'(": "cry",
":p" : "stuck_out_tongue",
":P" : "stuck_out_tongue",
":-P" : "stuck_out_tongue",
":O" : "open_mouth",
":-O" : "open_mouth",
":D" : "smiley",
":-D" : "smiley",
":|" : "expressionless",
":-|" : "expressionless",
":/" : "confused",
"8-)" : "sunglasses",
";P" : "stuck_out_tongue_winking_eye",
";-P" : "stuck_out_tongue_winking_eye",
":$" : "blush",
":-$" : "blush"
}
}
}