summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorAdrien Hopkins <adrien.p.hopkins@gmail.com>2025-02-23 20:38:54 -0500
committerAdrien Hopkins <adrien.p.hopkins@gmail.com>2025-02-23 20:38:54 -0500
commit9f85e0c201f64b5de646c4d66323424bcb3a279d (patch)
tree92609c64a7c96fcdd0f20b63bca9c6effe8dd97d /src/main/resources
parenta9485b187844cad900bc43c0651406c51a7295c1 (diff)
parent9c358d708ba4988648d7b19ccb842f076ec4c354 (diff)
Merge branch 'i18n' into develop
This merge adds the internationalization features, the final required feature for 7Units version 1.0.0.
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/about/en.txt (renamed from src/main/resources/about.txt)2
-rw-r--r--src/main/resources/about/fr.txt24
-rw-r--r--src/main/resources/locales/en.txt31
-rw-r--r--src/main/resources/locales/fr.txt31
4 files changed, 87 insertions, 1 deletions
diff --git a/src/main/resources/about.txt b/src/main/resources/about/en.txt
index 4c33f8c..068f922 100644
--- a/src/main/resources/about.txt
+++ b/src/main/resources/about/en.txt
@@ -15,7 +15,7 @@ Unit/Prefix/Dimension Statistics:
Copyright Notice:
-Unit Converter Copyright (C) 2018-2024 Adrien Hopkins
+Unit Converter Copyright (C) 2018-2025 Adrien Hopkins
This program comes with ABSOLUTELY NO WARRANTY;
for details read the LICENSE file, section 15
diff --git a/src/main/resources/about/fr.txt b/src/main/resources/about/fr.txt
new file mode 100644
index 0000000..d8d82aa
--- /dev/null
+++ b/src/main/resources/about/fr.txt
@@ -0,0 +1,24 @@
+À propos de 7Unités version [VERSION]
+
+7Unités est une programme pour convertir les unités avec plusieurs fonctions,
+inspiré par GNU Units (https://www.gnu.org/software/units/).
+Vous pouvez l’utiliser pour convertir des unités, mais vous pouvez aussi
+l’utiliser comme calculatrice, computer et convertir des expressions
+comme "10 m/s + (25^2 - 5^2) mi/hr".
+
+Ce logiciel est par Adrien Hopkins <adrien.p.hopkins@gmail.com>.
+
+Statistiques d’unités, préfixes et dimensions:
+
+[LOADSTATS]
+
+Copyright Notice:
+
+Unit Converter Copyright (C) 2018-2025 Adrien Hopkins
+This program comes with ABSOLUTELY NO WARRANTY;
+for details read the LICENSE file, section 15
+
+This is free software, and you are welcome to redistribute
+it under certain conditions; for details go to
+<https://www.gnu.org/licenses/quick-guide-gplv3.html>
+or read the LICENSE file.
diff --git a/src/main/resources/locales/en.txt b/src/main/resources/locales/en.txt
new file mode 100644
index 0000000..666e363
--- /dev/null
+++ b/src/main/resources/locales/en.txt
@@ -0,0 +1,31 @@
+tv.title=7Units [v]
+tv.convert_units.title=Convert Units
+tv.convert_units.value_prompt=Value to convert:
+tv.convert_units.convert_btn=Convert
+tv.convert_expressions.title=Convert Unit Expressions
+tv.convert_expressions.from=From
+tv.convert_expressions.to=To
+tv.convert_expressions.convert_btn=Convert
+tv.convert_expressions.output=Output
+tv.unit_viewer.title=Unit Viewer
+tv.prefix_viewer.title=Prefix Viewer
+tv.settings.rounding.title=Rounding Settings
+tv.settings.rounding.rule=Rounding Rule:
+tv.settings.rounding.precision=Precision:
+tv.settings.rounding.fixed_sigfig=Fixed Precision
+tv.settings.rounding.fixed_places=Fixed Decimal Places
+tv.settings.rounding.uncertainty=Uncertainty-based Rounding
+tv.settings.repetition.title=Prefix Repetition Settings
+tv.settings.repetition.no=No Repetition
+tv.settings.repetition.any=No Restriction
+tv.settings.repetition.complex=Complex Repetition
+tv.settings.search.title=Search Settings
+tv.settings.search.no_prefixes=Never Include Prefixed Units
+tv.settings.search.common_prefixes=Include Common Prefixes
+tv.settings.search.all_prefixes=Include All Single Prefixes
+tv.settings.oneway=Convert One Way Only
+tv.settings.show_duplicate=Show Duplicate Units & Prefixes
+tv.settings.use_default_files=Use Default Datafiles
+tv.settings.locale=🌐 Locale:
+tv.settings.unitfiles.button=Manage Unit Data Files
+load_stat_msg=Successfully loaded [u] unique units with [un] names ([b] base units), [p] unique prefixes with [pn] names, [s] unit sets, and [d] named dimensions.
diff --git a/src/main/resources/locales/fr.txt b/src/main/resources/locales/fr.txt
new file mode 100644
index 0000000..3fef030
--- /dev/null
+++ b/src/main/resources/locales/fr.txt
@@ -0,0 +1,31 @@
+tv.title=7Unités [v]
+tv.convert_units.title=Convertir Unités
+tv.convert_units.value_prompt=Valueur à convertir:
+tv.convert_units.convert_btn=Convertir
+tv.convert_expressions.title=Convertir Expressions
+tv.convert_expressions.from=De
+tv.convert_expressions.to=À
+tv.convert_expressions.convert_btn=Convertir
+tv.convert_expressions.output=Résultat
+tv.unit_viewer.title=Unités
+tv.prefix_viewer.title=Préfixes
+tv.settings.rounding.title=Préférences d’Arrondissement
+tv.settings.rounding.rule=Règle d’Arrondissement
+tv.settings.rounding.precision=Précision:
+tv.settings.rounding.fixed_sigfig=Precision fixe
+tv.settings.rounding.fixed_places=Chiffres fixe
+tv.settings.rounding.uncertainty=Arrondissement d’Incertitude
+tv.settings.repetition.title=Préférences de répetition de préfixes
+tv.settings.repetition.no=Non répetition
+tv.settings.repetition.any=Tout répetition
+tv.settings.repetition.complex=Répetition Complexe
+tv.settings.search.title=Préférences de Recherche
+tv.settings.search.no_prefixes=Jamais inclure unités préfixés
+tv.settings.search.common_prefixes=Inclure préfixes fréquents
+tv.settings.search.all_prefixes=Inclure tous préfixes seuls
+tv.settings.oneway=Convertir Seulement en un Direction
+tv.settings.show_duplicate=Montrer unités et préfixes doubles
+tv.settings.use_default_files=Utilise donées par défaut
+tv.settings.locale=🌐 Locale:
+tv.settings.unitfiles.button=Gérer donées d’unités
+load_stat_msg=Chargé [u] unités uniques avec [un] noms ([b] unités bases), [p] préfixes uniques avec [pn] noms, [s] collections d’unités, et [d] dimensions nomées.