mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 18:38:48 +01:00
Fix hard coded string
This commit is contained in:
parent
924a05a01e
commit
29eebe4460
3 changed files with 24 additions and 9 deletions
|
@ -1231,6 +1231,10 @@
|
||||||
"@enhanceStyleTransferTitle": {
|
"@enhanceStyleTransferTitle": {
|
||||||
"description": "Transfer the image style from a reference image to a photo"
|
"description": "Transfer the image style from a reference image to a photo"
|
||||||
},
|
},
|
||||||
|
"enhanceStyleTransferStyleDialogTitle": "Pick a style",
|
||||||
|
"@enhanceStyleTransferStyleDialogTitle": {
|
||||||
|
"description": "Pick a reference image for the style transfer algorithm"
|
||||||
|
},
|
||||||
|
|
||||||
"errorUnauthenticated": "Unauthenticated access. Please sign-in again if the problem continues",
|
"errorUnauthenticated": "Unauthenticated access. Please sign-in again if the problem continues",
|
||||||
"@errorUnauthenticated": {
|
"@errorUnauthenticated": {
|
||||||
|
|
|
@ -105,6 +105,7 @@
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle",
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle",
|
||||||
"errorAlbumDowngrade"
|
"errorAlbumDowngrade"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -228,6 +229,7 @@
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle",
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle",
|
||||||
"errorAlbumDowngrade"
|
"errorAlbumDowngrade"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -406,6 +408,7 @@
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle",
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle",
|
||||||
"errorAlbumDowngrade"
|
"errorAlbumDowngrade"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -434,7 +437,8 @@
|
||||||
"enhancePortraitBlurTitle",
|
"enhancePortraitBlurTitle",
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle"
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle"
|
||||||
],
|
],
|
||||||
|
|
||||||
"fi": [
|
"fi": [
|
||||||
|
@ -444,7 +448,8 @@
|
||||||
"sortOptionFilenameAscendingLabel",
|
"sortOptionFilenameAscendingLabel",
|
||||||
"sortOptionFilenameDescendingLabel",
|
"sortOptionFilenameDescendingLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle"
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle"
|
||||||
],
|
],
|
||||||
|
|
||||||
"fr": [
|
"fr": [
|
||||||
|
@ -472,7 +477,8 @@
|
||||||
"enhancePortraitBlurTitle",
|
"enhancePortraitBlurTitle",
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle"
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle"
|
||||||
],
|
],
|
||||||
|
|
||||||
"pl": [
|
"pl": [
|
||||||
|
@ -517,7 +523,8 @@
|
||||||
"enhancePortraitBlurTitle",
|
"enhancePortraitBlurTitle",
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle"
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle"
|
||||||
],
|
],
|
||||||
|
|
||||||
"pt": [
|
"pt": [
|
||||||
|
@ -541,7 +548,8 @@
|
||||||
"enhancePortraitBlurTitle",
|
"enhancePortraitBlurTitle",
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle"
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle"
|
||||||
],
|
],
|
||||||
|
|
||||||
"ru": [
|
"ru": [
|
||||||
|
@ -565,7 +573,8 @@
|
||||||
"enhancePortraitBlurTitle",
|
"enhancePortraitBlurTitle",
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle"
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle"
|
||||||
],
|
],
|
||||||
|
|
||||||
"zh": [
|
"zh": [
|
||||||
|
@ -589,7 +598,8 @@
|
||||||
"enhancePortraitBlurTitle",
|
"enhancePortraitBlurTitle",
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle"
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle"
|
||||||
],
|
],
|
||||||
|
|
||||||
"zh_Hant": [
|
"zh_Hant": [
|
||||||
|
@ -613,6 +623,7 @@
|
||||||
"enhancePortraitBlurTitle",
|
"enhancePortraitBlurTitle",
|
||||||
"enhancePortraitBlurParamBlurLabel",
|
"enhancePortraitBlurParamBlurLabel",
|
||||||
"enhanceSuperResolution4xTitle",
|
"enhanceSuperResolution4xTitle",
|
||||||
"enhanceStyleTransferTitle"
|
"enhanceStyleTransferTitle",
|
||||||
|
"enhanceStyleTransferStyleDialogTitle"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -420,7 +420,7 @@ class _StylePickerState extends State<_StylePicker> {
|
||||||
build(BuildContext context) {
|
build(BuildContext context) {
|
||||||
return AppTheme(
|
return AppTheme(
|
||||||
child: AlertDialog(
|
child: AlertDialog(
|
||||||
title: Text("Pick a style"),
|
title: Text(L10n.global().enhanceStyleTransferStyleDialogTitle),
|
||||||
contentPadding: const EdgeInsets.fromLTRB(24.0, 20.0, 24.0, 0),
|
contentPadding: const EdgeInsets.fromLTRB(24.0, 20.0, 24.0, 0),
|
||||||
content: Column(
|
content: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
|
Loading…
Reference in a new issue