From 9954b3636e3cef07ec72d4dc17c1161ed76d926c Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Wed, 20 May 2020 12:08:42 -0400 Subject: [PATCH] Update multilingual name button tooltip (close #7486) --- data/core.yaml | 2 +- dist/locales/en.json | 2 +- modules/ui/popover.js | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/data/core.yaml b/data/core.yaml index 12688876c..4ce9a17ab 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -445,7 +445,7 @@ en: tooltip_keyhint: "Shortcut:" browser_notice: "This editor is supported in Firefox, Chrome, Safari, Opera, and Internet Explorer 11 and above. Please upgrade your browser or use Potlatch 2 to edit the map." translate: - translate: Translate + translate: Add multilingual name localized_translation_label: Multilingual Name localized_translation_language: Choose language localized_translation_name: Name diff --git a/dist/locales/en.json b/dist/locales/en.json index 7aa2f6b87..6bc735c96 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -582,7 +582,7 @@ "tooltip_keyhint": "Shortcut:", "browser_notice": "This editor is supported in Firefox, Chrome, Safari, Opera, and Internet Explorer 11 and above. Please upgrade your browser or use Potlatch 2 to edit the map.", "translate": { - "translate": "Translate", + "translate": "Add multilingual name", "localized_translation_label": "Multilingual Name", "localized_translation_language": "Choose language", "localized_translation_name": "Name", diff --git a/modules/ui/popover.js b/modules/ui/popover.js index 4ae6c2b97..3935dd384 100644 --- a/modules/ui/popover.js +++ b/modules/ui/popover.js @@ -233,9 +233,10 @@ export function uiPopover(klass) { } updatePosition.apply(this, arguments); - // hack: update twice to fix instances where the absolute offset is + // hack: update multiple times to fix instances where the absolute offset is // set before the dynamic popover size is calculated by the browser updatePosition.apply(this, arguments); + updatePosition.apply(this, arguments); }