diff --git a/locale/draw-on-your-screen.pot b/locale/draw-on-your-screen.pot index 38b4edf..4b6a44e 100644 --- a/locale/draw-on-your-screen.pot +++ b/locale/draw-on-your-screen.pot @@ -338,10 +338,10 @@ msgstr "" msgid "Leave" msgstr "" -msgid "Select eraser (when starting a drawing)" +msgid "Select eraser (while starting drawing)" msgstr "" -msgid "Duplicate (when starting a transformation)" +msgid "Duplicate (while starting moving, resizing or mirroring)" msgstr "" msgid "Rotate rectangle, polygon, polyline" @@ -359,13 +359,13 @@ msgstr "" msgid "Smooth free drawing stroke" msgstr "" -msgid "Rotate (when moving)" +msgid "Rotate (while moving)" msgstr "" -msgid "Stretch (when resizing)" +msgid "Stretch (while resizing)" msgstr "" -msgid "Inverse (when mirroring)" +msgid "Inverse (while mirroring)" msgstr "" #: About page @@ -409,14 +409,6 @@ msgstr "" msgid "(in drawing mode)" msgstr "" -msgid "" -"By pressing Ctrl key during the drawing process, you can:\n" -" . rotate a rectangle or a text area\n" -" . extend and rotate an ellipse\n" -" . curve a line (cubic Bezier curve)\n" -" . smooth a free drawing stroke (you may prefer to smooth the stroke afterward, see “%s”)" -msgstr "" - msgid "" "Default drawing style attributes (color palette, font, line, dash) are defined in an editable css file.\n" "See “%s”." diff --git a/prefs.js b/prefs.js index 3ea6e30..d4a7837 100644 --- a/prefs.js +++ b/prefs.js @@ -105,8 +105,8 @@ var OTHER_SHORTCUTS = [ { desc: "Ignore pointer movement", get shortcut() { return _("%s held").format(getKeyLabel('space')); } }, { desc: "Leave", shortcut: getKeyLabel('Escape') }, { desc: "-separator-1", shortcut: "" }, - { desc: "Select eraser (while starting a drawing)", shortcut: "%s".format(getKeyLabel('')) }, - { desc: "Duplicate (while starting a transformation)", shortcut: "%s".format(getKeyLabel('')) }, + { desc: "Select eraser (while starting drawing)", shortcut: getKeyLabel('') }, + { desc: "Duplicate (while starting moving, resizing or mirroring)", shortcut: getKeyLabel('') }, { desc: "Rotate rectangle, polygon, polyline", shortcut: getKeyLabel('') }, { desc: "Translate text area", shortcut: getKeyLabel('') }, { desc: "Extend circle to ellipse", shortcut: getKeyLabel('') }, @@ -304,22 +304,6 @@ const PrefsPage = new GObject.Class({ listBox.add(otherBox); } - let controlBox = new Gtk.Box({ margin: MARGIN, margin_top: 2*MARGIN }); - let controlLabel = new Gtk.Label({ - wrap: true, - xalign: 0, - use_markup: true, - label: _("By pressing Ctrl key during the drawing process, you can:\n" + - " . rotate a rectangle or a text area\n" + - " . extend and rotate an ellipse\n" + - " . curve a line (cubic Bezier curve)\n" + - " . smooth a free drawing stroke (you may prefer to smooth the stroke afterward, see “%s”)").format(_("Smooth last brushstroke")) - }); - controlLabel.set_halign(1); - controlLabel.get_style_context().add_class('dim-label'); - controlBox.pack_start(controlLabel, true, true, 4); - listBox.add(controlBox); - let internalKeybindingsWidget = new KeybindingsWidget(INTERNAL_KEYBINDINGS, this.settings); internalKeybindingsWidget.margin = MARGIN; listBox.add(internalKeybindingsWidget);