From c86f84f8eafa8e64104f4be67f4ef05ad9f20933 Mon Sep 17 00:00:00 2001 From: Arne Hamann Date: Tue, 10 Jan 2023 12:45:23 +0100 Subject: [PATCH] Fixed add photo to map dialogs Signed-off-by: Arne Hamann --- src/views/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/App.vue b/src/views/App.vue index af5f0ecf4..bdf4d0bd9 100644 --- a/src/views/App.vue +++ b/src/views/App.vue @@ -821,13 +821,13 @@ export default { this.chooseMyMap((map) => { try { network.copyByPath(photo.path, map.path + '/' + photo.basename) - showSuccess(t('maps', 'Track {photoName} added to map {mapName}', { + showSuccess(t('maps', 'Photo {photoName} added to map {mapName}', { photoName: photo.basename ?? '', mapName: map.name ?? '', })) } catch (error) { console.error(error) - showError(t('maps', 'Failed to save track {photoName} to map {mapName}', { + showError(t('maps', 'Failed to save photo {photoName} to map {mapName}', { trackName: photo.basename ?? '', mapName: map.name ?? '', }))