mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user