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:
Kane York 2013-08-30 22:50:31 -07:00
parent 96313ce742
commit c4ecfad78a

View File

@ -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) {