Localize app for German and English

This commit is contained in:
Marco 2024-12-10 22:37:13 +01:00
parent 2162f2d494
commit 5e2d5944fe
6 changed files with 33 additions and 0 deletions

3
l10n.yaml Normal file
View File

@ -0,0 +1,3 @@
arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart

13
lib/l10n/app_de.arb Normal file
View File

@ -0,0 +1,13 @@
{
"ok": "OK",
"name": "Name",
"amount": "Menge in 100 g/ml",
"kcalper": "kcal pro Menge",
"kcalToday": "kcal heute",
"menu": "Menü",
"settings": "Einstellungen",
"yourSettings": "Deine persönlichen Einstellungen",
"dayLimit": "Kalorienlimit pro Tag",
"errAmountNotANumber": "Menge muss eine Zahl sein",
"errKcalNotANumber": "kcal muss eine Zahl sein"
}

13
lib/l10n/app_en.arb Normal file
View File

@ -0,0 +1,13 @@
{
"ok": "OK",
"name": "Name",
"amount": "Amount in 100 grams/ml",
"kcalper": "kcal per amount",
"kcalToday": "kcal today",
"menu": "Menu",
"settings": "Settings",
"yourSettings": "Your personal settings",
"dayLimit": "Calorie limit per day",
"errAmountNotANumber": "Amount must be a number",
"errKcalNotANumber": "kcal must be a number"
}

View File

@ -0,0 +1,2 @@
With Calorimeter you can track your daily calorie intake.
As simple as it gets.

View File

@ -0,0 +1 @@
Track your calories!

1
metadata/en-US/title.txt Normal file
View File

@ -0,0 +1 @@
Calorimeter