We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b06024f commit 6cf327cCopy full SHA for 6cf327c
ImageMappingEditor.js
@@ -57,7 +57,7 @@ class ImageMappingEditor {
57
// no map syntax found, check if we are inside an image
58
const img = this.elementBoundary('{{', '}}');
59
if (!img) {
60
- alert('The image map editor can only be used with the cursor positioned on images or existing image maps.');
+ alert(LANG.plugins.imagemapping.wrongcontext);
61
return false;
62
}
63
lang/en/lang.php
@@ -5,5 +5,6 @@
5
$lang['js']['btn_more'] = 'More Points';
6
$lang['js']['btn_save'] = 'Save';
7
$lang['js']['btn_cancel'] = 'Cancel';
8
+$lang['js']['wrongcontext'] ='The image map coordinate editor can only be used with the cursor positioned on images or existing image maps.';
9
10
0 commit comments