Skip to content

Commit

Permalink
Add french translation (Kr0oked#36)
Browse files Browse the repository at this point in the history
* Add french strings.xml

* Add french locale in build

* Add french app description & title

* Add french translation for changelog

* Add icon french translation

* Delete untransleteable string & fix typo
  • Loading branch information
linarphy authored Mar 22, 2023
1 parent 9a372a6 commit 39a5fc0
Show file tree
Hide file tree
Showing 17 changed files with 119 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ android {

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

resConfigs 'bs', 'cs', 'de', 'el', 'fi', 'hr', 'mk', 'nl', 'ru', 'sr', 'tr'
resConfigs 'bs', 'cs', 'de', 'el', 'fi', 'fr', 'hr', 'mk', 'nl', 'ru', 'sr', 'tr'
}

buildTypes {
Expand Down
70 changes: 70 additions & 0 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
~ This file is part of Compass.
~ Copyright (C) 2022 Philipp Bobek <philipp.bobek@mailbox.org>
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ Compass is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<resources>
<string name="app_name">Boussole</string>

<string name="sensor_status">État du capteur</string>
<string name="action_screen_rotation">Bloquer la rotation de l'écran</string>
<string name="action_night_mode">Passer au mode nuit</string>
<string name="about">À propos</string>

<string name="compass_rose_image_description">Rose des vents indiquant le nord magnétique</string>
<string name="device_heading_indicator_image_description">Indique dans quelle direction l'appareil est orienté</string>

<string name="status_degrees_text_description">Degrées de la boussole</string>
<string name="status_cardinal_direction_text_description">Direction cardinale de la boussole</string>

<string name="cardinal_direction_north">Nord</string>
<string name="cardinal_direction_northeast">Nord-Est</string>
<string name="cardinal_direction_east">Est</string>
<string name="cardinal_direction_southeast">Sud-Est</string>
<string name="cardinal_direction_south">Sud</string>
<string name="cardinal_direction_southwest">Sud-Ouest</string>
<string name="cardinal_direction_west">Ouest</string>
<string name="cardinal_direction_northwest">Nord-Ouest</string>

<string name="cardinal_direction_north_abbreviation">N</string>
<string name="cardinal_direction_east_abbreviation">E</string>
<string name="cardinal_direction_south_abbreviation">S</string>
<string name="cardinal_direction_west_abbreviation">O</string>

<string name="ok">OK</string>

<string name="version">Version %s</string>
<string name="version_description">Nom de la version</string>
<string name="copyright">Copyright @ 2022 <a href="mailto:philipp.bobek@mailbox.org">Philipp Bobek</a></string>
<string name="copyright_description">Avis de copyright</string>
<string name="license">Licence <a href="https://www.gnu.org/licenses/gpl-3.0.txt">GNU GPLv3</a></string>
<string name="license_description">Licence du logiciel</string>
<string name="source_code"><a href="https://github.com/Kr0oked/Compass">Code source</a></string>
<string name="source_code_description">Lien vers la gestion du code source</string>

<string name="sensor_accuracy_no_contact">Capteur non disponible</string>
<string name="sensor_accuracy_unreliable">Valeurs des capteurs non fiables</string>
<string name="sensor_accuracy_low">Précision faible</string>
<string name="sensor_accuracy_medium">Précision moyenne</string>
<string name="sensor_accuracy_high">Précision maximale</string>
<string name="sensor_accuracy_image_description">Affichage graphique de la précision du capteur</string>
<string name="sensor_accuracy_text_description">Décrit la précsion du capteur</string>
<string name="sensor_error_message">Capteur non disponible</string>
<string name="sensor_calibration_text">Vous pouvez améliorer la précision de votre capteur à n'importe quel moment en tournant l'appareil en faisant un 8.</string>
<string name="sensor_calibration_text_description">Explique comment améliorer la précision du capteur</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/xml/locales_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<locale android:name="el" />
<locale android:name="en" />
<locale android:name="fi" />
<locale android:name="fr" />
<locale android:name="hr" />
<locale android:name="mk" />
<locale android:name="nl" />
Expand Down
5 changes: 5 additions & 0 deletions fastlane/metadata/android/fr/changelogs/1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Rotate la rose des vents
- Texte pour les degrés
- Text pour la direction cardinale
- Mode jour & nuit
- Traduction en anglais et en allemand
5 changes: 5 additions & 0 deletions fastlane/metadata/android/fr/changelogs/10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Traduction en tchèque
- Traduction en turc
- Traduction en grec
- Boussole plus grande en mode paysage
- Icône en monochrone
2 changes: 2 additions & 0 deletions fastlane/metadata/android/fr/changelogs/2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Direction cardinale lisible
- Dialogue sur la sensibilité du capteur
3 changes: 3 additions & 0 deletions fastlane/metadata/android/fr/changelogs/3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Page à propos
- Icone de l'application retravaillé
- Amélioration de la gestion du mode nuit
2 changes: 2 additions & 0 deletions fastlane/metadata/android/fr/changelogs/4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- La boussole ne tremble plus
- Ajout de guide pour calibrer le capteur
4 changes: 4 additions & 0 deletions fastlane/metadata/android/fr/changelogs/5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Options pour bloquer ou suivre la rotation d'écran
- Amélioration du changement de taille de la boussole
- Traduction en néerlandais
- Traduction en finnois
3 changes: 3 additions & 0 deletions fastlane/metadata/android/fr/changelogs/6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Traduction en russe
- Vue de la boussole plus grande
- Correction d'un relèvement incorrect en orientation paysage
1 change: 1 addition & 0 deletions fastlane/metadata/android/fr/changelogs/7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Correction d'un crash quand le dialogue "à propos" était ouvert plusieurs fois
1 change: 1 addition & 0 deletions fastlane/metadata/android/fr/changelogs/8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Correction des degrés incorrects lors de la rotation de l'écran à 180°
6 changes: 6 additions & 0 deletions fastlane/metadata/android/fr/changelogs/9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Material 3 design
- Traduction en bosnien
- Traduction en croate
- Traduction en serbe
- Nouveaux icônes pour le mode nuit
- Préférences de l'application persistante
13 changes: 13 additions & 0 deletions fastlane/metadata/android/fr/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Vous obtiendrez excactement ce à quoi vous vous attendez:
Une jolie boussole simple pointant vers le nord magnétique

Fonctionnalités:
* Pointe le nord magnétique
* Montre les degré
* Indique les degrés exacts et la direction cardinale
* Affiche l'état du capteur
* Mode nuit automatique
* Pas de publicités
* Pas d'ennuis

Amusez vous!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions fastlane/metadata/android/fr/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Boussole simple et belle
1 change: 1 addition & 0 deletions fastlane/metadata/android/fr/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Boussole

0 comments on commit 39a5fc0

Please sign in to comment.