Kaynağa Gözat

Create a string resource for all strings of French-fr for multi lingual, working across app

Khubaib 8 ay önce
ebeveyn
işleme
e11d57b909

+ 22 - 0
.idea/other.xml

@@ -117,6 +117,17 @@
           <option name="screenY" value="3088" />
         </PersistentDeviceSelectionData>
         <PersistentDeviceSelectionData>
+          <option name="api" value="34" />
+          <option name="brand" value="samsung" />
+          <option name="codename" value="e1q" />
+          <option name="id" value="e1q" />
+          <option name="manufacturer" value="Samsung" />
+          <option name="name" value="Galaxy S24" />
+          <option name="screenDensity" value="480" />
+          <option name="screenX" value="1080" />
+          <option name="screenY" value="2340" />
+        </PersistentDeviceSelectionData>
+        <PersistentDeviceSelectionData>
           <option name="api" value="33" />
           <option name="brand" value="google" />
           <option name="codename" value="felix" />
@@ -128,6 +139,17 @@
           <option name="screenY" value="1840" />
         </PersistentDeviceSelectionData>
         <PersistentDeviceSelectionData>
+          <option name="api" value="34" />
+          <option name="brand" value="google" />
+          <option name="codename" value="felix" />
+          <option name="id" value="felix" />
+          <option name="manufacturer" value="Google" />
+          <option name="name" value="Pixel Fold" />
+          <option name="screenDensity" value="420" />
+          <option name="screenX" value="2208" />
+          <option name="screenY" value="1840" />
+        </PersistentDeviceSelectionData>
+        <PersistentDeviceSelectionData>
           <option name="api" value="33" />
           <option name="brand" value="google" />
           <option name="codename" value="felix_camera" />

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

