From 9c45a0171c28b9aab98ec707642bc893197f27cc Mon Sep 17 00:00:00 2001 From: Robert Hurst Date: Thu, 22 Aug 2024 11:14:24 +0200 Subject: [PATCH] Fix language differences --- lib/ui/elements/contextMenu.mjs | 22 ++++++------ lib/ui/elements/drawing.mjs | 2 +- lib/ui/layers/listview.mjs | 32 ++++++++--------- lib/ui/layers/panels/dataviews.mjs | 6 ++-- lib/ui/layers/panels/draw.mjs | 4 +-- lib/ui/layers/panels/filter.mjs | 18 +++++----- lib/ui/layers/panels/style.mjs | 14 ++++---- lib/ui/layers/view.mjs | 46 ++++++++++++------------- lib/ui/locations/entries/cloudinary.mjs | 2 +- lib/ui/locations/entries/geometry.mjs | 14 ++++---- lib/ui/locations/entries/link.mjs | 4 +-- lib/ui/locations/entries/pin.mjs | 2 +- lib/ui/locations/entries/text.mjs | 2 +- lib/ui/locations/listview.mjs | 2 +- lib/ui/locations/view.mjs | 12 +++---- public/tests/_base.test.mjs | 6 ++-- public/views/_default.html | 6 ++-- 17 files changed, 97 insertions(+), 97 deletions(-) diff --git a/lib/ui/elements/contextMenu.mjs b/lib/ui/elements/contextMenu.mjs index 775ae7a0a..055472236 100644 --- a/lib/ui/elements/contextMenu.mjs +++ b/lib/ui/elements/contextMenu.mjs @@ -32,7 +32,7 @@ mapp.utils.merge(mapp.dictionaries, { remove_last_vertex: '最後のバーテックスを削除', delete_vertex: 'バーテックスを削除', }, - es: { + esp: { remove_last_vertex: 'Eliminar el último vértice', delete_vertex: 'Eliminar vértice', }, @@ -53,9 +53,9 @@ mapp.utils.merge(mapp.dictionaries, { function modify(e) { e && e.preventDefault() - + const menu = [] - + // Show save option in contextmenu menu.push(mapp.utils.html`
  • this.interaction.finish()}> + onclick=${() => this.interaction.finish()}> ${mapp.dictionary.cancel}`) // Set context menu popup on last vertex. this.popup({ - coords: this.interaction.vertices[this.interaction.vertices.length-1], + coords: this.interaction.vertices[this.interaction.vertices.length - 1], content: mapp.utils.html.node`