From 1496fdaf8041f981fba0091c1d2eca6df8d88253 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 18 Jun 2018 17:25:20 +0900 Subject: [PATCH] nanka --- locales/en.yml | 1 + locales/ja.yml | 1 + .../common/views/components/reaction-icon.vue | 5 ++++- .../app/desktop/views/components/settings.vue | 7 +++++++ src/client/app/desktop/views/pages/welcome.vue | 2 +- src/client/app/mobile/views/pages/settings.vue | 8 ++++++++ src/client/app/store.ts | 3 ++- src/client/assets/reactions/sushi.png | Bin 0 -> 8651 bytes 8 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 src/client/assets/reactions/sushi.png diff --git a/locales/en.yml b/locales/en.yml index 8b54a6616e..778d54076c 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -47,6 +47,7 @@ common: ok: "OK" update-available: "A new version of Misskey is now available({newer}, the current version is {current}). Reload the page to apply updates." my-token-regenerated: "Your token has been renewed so you will be signed out." + i-like-sushi: "I like sushi rather than pudding" widgets: analog-clock: "Analog clock" profile: "Profile" diff --git a/locales/ja.yml b/locales/ja.yml index 29decefe68..f2a85eb4e6 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -52,6 +52,7 @@ common: ok: "わかった" update-available: "Misskeyの新しいバージョンがあります({newer}。現在{current}を利用中)。ページを再度読み込みすると更新が適用されます。" my-token-regenerated: "あなたのトークンが更新されたのでサインアウトします。" + i-like-sushi: "私は(プリンよりむしろ)寿司が好き" widgets: analog-clock: "アナログ時計" diff --git a/src/client/app/common/views/components/reaction-icon.vue b/src/client/app/common/views/components/reaction-icon.vue index 7d24f4f9e9..2d5391a21e 100644 --- a/src/client/app/common/views/components/reaction-icon.vue +++ b/src/client/app/common/views/components/reaction-icon.vue @@ -8,7 +8,10 @@ %i18n:common.reactions.congrats% %i18n:common.reactions.angry% %i18n:common.reactions.confused% - %i18n:common.reactions.pudding% + diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue index c660c2869a..536d270dce 100644 --- a/src/client/app/desktop/views/components/settings.vue +++ b/src/client/app/desktop/views/components/settings.vue @@ -45,6 +45,7 @@ + @@ -362,6 +363,12 @@ export default Vue.extend({ value: v }); }, + onChangeILikeSushi(v) { + this.$store.dispatch('settings/set', { + key: 'iLikeSushi', + value: v + }); + }, onChangeGradientWindowHeader(v) { this.$store.dispatch('settings/set', { key: 'gradientWindowHeader', diff --git a/src/client/app/desktop/views/pages/welcome.vue b/src/client/app/desktop/views/pages/welcome.vue index 70fa0123af..029e44e27c 100644 --- a/src/client/app/desktop/views/pages/welcome.vue +++ b/src/client/app/desktop/views/pages/welcome.vue @@ -13,7 +13,7 @@

Misskey

powerd by Misskey

- %i18n:@signup% + 📦 %i18n:@signup%