@@ -10,8 +10,8 @@ val themesList = listOf<String>(
 val languages = listOf<Language>(
     Language("English","en"),
     Language("German","de"),
-//    Language("French","fr"),
-//    Language("Spanish", "es")
+    Language("French","fr"),
+    Language("Spanish", "es")
 )
 
 var isDarkTheme: MutableState<Boolean> = mutableStateOf(false)

+ 97 - 1
app/src/main/res/values-fr/strings.xml

@@ -1,8 +1,104 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
     <!-- Multi Lingual - (French-fr) -->
+
+    <!-- Started Screen -->
+    <string name="secure_fast">Sécurisé. Rapide. Écurie.</string>
+    <string name="started_text_1">Sécurité de premier ordre, vitesse fulgurante,</string>
+    <string name="started_text_2">Une stabilité à toute épreuve. Votre monde numérique,</string>
+    <string name="started_text_3">Protégé.</string>
+
+    <!-- Sign In Screen -->
+    <string name="signin">Sign In</string>
+    <string name="welcome_back">Content de te revoir!</string>
+    <string name="please_login">Veuillez vous connecter à votre compte.</string>
+    <string name="password">Mot de passe</string>
+    <string name="forgot_pass">Mot de passe oublié</string>
+    <string name="dont_have_acc">Vous n\'avez pas de compte?</string>
+
+    <!-- Sign Up Screen -->
+    <string name="signup">S\'inscrire</string>
+    <string name="hello_there">Bonjour!</string>
+    <string name="please_register">Veuillez enregistrer votre compte.</string>
+    <string name="by_creating_acc">En créant votre compte, vous acceptez</string>
+    <string name="termsndcond">Conditions générales</string>
+    <string name="already_have_acc">Vous avez déjà un compte?</string>
+
+    <!-- Home Screen -->
+    <string name="change">Changement</string>
+    <string name="see_all_locations">Voir tous les emplacements</string>
+    <string name="connecting">De liaison…</string>
+    <string name="connected">Connecté</string>
+    <string name="disconnected">Déconnecté</string>
+    <string name="recommended">Recommandé</string>
+    <string name="recently">Récemment</string>
+    <string name="any_specific">Tout spécifique</string>
+
+    <!-- Settings Screen -->
     <string name="app_name">FastestVPN</string>
     <string name="settings">Paramètres</string>
-    <string name="smart_connect">Connexion Intelligente</string>
     <string name="vpn_protocols">Protocoles VPN</string>
+    <string name="smart_connect">Connexion Intelligente</string>
+    <string name="adblock">Blocage des publicités</string>
+    <string name="kill_switch">Tuer le commutateur</string>
+    <string name="split_tunneling">Tunneling fractionné</string>
+    <string name="notifcation">Notifications</string>
+    <string name="appearance">Apparence</string>
+    <string name="launch_on_startup">Lancer au démarrage</string>
+    <string name="language">Langue</string>
+    <string name="system_default">Système par défaut</string>
+    <string name="light_mode">Mode lumière</string>
+    <string name="dark_mode">Mode sombre</string>
+    <string name="while_vpn_connected">Pendant que le VPN est connecté</string>
+    <string name="all_apps_use_vpn">Toutes les applications utilisent le VPN</string>
+    <string name="only_selected_apps_use_vpn">Autoriser uniquement les applications sélectionnées à utiliser le VPN</string>
+    <string name="only_selected_apps_not_use_vpn">Ne pas autoriser les applications sélectionnées à utiliser le VPN</string>
+
+    <!-- Help Screen -->
+    <string name="help">Aide</string>
+    <string name="faq">Foire aux questions</string>
+    <string name="privacy_policy">politique de confidentialité</string>
+    <string name="terms_conditions">Termes et conditions</string>
+    <string name="about_fastest_vpn">À propos de FastestVPN</string>
+    <string name="customer_support">Service client</string>
+    <string name="email_us">Envoyez-nous un courriel</string>
+    <string name="your_message">Your message</string>
+    <string name="message_field_req">Le champ message est obligatoire.</string>
+
+    <!-- Account Screen -->
+    <string name="account">Compte</string>
+    <string name="email">E-mail</string>
+    <string name="product">Produit</string>
+    <string name="account_status">Statut du compte</string>
+    <string name="upgrade_subscription">Abonnement de mise à niveau</string>
+    <string name="favorite_servers">Serveurs favoris</string>
+    <string name="change_password">Changer le mot de passe</string>
+    <string name="logout">Déconnexion</string>
+    <string name="subscription">Abonnement</string>
+    <string name="upgrade_account">Mettez à niveau votre compte</string>
+    <string name="subscribe">S\'abonner</string>
+    <string name="current_pass">Mot de passe actuel</string>
+    <string name="new_pass">Nouveau mot de passe</string>
+    <string name="rewrite_new_pass">Réécrire le nouveau mot de passe</string>
+    <string name="save">Sauvegarder</string>
+    <string name="delete_account">Supprimer le compte</string>
+    <string name="sure_delete_account">Êtes-vous sûr de supprimer le compte?</string>
+    <string name="logout_account">Déconnexion du compte</string>
+    <string name="sure_logout_account">Êtes-vous sûr de vous déconnecter du compte?</string>
+    <string name="no">Non</string>
+    <string name="yes">Oui</string>
+
+    <!-- Server List Screen -->
+    <string name="select_location">Sélectionnez un emplacement</string>
+    <string name="search_location">Rechercher un emplacement</string>
+    <string name="all_locations">Tous les emplacements</string>
+    <string name="locations">Emplacements</string>
+    <string name="favorite_location">Emplacement préféré</string>
+    <string name="smart_location">Localisation intelligente</string>
+    <string name="recent_location">Localisation récente</string>
+    <string name="recommended_location">Emplacement recommandé</string>
+    <string name="sort_by">Trier par</string>
+    <string name="popularity">Popularité</string>
+    <string name="alphabetically">Alphabétiquement</string>
+
 </resources>

+ 2 - 2
app/src/main/res/values/strings.xml

@@ -507,7 +507,7 @@
     <string name="started_text_3">Protected.</string>
 
     <!-- Sign In Screen -->
-    <string name="signin">Sign In</string>
+    <string name="signin">Se connecter</string>
     <string name="welcome_back">Welcome Back!</string>
     <string name="please_login">Please login to your account.</string>
     <string name="password">Password</string>
@@ -558,7 +558,7 @@
     <string name="faq">FAQ</string>
     <string name="privacy_policy">Privacy Policy</string>
     <string name="terms_conditions">Terms and Conditions</string>
-    <string name="about_fastest_vpn">About Fastest VPN</string>
+    <string name="about_fastest_vpn">About FastestVPN</string>
     <string name="customer_support">Customer Support</string>
     <string name="email_us">Email Us</string>
     <string name="your_message">Your message</string>

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

@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <locale-config xmlns:android="http://schemas.android.com/apk/res/android">
     <locale android:name = "en" />
-    <locale android:name = "fr" />
     <locale android:name = "de" />
+    <locale android:name = "fr" />
+    <locale android:name = "es" />
 </locale-config>