Skip to content

Commit e228d6e

Browse files
committed
some smaller fixes
* stray debugger statement removed * renamed point button texts * added German translation
1 parent 6cf327c commit e228d6e

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

ImageMappingEditor.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ class ImageMappingEditor {
7373
this.imgurl = this.constructImgUrl(area.value.substring(map.start, area.value.indexOf('}}', map.start)));
7474

7575
// check if a link is selected
76-
debugger;
7776
let link = this.elementBoundary('[[', ']]', map.start, map.end);
7877
if (link) {
7978
// we are in a link, adjust it if it's an image link

lang/de/lang.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?php
22

3-
$lang['btn_print'] = 'GEXF Mindmap';
4-
$lang['js']['please_mark'] = 'Bitte Bild markieren. Das Bild muss existieren.';
3+
$lang['js']['title'] = 'Image Map Koordinaten bearbeiten';
4+
$lang['js']['btn_fewer'] = 'Punkt entfernen';
5+
$lang['js']['btn_more'] = 'Punkt hinzufügen';
6+
$lang['js']['btn_save'] = 'Speichern';
7+
$lang['js']['btn_cancel'] = 'Abbrechen';
8+
$lang['js']['wrongcontext'] ='Der Image Map Koordinaten Editor kann nur verwendet werden, wenn der Cursor auf einem Bild oder einer existierenden Image Map steht.';
9+
510

6-
?>

lang/en/lang.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

33
$lang['js']['title'] = 'Edit Image Map Coordinates';
4-
$lang['js']['btn_fewer'] = 'Fewer Points';
5-
$lang['js']['btn_more'] = 'More Points';
4+
$lang['js']['btn_fewer'] = 'Remove Point';
5+
$lang['js']['btn_more'] = 'Add Point';
66
$lang['js']['btn_save'] = 'Save';
77
$lang['js']['btn_cancel'] = 'Cancel';
88
$lang['js']['wrongcontext'] ='The image map coordinate editor can only be used with the cursor positioned on images or existing image maps.';

0 commit comments

Comments
 (0)