Skip to content

Commit 121e172

Browse files
authored
Merge pull request #414 from MaySoMusician/feature/translation-update-0926-01
翻訳の追加・更新(2020/09/26)
2 parents d576bdd + 00953e2 commit 121e172

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

src/assets/locales/ja.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
"date": "日付設定",
7070
"time": "時間設定",
7171
"subject_label_color": "ラベル色",
72-
"description": "内容(ないよう)",
7372
"video_keyword": "(オプション機能)動画検索",
7473
"video_url": "参考動画URL",
7574
"video_thumbnail": "動画サムネイル・キャプション表示",
@@ -80,7 +79,12 @@
8079
"placeholders": {
8180
"video_keyword": "例) 理科"
8281
},
83-
"required": "*マークのあるものは必須項目です"
82+
"required": "*マークのあるものは必須項目です",
83+
"search_videos": {
84+
"search": "検索する",
85+
"search_result": "{source}の動画検索結果",
86+
"add_to_video_urls": "参考動画URLに登録する"
87+
}
8488
},
8589
"editing_visibility_dialog": {
8690
"title": {

src/components/EditLessonScreenInner2.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/>
77
<editor-textarea
88
v-model="tempFormData.description"
9-
:title="$t('components.editing_screen.labels.description')"
9+
:title="$t('common.lesson_data.labels.description')"
1010
/>
1111
</div>
1212
</template>

src/components/EditLessonScreenInner3.vue

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,18 @@
1313
:placeholders="$t('components.editing_screen.placeholder.video_keyword')"
1414
/>
1515

16-
<button class="Button" @click="handleVideoSearchWord">検索する</button>
16+
<button class="Button" @click="handleVideoSearchWord">
17+
{{ $t('components.editing_screen.search_videos.search') }}
18+
</button>
1719

1820
<div v-if="videoSearchResult.length > 0" class="SearchResult">
19-
<h3>NHK For Schoolの動画検索結果</h3>
21+
<h3>
22+
{{
23+
$t('components.editing_screen.search_videos.search_result', {
24+
source: 'NHK For School',
25+
})
26+
}}
27+
</h3>
2028
<ul>
2129
<li v-for="(v, i) in displayLists" :key="i" class="SearchResultItem">
2230
<component
@@ -42,7 +50,9 @@
4250
class="Button"
4351
@click="registerVideoUrl(v.videoUrl)"
4452
>
45-
参考動画URLに登録する
53+
{{
54+
$t('components.editing_screen.search_videos.add_to_video_urls')
55+
}}
4656
</button>
4757
</li>
4858
</ul>

0 commit comments

Comments
 (0)