From 4a5e1450489c4153a00d8b1f0281657bec2da847 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 11 Aug 2018 21:08:34 +0900 Subject: [PATCH] =?UTF-8?q?Add=20new=20reaction:=20rip=20=F0=9F=98=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/ja.yml | 1 + .../common/views/components/reaction-icon.vue | 1 + .../common/views/components/reaction-picker.vue | 7 ++++--- .../common/views/components/reactions-viewer.vue | 1 + src/client/assets/reactions/rip.png | Bin 0 -> 6793 bytes src/misc/get-reaction-emoji.ts | 1 + src/models/note-reaction.ts | 1 + 7 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 src/client/assets/reactions/rip.png diff --git a/locales/ja.yml b/locales/ja.yml index ecde1bb6a1..98397212d4 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -70,6 +70,7 @@ common: congrats: "おめでとう" angry: "おこ" confused: "こまこまのこまり" + rip: "RIP" pudding: "Pudding" note-placeholders: diff --git a/src/client/app/common/views/components/reaction-icon.vue b/src/client/app/common/views/components/reaction-icon.vue index 2d5391a21e..46886b8ab2 100644 --- a/src/client/app/common/views/components/reaction-icon.vue +++ b/src/client/app/common/views/components/reaction-icon.vue @@ -8,6 +8,7 @@ %i18n:common.reactions.congrats% %i18n:common.reactions.angry% %i18n:common.reactions.confused% + %i18n:common.reactions.rip% diff --git a/src/client/assets/reactions/rip.png b/src/client/assets/reactions/rip.png new file mode 100644 index 0000000000000000000000000000000000000000..4800fdb91b18be14cddce63fe372f9dba4c4172a GIT binary patch literal 6793 zcmZ{JbySqyxBt*3E!`j}DP4oo%@C5(-5o=Bh=3qShvWc5qcqYv5>i8VcQ+z;eBbZy zcklhPa3^9S> zsR)wASjWU7L#M9_WSK(@p_?nq%K)DKUU_XLUjP7#Pl_^;|b7-nTp*N7qLMT##yh>?-=BbJj0XleEoG?OG` z7*R1Fj=YYWzrZZ5c^_3xw;!&BV8d@7D%z&sY<(4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