mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-22 15:09:22 +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"
|
"description": "Shown when the app has paused reading image metadata"
|
||||||
},
|
},
|
||||||
"configButtonLabel": "CONFIG",
|
"configButtonLabel": "CONFIG",
|
||||||
|
"useAsAlbumCoverTooltip": "Use as album cover",
|
||||||
|
|
||||||
"changelogTitle": "Changelog",
|
"changelogTitle": "Changelog",
|
||||||
"@changelogTitle": {
|
"@changelogTitle": {
|
||||||
|
|
|
@ -18,7 +18,12 @@
|
||||||
"setAlbumCoverFailureNotification",
|
"setAlbumCoverFailureNotification",
|
||||||
"metadataTaskProcessingNotification",
|
"metadataTaskProcessingNotification",
|
||||||
"metadataTaskPauseNoWiFiNotification",
|
"metadataTaskPauseNoWiFiNotification",
|
||||||
"configButtonLabel"
|
"configButtonLabel",
|
||||||
|
"useAsAlbumCoverTooltip"
|
||||||
|
],
|
||||||
|
|
||||||
|
"es": [
|
||||||
|
"useAsAlbumCoverTooltip"
|
||||||
],
|
],
|
||||||
|
|
||||||
"fr": [
|
"fr": [
|
||||||
|
@ -40,6 +45,7 @@
|
||||||
"setAlbumCoverFailureNotification",
|
"setAlbumCoverFailureNotification",
|
||||||
"metadataTaskProcessingNotification",
|
"metadataTaskProcessingNotification",
|
||||||
"metadataTaskPauseNoWiFiNotification",
|
"metadataTaskPauseNoWiFiNotification",
|
||||||
"configButtonLabel"
|
"configButtonLabel",
|
||||||
|
"useAsAlbumCoverTooltip"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,7 +118,7 @@ class _ViewerDetailPaneState extends State<ViewerDetailPane> {
|
||||||
if (widget.album != null)
|
if (widget.album != null)
|
||||||
_DetailPaneButton(
|
_DetailPaneButton(
|
||||||
icon: Icons.photo_album_outlined,
|
icon: Icons.photo_album_outlined,
|
||||||
label: "Use as album cover",
|
label: L10n.of(context).useAsAlbumCoverTooltip,
|
||||||
onPressed: () => _onSetAlbumCoverPressed(context),
|
onPressed: () => _onSetAlbumCoverPressed(context),
|
||||||
),
|
),
|
||||||
_DetailPaneButton(
|
_DetailPaneButton(
|
||||||
|
|
Loading…
Reference in a new issue