Skip to content

Commit 13b1072

Browse files
authored
Merge pull request #676 from kubero-dev/feature/translate-some-more-pages
Feature / translate some more pages
2 parents 6b61f3b + 8b6ea7d commit 13b1072

File tree

7 files changed

+66
-8
lines changed

7 files changed

+66
-8
lines changed

client/src/components/activity/view.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<v-container>
3-
<h1>Activity</h1>
3+
<h1>{{ $t('navigation.activity') }}</h1>
44
<v-layout>
55
<v-row
66
v-if="auditEvents.length > 0" class="mb-10">

client/src/components/templates/index.vue

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
</v-col>
88
<v-col cols="3" sm="6" md="3">
99
<v-text-field
10-
label="Search"
10+
:label="$t('templates.search')"
11+
prepend-inner-icon="mdi-magnify"
1112
v-model="search"
1213
color="secondary"
1314
@input="searchTemplates"
@@ -16,11 +17,12 @@
1617
</v-col>
1718
<v-col cols="3" sm="6" md="3">
1819
<v-select
20+
:label="$t('templates.category')"
21+
prepend-inner-icon="mdi-tag"
1922
:items="categories"
2023
color="secondary"
2124
density="comfortable"
2225
@update:modelValue="filterByCategory"
23-
label="Category"
2426
:v-model="selectedCategory"
2527
></v-select>
2628
</v-col>
@@ -113,7 +115,7 @@
113115
:disabled="template.enabled"
114116
@click="openInstallDialog(template)"
115117
>
116-
install
118+
{{ $t('templates.actions.install') }}
117119
</v-btn>
118120
</v-card-actions>
119121
</v-card>
@@ -143,12 +145,12 @@
143145
<v-card-text>
144146
<v-select
145147
:items="pipelines"
146-
label="Pipeline"
148+
:label="$t('templates.pipeline')"
147149
v-model="pipeline"
148150
></v-select>
149151
<v-select
150152
:items="phases[pipeline]"
151-
label="Phase"
153+
:label="$t('templates.phase')"
152154
v-model="phase"
153155
></v-select>
154156
</v-card-text>
@@ -160,7 +162,7 @@
160162
dark
161163
@click="dialog = false"
162164
>
163-
close
165+
{{ $t('global.abort') }}
164166
</v-btn>
165167
<v-btn
166168
color="primary"
@@ -169,7 +171,7 @@
169171
:disabled="!pipeline || !phase"
170172
@click="openInstall(clickedTemplate.template, pipeline, phase)"
171173
>
172-
Load template
174+
{{ $t('templates.actions.install') }}
173175
</v-btn>
174176
</v-card-actions>
175177
</v-card>

client/src/locale/de-CH.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ const messages = {
130130
openApp: 'App öffne',
131131
restart: 'Neustart',
132132
openConsole: 'Konsole öffne',
133+
openLogs: 'Logs öffne',
133134
downloadTemplate: 'Vorlage abelade',
134135
delete: 'Lösche',
135136
update: 'Aktualisiere',
@@ -530,6 +531,16 @@ const messages = {
530531
loadinPodsize: 'Fehler beim Laden der Pod-Grössen',
531532
},
532533
},
534+
templates: {
535+
search: 'Vorlage sueche',
536+
category: 'Kategorie',
537+
pipeline: 'Pipeline',
538+
phase: 'Phase',
539+
actions: {
540+
install: 'Installiere',
541+
loadTemplate: 'Vorlage lade',
542+
},
543+
},
533544
$vuetify: {
534545
...de,
535546
},

client/src/locale/de.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,16 @@ const messages = {
532532
loadinPodsize: 'Fehler beim Laden der Pod-Größen',
533533
},
534534
},
535+
templates: {
536+
search: 'Vorlagen suchen',
537+
category: 'Kategorie',
538+
pipeline: 'Pipeline',
539+
phase: 'Phase',
540+
actions: {
541+
install: 'Installieren',
542+
loadTemplate: 'Vorlage laden',
543+
},
544+
},
535545
$vuetify: {
536546
...de,
537547
},

client/src/locale/en.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { pipeline } from 'stream'
12
import { en } from 'vuetify/locale'
23

34
const messages = {
@@ -74,6 +75,7 @@ const messages = {
7475
openApp: 'Open App',
7576
restart: 'Restart',
7677
openConsole: 'Open Console',
78+
openLogs: 'Open Logs',
7779
downloadTemplate: 'Download Template',
7880
delete: 'Delete',
7981
update: 'Update',
@@ -531,6 +533,16 @@ const messages = {
531533
},
532534
},
533535
},
536+
templates: {
537+
search: 'Search',
538+
category: 'Category',
539+
pipeline: 'Pipeline',
540+
phase: 'Phase',
541+
actions: {
542+
install: 'Install',
543+
loadTemplate: 'Load Template',
544+
},
545+
},
534546
$vuetify: {
535547
...en,
536548
},

client/src/locale/ja.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { template } from 'lodash'
12
import { ja } from 'vuetify/locale'
23

34
const messages = {
@@ -130,6 +131,7 @@ const messages = {
130131
openApp: 'アプリを開く',
131132
restart: '再起動',
132133
openConsole: 'コンソールを開く',
134+
openLogs: 'ログを開く',
133135
downloadTemplate: 'テンプレートをダウンロード',
134136
delete: '削除',
135137
update: '更新',
@@ -530,6 +532,16 @@ const messages = {
530532
loadinPodsize: 'Podサイズの読み込みエラー',
531533
},
532534
},
535+
templates: {
536+
search: 'テンプレートを検索',
537+
category: 'カテゴリー',
538+
pipeline: 'パイプライン',
539+
phase: 'フェーズ',
540+
actions: {
541+
install: 'インストール',
542+
loadTemplate: 'テンプレートを読み込む',
543+
},
544+
},
533545
$vuetify: {
534546
...ja,
535547
},

client/src/locale/zhHans.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ const messages = {
130130
openApp: '打开应用',
131131
restart: '重启',
132132
openConsole: '打开控制台',
133+
openLogs: '打开日志',
133134
downloadTemplate: '下载模板',
134135
delete: '删除',
135136
update: '更新',
@@ -530,6 +531,16 @@ const messages = {
530531
loadinPodsize: '加载Pod大小时出错',
531532
},
532533
},
534+
templates: {
535+
search: '搜索模板',
536+
category: '类别',
537+
pipeline: '流水线',
538+
phase: '阶段',
539+
actions: {
540+
install: '安装',
541+
loadTemplate: '加载模板',
542+
},
543+
},
533544
$vuetify: {
534545
...zhHans,
535546
},

0 commit comments

Comments
 (0)