summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoini <moini@noreply.invalid>2017-12-03 20:25:08 +0000
committerMoini <moini@noreply.invalid>2017-12-03 20:25:08 +0000
commit1e043f9d8731e891394cc3077a6ef419bb6c2406 (patch)
tree1b917d5f521b6ea4032aad4b681685ce486c7f9f
parentOptionaly measure only selected elements (diff)
downloadinkscape-1e043f9d8731e891394cc3077a6ef419bb6c2406.tar.gz
inkscape-1e043f9d8731e891394cc3077a6ef419bb6c2406.zip
Add canvas flipping/rotation reset to the menu, improve strings
-rw-r--r--share/ui/menus.xml7
-rw-r--r--src/verbs.cpp8
2 files changed, 11 insertions, 4 deletions
diff --git a/share/ui/menus.xml b/share/ui/menus.xml
index bc1d19587..5bcaca8cf 100644
--- a/share/ui/menus.xml
+++ b/share/ui/menus.xml
@@ -120,6 +120,13 @@
<!--verb verb-id="ViewColorModePrintColorsPreview" radio="yes"/-->
<!--verb verb-id="DialogPrintColorsPreview" /-->
</submenu>
+ <submenu _name="_Canvas orientation">
+ <verb verb-id="FlipHorizontal"/>
+ <verb verb-id="FlipVertical"/>
+ <verb verb-id="FlipNone"/>
+ <separator/>
+ <verb verb-id="RotateZero"/>
+ </submenu>
<separator/>
<verb verb-id="ToggleGrid" check="yes" />
<verb verb-id="ToggleGuides" check="yes" />
diff --git a/src/verbs.cpp b/src/verbs.cpp
index d0975af16..f01a3c79c 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -3028,11 +3028,11 @@ Verb *Verb::_base_verbs[] = {
new ZoomVerb(SP_VERB_ROTATE_CW, "RotateClockwise", N_("Rotate Clockwise"), N_("Rotate canvas clockwise"), NULL),
new ZoomVerb(SP_VERB_ROTATE_CCW, "RotateCounterClockwise", N_("Rotate Counter-Clockwise"), N_("Rotate canvas counter-clockwise"), NULL),
- new ZoomVerb(SP_VERB_ROTATE_ZERO, "RotateZero", N_("Rotate Zero"), N_("Reset canvas rotation to zero"), NULL),
+ new ZoomVerb(SP_VERB_ROTATE_ZERO, "RotateZero", N_("Reset Rotation"), N_("Reset canvas rotation to zero"), NULL),
- new ZoomVerb(SP_VERB_FLIP_HORIZONTAL, "FlipHorizontal", N_("Flip Horizontal"), N_("Flip canvas horizontally"), INKSCAPE_ICON("object-flip-horizontal")),
- new ZoomVerb(SP_VERB_FLIP_VERTICAL, "FlipVertical", N_("Flip Vertical"), N_("Flip canvas vertically"), INKSCAPE_ICON("object-flip-vertical")),
- new ZoomVerb(SP_VERB_FLIP_NONE, "FlipNone", N_("Flip None"), N_("Undo any flip"), NULL),
+ new ZoomVerb(SP_VERB_FLIP_HORIZONTAL, "FlipHorizontal", N_("Flip Horizontally"), N_("Flip canvas horizontally"), INKSCAPE_ICON("object-flip-horizontal")),
+ new ZoomVerb(SP_VERB_FLIP_VERTICAL, "FlipVertical", N_("Flip Vertically"), N_("Flip canvas vertically"), INKSCAPE_ICON("object-flip-vertical")),
+ new ZoomVerb(SP_VERB_FLIP_NONE, "FlipNone", N_("Reset Flip"), N_("Undo any flip"), NULL),
// WHY ARE THE FOLLOWING ZoomVerbs???