From 524e214b3a9fc22d48d570d241224fd7d357d56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Tue, 3 Jan 2023 12:06:59 +0000 Subject: [PATCH] [FIX] mail: support same emoji emoticons as in 15.0 X-original-commit: 53af21ec8f538da14b5df5ea6a512b9a51d3c9fa Part-of: odoo/odoo#109035 --- .../mail/static/src/models_data/emoji_data.js | 348 ++++++++++++++---- 1 file changed, 268 insertions(+), 80 deletions(-) diff --git a/addons/mail/static/src/models_data/emoji_data.js b/addons/mail/static/src/models_data/emoji_data.js index 79c5e545ade..fde5df98eb8 100644 --- a/addons/mail/static/src/models_data/emoji_data.js +++ b/addons/mail/static/src/models_data/emoji_data.js @@ -125,7 +125,11 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😃", - "emoticons": [], + "emoticons": [ + ":D", + ":-D", + "=D" + ], "keywords": [ "` + _lt("face") + `", "` + _lt("grinning face with big eyes") + `", @@ -174,7 +178,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😆", - "emoticons": [], + "emoticons": [ + "xD", + "XD" + ], "keywords": [ "` + _lt("face") + `", "` + _lt("grinning squinting face") + `", @@ -226,7 +233,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😂", - "emoticons": [], + "emoticons": [ + "x'D" + ], "keywords": [ "` + _lt("face") + `", "` + _lt("face with tears of joy") + `", @@ -272,7 +281,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😉", - "emoticons": [], + "emoticons": [ + ";)", + ";-)" + ], "keywords": [ "` + _lt("face") + `", "` + _lt("wink") + `", @@ -286,7 +298,12 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😊", - "emoticons": [], + "emoticons": [ + ":)", + ":-)", + "=)", + ":]" + ], "keywords": [ "` + _lt("blush") + `", "` + _lt("eye") + `", @@ -302,7 +319,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😇", - "emoticons": [], + "emoticons": [ + "o:)" + ], "keywords": [ "` + _lt("angel") + `", "` + _lt("face") + `", @@ -336,7 +355,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😍", - "emoticons": [], + "emoticons": [ + ":heart_eyes" + ], "keywords": [ "` + _lt("eye") + `", "` + _lt("face") + `", @@ -369,7 +390,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😘", - "emoticons": [], + "emoticons": [ + ":*", + ":-*" + ], "keywords": [ "` + _lt("face") + `", "` + _lt("face blowing a kiss") + `", @@ -429,7 +453,13 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😋", - "emoticons": [], + "emoticons": [ + ":p", + ":P", + ":-p", + ":-P", + "=P" + ], "keywords": [ "` + _lt("delicious") + `", "` + _lt("face") + `", @@ -464,7 +494,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😜", - "emoticons": [], + "emoticons": [ + ";p", + ";P" + ], "keywords": [ "` + _lt("eye") + `", "` + _lt("face") + `", @@ -497,7 +530,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😝", - "emoticons": [], + "emoticons": [ + "xp", + "xP" + ], "keywords": [ "` + _lt("eye") + `", "` + _lt("face") + `", @@ -1024,7 +1060,12 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😎", - "emoticons": [], + "emoticons": [ + "B)", + "8)", + "B-)", + "8-)" + ], "keywords": [ "` + _lt("bright") + `", "` + _lt("cool") + `", @@ -1070,7 +1111,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😕", - "emoticons": [], + "emoticons": [ + ":/", + ":-/" + ], "keywords": [ "` + _lt("confused") + `", "` + _lt("face") + `", @@ -1142,7 +1186,12 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😲", - "emoticons": [], + "emoticons": [ + ":O", + ":-O", + ":o", + ":-o" + ], "keywords": [ "` + _lt("astonished") + `", "` + _lt("face") + `", @@ -1157,7 +1206,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😳", - "emoticons": [], + "emoticons": [ + "o_o" + ], "keywords": [ "` + _lt("dazed") + `", "` + _lt("face") + `", @@ -1215,7 +1266,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😨", - "emoticons": [], + "emoticons": [ + ":'o" + ], "keywords": [ "` + _lt("face") + `", "` + _lt("fear") + `", @@ -1263,7 +1316,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😢", - "emoticons": [], + "emoticons": [ + ":'(" + ], "keywords": [ "` + _lt("cry") + `", "` + _lt("crying face") + `", @@ -1279,7 +1334,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😭", - "emoticons": [], + "emoticons": [ + ":'-(", + ":\\"(" + ], "keywords": [ "` + _lt("cry") + `", "` + _lt("face") + `", @@ -1296,7 +1354,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😱", - "emoticons": [], + "emoticons": [ + ":@" + ], "keywords": [ "` + _lt("face") + `", "` + _lt("face screaming in fear") + `", @@ -1341,7 +1401,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😞", - "emoticons": [], + "emoticons": [ + ":(" + ], "keywords": [ "` + _lt("disappointed") + `", "` + _lt("face") + `" @@ -1446,7 +1508,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😠", - "emoticons": [], + "emoticons": [ + "3:(", + ">:(" + ], "keywords": [ "` + _lt("anger") + `", "` + _lt("angry") + `", @@ -1474,7 +1539,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😈", - "emoticons": [], + "emoticons": [ + "3:)", + ">:)" + ], "keywords": [ "` + _lt("devil") + `", "` + _lt("face") + `", @@ -1509,7 +1577,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "💀", - "emoticons": [], + "emoticons": [ + ":skull" + ], "keywords": [ "` + _lt("death") + `", "` + _lt("face") + `", @@ -1542,7 +1612,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "💩", - "emoticons": [], + "emoticons": [ + ":poop" + ], "keywords": [ "` + _lt("dung") + `", "` + _lt("face") + `", @@ -1606,7 +1678,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "👻", - "emoticons": [], + "emoticons": [ + ":ghost" + ], "keywords": [ "` + _lt("creature") + `", "` + _lt("face") + `", @@ -1623,7 +1697,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "👽", - "emoticons": [], + "emoticons": [ + ":et", + ":alien" + ], "keywords": [ "` + _lt("alien") + `", "` + _lt("creature") + `", @@ -1671,7 +1748,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "😺", - "emoticons": [], + "emoticons": [ + ":kitten" + ], "keywords": [ "` + _lt("cat") + `", "` + _lt("face") + `", @@ -1821,7 +1900,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "🙈", - "emoticons": [], + "emoticons": [ + ":no_see" + ], "keywords": [ "` + _lt("evil") + `", "` + _lt("face") + `", @@ -1838,7 +1919,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "🙉", - "emoticons": [], + "emoticons": [ + ":no_hear" + ], "keywords": [ "` + _lt("evil") + `", "` + _lt("face") + `", @@ -1855,7 +1938,9 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "🙊", - "emoticons": [], + "emoticons": [ + ":no_speak" + ], "keywords": [ "` + _lt("evil") + `", "` + _lt("face") + `", @@ -2028,7 +2113,10 @@ const emojisData1 = `{ { "category": "Smileys & Emotion", "codepoints": "💔", - "emoticons": [], + "emoticons": [ + "