Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
fix: translate 'close' string
Browse files Browse the repository at this point in the history
  • Loading branch information
Aline Bonnet committed Jun 22, 2024
1 parent b7dfefa commit 8e33d06
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"common_close": "Close",

"yourSequence": "Your sequences",
"element": "element(s)",
"createSequence_tooltip": "Create a new sequence",
Expand Down
2 changes: 2 additions & 0 deletions lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"common_close": "Fermer",

"yourSequence": "Vos séquences",
"element": "élément(s)",
"createSequence_tooltip": "Créer une nouvelle séquence",
Expand Down
4 changes: 2 additions & 2 deletions lib/page/capture_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ class _CapturePageState extends State<CapturePage> with WidgetsBindingObserver {
),
actions: <Widget>[
TextButton(
child: Text("Close"),
child: Text(AppLocalizations.of(context)!.common_close),
onPressed: () {
startLocationUpdates;
Navigator.of(context).pop();
Expand Down Expand Up @@ -545,7 +545,7 @@ class _CapturePageState extends State<CapturePage> with WidgetsBindingObserver {
),
actions: <Widget>[
TextButton(
child: Text("Close"),
child: Text(AppLocalizations.of(context)!.common_close),
onPressed: () {
Navigator.of(context).pop();
_isPermissionDialogOpen = false;
Expand Down

0 comments on commit 8e33d06

Please sign in to comment.