mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 14:56:20 +01:00
Fix hardcoded text
This commit is contained in:
parent
fe91c8fe8b
commit
047f92bc98
3 changed files with 10 additions and 3 deletions
|
@ -652,6 +652,7 @@
|
|||
"description": "Shown when the app has paused reading image metadata"
|
||||
},
|
||||
"configButtonLabel": "CONFIG",
|
||||
"useAsAlbumCoverTooltip": "Use as album cover",
|
||||
|
||||
"changelogTitle": "Changelog",
|
||||
"@changelogTitle": {
|
||||
|
|
|
@ -18,7 +18,12 @@
|
|||
"setAlbumCoverFailureNotification",
|
||||
"metadataTaskProcessingNotification",
|
||||
"metadataTaskPauseNoWiFiNotification",
|
||||
"configButtonLabel"
|
||||
"configButtonLabel",
|
||||
"useAsAlbumCoverTooltip"
|
||||
],
|
||||
|
||||
"es": [
|
||||
"useAsAlbumCoverTooltip"
|
||||
],
|
||||
|
||||
"fr": [
|
||||
|
@ -40,6 +45,7 @@
|
|||
"setAlbumCoverFailureNotification",
|
||||
"metadataTaskProcessingNotification",
|
||||
"metadataTaskPauseNoWiFiNotification",
|
||||
"configButtonLabel"
|
||||
"configButtonLabel",
|
||||
"useAsAlbumCoverTooltip"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ class _ViewerDetailPaneState extends State<ViewerDetailPane> {
|
|||
if (widget.album != null)
|
||||
_DetailPaneButton(
|
||||
icon: Icons.photo_album_outlined,
|
||||
label: "Use as album cover",
|
||||
label: L10n.of(context).useAsAlbumCoverTooltip,
|
||||
onPressed: () => _onSetAlbumCoverPressed(context),
|
||||
),
|
||||
_DetailPaneButton(
|
||||
|
|
Loading…
Reference in a new issue