Skip to content

Commit 7ecbf69

Browse files
committed
Fix missing i18n keys
1 parent 2015ff5 commit 7ecbf69

7 files changed

Lines changed: 66 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"typescript": "~5.1.6",
6565
"vite": "^6.3.5",
6666
"vitest": "^3.1.4",
67+
"vue-i18n-extract": "^2.0.7",
6768
"vue-tsc": "^2.2.10"
6869
}
6970
}

src/components/CompareProject.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export default defineComponent({
235235
<v-toolbar color="white" density="compact" extension-height="20" extended>
236236
<v-spacer />
237237
<v-btn
238-
:title="$t('changeProject.moveLeft')"
238+
:title="$t('compareProject.moveLeft')"
239239
icon="mdi-chevron-left"
240240
color="secondary"
241241
:disabled="taskIndex <= 0"
@@ -251,7 +251,7 @@ export default defineComponent({
251251
@click="saveResults(results, startTime)"
252252
/>
253253
<v-btn
254-
:title="$t('changeProject.moveRight')"
254+
:title="$t('compareProject.moveRight')"
255255
icon="mdi-chevron-right"
256256
color="secondary"
257257
:disabled="!isAnswered() || taskIndex + 1 === tasks.length"

src/i18n/locales/de.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@
165165
"toggleOpacityInstruction": "Schalte die Transparenz der oberen Schicht für eine bessere Sicht auf die Bildkacheln um",
166166
"useButtonsToNavigate": "Navigationstasten",
167167
"whereIamTitle": "Wo bin ich?",
168-
"whereIamInstruction": "Öffne eine Karte, um zu sehen wo du gerade beiträgst"
168+
"whereIamInstruction": "Öffne eine Karte, um zu sehen wo du gerade beiträgst",
169+
"tutorial": "Tutorial"
169170
},
170171
"findProjectInstructions": {
171172
"classifyTitle": "Klicke oder tippe, um zu klassifizieren",
@@ -194,7 +195,9 @@
194195
},
195196
"compareProject": {
196197
"before": "Vorher",
197-
"after": "Nachher"
198+
"after": "Nachher",
199+
"moveLeft": "Zurück",
200+
"moveRight": "Weiter"
198201
},
199202
"digitizeProject": {
200203
"moveLeft": "Zurück",

src/i18n/locales/en.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@
194194
},
195195
"compareProject": {
196196
"before": "Before",
197-
"after": "After"
197+
"after": "After",
198+
"moveLeft": "Back to previous feature",
199+
"moveRight": "Forward to next feature"
198200
},
199201
"digitizeProject": {
200202
"moveLeft": "Back to previous feature",

src/i18n/locales/es.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@
194194
},
195195
"compareProject": {
196196
"before": "Antes",
197-
"after": "Después"
197+
"after": "Después",
198+
"moveLeft": "Volver al elemento anterior",
199+
"moveRight": "Ir al elemento siguiente"
198200
},
199201
"digitizeProject": {
200202
"moveLeft": "Volver al elemento anterior",

src/i18n/locales/fr.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@
194194
},
195195
"compareProject": {
196196
"before": "Avant",
197-
"after": "Après"
197+
"after": "Après",
198+
"moveLeft": "Retour à l'élément précédent",
199+
"moveRight": "Aller à l'élement suivant"
198200
},
199201
"digitizeProject": {
200202
"moveLeft": "Retour à l'élément précédent",

yarn.lock

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,7 +2284,7 @@ btoa@^1.2.1:
22842284
resolved "https://registry.yarnpkg.com/btoa/-/btoa-1.2.1.tgz#01a9909f8b2c93f6bf680ba26131eb30f7fa3d73"
22852285
integrity sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==
22862286

2287-
cac@^6.7.14:
2287+
cac@^6.7.12, cac@^6.7.14:
22882288
version "6.7.14"
22892289
resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959"
22902290
integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==
@@ -2459,6 +2459,11 @@ commander@^10.0.0:
24592459
resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06"
24602460
integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==
24612461

2462+
commander@^6.1.0:
2463+
version "6.2.1"
2464+
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
2465+
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
2466+
24622467
concat-map@0.0.1:
24632468
version "0.0.1"
24642469
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@@ -2689,6 +2694,14 @@ dompurify@^3.2.4:
26892694
optionalDependencies:
26902695
"@types/trusted-types" "^2.0.7"
26912696

2697+
dot-object@^2.1.4:
2698+
version "2.1.5"
2699+
resolved "https://registry.yarnpkg.com/dot-object/-/dot-object-2.1.5.tgz#0ff0f1bff42c47ff06272081b208658c0a0231c2"
2700+
integrity sha512-xHF8EP4XH/Ba9fvAF2LDd5O3IITVolerVV6xvkxoM8zlGEiCUrggpAnHyOoKJKCrhvPcGATFAUwIujj7bRG5UA==
2701+
dependencies:
2702+
commander "^6.1.0"
2703+
glob "^7.1.6"
2704+
26922705
dunder-proto@^1.0.1:
26932706
version "1.0.1"
26942707
resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a"
@@ -3438,7 +3451,7 @@ glob@^10.3.3:
34383451
minipass "^7.0.4"
34393452
path-scurry "^1.11.0"
34403453

3441-
glob@^7.1.3:
3454+
glob@^7.1.3, glob@^7.1.6:
34423455
version "7.2.3"
34433456
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
34443457
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
@@ -3450,6 +3463,17 @@ glob@^7.1.3:
34503463
once "^1.3.0"
34513464
path-is-absolute "^1.0.0"
34523465

3466+
glob@^8.0.1:
3467+
version "8.1.0"
3468+
resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e"
3469+
integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==
3470+
dependencies:
3471+
fs.realpath "^1.0.0"
3472+
inflight "^1.0.4"
3473+
inherits "2"
3474+
minimatch "^5.0.1"
3475+
once "^1.3.0"
3476+
34533477
global-prefix@^4.0.0:
34543478
version "4.0.0"
34553479
resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-4.0.0.tgz#e9cc79aab9be1d03287e156a3f912dd0895463ed"
@@ -3856,6 +3880,11 @@ is-typed-array@^1.1.13:
38563880
dependencies:
38573881
which-typed-array "^1.1.14"
38583882

3883+
is-valid-glob@^1.0.0:
3884+
version "1.0.0"
3885+
resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-1.0.0.tgz#29bf3eff701be2d4d315dbacc39bc39fe8f601aa"
3886+
integrity sha512-AhiROmoEFDSsjx8hW+5sGwgKVIORcXnrlAx/R0ZSeaPw70Vw0CqkGBBhHGL58Uox2eXnU1AnvXJl1XlyedO5bA==
3887+
38593888
is-weakref@^1.0.2:
38603889
version "1.0.2"
38613890
resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2"
@@ -4340,6 +4369,13 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
43404369
dependencies:
43414370
brace-expansion "^1.1.7"
43424371

4372+
minimatch@^5.0.1:
4373+
version "5.1.6"
4374+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96"
4375+
integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==
4376+
dependencies:
4377+
brace-expansion "^2.0.1"
4378+
43434379
minimatch@^9.0.1, minimatch@^9.0.3:
43444380
version "9.0.4"
43454381
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51"
@@ -5803,6 +5839,17 @@ vue-eslint-parser@^9.3.1, vue-eslint-parser@^9.4.2:
58035839
lodash "^4.17.21"
58045840
semver "^7.3.6"
58055841

5842+
vue-i18n-extract@^2.0.7:
5843+
version "2.0.7"
5844+
resolved "https://registry.yarnpkg.com/vue-i18n-extract/-/vue-i18n-extract-2.0.7.tgz#95798037c2ae57f4ec5fd9d2267d2559bc94e5e8"
5845+
integrity sha512-i1NW5R58S720iQ1BEk+6ILo3hT6UA8mtYNNolSH4rt9345qvXdvA6GHy2+jHozdDAKHwlu9VvS/+vIMKs1UYQw==
5846+
dependencies:
5847+
cac "^6.7.12"
5848+
dot-object "^2.1.4"
5849+
glob "^8.0.1"
5850+
is-valid-glob "^1.0.0"
5851+
js-yaml "^4.1.0"
5852+
58065853
vue-i18n@^10.0.0:
58075854
version "10.0.7"
58085855
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-10.0.7.tgz#47a74e24faf3cf56d09294f6c152aa775ef8e8cc"

0 commit comments

Comments
 (0)