From 7ff0a5360c16bcd878699a2a18a0f87d8543112e Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 13 Jun 2017 06:27:32 +0900 Subject: [PATCH] [Client] :v: --- locales/en.yml | 2 +- locales/ja.yml | 2 +- src/web/app/common/scripts/get-cao.js | 5 +++++ src/web/app/common/scripts/get-cat.js | 1 - src/web/app/desktop/tags/post-form.tag | 10 +++++----- src/web/app/mobile/tags/post-form.tag | 10 +++++----- 6 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 src/web/app/common/scripts/get-cao.js delete mode 100644 src/web/app/common/scripts/get-cat.js diff --git a/locales/en.yml b/locales/en.yml index b4c94ad47..a01392809 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -221,7 +221,7 @@ desktop: attach-media-from-local: "Attach media from your pc" attach-media-from-drive: "Attach media from the drive" attach-cancel: "Cancel attachment" - insert-the-cat: "Insert a cat" + insert-a-kao: "v(‘ω’)v" create-poll: "Create a poll" text-remain: "{} chars remaining" diff --git a/locales/ja.yml b/locales/ja.yml index db247f8e5..d55e690e9 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -221,7 +221,7 @@ desktop: attach-media-from-local: "PCからメディアを添付" attach-media-from-drive: "ドライブからメディアを添付" attach-cancel: "添付取り消し" - insert-the-cat: "猫挿入" + insert-a-kao: "v(‘ω’)v" create-poll: "投票を作成" text-remain: "のこり{}文字" diff --git a/src/web/app/common/scripts/get-cao.js b/src/web/app/common/scripts/get-cao.js new file mode 100644 index 000000000..0b77ee285 --- /dev/null +++ b/src/web/app/common/scripts/get-cao.js @@ -0,0 +1,5 @@ +export default () => [ + '(=^・・^=)', + 'v(‘ω’)v', + '🐡( '-' 🐡 )フグパンチ!!!!' +][Math.floor(Math.random() * 3)]; diff --git a/src/web/app/common/scripts/get-cat.js b/src/web/app/common/scripts/get-cat.js deleted file mode 100644 index cad42c88c..000000000 --- a/src/web/app/common/scripts/get-cat.js +++ /dev/null @@ -1 +0,0 @@ -export default () => '(=^・・^=)'; diff --git a/src/web/app/desktop/tags/post-form.tag b/src/web/app/desktop/tags/post-form.tag index 024cd095e..6a363d67c 100644 --- a/src/web/app/desktop/tags/post-form.tag +++ b/src/web/app/desktop/tags/post-form.tag @@ -16,7 +16,7 @@ - +

{ '%i18n:desktop.tags.mk-post-form.text-remain%'.replace('{}', 1000 - refs.text.value.length) }