feat: 🎸 Added Polish language
This commit is contained in:
parent
655d4e8d15
commit
53f6d4c4f0
|
@ -92,6 +92,15 @@ export const SetLanguage = () => {
|
|||
<Text style={styles.languageButtonSubtitle}>Deutsch</Text>
|
||||
</TouchableOpacity>
|
||||
|
||||
<TouchableOpacity
|
||||
style={styles.languageButton}
|
||||
onPress={() => setSelectedLanguage('pl')}
|
||||
>
|
||||
<Text style={styles.check}>{isSelected('pl') ? '✓' : ''}</Text>
|
||||
<Text>Polish</Text>
|
||||
<Text style={styles.languageButtonSubtitle}>Polski</Text>
|
||||
</TouchableOpacity>
|
||||
|
||||
<TouchableOpacity
|
||||
style={styles.languageButton}
|
||||
onPress={() => setSelectedLanguage('so')}
|
||||
|
|
|
@ -11,6 +11,7 @@ let languageCode: string
|
|||
|
||||
const rtlList: { [key: string]: boolean } = {
|
||||
en: false,
|
||||
pl: false,
|
||||
sv: false,
|
||||
so: false,
|
||||
ar: true,
|
||||
|
|
|
@ -0,0 +1,93 @@
|
|||
{
|
||||
"general": {
|
||||
"title": "Öppna skolplattformen",
|
||||
"loading": "Trwa ładowanie...",
|
||||
"logout": "Wyloguj",
|
||||
"abort": "Anuluj",
|
||||
"settings": "Ustawienia",
|
||||
"send": "Wyślij",
|
||||
"confirm": "Potwierdź",
|
||||
"socialSecurityNumber": "Personnummer",
|
||||
"changeLanguage": "Zmień język"
|
||||
},
|
||||
"navigation": {
|
||||
"news": "Wiadomości",
|
||||
"notifications": "Powiadomienia",
|
||||
"calender": "Kalendarz",
|
||||
"menu": "Jadłospis"
|
||||
},
|
||||
"auth": {
|
||||
"bankid": {
|
||||
"OpenOnAnotherDevice": "Otwórz BankID na innym urządzeniu",
|
||||
"OpenOnThisDevice": "Otwórz BankID na tym urządzeniu",
|
||||
"Waiting": "Oczekiwanie på BankID...",
|
||||
"OpenManually": "Otwórz BankID manualnie"
|
||||
},
|
||||
"subtitle": "{{word}} alternatywa",
|
||||
"personalNumber": "Personnummer",
|
||||
"loginAsTestUser": "Użytkownik testowy",
|
||||
"placeholder_SocialSecurityNumber": "Twój personnummer",
|
||||
"chooseLoginMethod": "Wymierz sposób logowania",
|
||||
"loginFailed": "Logowanie nie powiodło się, spróbuj ponownie!",
|
||||
"words": {
|
||||
"agile": "Szybka",
|
||||
"cheap": "Tania",
|
||||
"better": "Lepsza",
|
||||
"cooler": "Odlotowa",
|
||||
"awaited": "Oczekiwana",
|
||||
"simple": "Prosta",
|
||||
"fantastic": "Fantastyczna",
|
||||
"free": "Wolna",
|
||||
"working": "Działająca",
|
||||
"first": "Pierwsza",
|
||||
"homemade": "Domowa",
|
||||
"imperfect": "Niedoskonała",
|
||||
"rebellious": "Buntownicza",
|
||||
"fun": "Śmieszna",
|
||||
"fast": "Szybka",
|
||||
"enlightened": "Oświecona",
|
||||
"open": "Otwarta"
|
||||
}
|
||||
},
|
||||
"children": {
|
||||
"title": "Twoje dzieci",
|
||||
"noKids_title": "Nie znaleziono dzieci",
|
||||
"noKids_description": "Nie znaleziono dzieci zarejestrowanych na twój personnummer w mieście Sztokholm"
|
||||
},
|
||||
"abscense": {
|
||||
"title": "Zgłoś nieobecność",
|
||||
"selectAbscenseEndTime": "Wybierz czas zakończenia",
|
||||
"entireDay": "Cały dzień"
|
||||
},
|
||||
"news": {
|
||||
"title": "Wiadomość od szkoły",
|
||||
"backToChild": "Z powrotem do dzieci",
|
||||
"noNewNewsItemsThisWeek": "Nie ma nowych wiadomości w tym tygodniu.",
|
||||
"newsTitle": "Wiadomość: {{message}} ({{dateCreated}})",
|
||||
"notificationTitle": "Wiadomość: {{header}} ({{published}})"
|
||||
},
|
||||
"notifications": {
|
||||
"notificationTitle": "Wiadomość: {{message}} ({{dateCreated}})"
|
||||
},
|
||||
"calender": {
|
||||
"saveToCalender": "Zapisz w kalendarzu",
|
||||
"showCalenderActions": "Wyświetl działania kalendarza",
|
||||
"saveToCalenderSuccess": "✔️ Zapisano w kalendarzu",
|
||||
"saveToCalenderError": "Coś poszło nie tak",
|
||||
"approveAccessToCalender": "Musisz zatwierdzić dostęp do kalendarza"
|
||||
},
|
||||
"menu": {
|
||||
"emptyHeadline": "Brak informacji",
|
||||
"emptyText": "Nie znaleziono jadłospisu na ten tydzień"
|
||||
},
|
||||
"abbrevations": {
|
||||
"upperSecondarySchool": "Liceum",
|
||||
"preschool": "Przedszkole",
|
||||
"compulsorySchool": "Szkoła podstawowa",
|
||||
"leisureTimeCentre": "Świetlica"
|
||||
},
|
||||
"language": {
|
||||
"changeLanguage": "Zmień język",
|
||||
"changeLanguageButton": "Zachowaj"
|
||||
}
|
||||
}
|
|
@ -4,6 +4,7 @@ export const translations = {
|
|||
ar: require('../translations/ar.json'),
|
||||
de: require('../translations/de.json'),
|
||||
en: require('../translations/en.json'),
|
||||
pl: require('../translations/pl.json'),
|
||||
so: require('../translations/so.json'),
|
||||
sv: require('../translations/sv.json')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue