diff --git a/client/src/main/webapp/WEB-INF/registration_form.vm b/client/src/main/webapp/WEB-INF/registration_form.vm index e27afd806e..c5b416da4d 100644 --- a/client/src/main/webapp/WEB-INF/registration_form.vm +++ b/client/src/main/webapp/WEB-INF/registration_form.vm @@ -41,19 +41,19 @@
diff --git a/client/src/main/webapp/js/viewers/ol3/ol3utils.js b/client/src/main/webapp/js/viewers/ol3/ol3utils.js index fbe0fe4cfa..04acdcd8ed 100644 --- a/client/src/main/webapp/js/viewers/ol3/ol3utils.js +++ b/client/src/main/webapp/js/viewers/ol3/ol3utils.js @@ -250,7 +250,8 @@ function _optionspane() { if (datakey) { div.attr("data-key",datakey); } - + div.addClass("translate_title"); + if (title) { div.attr("title",title); } @@ -276,11 +277,11 @@ function _optionspane() { K5.gui.selected.fit(); }); - icondiv(li(ul),"options_rotate_left","rotateleft","buttons.fit",K5.i18n.ctx.dictionary["buttons.rotateleft"],function() { + icondiv(li(ul),"options_rotate_left","rotateleft","buttons.rotateleft",K5.i18n.ctx.dictionary["buttons.rotateleft"],function() { K5.gui.selected.rotateLeft(); }); - icondiv(li(ul),"options_rotate_right","rotateright","buttons.fit",K5.i18n.ctx.dictionary["buttons.rotateright"],function() { + icondiv(li(ul),"options_rotate_right","rotateright","buttons.rotateright",K5.i18n.ctx.dictionary["buttons.rotateright"],function() { K5.gui.selected.rotateRight(); });