From cd8a4064562721c3d0636f4acc0bfa28fdfd29da Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Tue, 17 Mar 2026 15:26:18 +0000 Subject: [PATCH] chore: translation --- i18n/en.json | 2 -- .../action_buttons/edit_image_action_button.widget.dart | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/i18n/en.json b/i18n/en.json index eb1b95851f..956ed03989 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -561,8 +561,6 @@ "asset_adding_to_album": "Adding to album…", "asset_created": "Asset created", "asset_description_updated": "Asset description has been updated", - "asset_edit_failed": "Asset edit failed", - "asset_edit_success": "Asset edited successfully", "asset_filename_is_offline": "Asset {filename} is offline", "asset_has_unassigned_faces": "Asset has unassigned faces", "asset_hashing": "Hashing…", diff --git a/mobile/lib/presentation/widgets/action_buttons/edit_image_action_button.widget.dart b/mobile/lib/presentation/widgets/action_buttons/edit_image_action_button.widget.dart index 1b8aff758e..4614cdff19 100644 --- a/mobile/lib/presentation/widgets/action_buttons/edit_image_action_button.widget.dart +++ b/mobile/lib/presentation/widgets/action_buttons/edit_image_action_button.widget.dart @@ -38,11 +38,11 @@ class EditImageActionButton extends ConsumerWidget { await ref.read(actionProvider.notifier).applyEdits(ActionSource.viewer, edits); await completer; - ImmichToast.show(context: context, msg: 'asset_edit_success'.tr(), toastType: ToastType.success); + ImmichToast.show(context: context, msg: 'success'.tr(), toastType: ToastType.success); context.pop(); } catch (e) { - ImmichToast.show(context: context, msg: 'asset_edit_failed'.tr(), toastType: ToastType.error); + ImmichToast.show(context: context, msg: 'error_title'.tr(), toastType: ToastType.error); return; } }