mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 11:13:22 +08:00
Add "nose" faces to the translations table
as per http://meta.discourse.org/t/use-more-standard-smiley-codes-instead-of-smile/1822/44
This commit is contained in:
parent
96313ce742
commit
c4ecfad78a
|
@ -12,16 +12,28 @@
|
|||
// Also support default emotions
|
||||
var translations = {
|
||||
':)' : 'smile',
|
||||
':-)' : 'smile',
|
||||
':(' : 'frowning',
|
||||
':-(' : 'frowning',
|
||||
';)' : 'wink',
|
||||
';-)' : 'wink',
|
||||
':\'(' : 'cry',
|
||||
':\'-(' : 'cry',
|
||||
':-\'(' : 'cry',
|
||||
':P' : 'stuck_out_tongue',
|
||||
':-P' : 'stuck_out_tongue',
|
||||
':O' : 'open_mouth',
|
||||
':-O' : 'open_mouth',
|
||||
':D' : 'grin',
|
||||
':-D' : 'grin',
|
||||
':|' : 'expressionless',
|
||||
':-|' : 'expressionless',
|
||||
";P" : 'stuck_out_tongue_winking_eye',
|
||||
";-P" : 'stuck_out_tongue_winking_eye',
|
||||
';)' : 'wink',
|
||||
';-)' : 'wink',
|
||||
":$" : 'blush'
|
||||
":-$" : 'blush'
|
||||
};
|
||||
|
||||
Object.keys(translations).forEach(function (code) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user