"Open user.css" -> "Edit style"
This commit is contained in:
parent
4e3353863c
commit
0ae23a5d10
|
|
@ -2,7 +2,7 @@
|
|||
* Except for the font, you don't need to restart the extension.
|
||||
* Just save this file as ~/.local/share/drawOnYourScreen/user.css and the changes will be applied for your next brushstroke.
|
||||
*
|
||||
* ~/.local/share/drawOnYourScreen/user.css file is automatically generated by activating "Open user.css".
|
||||
* ~/.local/share/drawOnYourScreen/user.css file is automatically generated by activating "Edit style".
|
||||
* Delete ~/.local/share/drawOnYourScreen/user.css file to retrieve default drawing style.
|
||||
*
|
||||
* line-join (no string):
|
||||
|
|
|
|||
2
draw.js
2
draw.js
|
|
@ -1306,7 +1306,7 @@ const DrawingMenu = new Lang.Class({
|
|||
this._addSaveDrawingSubMenuItem(this.menu);
|
||||
|
||||
this.menu.addAction(_("Save drawing as a SVG file"), this.area.saveAsSvg.bind(this.area), 'image-x-generic-symbolic');
|
||||
this.menu.addAction(_("Open user.css"), manager.openUserStyleFile.bind(manager), 'document-page-setup-symbolic');
|
||||
this.menu.addAction(_("Edit style"), manager.openUserStyleFile.bind(manager), 'document-page-setup-symbolic');
|
||||
this.menu.addAction(_("Show help"), () => { this.close(); this.area.toggleHelp(); }, 'preferences-desktop-keyboard-shortcuts-symbolic');
|
||||
|
||||
this.updateSectionVisibility();
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ msgstr ""
|
|||
msgid "Save drawing as a SVG file"
|
||||
msgstr ""
|
||||
|
||||
msgid "Open user.css"
|
||||
msgid "Edit style"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show help"
|
||||
|
|
@ -324,7 +324,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"<b>Default</b> drawing attributes (color palette, font, line, dash) are defined in an editable <b>css</b> file.\n"
|
||||
"<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>."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -336,7 +336,7 @@ msgstr ""
|
|||
|
||||
|
||||
# The following words refer to SVG attributes.
|
||||
# You have the choice to translate or not
|
||||
# You are free to translate them or not.
|
||||
|
||||
#msgid "Butt"
|
||||
#msgstr ""
|
||||
|
|
|
|||
6
prefs.js
6
prefs.js
|
|
@ -71,7 +71,7 @@ var INTERNAL_KEYBINDINGS = {
|
|||
'open-next-json': "Open next drawing",
|
||||
'save-as-json': "Save drawing",
|
||||
'save-as-svg': "Save drawing as a SVG file",
|
||||
'open-user-stylesheet': "Open user.css",
|
||||
'open-user-stylesheet': "Edit style",
|
||||
'toggle-help': "Show help"
|
||||
};
|
||||
|
||||
|
|
@ -299,8 +299,8 @@ const PrefsPage = new GObject.Class({
|
|||
wrap: true,
|
||||
xalign: 0,
|
||||
use_markup: true,
|
||||
label: _("<b>Default</b> drawing attributes (color palette, font, line, dash) are defined in an editable <b>css</b> file.\n" +
|
||||
"See <i>“%s”</i>.").format(_("Open user.css"))
|
||||
label: _("<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>.").format(_("Edit style"))
|
||||
});
|
||||
styleLabel.set_halign(1);
|
||||
styleLabel.get_style_context().add_class('dim-label');
|
||||
|
|
|
|||
|
|
@ -193,8 +193,8 @@
|
|||
</key>
|
||||
<key type="as" name="open-user-stylesheet">
|
||||
<default>["<Primary>o"]</default>
|
||||
<summary>open user stylesheet</summary>
|
||||
<description>open user stylesheet</description>
|
||||
<summary>open user stylesheet to edit style</summary>
|
||||
<description>open user stylesheet to edit style</description>
|
||||
</key>
|
||||
<key type="as" name="save-as-svg">
|
||||
<default>["<Primary><Shift>s"]</default>
|
||||
|
|
|
|||
Loading…
Reference in New Issue