Update messaging for server side metadata support

This commit is contained in:
Ming Ming 2024-11-23 13:54:22 +08:00
parent 00ec53e097
commit d363d544d6
4 changed files with 69 additions and 11 deletions

View file

@ -274,8 +274,8 @@
"@settingsMetadataTitle": { "@settingsMetadataTitle": {
"description": "Metadata (e.g., date, resolution, GPS, etc)" "description": "Metadata (e.g., date, resolution, GPS, etc)"
}, },
"settingsExifSupportTitle": "EXIF support", "settingsExifSupportTitle2": "Client side EXIF support",
"@settingsExifSupportTitle": { "@settingsExifSupportTitle2": {
"description": "Title of the EXIF support setting" "description": "Title of the EXIF support setting"
}, },
"settingsExifSupportTrueSubtitle": "Require extra network usage", "settingsExifSupportTrueSubtitle": "Require extra network usage",
@ -501,8 +501,12 @@
"@exifSupportDetails": { "@exifSupportDetails": {
"description": "Detailed description of the exif support feature" "description": "Detailed description of the exif support feature"
}, },
"exifSupportConfirmationDialogTitle": "Enable EXIF support?", "exifSupportNextcloud28Notes": "Client side support complements your server. The app will process files and attributes not supported by Nextcloud",
"@exifSupportConfirmationDialogTitle": { "@exifSupportNextcloud28Notes": {
"description": "Extra notes for Nextcloud 28+"
},
"exifSupportConfirmationDialogTitle2": "Enable client side EXIF support?",
"@exifSupportConfirmationDialogTitle2": {
"description": "Title of the dialog to confirm enabling exif support" "description": "Title of the dialog to confirm enabling exif support"
}, },
"captureLogDetails": "To take logs for a bug report:\n\n1. Enable this setting\n2. Reproduce the issue\n3. Disable this setting\n4. Look for nc-photos.log in the download folder\n\n*If the issue causes the app to crash, no logs could be captured. In such case, please contact the developer for further instructions", "captureLogDetails": "To take logs for a bug report:\n\n1. Enable this setting\n2. Reproduce the issue\n3. Disable this setting\n4. Look for nc-photos.log in the download folder\n\n*If the issue causes the app to crash, no logs could be captured. In such case, please contact the developer for further instructions",

View file

