Pārlūkot izejas kodu

Create a string resource for all strings of Polish-pl for multi lingual, working across app

Khubaib 8 mēneši atpakaļ
vecāks
revīzija
6eccabbc57

+ 2 - 1
app/src/main/java/com/vpn/fastestvpnservice/beans/Dark_Light_Theme.kt

@@ -12,7 +12,8 @@ val languages = listOf<Language>(
     Language("German","de"),
     Language("French","fr"),
     Language("Spanish", "es"),
-    Language("Italian", "it")
+    Language("Italian", "it"),
+    Language("Polish", "pl")
 )
 
 var isDarkTheme: MutableState<Boolean> = mutableStateOf(false)

+ 2 - 1
app/src/main/java/com/vpn/fastestvpnservice/screens/bottomNavBarScreens/SettingsScreen.kt

@@ -25,6 +25,7 @@ import androidx.compose.foundation.layout.Column
 import androidx.compose.foundation.layout.ColumnScope
 import androidx.compose.foundation.layout.Row
 import androidx.compose.foundation.layout.Spacer
+import androidx.compose.foundation.layout.fillMaxHeight
 import androidx.compose.foundation.layout.fillMaxSize
 import androidx.compose.foundation.layout.fillMaxWidth
 import androidx.compose.foundation.layout.height
@@ -1167,7 +1168,7 @@ fun SelectLanguage(
                 modifier = Modifier
                     .background(Color.Transparent)
                     .fillMaxWidth()
-                    .height(300.dp)
+                    .fillMaxHeight()
                     .padding(start = 0.dp, top = 10.dp),
             ) {
                 Column(

+ 105 - 0
app/src/main/res/values-pl/strings.xml

@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+    <!-- Multi Lingual - (Polish-pl) -->
+
+    <!-- Started Screen -->
+    <string name="secure_fast">Bezpieczne. Szybko. Stabilny.</string>
+    <string name="started_text_1">Najwyższe bezpieczeństwo, niesamowita prędkość,</string>
+    <string name="started_text_2">Niezachwiana stabilność. Twój cyfrowy świat,</string>
+    <string name="started_text_3">Chronione.</string>
+
+    <!-- Sign In Screen -->
+    <string name="signin">Zaloguj się</string>
+    <string name="welcome_back">Witamy ponownie!</string>
+    <string name="please_login">Zaloguj się na swoje konto.</string>
+    <string name="password">Hasło</string>
+    <string name="forgot_pass">Zapomniałem hasła</string>
+    <string name="dont_have_acc">Nie masz konta?</string>
+
+    <!-- Sign Up Screen -->
+    <string name="signup">Zarejestruj się</string>
+    <string name="hello_there">Witajcie!</string>
+    <string name="please_register">Proszę zarejestrować swoje konto.</string>
+    <string name="by_creating_acc">Tworząc konto, wyrażasz zgodę</string>
+    <string name="termsndcond">Regulamin</string>
+    <string name="already_have_acc">Masz już konto? </string>
+
+    <!-- Home Screen -->
+    <string name="change">Zmień</string>
+    <string name="see_all_locations">Zobacz wszystkie lokalizacje</string>
+    <string name="connecting">Łączę…</string>
+    <string name="connected">Połączono</string>
+    <string name="disconnected">Rozłączono</string>
+    <string name="recommended">Polecane</string>
+    <string name="recently">Niedawno</string>
+    <string name="any_specific">Dowolny konkretny</string>
+
+    <!-- Settings Screen -->
+    <string name="app_name">Najszybszy VPN</string>
+    <string name="settings">Ustawienia</string>
+    <string name="vpn_protocols">Protokoły VPN</string>
+    <string name="smart_connect">Inteligentne połączenie</string>
+    <string name="adblock">Blok reklam</string>
+    <string name="kill_switch">Wyłącznik awaryjny</string>
+    <string name="split_tunneling">Podzielone tunelowanie</string>
+    <string name="notifcation">Powiadomienia</string>
+    <string name="appearance">Wygląd</string>
+    <string name="launch_on_startup">Uruchom przy uruchomieniu</string>
+    <string name="language">Język</string>
+    <string name="system_default">Domyślne ustawienia systemowe</string>
+    <string name="light_mode">Tryb jasny</string>
+    <string name="dark_mode">Tryb ciemny</string>
+    <string name="while_vpn_connected">Gdy połączenie VPN jest połączone</string>
+    <string name="all_apps_use_vpn">Wszystkie aplikacje korzystają z VPN</string>
+    <string name="only_selected_apps_use_vpn">Zezwalaj tylko wybranym aplikacjom na korzystanie z VPN</string>
+    <string name="only_selected_apps_not_use_vpn">Nie zezwalaj wybranym aplikacjom na korzystanie z VPN</string>
+
+    <!-- Help Screen -->
+    <string name="help">Pomoc</string>
+    <string name="faq">Często zadawane pytania</string>
+    <string name="privacy_policy">Polityka prywatności</string>
+    <string name="terms_conditions">Warunki</string>
+    <string name="about_fastest_vpn">O najszybszym VPN</string>
+    <string name="customer_support">Obsługa klienta</string>
+    <string name="email_us">Wyślij do nas e-mail</string>
+    <string name="your_message">Twoja wiadomość</string>
+    <string name="message_field_req">Pole wiadomości jest wymagane.</string>
+
+    <!-- Account Screen -->
+    <string name="account">Konto</string>
+    <string name="email">E-mail</string>
+    <string name="product">Produkt</string>
+    <string name="account_status">Stan konta</string>
+    <string name="upgrade_subscription">Uaktualnij subskrypcję</string>
+    <string name="favorite_servers">Ulubione serwery</string>
+    <string name="change_password">Zmień hasło</string>
+    <string name="logout">Wyloguj się</string>
+    <string name="subscription">Subskrypcja</string>
+    <string name="upgrade_account">Uaktualnij swoje konto</string>
+    <string name="subscribe">Subskrybuj</string>
+    <string name="current_pass">Aktualne hasło</string>
+    <string name="new_pass">Nowe hasło</string>
+    <string name="rewrite_new_pass">Przepisz nowe hasło</string>
+    <string name="save">Zapisz</string>
+    <string name="delete_account">Usuń konto</string>
+    <string name="sure_delete_account">Czy na pewno chcesz usunąć konto?</string>
+    <string name="logout_account">Wyloguj się z konta</string>
+    <string name="sure_logout_account">Czy na pewno chcesz się wylogować z konta?</string>
+    <string name="no">Nie</string>
+    <string name="yes">Tak</string>
+
+    <!-- Server List Screen -->
+    <string name="select_location">Wybierz lokalizację</string>
+    <string name="search_location">Wyszukaj lokalizację</string>
+    <string name="all_locations">Wszystkie lokalizacje</string>
+    <string name="locations">lokalizacje</string>
+    <string name="favorite_location">Ulubiona lokalizacja</string>
+    <string name="smart_location">Inteligentna lokalizacja</string>
+    <string name="recent_location">Ostatnia lokalizacja</string>
+    <string name="recommended_location">Zalecana lokalizacja</string>
+    <string name="sort_by">Sortuj według</string>
+    <string name="popularity">Popularność</string>
+    <string name="alphabetically">Alfabetycznie</string>
+
+</resources>

+ 1 - 0
app/src/main/res/xml/locales_config.xml

@@ -5,4 +5,5 @@
     <locale android:name = "fr" />
     <locale android:name = "es" />
     <locale android:name = "it" />
+    <locale android:name = "pl" />
 </locale-config>