Skip to content

Commit 13cf135

Browse files
feat(i18n): add Austrian translation (#2260)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 545fda8 commit 13cf135

File tree

4 files changed

+1502
-1435
lines changed

4 files changed

+1502
-1435
lines changed

config/i18n.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ export const countryLocaleVariants: Record<string, (LocaleObjectData & { country
3333
// { code: 'ar-AE', name: 'Arabic (U.A.E.)' },
3434
// { code: 'ar-YE', name: 'Arabic (Yemen)' },
3535
],
36+
de: [
37+
// de.json contains de-DE translations
38+
{ country: true, code: 'de-DE', name: 'Deutsch' },
39+
{ code: 'de-AT', name: 'Österreichisch' },
40+
],
3641
en: [
3742
// en.json contains en-US translations
3843
{ country: true, code: 'en-US', name: 'English (US)' },
@@ -158,8 +163,8 @@ const locales: (LocaleObjectData | (Omit<LocaleObjectData, 'code'> & { code: str
158163
name: 'Ελληνικά',
159164
},*/
160165
{
161-
code: 'de-DE',
162-
file: 'de-DE.json',
166+
code: 'de',
167+
file: 'de.json',
163168
name: 'Deutsch',
164169
},
165170
{

i18n/locales/de-AT.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"$schema": "../schema.json",
3+
"footer": {
4+
"keyboard_shortcuts": "Tastaturkürzel"
5+
},
6+
"shortcuts": {
7+
"show_kbd_hints": "Tastaturkürzel hervorheben",
8+
"disable_shortcuts": "Tastaturkürzel können in den {settings} deaktiviert werden."
9+
},
10+
"settings": {
11+
"sections": {
12+
"keyboard_shortcuts": "Tastaturkürzel"
13+
},
14+
"keyboard_shortcuts_enabled": "Tastaturkürzel aktivieren",
15+
"keyboard_shortcuts_enabled_description": "Tastaturkürzel können deaktiviert werden, wenn sie mit anderen Browser- oder Systemkürzeln in Konflikt stehen"
16+
},
17+
"search": {
18+
"instant_search": "Schnellsuche",
19+
"instant_search_on": "Schnellsuche aktiviert",
20+
"instant_search_off": "Schnellsuche deaktiviert",
21+
"instant_search_turn_on": "Schnellsuche aktivieren",
22+
"instant_search_turn_off": "Schnellsuche deaktivieren",
23+
"instant_search_advisory": "Die Schnellsuche sendet bei jedem Tastendruck eine Anfrage."
24+
}
25+
}

0 commit comments

Comments
 (0)