Skip to content

Commit a2a761d

Browse files
author
hywax
committed
docs: german and greek locale
1 parent 83300f1 commit a2a761d

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ Supported Languages:
141141
* 🇸🇦 **Arabic** - `ar` (by [@mohmadhabib](https://github.com/mohmadhabib))
142142
* 🇵🇱 **Polish** - `pl` (by [@UberDudePL](https://github.com/UberDudePL))
143143
* 🇫🇷 **France** - `fr` (by [@maxim31cote](https://github.com/maxim31cote))
144+
* 🇩🇪 **German** - `de` (by [@gehno](https://github.com/gehno))
145+
* 🇬🇷 **Greek** - `gr` (by [@sthivaios](https://github.com/sthivaios))
144146

145147
If you haven't found your language, it can easily be added! Use the instructions in the section [contributing](https://mafl.hywax.space/community/contributing.html) on docs.
146148

Diff for: docs/reference/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Set the desired language with:
2121
lang: ru
2222
```
2323

24-
Values: `en`, `ru`, `zh`, `hi`, `es`, `ar`, `pl`, `fr`
24+
Values: `en`, `ru`, `zh`, `hi`, `es`, `ar`, `pl`, `fr`, `de`, `gr`
2525

2626
Default: `en`
2727

Diff for: docs/ru/reference/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ title: Моя домашняя страница
2121
lang: ru
2222
```
2323

24-
Поддерживаемые значения: `en`, `ru`, `zh`, `hi`, `es`, `ar`, `pl`, `fr`
24+
Поддерживаемые значения: `en`, `ru`, `zh`, `hi`, `es`, `ar`, `pl`, `fr`, `de`, `gr`
2525

2626
Значение по умолчанию: `en`
2727

Diff for: nuxt.config.ts

+12
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,18 @@ export default defineNuxtConfig({
116116
name: 'Français',
117117
file: 'fr-FR.json',
118118
},
119+
{
120+
code: 'de',
121+
iso: 'de-DE',
122+
name: 'Deutsch',
123+
file: 'de-DE.json',
124+
},
125+
{
126+
code: 'gr',
127+
iso: 'gr-GR',
128+
name: 'Ελληνικά',
129+
file: 'gr-GR.json',
130+
},
119131
],
120132
strategy: 'no_prefix',
121133
langDir: 'locales',

Diff for: src/types/config.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface Layout {
2525

2626
export interface Config {
2727
title?: string
28-
lang?: 'en' | 'ru' | 'zh' | 'hi' | 'es' | 'ar' | 'pl' | 'fr'
28+
lang?: 'en' | 'ru' | 'zh' | 'hi' | 'es' | 'ar' | 'pl' | 'fr' | 'de' | 'gr'
2929
theme?: 'system' | 'light' | 'dark' | 'deep' | 'sepia' | 'bluer'
3030
layout?: Layout
3131
behaviour?: Behaviour

0 commit comments

Comments
 (0)