mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
Make hardcoded string translatable
This commit is contained in:
parent
164237a858
commit
fb3b035214
3 changed files with 11 additions and 1 deletions
|
@ -971,6 +971,10 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"shareAlbumDialogTitle": "Share with user",
|
||||
"@shareAlbumDialogTitle" : {
|
||||
"description": "Dialog to share an album with another user"
|
||||
},
|
||||
"shareAlbumSuccessNotification": "Album shared with {user}",
|
||||
"@shareAlbumSuccessNotification": {
|
||||
"description": "Shared an album with another user successfully",
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
"addToCollectionTooltip",
|
||||
"addToCollectionProcessingNotification",
|
||||
"addToCollectionSuccessNotification",
|
||||
"shareAlbumDialogTitle",
|
||||
"shareAlbumSuccessNotification",
|
||||
"shareAlbumSuccessWithErrorNotification",
|
||||
"unshareAlbumSuccessNotification",
|
||||
|
@ -77,6 +78,7 @@
|
|||
"addToCollectionTooltip",
|
||||
"addToCollectionProcessingNotification",
|
||||
"addToCollectionSuccessNotification",
|
||||
"shareAlbumDialogTitle",
|
||||
"shareAlbumSuccessNotification",
|
||||
"shareAlbumSuccessWithErrorNotification",
|
||||
"unshareAlbumSuccessNotification",
|
||||
|
@ -184,6 +186,7 @@
|
|||
"addToCollectionTooltip",
|
||||
"addToCollectionProcessingNotification",
|
||||
"addToCollectionSuccessNotification",
|
||||
"shareAlbumDialogTitle",
|
||||
"shareAlbumSuccessNotification",
|
||||
"shareAlbumSuccessWithErrorNotification",
|
||||
"unshareAlbumSuccessNotification",
|
||||
|
@ -222,6 +225,7 @@
|
|||
"addToCollectionTooltip",
|
||||
"addToCollectionProcessingNotification",
|
||||
"addToCollectionSuccessNotification",
|
||||
"shareAlbumDialogTitle",
|
||||
"shareAlbumSuccessNotification",
|
||||
"shareAlbumSuccessWithErrorNotification",
|
||||
"unshareAlbumSuccessNotification",
|
||||
|
@ -309,6 +313,7 @@
|
|||
"addToCollectionTooltip",
|
||||
"addToCollectionProcessingNotification",
|
||||
"addToCollectionSuccessNotification",
|
||||
"shareAlbumDialogTitle",
|
||||
"shareAlbumSuccessNotification",
|
||||
"shareAlbumSuccessWithErrorNotification",
|
||||
"unshareAlbumSuccessNotification",
|
||||
|
@ -369,6 +374,7 @@
|
|||
"addToCollectionTooltip",
|
||||
"addToCollectionProcessingNotification",
|
||||
"addToCollectionSuccessNotification",
|
||||
"shareAlbumDialogTitle",
|
||||
"shareAlbumSuccessNotification",
|
||||
"shareAlbumSuccessWithErrorNotification",
|
||||
"unshareAlbumSuccessNotification",
|
||||
|
|
|
@ -98,7 +98,7 @@ class _ShareAlbumDialogState extends State<ShareAlbumDialog> {
|
|||
.toList();
|
||||
}
|
||||
return SimpleDialog(
|
||||
title: const Text("Share with user"),
|
||||
title: Text(L10n.global().shareAlbumDialogTitle),
|
||||
children: children,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue