From f5f7654f4b9a99d3b57d55435e6d467084186c4d Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 14 Feb 2020 01:09:39 +0900 Subject: [PATCH] Improve custom emoji managemant --- locales/ja-JP.yml | 3 + src/client/pages/instance/emojis.vue | 100 +++++++++++------- src/client/scripts/select-file.ts | 8 +- src/server/api/endpoints/admin/emoji/add.ts | 47 +++----- .../api/endpoints/admin/emoji/update.ts | 9 -- 5 files changed, 86 insertions(+), 81 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 6d9402650a..ae4f76f3d1 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -393,6 +393,9 @@ noGroups: "グループがありません" joinOrCreateGroup: "既存のグループに招待してもらうか、新しくグループを作成してください。" noHistory: "履歴はありません" disableAnimatedMfm: "動きのあるMFMを無効にする" +doing: "やっています" +category: "カテゴリ" +tags: "タグ" _ago: unknown: "謎" diff --git a/src/client/pages/instance/emojis.vue b/src/client/pages/instance/emojis.vue index a53508db84..66b52492b9 100644 --- a/src/client/pages/instance/emojis.vue +++ b/src/client/pages/instance/emojis.vue @@ -2,10 +2,10 @@
{{ $t('customEmojis') }} +
{{ $t('customEmojis') }}
-
-
{{ $t('customEmojisOfRemote') }}
@@ -34,7 +44,7 @@
{{ emoji.name }} - {{ emoji.host }} + {{ emoji.host }}
@@ -49,12 +59,12 @@