Skip to content

Commit

Permalink
fix: change header of homepage (fixes #53)
Browse files Browse the repository at this point in the history
  • Loading branch information
blockbasti committed May 18, 2021
1 parent 6695bac commit 30f9df8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/home_page.dart
Expand Up @@ -168,7 +168,7 @@ class _HomePageState extends State<HomePage> {
@override
Widget build(BuildContext context) => Scaffold(
appBar: AppBar(
title: Text(S.of(context).title),
title: Text(S.of(context).workouts),
actions: [
IconButton(
icon: Icon(_sortIcon),
Expand Down
2 changes: 2 additions & 0 deletions lib/l10n/intl_de.arb
@@ -1,6 +1,7 @@
{
"@@locale": "de",
"title": "Just Another Workout Timer",
"workouts": "Workouts",
"no": "Nein",
"yes": "Ja",
"exitCheck": "Möchtest du wirklich beenden?",
Expand All @@ -13,6 +14,7 @@
"startWorkout": "Workout starten",
"deleteWorkout": "Workout löschen",
"addWorkout": "Workout erstellen",
"saved": "Gespeichert",

"licenses": "Lizenzen",
"viewLicense": "Lizenz anzeigen",
Expand Down
2 changes: 2 additions & 0 deletions lib/l10n/intl_en.arb
@@ -1,6 +1,7 @@
{
"@@locale": "en",
"title": "Just Another Workout Timer",
"workouts": "Workouts",
"no": "No",
"yes": "Yes",
"exitCheck": "Are you sure you want to exit?",
Expand All @@ -13,6 +14,7 @@
"startWorkout": "Start workout",
"deleteWorkout": "Delete workout",
"addWorkout": "Add workout",
"saved": "Saved",

"licenses": "Licenses",
"viewLicense": "View License",
Expand Down
2 changes: 2 additions & 0 deletions lib/l10n/intl_fr.arb
@@ -1,6 +1,7 @@
{
"@@locale": "fr",
"title": "Just Another Workout Timer",
"workouts": "Programmes",
"no": "Non",
"yes": "Oui",
"exitCheck": "Voulez-vous vraiment quitter ?",
Expand All @@ -13,6 +14,7 @@
"startWorkout": "Démarrer programme",
"deleteWorkout": "Supprimer programme",
"addWorkout": "Ajouter programme",
"saved": "Enregistré",

"licenses": "Licences",
"viewLicense": "Voir Licence",
Expand Down
2 changes: 2 additions & 0 deletions lib/l10n/intl_it.arb
@@ -1,6 +1,7 @@
{
"@@locale": "it",
"title": "Just Another Workout Timer",
"workouts": "allenamenti",
"no": "no",
"yes": "si",
"exitCheck": "Vuoi veramente uscire?",
Expand All @@ -13,6 +14,7 @@
"startWorkout": "Inizia l'allenamento",
"deleteWorkout": "Cacella l'allenamento",
"addWorkout": "Inizia l'allenamento",
"saved": "Salvato",

"licenses": "Licenze",
"viewLicense": "Vedi la licenza",
Expand Down
2 changes: 1 addition & 1 deletion lib/workout_builder.dart
Expand Up @@ -108,7 +108,7 @@ class _BuilderPageState extends State<BuilderPage> {
writeWorkout(_workout);
_newWorkout = false;
Fluttertoast.showToast(
msg: "Saved",
msg: S.of(context).saved,
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.CENTER);
}
Expand Down

0 comments on commit 30f9df8

Please sign in to comment.