@ -1,6 +1,7 @@
{ {
"ca": [ "ca": [
"settingsMetadataTitle", "settingsMetadataTitle",
"settingsExifSupportTitle2",
"settingsShareFolderPickerDescription", "settingsShareFolderPickerDescription",
"settingsPersonProviderTitle", "settingsPersonProviderTitle",
"settingsServerAppSectionTitle", "settingsServerAppSectionTitle",
@ -55,7 +56,8 @@
"writePreferenceFailureNotification", "writePreferenceFailureNotification",
"enableButtonLabel", "enableButtonLabel",
"exifSupportDetails", "exifSupportDetails",
"exifSupportConfirmationDialogTitle", "exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"captureLogDetails", "captureLogDetails",
"captureLogSuccessNotification", "captureLogSuccessNotification",
"doneButtonLabel", "doneButtonLabel",
@ -281,9 +283,12 @@
], ],
"cs": [ "cs": [
"settingsExifSupportTitle2",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
"settingsCollectionsCustomizeNavigationBarTitle", "settingsCollectionsCustomizeNavigationBarTitle",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"alternativeSignIn", "alternativeSignIn",
"livePhotoTooltip", "livePhotoTooltip",
"dragAndDropRearrangeButtons", "dragAndDropRearrangeButtons",
@ -294,9 +299,12 @@
], ],
"de": [ "de": [
"settingsExifSupportTitle2",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
"settingsCollectionsCustomizeNavigationBarTitle", "settingsCollectionsCustomizeNavigationBarTitle",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"alternativeSignIn", "alternativeSignIn",
"livePhotoTooltip", "livePhotoTooltip",
"dragAndDropRearrangeButtons", "dragAndDropRearrangeButtons",
@ -313,6 +321,7 @@
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsMetadataTitle", "settingsMetadataTitle",
"settingsExifSupportTitle2",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
"settingsExifWifiOnlyFalseSubtitle", "settingsExifWifiOnlyFalseSubtitle",
"settingsAccountLabelTitle", "settingsAccountLabelTitle",
@ -359,6 +368,8 @@
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsServerVersionTitle", "settingsServerVersionTitle",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"slideshowSetupDialogReverseTitle", "slideshowSetupDialogReverseTitle",
"shareMethodPreviewTitle", "shareMethodPreviewTitle",
"shareMethodPreviewDescription", "shareMethodPreviewDescription",
@ -465,9 +476,12 @@
], ],
"es": [ "es": [
"settingsExifSupportTitle2",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
"settingsCollectionsCustomizeNavigationBarTitle", "settingsCollectionsCustomizeNavigationBarTitle",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"alternativeSignIn", "alternativeSignIn",
"livePhotoTooltip", "livePhotoTooltip",
"dragAndDropRearrangeButtons", "dragAndDropRearrangeButtons",
@ -478,6 +492,7 @@
], ],
"fi": [ "fi": [
"settingsExifSupportTitle2",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
"settingsCollectionsCustomizeNavigationBarTitle", "settingsCollectionsCustomizeNavigationBarTitle",
@ -498,6 +513,8 @@
"settingsUseNewHttpEngine", "settingsUseNewHttpEngine",
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"appLockUnlockHint", "appLockUnlockHint",
"appLockUnlockWrongPassword", "appLockUnlockWrongPassword",
"enabledText", "enabledText",
@ -527,6 +544,7 @@
], ],
"fr": [ "fr": [
"settingsExifSupportTitle2",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
"settingsCollectionsCustomizeNavigationBarTitle", "settingsCollectionsCustomizeNavigationBarTitle",
@ -547,6 +565,8 @@
"settingsUseNewHttpEngine", "settingsUseNewHttpEngine",
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"appLockUnlockHint", "appLockUnlockHint",
"appLockUnlockWrongPassword", "appLockUnlockWrongPassword",
"enabledText", "enabledText",
@ -576,6 +596,7 @@
], ],
"it": [ "it": [
"settingsExifSupportTitle2",
"settingsPersonProviderTitle", "settingsPersonProviderTitle",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
@ -598,6 +619,8 @@
"settingsUseNewHttpEngine", "settingsUseNewHttpEngine",
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"unmuteTooltip", "unmuteTooltip",
"slideshowTooltip", "slideshowTooltip",
"enhanceColorPopTitle", "enhanceColorPopTitle",
@ -657,7 +680,7 @@
"settingsLanguageTitle", "settingsLanguageTitle",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsMetadataTitle", "settingsMetadataTitle",
"settingsExifSupportTitle", "settingsExifSupportTitle2",
"settingsExifSupportTrueSubtitle", "settingsExifSupportTrueSubtitle",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
"settingsExifWifiOnlyFalseSubtitle", "settingsExifWifiOnlyFalseSubtitle",
@ -744,7 +767,8 @@
"writePreferenceFailureNotification", "writePreferenceFailureNotification",
"enableButtonLabel", "enableButtonLabel",
"exifSupportDetails", "exifSupportDetails",
"exifSupportConfirmationDialogTitle", "exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"captureLogDetails", "captureLogDetails",
"captureLogSuccessNotification", "captureLogSuccessNotification",
"doneButtonLabel", "doneButtonLabel",
@ -1028,6 +1052,7 @@
], ],
"pl": [ "pl": [
"settingsExifSupportTitle2",
"settingsMemoriesRangeValueText", "settingsMemoriesRangeValueText",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
@ -1049,6 +1074,8 @@
"settingsUseNewHttpEngine", "settingsUseNewHttpEngine",
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"enhanceColorPopTitle", "enhanceColorPopTitle",
"imageEditTransformOrientationClockwise", "imageEditTransformOrientationClockwise",
"imageEditTransformOrientationCounterclockwise", "imageEditTransformOrientationCounterclockwise",
@ -1083,6 +1110,7 @@
"pt": [ "pt": [
"nameInputInvalidEmpty", "nameInputInvalidEmpty",
"settingsMetadataTitle", "settingsMetadataTitle",
"settingsExifSupportTitle2",
"settingsPersonProviderTitle", "settingsPersonProviderTitle",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
@ -1107,6 +1135,8 @@
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsServerVersionTitle", "settingsServerVersionTitle",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"searchLandingPeopleListEmptyText2", "searchLandingPeopleListEmptyText2",
"createCollectionFailureNotification", "createCollectionFailureNotification",
"addItemToCollectionTooltip", "addItemToCollectionTooltip",
@ -1150,6 +1180,7 @@
], ],
"ru": [ "ru": [
"settingsExifSupportTitle2",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
"settingsCollectionsCustomizeNavigationBarTitle", "settingsCollectionsCustomizeNavigationBarTitle",
@ -1170,6 +1201,8 @@
"settingsUseNewHttpEngine", "settingsUseNewHttpEngine",
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"appLockUnlockHint", "appLockUnlockHint",
"appLockUnlockWrongPassword", "appLockUnlockWrongPassword",
"enabledText", "enabledText",
@ -1199,9 +1232,12 @@
], ],
"tr": [ "tr": [
"settingsExifSupportTitle2",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
"settingsViewerCustomizeBottomAppBarTitle", "settingsViewerCustomizeBottomAppBarTitle",
"settingsCollectionsCustomizeNavigationBarTitle", "settingsCollectionsCustomizeNavigationBarTitle",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"alternativeSignIn", "alternativeSignIn",
"livePhotoTooltip", "livePhotoTooltip",
"dragAndDropRearrangeButtons", "dragAndDropRearrangeButtons",
@ -1213,6 +1249,7 @@
"zh": [ "zh": [
"settingsMetadataTitle", "settingsMetadataTitle",
"settingsExifSupportTitle2",
"settingsPersonProviderTitle", "settingsPersonProviderTitle",
"settingsMemoriesRangeValueText", "settingsMemoriesRangeValueText",
"settingsViewerCustomizeAppBarTitle", "settingsViewerCustomizeAppBarTitle",
@ -1239,6 +1276,8 @@
"settingsUseNewHttpEngine", "settingsUseNewHttpEngine",
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"slideshowSetupDialogReverseTitle", "slideshowSetupDialogReverseTitle",
"enhanceColorPopTitle", "enhanceColorPopTitle",
"enhanceRetouchTitle", "enhanceRetouchTitle",
@ -1298,6 +1337,7 @@
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsMetadataTitle", "settingsMetadataTitle",
"settingsExifSupportTitle2",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
"settingsExifWifiOnlyFalseSubtitle", "settingsExifWifiOnlyFalseSubtitle",
"settingsAccountLabelTitle", "settingsAccountLabelTitle",
@ -1347,6 +1387,8 @@
"settingsUseNewHttpEngineDescription", "settingsUseNewHttpEngineDescription",
"settingsServerVersionTitle", "settingsServerVersionTitle",
"settingsRestartNeededDialog", "settingsRestartNeededDialog",
"exifSupportNextcloud28Notes",
"exifSupportConfirmationDialogTitle2",
"sortOptionFilenameAscendingLabel", "sortOptionFilenameAscendingLabel",
"sortOptionFilenameDescendingLabel", "sortOptionFilenameDescendingLabel",
"slideshowSetupDialogReverseTitle", "slideshowSetupDialogReverseTitle",

View file

@ -77,7 +77,7 @@ class _WrappedMetadataSettingsState extends State<_WrappedMetadataSettings>
selector: (state) => state.isEnable, selector: (state) => state.isEnable,
builder: (context, state) { builder: (context, state) {
return SwitchListTile( return SwitchListTile(
title: Text(L10n.global().settingsExifSupportTitle), title: Text(L10n.global().settingsExifSupportTitle2),
subtitle: state subtitle: state
? Text( ? Text(
L10n.global().settingsExifSupportTrueSubtitle) L10n.global().settingsExifSupportTrueSubtitle)
@ -122,8 +122,15 @@ class _WrappedMetadataSettingsState extends State<_WrappedMetadataSettings>
final result = await showDialog<bool>( final result = await showDialog<bool>(
context: context, context: context,
builder: (context) => AlertDialog( builder: (context) => AlertDialog(
title: Text(L10n.global().exifSupportConfirmationDialogTitle), title: Text(L10n.global().exifSupportConfirmationDialogTitle2),
content: Text(L10n.global().exifSupportDetails), content: Column(
mainAxisSize: MainAxisSize.min,
children: [
Text(L10n.global().exifSupportDetails),
const SizedBox(height: 16),
Text(L10n.global().exifSupportNextcloud28Notes),
],
),
actions: [ actions: [
TextButton( TextButton(
onPressed: () { onPressed: () {

View file

@ -150,7 +150,7 @@ class _ExifState extends State<_Exif> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
SwitchListTile( SwitchListTile(
title: Text(L10n.global().settingsExifSupportTitle), title: Text(L10n.global().settingsExifSupportTitle2),
value: _isEnableExif, value: _isEnableExif,
onChanged: _onValueChanged, onChanged: _onValueChanged,
), ),
@ -160,6 +160,11 @@ class _ExifState extends State<_Exif> {
child: Text(L10n.global().exifSupportDetails), child: Text(L10n.global().exifSupportDetails),
), ),
const SizedBox(height: 16), const SizedBox(height: 16),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Text(L10n.global().exifSupportNextcloud28Notes),
),
const SizedBox(height: 16),
Padding( Padding(
padding: const EdgeInsets.symmetric(horizontal: 16), padding: const EdgeInsets.symmetric(horizontal: 16),
child: Text( child: Text(