Clean prefs and fix pot file

This commit is contained in:
abakkk 2020-06-27 16:55:26 +02:00
parent 06e931ffd2
commit 6a5481ff05
2 changed files with 7 additions and 31 deletions

View File

@ -338,10 +338,10 @@ msgstr ""
msgid "Leave"
msgstr ""
msgid "Select eraser (when starting a drawing)"
msgid "Select eraser <span alpha=\"50%\">(while starting drawing)</span>"
msgstr ""
msgid "Duplicate (when starting a transformation)"
msgid "Duplicate <span alpha=\"50%\">(while starting moving, resizing or mirroring)</span>"
msgstr ""
msgid "Rotate rectangle, polygon, polyline"
@ -359,13 +359,13 @@ msgstr ""
msgid "Smooth free drawing stroke"
msgstr ""
msgid "Rotate (when moving)"
msgid "Rotate <span alpha=\"50%\">(while moving)</span>"
msgstr ""
msgid "Stretch (when resizing)"
msgid "Stretch <span alpha=\"50%\">(while resizing)</span>"
msgstr ""
msgid "Inverse (when mirroring)"
msgid "Inverse <span alpha=\"50%\">(while mirroring)</span>"
msgstr ""
#: About page
@ -409,14 +409,6 @@ msgstr ""
msgid "(in drawing mode)"
msgstr ""
msgid ""
"By pressing <b>Ctrl</b> key <b>during</b> 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 <i>“%s”</i>)"
msgstr ""
msgid ""
"<b>Default</b> drawing style attributes (color palette, font, line, dash) are defined in an editable <b>css</b> file.\n"
"See <i>“%s”</i>."

View File

@ -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 <span alpha=\"50%\">(while starting a drawing)</span>", shortcut: "%s".format(getKeyLabel('<Shift>')) },
{ desc: "Duplicate <span alpha=\"50%\">(while starting a transformation)</span>", shortcut: "%s".format(getKeyLabel('<Shift>')) },
{ desc: "Select eraser <span alpha=\"50%\">(while starting drawing)</span>", shortcut: getKeyLabel('<Shift>') },
{ desc: "Duplicate <span alpha=\"50%\">(while starting moving, resizing or mirroring)</span>", shortcut: getKeyLabel('<Shift>') },
{ desc: "Rotate rectangle, polygon, polyline", shortcut: getKeyLabel('<Primary>') },
{ desc: "Translate text area", shortcut: getKeyLabel('<Primary>') },
{ desc: "Extend circle to ellipse", shortcut: getKeyLabel('<Primary>') },
@ -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 <b>Ctrl</b> key <b>during</b> 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 <i>“%s”</i>)").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);