From fcc8ec16095fa11e6adb617c7fbaddb506671960 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 8 Dec 2018 10:36:26 +0900 Subject: [PATCH] [Client] Improve cw-button --- locales/ja-JP.yml | 2 ++ .../app/common/views/components/cw-button.vue | 25 ++++++++++++++++++- .../desktop/views/components/note-detail.vue | 2 +- .../desktop/views/components/note-preview.vue | 2 +- .../app/desktop/views/components/note.sub.vue | 2 +- .../app/desktop/views/components/note.vue | 2 +- .../mobile/views/components/note-detail.vue | 2 +- .../mobile/views/components/note-preview.vue | 2 +- .../app/mobile/views/components/note.sub.vue | 2 +- .../app/mobile/views/components/note.vue | 2 +- 10 files changed, 34 insertions(+), 9 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index b7246d51c..0cad52d12 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -322,6 +322,8 @@ common/views/components/theme.vue: common/views/components/cw-button.vue: hide: "隠す" show: "もっと見る" + chars: "{count}文字" + files: "{count}ファイル" common/views/components/messaging.vue: search-user: "ユーザーを探す" diff --git a/src/client/app/common/views/components/cw-button.vue b/src/client/app/common/views/components/cw-button.vue index bda39f2d4..034848a11 100644 --- a/src/client/app/common/views/components/cw-button.vue +++ b/src/client/app/common/views/components/cw-button.vue @@ -1,21 +1,36 @@