Skip to content

Commit

Permalink
Fixed add photo to map dialogs
Browse files Browse the repository at this point in the history
Signed-off-by: Arne Hamann <[email protected]>
  • Loading branch information
tacruc committed Jan 10, 2023
1 parent 9819482 commit c86f84f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?? '',
}))
Expand Down

0 comments on commit c86f84f

Please sign in to comment.