Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

多言語選択メニューのユーザビリティ向上 #225

Merged
merged 6 commits into from
May 21, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"サイドメニュー項目を開く": "Open side menu items",
"サイドメニュー項目を閉じる": "Close side menu items",
"お子様をお持ちの皆様へ": "To families with children",
"子供の皆様へ": "こどものみなさん",
"県民の皆様へ": "To the residents of Miyazaki",
"宮崎県新型コロナウイルス感染症関連情報": "Information on the new coronavirus infection in Miyazaki Prefecture",
"宮崎県主催イベント等の開催に関する基準": "Standards for Holding Events Organized by Miyazaki Prefecture",
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ja-Hira.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
"print": "印刷(いんさつ)",
"サイドメニュー項目を開く": "なにか 知(し)りたいときに ひだりの サイドメニューボタンを おす",
"サイドメニュー項目を閉じる": "なにか 知(し)りたいときに ひだりの サイドメニューボタンを とじる",
"子供の皆様へ": "こどものみなさん",
"県民の皆様へ": "宮崎県(みやざきけん)に すんでいる 人(ひと)",
"宮崎県新型コロナウイルス感染症関連情報": "宮崎県(みやざきけん)からの おしらせ",
"宮崎県主催イベント等の開催に関する基準": "あつまりを やめる めやす",
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"サイドメニュー項目を開く": "サイドメニュー項目を開く",
"サイドメニュー項目を閉じる": "サイドメニュー項目を閉じる",
"お子様をお持ちの皆様へ": "お子様をお持ちの皆様へ",
"子供の皆様へ": "こどものみなさん",
"県民の皆様へ": "県民の皆様へ",
"宮崎県新型コロナウイルス感染症対策本部報": "宮崎県新型コロナウイルス感染症対策本部報",
"宮崎県主催等 中止又は延期するイベント等": "宮崎県主催等 中止又は延期するイベント等",
Expand Down
9 changes: 7 additions & 2 deletions components/SideNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
</v-icon>

<nav class="SideNavigation-Menu">
<MenuList :items="items" @click="$emit('closeNavi', $event)" />
<div
v-if="this.$i18n.locales.length > 1"
class="SideNavigation-Language"
Expand All @@ -42,6 +41,7 @@
</label>
<LanguageSelector />
</div>
<MenuList :items="items" @click="$emit('closeNavi', $event)" />
</nav>

<footer class="SideNavigation-Footer">
Expand Down Expand Up @@ -134,6 +134,11 @@ export default Vue.extend({
link: this.localePath('/'),
divider: true
},
{
icon: 'mdi-human-child',
title: this.$t('子供の皆様へ'),
link: this.switchLocalePath('ja-basic')
},
{
icon: 'ParentIcon',
title: this.$t('お子様をお持ちの皆様へ'),
Expand Down Expand Up @@ -381,7 +386,7 @@ export default Vue.extend({
}

.SideNavigation-Language {
padding-top: 20px;
padding-bottom: 20px;
}

.SideNavigation-LanguageLabel {
Expand Down