Skip to content

Commit

Permalink
[Intl] Generate all emoji short name returned by slack api
Browse files Browse the repository at this point in the history
  • Loading branch information
adnen-chouibi authored and nicolas-grekas committed Feb 6, 2023
1 parent 3e5671e commit 515daca
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 13 deletions.
61 changes: 61 additions & 0 deletions Resources/data/transliterator/emoji/slack-emoji.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
':female-police-officer:' => '👮‍♀️',
':male-police-officer:' => '👮‍♂️',
':women-with-bunny-ears-partying:' => '👯‍♀️',
':woman-with-bunny-ears-partying:' => '👯‍♀️',
':men-with-bunny-ears-partying:' => '👯‍♂️',
':man-with-bunny-ears-partying:' => '👯‍♂️',
':woman_with_veil:' => '👰‍♀️',
':man_with_veil:' => '👰‍♂️',
':blond-haired-woman:' => '👱‍♀️',
Expand Down Expand Up @@ -290,6 +292,7 @@
':flag-cl:' => '🇨🇱',
':flag-cm:' => '🇨🇲',
':cn:' => '🇨🇳',
':flag-cn:' => '🇨🇳',
':flag-co:' => '🇨🇴',
':flag-cp:' => '🇨🇵',
':flag-cr:' => '🇨🇷',
Expand All @@ -300,6 +303,7 @@
':flag-cy:' => '🇨🇾',
':flag-cz:' => '🇨🇿',
':de:' => '🇩🇪',
':flag-de:' => '🇩🇪',
':flag-dg:' => '🇩🇬',
':flag-dj:' => '🇩🇯',
':flag-dk:' => '🇩🇰',
Expand All @@ -313,6 +317,7 @@
':flag-eh:' => '🇪🇭',
':flag-er:' => '🇪🇷',
':es:' => '🇪🇸',
':flag-es:' => '🇪🇸',
':flag-et:' => '🇪🇹',
':flag-eu:' => '🇪🇺',
':flag-fi:' => '🇫🇮',
Expand All @@ -321,8 +326,11 @@
':flag-fm:' => '🇫🇲',
':flag-fo:' => '🇫🇴',
':fr:' => '🇫🇷',
':flag-fr:' => '🇫🇷',
':flag-ga:' => '🇬🇦',
':gb:' => '🇬🇧',
':uk:' => '🇬🇧',
':flag-gb:' => '🇬🇧',
':flag-gd:' => '🇬🇩',
':flag-ge:' => '🇬🇪',
':flag-gf:' => '🇬🇫',
Expand Down Expand Up @@ -357,10 +365,12 @@
':flag-ir:' => '🇮🇷',
':flag-is:' => '🇮🇸',
':it:' => '🇮🇹',
':flag-it:' => '🇮🇹',
':flag-je:' => '🇯🇪',
':flag-jm:' => '🇯🇲',
':flag-jo:' => '🇯🇴',
':jp:' => '🇯🇵',
':flag-jp:' => '🇯🇵',
':flag-ke:' => '🇰🇪',
':flag-kg:' => '🇰🇬',
':flag-kh:' => '🇰🇭',
Expand All @@ -369,6 +379,7 @@
':flag-kn:' => '🇰🇳',
':flag-kp:' => '🇰🇵',
':kr:' => '🇰🇷',
':flag-kr:' => '🇰🇷',
':flag-kw:' => '🇰🇼',
':flag-ky:' => '🇰🇾',
':flag-kz:' => '🇰🇿',
Expand Down Expand Up @@ -438,6 +449,7 @@
':flag-ro:' => '🇷🇴',
':flag-rs:' => '🇷🇸',
':ru:' => '🇷🇺',
':flag-ru:' => '🇷🇺',
':flag-rw:' => '🇷🇼',
':flag-sa:' => '🇸🇦',
':flag-sb:' => '🇸🇧',
Expand Down Expand Up @@ -482,6 +494,7 @@
':flag-um:' => '🇺🇲',
':flag-un:' => '🇺🇳',
':us:' => '🇺🇸',
':flag-us:' => '🇺🇸',
':flag-uy:' => '🇺🇾',
':flag-uz:' => '🇺🇿',
':flag-va:' => '🇻🇦',
Expand All @@ -503,12 +516,17 @@
':u6708:' => '🈷️',
':thermometer:' => '🌡️',
':mostly_sunny:' => '🌤️',
':sun_small_cloud:' => '🌤️',
':barely_sunny:' => '🌥️',
':sun_behind_cloud:' => '🌥️',
':partly_sunny_rain:' => '🌦️',
':sun_behind_rain_cloud:' => '🌦️',
':rain_cloud:' => '🌧️',
':snow_cloud:' => '🌨️',
':lightning:' => '🌩️',
':lightning_cloud:' => '🌩️',
':tornado:' => '🌪️',
':tornado_cloud:' => '🌪️',
':fog:' => '🌫️',
':wind_blowing_face:' => '🌬️',
':hot_pepper:' => '🌶️',
Expand Down Expand Up @@ -627,6 +645,7 @@
':snowman:' => '☃️',
':comet:' => '☄️',
':phone:' => '☎️',
':telephone:' => '☎️',
':ballot_box_with_check:' => '☑️',
':shamrock:' => '☘️',
':point_up:' => '☝️',
Expand All @@ -653,6 +672,7 @@
':hammer_and_pick:' => '⚒️',
':crossed_swords:' => '⚔️',
':medical_symbol:' => '⚕️',
':staff_of_aesculapius:' => '⚕️',
':scales:' => '⚖️',
':alembic:' => '⚗️',
':gear:' => '⚙️',
Expand All @@ -676,6 +696,7 @@
':scissors:' => '✂️',
':airplane:' => '✈️',
':email:' => '✉️',
':envelope:' => '✉️',
':v:' => '✌️',
':writing_hand:' => '✍️',
':pencil2:' => '✏️',
Expand Down Expand Up @@ -747,6 +768,7 @@
':waxing_crescent_moon:' => '🌒',
':first_quarter_moon:' => '🌓',
':moon:' => '🌔',
':waxing_gibbous_moon:' => '🌔',
':full_moon:' => '🌕',
':waning_gibbous_moon:' => '🌖',
':last_quarter_moon:' => '🌗',
Expand Down Expand Up @@ -829,6 +851,7 @@
':bento:' => '🍱',
':stew:' => '🍲',
':fried_egg:' => '🍳',
':cooking:' => '🍳',
':fork_and_knife:' => '🍴',
':tea:' => '🍵',
':sake:' => '🍶',
Expand Down Expand Up @@ -896,6 +919,7 @@
':checkered_flag:' => '🏁',
':snowboarder:' => '🏂',
':runner:' => '🏃',
':running:' => '🏃',
':surfer:' => '🏄',
':sports_medal:' => '🏅',
':trophy:' => '🏆',
Expand Down Expand Up @@ -923,6 +947,7 @@
':department_store:' => '🏬',
':factory:' => '🏭',
':izakaya_lantern:' => '🏮',
':lantern:' => '🏮',
':japanese_castle:' => '🏯',
':european_castle:' => '🏰',
':waving_black_flag:' => '🏴',
Expand Down Expand Up @@ -964,7 +989,9 @@
':bug:' => '🐛',
':ant:' => '🐜',
':bee:' => '🐝',
':honeybee:' => '🐝',
':ladybug:' => '🐞',
':lady_beetle:' => '🐞',
':fish:' => '🐟',
':tropical_fish:' => '🐠',
':blowfish:' => '🐡',
Expand All @@ -979,6 +1006,7 @@
':dromedary_camel:' => '🐪',
':camel:' => '🐫',
':dolphin:' => '🐬',
':flipper:' => '🐬',
':mouse:' => '🐭',
':cow:' => '🐮',
':tiger:' => '🐯',
Expand All @@ -997,6 +1025,7 @@
':panda_face:' => '🐼',
':pig_nose:' => '🐽',
':feet:' => '🐾',
':paw_prints:' => '🐾',
':eyes:' => '👀',
':ear:' => '👂',
':nose:' => '👃',
Expand All @@ -1007,17 +1036,21 @@
':point_left:' => '👈',
':point_right:' => '👉',
':facepunch:' => '👊',
':punch:' => '👊',
':wave:' => '👋',
':ok_hand:' => '👌',
':+1:' => '👍',
':thumbsup:' => '👍',
':-1:' => '👎',
':thumbsdown:' => '👎',
':clap:' => '👏',
':open_hands:' => '👐',
':crown:' => '👑',
':womans_hat:' => '👒',
':eyeglasses:' => '👓',
':necktie:' => '👔',
':shirt:' => '👕',
':tshirt:' => '👕',
':jeans:' => '👖',
':dress:' => '👗',
':kimono:' => '👘',
Expand All @@ -1027,6 +1060,7 @@
':handbag:' => '👜',
':pouch:' => '👝',
':mans_shoe:' => '👞',
':shoe:' => '👞',
':athletic_shoe:' => '👟',
':high_heel:' => '👠',
':sandal:' => '👡',
Expand All @@ -1040,8 +1074,12 @@
':woman:' => '👩',
':family:' => '👪',
':man_and_woman_holding_hands:' => '👫',
':woman_and_man_holding_hands:' => '👫',
':couple:' => '👫',
':two_men_holding_hands:' => '👬',
':men_holding_hands:' => '👬',
':two_women_holding_hands:' => '👭',
':women_holding_hands:' => '👭',
':cop:' => '👮',
':dancers:' => '👯',
':bride_with_veil:' => '👰',
Expand Down Expand Up @@ -1098,10 +1136,13 @@
':bomb:' => '💣',
':zzz:' => '💤',
':boom:' => '💥',
':collision:' => '💥',
':sweat_drops:' => '💦',
':droplet:' => '💧',
':dash:' => '💨',
':hankey:' => '💩',
':poop:' => '💩',
':shit:' => '💩',
':muscle:' => '💪',
':dizzy:' => '💫',
':speech_balloon:' => '💬',
Expand Down Expand Up @@ -1147,13 +1188,15 @@
':notebook_with_decorative_cover:' => '📔',
':closed_book:' => '📕',
':book:' => '📖',
':open_book:' => '📖',
':green_book:' => '📗',
':blue_book:' => '📘',
':orange_book:' => '📙',
':books:' => '📚',
':name_badge:' => '📛',
':scroll:' => '📜',
':memo:' => '📝',
':pencil:' => '📝',
':telephone_receiver:' => '📞',
':pager:' => '📟',
':fax:' => '📠',
Expand Down Expand Up @@ -1229,6 +1272,7 @@
':hammer:' => '🔨',
':nut_and_bolt:' => '🔩',
':hocho:' => '🔪',
':knife:' => '🔪',
':gun:' => '🔫',
':microscope:' => '🔬',
':telescope:' => '🔭',
Expand Down Expand Up @@ -1278,6 +1322,7 @@
':clock1230:' => '🕧',
':man_dancing:' => '🕺',
':middle_finger:' => '🖕',
':reversed_hand_with_middle_finger_extended:' => '🖕',
':spock-hand:' => '🖖',
':black_heart:' => '🖤',
':mount_fuji:' => '🗻',
Expand All @@ -1292,6 +1337,7 @@
':smile:' => '😄',
':sweat_smile:' => '😅',
':laughing:' => '😆',
':satisfied:' => '😆',
':innocent:' => '😇',
':smiling_imp:' => '😈',
':wink:' => '😉',
Expand Down Expand Up @@ -1389,6 +1435,7 @@
':taxi:' => '🚕',
':oncoming_taxi:' => '🚖',
':car:' => '🚗',
':red_car:' => '🚗',
':oncoming_automobile:' => '🚘',
':blue_car:' => '🚙',
':truck:' => '🚚',
Expand Down Expand Up @@ -1482,12 +1529,14 @@
':robot_face:' => '🤖',
':hugging_face:' => '🤗',
':the_horns:' => '🤘',
':sign_of_the_horns:' => '🤘',
':call_me_hand:' => '🤙',
':raised_back_of_hand:' => '🤚',
':left-facing_fist:' => '🤛',
':right-facing_fist:' => '🤜',
':handshake:' => '🤝',
':crossed_fingers:' => '🤞',
':hand_with_index_and_middle_fingers_crossed:' => '🤞',
':i_love_you_hand_sign:' => '🤟',
':face_with_cowboy_hat:' => '🤠',
':clown_face:' => '🤡',
Expand All @@ -1498,20 +1547,29 @@
':face_palm:' => '🤦',
':sneezing_face:' => '🤧',
':face_with_raised_eyebrow:' => '🤨',
':face_with_one_eyebrow_raised:' => '🤨',
':star-struck:' => '🤩',
':grinning_face_with_star_eyes:' => '🤩',
':zany_face:' => '🤪',
':grinning_face_with_one_large_and_one_small_eye:' => '🤪',
':shushing_face:' => '🤫',
':face_with_finger_covering_closed_lips:' => '🤫',
':face_with_symbols_on_mouth:' => '🤬',
':serious_face_with_symbols_covering_mouth:' => '🤬',
':face_with_hand_over_mouth:' => '🤭',
':smiling_face_with_smiling_eyes_and_hand_covering_mouth:' => '🤭',
':face_vomiting:' => '🤮',
':face_with_open_mouth_vomiting:' => '🤮',
':exploding_head:' => '🤯',
':shocked_face_with_exploding_head:' => '🤯',
':pregnant_woman:' => '🤰',
':breast-feeding:' => '🤱',
':palms_up_together:' => '🤲',
':selfie:' => '🤳',
':prince:' => '🤴',
':person_in_tuxedo:' => '🤵',
':mrs_claus:' => '🤶',
':mother_christmas:' => '🤶',
':shrug:' => '🤷',
':person_doing_cartwheel:' => '🤸',
':juggling:' => '🤹',
Expand Down Expand Up @@ -1834,18 +1892,21 @@
':fountain:' => '',
':golf:' => '',
':boat:' => '',
':sailboat:' => '',
':tent:' => '',
':fuelpump:' => '',
':white_check_mark:' => '',
':fist:' => '',
':hand:' => '',
':raised_hand:' => '',
':sparkles:' => '',
':x:' => '',
':negative_squared_cross_mark:' => '',
':question:' => '',
':grey_question:' => '',
':grey_exclamation:' => '',
':exclamation:' => '',
':heavy_exclamation_mark:' => '',
':heavy_plus_sign:' => '',
':heavy_minus_sign:' => '',
':heavy_division_sign:' => '',
Expand Down
2 changes: 1 addition & 1 deletion Resources/emoji/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ update: ## Update sources
@composer update
@curl https://api.github.com/emojis > vendor/github-emojis.json
@curl https://raw.githubusercontent.com/iamcal/emoji-data/master/emoji.json > vendor/slack-emojis.json
@curl https://unicode.org/Public/emoji/latest/emoji-test.txt > vendor/emoji-test.txt
@curl -L https://unicode.org/Public/emoji/latest/emoji-test.txt > vendor/emoji-test.txt

build: ## Build rules
@./build.php
Expand Down
Loading

0 comments on commit 515daca

Please sign in to comment.