Skip to content

Commit 38309a8

Browse files
authored
feat: pl-PL locale (#57)
1 parent 3356d54 commit 38309a8

File tree

6 files changed

+29
-4
lines changed

6 files changed

+29
-4
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ Supported Languages:
121121
* 🇨🇮 **Hindi** - `hi`
122122
* 🇪🇸 **Spanish** - `es`
123123
* 🇸🇦 **Arabic** - `ar` (by [@mohmadhabib](https://github.com/mohmadhabib))
124+
* pl **Polish** - `pl`
124125

125126
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.
126127

docs/guide/getting-started.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ version: '3.8'
1313

1414
services:
1515
mafl:
16+
container_name: mafl #change as needed
1617
image: hywax/mafl
1718
restart: unless-stopped
1819
ports:
@@ -24,7 +25,7 @@ services:
2425
2526
### Docker run
2627
```shell
27-
docker run -p 3000:3000 -v ./config.yml:/app/data/config.yml hywax/mafl
28+
docker run --name mafl -p 3000:3000 -v ./config.yml:/app/data/config.yml hywax/mafl
2829
```
2930

3031
### Docker volumes

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`
24+
Values: `en`, `ru`, `zh`, `hi`, `es`, `ar`, `pl`
2525

2626
Default: `en`
2727

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`
24+
Поддерживаемые значения: `en`, `ru`, `zh`, `hi`, `es`, `ar`, `pl`
2525

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

locales/pl-PL

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"service": {
3+
4+
},
5+
6+
"error": {
7+
"title": "Błąd",
8+
"page404": "Strona nie istnieje!",
9+
"description": "Oops! Pojawił się nieoczekiwany błąd",
10+
"action": "Sprawdź dokumentacja"
11+
},
12+
13+
"update": {
14+
"message": "Dostępna jest nowa wersja",
15+
"visit": "Odwiedź github →"
16+
}
17+
}

nuxt.config.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@ export default defineNuxtConfig({
101101
iso: 'ar-SA',
102102
name: 'اللغة السعودية',
103103
file: 'ar-SA.json',
104-
},
104+
}
105+
{
106+
code: 'pl',
107+
iso: 'pl-PL',
108+
name: 'Polski',
109+
file: 'pl-pl.json',
110+
},
105111
],
106112
strategy: 'no_prefix',
107113
langDir: 'locales',

0 commit comments

Comments
 (0)