diff options
author | Allan Wang <me@allanwang.ca> | 2017-10-24 15:40:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 15:40:22 -0400 |
commit | 87c8c5394638b50e561a9ffd7165f40ef29d2302 (patch) | |
tree | 36ec0d44dfb38256fe0193a72bc321e72ca63dda | |
parent | 989b8c2c1e9d0b99e890625bbb1f7c9b86b374c2 (diff) | |
download | kau-87c8c5394638b50e561a9ffd7165f40ef29d2302.tar.gz kau-87c8c5394638b50e561a9ffd7165f40ef29d2302.tar.bz2 kau-87c8c5394638b50e561a9ffd7165f40ef29d2302.zip |
Add french translations (#94)
* Add french translations
* Add translatable tags to about
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | about/src/main/res/values-fr/strings_about.xml | 6 | ||||
-rw-r--r-- | about/src/main/res/values/strings_about_kau.xml | 22 | ||||
-rw-r--r-- | colorpicker/src/main/res/values-fr/strings_colorpicker.xml | 6 | ||||
-rw-r--r-- | core/src/main/res-public/values-fr/strings_commons.xml | 71 | ||||
-rw-r--r-- | files/translation_migration.sh | 26 | ||||
-rw-r--r-- | mediapicker/src/main/res/values-fr/strings_mediapicker.xml | 11 |
7 files changed, 135 insertions, 11 deletions
@@ -150,3 +150,7 @@ Some may have extra requirements for certain features, which will be detailed in KAU depends on translations crowdsourced by the general public. If you would like to contribute, please visit [here](https://crwd.in/kotlin-android-utils) + +Special thanks to the following awesome people for translating! + +* [Vincent Kulak](https://github.com/VonOx) [FR] diff --git a/about/src/main/res/values-fr/strings_about.xml b/about/src/main/res/values-fr/strings_about.xml new file mode 100644 index 0000000..8750a9e --- /dev/null +++ b/about/src/main/res/values-fr/strings_about.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<resources> + <string name="kau_about_libraries_intro">Ce soft ne serait pas possible sans ces super bibliothèques.</string> + <string name="kau_about_faq_intro">FAQ</string> +</resources> diff --git a/about/src/main/res/values/strings_about_kau.xml b/about/src/main/res/values/strings_about_kau.xml index 592f9f4..24e74c0 100644 --- a/about/src/main/res/values/strings_about_kau.xml +++ b/about/src/main/res/values/strings_about_kau.xml @@ -1,10 +1,10 @@ <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName"> - <string name="define_kau"/> - <string name="library_kau_author">Allan Wang</string> - <string name="library_kau_authorWebsite">https://www.allanwang.ca/dev/</string> - <string name="library_kau_libraryVersion">@string/kau_version_code</string> - <string name="library_kau_libraryName">KAU</string> - <string name="library_kau_libraryDescription"> + <string name="define_kau" translatable="false" /> + <string name="library_kau_author" translatable="false">Allan Wang</string> + <string name="library_kau_authorWebsite" translatable="false">https://www.allanwang.ca/dev/</string> + <string name="library_kau_libraryVersion" translatable="false">@string/kau_version_code</string> + <string name="library_kau_libraryName" translatable="false">KAU</string> + <string name="library_kau_libraryDescription" translatable="false"> <![CDATA[ An extensive collection of Kotlin Android Utilities. <br/><br/> @@ -12,9 +12,9 @@ and supports completely customizable view groups that are usable in any app project. ]]> </string> - <string name="library_kau_libraryWebsite">https://allanwang.github.io/KAU/</string> - <string name="library_kau_isOpenSource">true</string> - <string name="library_kau_repositoryLink">https://github.com/AllanWang/KAU</string> - <string name="library_kau_classPath">ca.allanwang.kau</string> - <string name="library_kau_licenseId">apache_2_0</string> + <string name="library_kau_libraryWebsite" translatable="false">https://allanwang.github.io/KAU/</string> + <string name="library_kau_isOpenSource" translatable="false">true</string> + <string name="library_kau_repositoryLink" translatable="false">https://github.com/AllanWang/KAU</string> + <string name="library_kau_classPath" translatable="false">ca.allanwang.kau</string> + <string name="library_kau_licenseId" translatable="false">apache_2_0</string> </resources>
\ No newline at end of file diff --git a/colorpicker/src/main/res/values-fr/strings_colorpicker.xml b/colorpicker/src/main/res/values-fr/strings_colorpicker.xml new file mode 100644 index 0000000..01441e8 --- /dev/null +++ b/colorpicker/src/main/res/values-fr/strings_colorpicker.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!--Generated by crowdin.com--> +<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName"> + <string name="kau_md_color_palette">Palette de couleurs</string> + <string name="kau_md_presets">Réglages prédéfinis</string> +</resources> diff --git a/core/src/main/res-public/values-fr/strings_commons.xml b/core/src/main/res-public/values-fr/strings_commons.xml new file mode 100644 index 0000000..b9b2dca --- /dev/null +++ b/core/src/main/res-public/values-fr/strings_commons.xml @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!--Generated by crowdin.com--> +<!-- +A collection of common string values +Most resources are verbatim and x represents a formatted item +--> +<resources> + <string name="kau_about_app">À propos de l\'application</string> + <string name="kau_about_x">À propos de %s</string> + <string name="kau_add_account">Ajouter un compte</string> + <string name="kau_back">Retour</string> + <string name="kau_cancel">Annuler</string> + <string name="kau_changelog">Historiques des changements</string> + <string name="kau_close">Annuler</string> + <string name="kau_contact_us">Contactez nous</string> + <string name="kau_copy">Copier</string> + <string name="kau_custom">Personnalisé</string> + <string name="kau_dark">Sombre</string> + <string name="kau_default">Défaut</string> + <string name="kau_do_not_show_again">Ne plus afficher ce message</string> + <string name="kau_done">Terminé</string> + <string name="kau_error">Erreur</string> + <string name="kau_exit">Quitter</string> + <string name="kau_exit_confirmation">Êtes-vous sûr de vouloir quitter ?</string> + <string name="kau_exit_confirmation_x">Êtes-vous sûr de vouloir Quitter %s?</string> + <string name="kau_glass">Transparent</string> + <string name="kau_got_it">J\'ai compris</string> + <string name="kau_great">Super</string> + <string name="kau_hide">Masquer</string> + <string name="kau_light">Clair</string> + <string name="kau_login">Connexion</string> + <string name="kau_logout">Déconnexion</string> + <string name="kau_logout_confirm_as_x">Êtes-vous sûr(e) de vouloir vous déconnecter %s?</string> + <string name="kau_manage_account">Gérer compte</string> + <string name="kau_maybe">Peut-être</string> + <string name="kau_menu">Menu</string> + <string name="kau_no">Non</string> + <string name="kau_no_results_found">Aucun résultat trouvé</string> + <string name="kau_none">Aucun</string> + <string name="kau_ok">OK</string> + <string name="kau_play_store">Play Store</string> + <string name="kau_rate">Noter</string> + <string name="kau_report_bug">Signaler un bug</string> + <string name="kau_search">Recherche</string> + <string name="kau_send_feedback">Envoyer un commentaire</string> + <string name="kau_send_via">Envoyer via</string> + <string name="kau_settings">Options</string> + <string name="kau_share">Partager</string> + <string name="kau_text_copied">Texte copié dans le Presse-papiers.</string> + <string name="kau_thank_you">Merci</string> + <string name="kau_uh_oh">Oups</string> + <string name="kau_warning">Attention</string> + <plurals name="kau_x_days"> + <item quantity="one">%d jour</item> + <item quantity="other">%d jours</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d heure</item> + <item quantity="other">%d heures</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d minute</item> + <item quantity="other">%d minutes</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d seconde</item> + <item quantity="other">%d secondes</item> + </plurals> + <string name="kau_yes">Oui</string> + <string name="kau_permission_denied">Autorisation refusée</string> +</resources> diff --git a/files/translation_migration.sh b/files/translation_migration.sh new file mode 100644 index 0000000..04f24c3 --- /dev/null +++ b/files/translation_migration.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +BASE_MODULE=kpref-activity +FOLDER=values-fr-rFR +OUTPUT=values-fr + +cd .. + +current=${PWD##*/} + +if [ "$current" != "KAU" ]; then + echo "Not in KAU"; + return; +fi + +mkdir -p about/src/main/res/${OUTPUT} +mv ${BASE_MODULE}/src/main/res/${FOLDER}/strings_about.xml about/src/main/res/${OUTPUT}/strings_about.xml + +mkdir -p colorpicker/src/main/res/${OUTPUT} +mv ${BASE_MODULE}/src/main/res/${FOLDER}/strings_colorpicker.xml colorpicker/src/main/res/${OUTPUT}/strings_colorpicker.xml + +mkdir -p core/src/main/res-public/${OUTPUT} +mv ${BASE_MODULE}/src/main/res/${FOLDER}/strings_commons.xml core/src/main/res-public/${OUTPUT}/strings_commons.xml + +mkdir -p mediapicker/src/main/res/${OUTPUT} +mv ${BASE_MODULE}/src/main/res/${FOLDER}/strings_mediapicker.xml mediapicker/src/main/res/${OUTPUT}/strings_mediapicker.xml
\ No newline at end of file diff --git a/mediapicker/src/main/res/values-fr/strings_mediapicker.xml b/mediapicker/src/main/res/values-fr/strings_mediapicker.xml new file mode 100644 index 0000000..e32ad05 --- /dev/null +++ b/mediapicker/src/main/res/values-fr/strings_mediapicker.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<resources> + <string name="kau_no_items_found">Aucun élément trouvé</string> + <string name="kau_no_items_selected">Aucun élément n\'a été sélectionné</string> + <string name="kau_no_items_loaded">Aucun élément chargé</string> + <string name="kau_no_camera_found">Aucune caméra trouvée</string> + <string name="kau_no_camera_found_content">Veuillez installer un application photo et ré-essayez.</string> + <string name="kau_temp_file_creation_failed">Impossible de créer un fichier temporaire.</string> + <string name="kau_select_media">Sélectionner un média</string> +</resources> |