From 2762b78bcca788ae7fb0a53b1913bf2207a66e8b Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 29 Aug 2018 07:05:56 +0900 Subject: モバイルでもサウンドの設定を行えるように MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/mobile/views/pages/settings.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/client/app/mobile') diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue index 6b82be099d..7437eb8b47 100644 --- a/src/client/app/mobile/views/pages/settings.vue +++ b/src/client/app/mobile/views/pages/settings.vue @@ -41,6 +41,12 @@ %i18n:@i-am-under-limited-internet% + +
%fa:volume-up% %i18n:@sound%
+ + %i18n:@enable-sounds% +
+
%fa:language% %i18n:@lang%
@@ -142,6 +148,11 @@ export default Vue.extend({ get() { return this.$store.state.device.lang; }, set(value) { this.$store.commit('device/set', { key: 'lang', value }); } }, + + enableSounds: { + get() { return this.$store.state.device.enableSounds; }, + set(value) { this.$store.commit('device/set', { key: 'enableSounds', value }); } + }, }, mounted() { -- cgit v1.2.3-freya From f55fcd33055adb5b1395938a89903c1ab2211a78 Mon Sep 17 00:00:00 2001 From: Zero King Date: Wed, 29 Aug 2018 04:34:53 +0000 Subject: Use https:// for maps.google.com links --- src/client/app/desktop/views/components/note-detail.vue | 2 +- src/client/app/desktop/views/components/notes.note.vue | 2 +- src/client/app/desktop/views/pages/deck/deck.note.vue | 2 +- src/client/app/mobile/views/components/note-detail.vue | 2 +- src/client/app/mobile/views/components/note.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/client/app/mobile') diff --git a/src/client/app/desktop/views/components/note-detail.vue b/src/client/app/desktop/views/components/note-detail.vue index 227bcc349d..1ba4a9a447 100644 --- a/src/client/app/desktop/views/components/note-detail.vue +++ b/src/client/app/desktop/views/components/note-detail.vue @@ -47,7 +47,7 @@ - %fa:map-marker-alt% %i18n:@location% + %fa:map-marker-alt% %i18n:@location%
diff --git a/src/client/app/desktop/views/components/notes.note.vue b/src/client/app/desktop/views/components/notes.note.vue index 87acf7974d..7592ae3905 100644 --- a/src/client/app/desktop/views/components/notes.note.vue +++ b/src/client/app/desktop/views/components/notes.note.vue @@ -32,7 +32,7 @@
- %fa:map-marker-alt% 位置情報 + %fa:map-marker-alt% 位置情報
diff --git a/src/client/app/desktop/views/pages/deck/deck.note.vue b/src/client/app/desktop/views/pages/deck/deck.note.vue index c7df715a05..e6d062eac9 100644 --- a/src/client/app/desktop/views/pages/deck/deck.note.vue +++ b/src/client/app/desktop/views/pages/deck/deck.note.vue @@ -32,7 +32,7 @@
- %fa:map-marker-alt% %i18n:@location% + %fa:map-marker-alt% %i18n:@location%
diff --git a/src/client/app/mobile/views/components/note-detail.vue b/src/client/app/mobile/views/components/note-detail.vue index 317f08dcfa..f9996f9da6 100644 --- a/src/client/app/mobile/views/components/note-detail.vue +++ b/src/client/app/mobile/views/components/note-detail.vue @@ -45,7 +45,7 @@ - %fa:map-marker-alt% %i18n:@location% + %fa:map-marker-alt% %i18n:@location%
diff --git a/src/client/app/mobile/views/components/note.vue b/src/client/app/mobile/views/components/note.vue index 8fc8af7f8d..d0cea135f9 100644 --- a/src/client/app/mobile/views/components/note.vue +++ b/src/client/app/mobile/views/components/note.vue @@ -33,7 +33,7 @@
- %fa:map-marker-alt% %i18n:@location% + %fa:map-marker-alt% %i18n:@location%
-- cgit v1.2.3-freya From f0abc4642969587039909d5f50adb7d4592f48ba Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 30 Aug 2018 22:10:29 +0900 Subject: 開発モードで警告を表示するようにするなど MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/ja-JP.yml | 2 ++ src/client/app/config.ts | 2 ++ src/client/app/desktop/views/components/ui.header.vue | 19 ++++++++++++++++++- src/client/app/mobile/views/components/ui.header.vue | 18 +++++++++++++++--- src/client/app/mobile/views/components/ui.vue | 7 +++++++ webpack.config.ts | 3 ++- 6 files changed, 46 insertions(+), 5 deletions(-) (limited to 'src/client/app/mobile') diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 84b7ddb26f..6ebd167803 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -94,6 +94,8 @@ common: verified-user: "公式アカウント" disable-animated-mfm: "投稿内の動きのあるテキストを無効にする" + do-not-use-in-production: 'これは開発ビルドです。本番環境で使用しないでください。' + reversi: drawn: "引き分け" my-turn: "あなたのターンです" diff --git a/src/client/app/config.ts b/src/client/app/config.ts index 74b9ea21c8..a326c521db 100644 --- a/src/client/app/config.ts +++ b/src/client/app/config.ts @@ -4,6 +4,7 @@ declare const _THEME_COLOR_: string; declare const _COPYRIGHT_: string; declare const _VERSION_: string; declare const _CODENAME_: string; +declare const _ENV_: string; const address = new URL(location.href); @@ -18,3 +19,4 @@ export const themeColor = _THEME_COLOR_; export const copyright = _COPYRIGHT_; export const version = _VERSION_; export const codename = _CODENAME_; +export const env = _ENV_; diff --git a/src/client/app/desktop/views/components/ui.header.vue b/src/client/app/desktop/views/components/ui.header.vue index 6de4eaf744..ac8a6c7765 100644 --- a/src/client/app/desktop/views/components/ui.header.vue +++ b/src/client/app/desktop/views/components/ui.header.vue @@ -1,5 +1,6 @@