Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Locale): Added polish translations #13327

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/vant/src/locale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Locale.add(messages);
Current supported languages:

| Language | Filename | Version |
| ------------------------ | ------------ | -------- |
|--------------------------|--------------|----------|
| Arabic | ar-SA | `v3.5.0` |
| Bulgarian | bg-BG | `v3.5.0` |
| Bangla (Bangladesh) | bn-BD | `v3.4.5` |
Expand All @@ -66,6 +66,7 @@ Current supported languages:
| Mongolian | mm-MN | `v4.0.5` |
| Norwegian | nb-NO | - |
| Dutch | nl-NL | `v4.0.5` |
| Polish | pl-PL | - |
| Portuguese (Brazil) | pt-BR | `v3.3.3` |
| Romanian | ro-RO | - |
| Russian | ru-RU | `v3.1.5` |
Expand Down
62 changes: 62 additions & 0 deletions packages/vant/src/locale/lang/pl-PL.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
export default {
name: 'Nazwisko',
tel: 'Telefon',
save: 'Zapisz',
clear: 'Wyczyść',
cancel: 'Anuluj',
confirm: 'Potwierdź',
delete: 'Usuń',
loading: 'Ładowanie...',
noCoupon: 'Brak kuponów',
nameEmpty: 'Wprowadź nazwisko',
addContact: 'Dodaj kontakt',
telInvalid: 'Nieprawidłowy numer telefonu',
vanCalendar: {
end: 'Koniec',
start: 'Start',
title: 'Kalendarz',
weekdays: ['Nie', 'Pon', 'Wto', 'Śro', 'Czw', 'Pią', 'Sob'],
monthTitle: (year: number, month: number) => `${year}/${month}`,
rangePrompt: (maxRange: number) => `Wybierz nie więcej niż ${maxRange} dni`,
},
vanCascader: {
select: 'Wybierz',
},
vanPagination: {
prev: 'Poprzednia',
next: 'Następna',
},
vanPullRefresh: {
pulling: 'Pociągnij aby odświeżyć...',
loosing: 'Puść aby odświeżyć...',
},
vanSubmitBar: {
label: 'Suma:',
},
vanCoupon: {
unlimited: 'Unlimited',
discount: (discount: number) => `${discount * 10}% zniżki`,
condition: (condition: number) => `Przynajmniej ${condition}`,
},
vanCouponCell: {
title: 'Kupon',
count: (count: number) => `Aktywnych kuponów: ${count}`,
},
vanCouponList: {
exchange: 'Użyj',
close: 'Zamknij',
enable: 'Dostępne',
disabled: 'Niedostępne',
placeholder: 'Kod kuponu',
},
vanAddressEdit: {
area: 'Obszar',
areaEmpty: 'Wybierz obszar',
addressEmpty: 'Adres nie może być pusty',
addressDetail: 'Adres',
defaultAddress: 'Ustaw jako domyślny adres',
},
vanAddressList: {
add: 'Dodaj nowy adres',
},
};
Loading