Update rotate menu legends
authorColin Clark <colin.clark@cclark.uk>
Sat, 7 Sep 2019 09:31:54 +0000 (10:31 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sat, 7 Sep 2019 09:31:54 +0000 (10:31 +0100)
Include a degree symbol in rotate menu legends

src/layout_util.c
src/menu.c
src/preferences.c
src/toolbar.c

index c818bde..dca69e8 100644 (file)
@@ -1957,7 +1957,7 @@ static GtkActionEntry menu_entries[] = {
   { "CopyPathUnquoted",                NULL,                   N_("_Copy path unquoted to clipboard"),         NULL,                   N_("Copy path unquoted to clipboard"),          CB(layout_menu_copy_path_unquoted_cb) },
   { "CloseWindow",     GTK_STOCK_CLOSE,        N_("C_lose window"),                    "<control>W",           N_("Close window"),                     CB(layout_menu_close_cb) },
   { "Quit",            GTK_STOCK_QUIT,         N_("_Quit"),                            "<control>Q",           N_("Quit"),                             CB(layout_menu_exit_cb) },
-  { "RotateCW",                PIXBUF_INLINE_ICON_CW,                  N_("_Rotate clockwise"),                "bracketright",         N_("Rotate clockwise"),                 CB(layout_menu_alter_90_cb) },
+  { "RotateCW",                PIXBUF_INLINE_ICON_CW,                  N_("_Rotate clockwise 90°"),           "bracketright",         N_("Rotate clockwise 90°"),                    CB(layout_menu_alter_90_cb) },
   { "Rating0",         NULL,                   N_("_Rating 0"),        "<alt>KP_0",    N_("Rating 0"),                 CB(layout_menu_rating_0_cb) },
   { "Rating1",         NULL,                   N_("_Rating 1"),        "<alt>KP_1",    N_("Rating 1"),                 CB(layout_menu_rating_1_cb) },
   { "Rating2",         NULL,                   N_("_Rating 2"),        "<alt>KP_2",    N_("Rating 2"),                 CB(layout_menu_rating_2_cb) },
@@ -1965,8 +1965,8 @@ static GtkActionEntry menu_entries[] = {
   { "Rating4",         NULL,                   N_("_Rating 4"),        "<alt>KP_4",    N_("Rating 4"),                 CB(layout_menu_rating_4_cb) },
   { "Rating5",         NULL,                   N_("_Rating 5"),        "<alt>KP_5",    N_("Rating 5"),                 CB(layout_menu_rating_5_cb) },
   { "RatingM1",                NULL,                   N_("_Rating -1"),       "<alt>KP_Subtract",     N_("Rating -1"),        CB(layout_menu_rating_m1_cb) },
-  { "RotateCCW",       PIXBUF_INLINE_ICON_CCW, N_("Rotate _counterclockwise"),         "bracketleft",          N_("Rotate counterclockwise"),          CB(layout_menu_alter_90cc_cb) },
-  { "Rotate180",       PIXBUF_INLINE_ICON_180, N_("Rotate 1_80"),      "<shift>R",             N_("Rotate 180"),                       CB(layout_menu_alter_180_cb) },
+  { "RotateCCW",       PIXBUF_INLINE_ICON_CCW, N_("Rotate _counterclockwise 90°"),            "bracketleft",          N_("Rotate counterclockwise 90°"),             CB(layout_menu_alter_90cc_cb) },
+  { "Rotate180",       PIXBUF_INLINE_ICON_180, N_("Rotate 1_80°"),    "<shift>R",             N_("Rotate 180°"),                     CB(layout_menu_alter_180_cb) },
   { "Mirror",          PIXBUF_INLINE_ICON_MIRROR,      N_("_Mirror"),  "<shift>M",             N_("Mirror"),                           CB(layout_menu_alter_mirror_cb) },
   { "Flip",            PIXBUF_INLINE_ICON_FLIP,        N_("_Flip"),    "<shift>F",             N_("Flip"),                             CB(layout_menu_alter_flip_cb) },
   { "AlterNone",       PIXBUF_INLINE_ICON_ORIGINAL,    N_("_Original state"),  "<shift>O",             N_("Original state"),                   CB(layout_menu_alter_none_cb) },
index 04ff37c..7c2c7cd 100644 (file)
@@ -319,13 +319,13 @@ gchar *alter_type_get_text(AlterType type)
        switch (type)
                {
                case ALTER_ROTATE_90:
-                       return _("_Rotate clockwise");
+                       return _("_Rotate clockwise 90°");
                        break;
                case ALTER_ROTATE_90_CC:
-                       return _("Rotate _counterclockwise");
+                       return _("Rotate _counterclockwise 90°");
                        break;
                case ALTER_ROTATE_180:
-                       return _("Rotate _180");
+                       return _("Rotate _180°");
                        break;
                case ALTER_MIRROR:
                        return _("_Mirror");
index db9454f..6bba895 100644 (file)
@@ -678,9 +678,9 @@ static const UseableMouseItems useable_mouse_items[] = {
        {"Preferences", N_("Preferences"), GTK_STOCK_PREFERENCES},
        {"LayoutConfig",        N_("Configure this window"), GTK_STOCK_PREFERENCES},
        {"Maintenance", N_("Cache maintenance"), PIXBUF_INLINE_ICON_MAINTENANCE},
-       {"RotateCW",    N_("Rotate clockwise"), PIXBUF_INLINE_ICON_CW},
-       {"RotateCCW",   N_("Rotate counterclockwise"), PIXBUF_INLINE_ICON_CCW},
-       {"Rotate180",   N_("Rotate 180"), PIXBUF_INLINE_ICON_180},
+       {"RotateCW",    N_("Rotate clockwise 90°"), PIXBUF_INLINE_ICON_CW},
+       {"RotateCCW",   N_("Rotate counterclockwise 90°"), PIXBUF_INLINE_ICON_CCW},
+       {"Rotate180",   N_("Rotate 180°"), PIXBUF_INLINE_ICON_180},
        {"Mirror",      N_("Mirror"), PIXBUF_INLINE_ICON_MIRROR},
        {"Flip",        N_("Flip"), PIXBUF_INLINE_ICON_FLIP},
        {"AlterNone",   N_("Original state"), PIXBUF_INLINE_ICON_ORIGINAL},
index 4a484a9..79729e0 100644 (file)
@@ -104,9 +104,9 @@ static const UseableToolbarItems useable_toolbar_items[] = {
        {"Preferences", N_("Preferences"), GTK_STOCK_PREFERENCES},
        {"LayoutConfig",        N_("Configure this window"), GTK_STOCK_PREFERENCES},
        {"Maintenance", N_("Cache maintenance"), PIXBUF_INLINE_ICON_MAINTENANCE},
-       {"RotateCW",    N_("Rotate clockwise"), PIXBUF_INLINE_ICON_CW},
-       {"RotateCCW",   N_("Rotate counterclockwise"), PIXBUF_INLINE_ICON_CCW},
-       {"Rotate180",   N_("Rotate 180"), PIXBUF_INLINE_ICON_180},
+       {"RotateCW",    N_("Rotate clockwise 90°"), PIXBUF_INLINE_ICON_CW},
+       {"RotateCCW",   N_("Rotate counterclockwise 90°"), PIXBUF_INLINE_ICON_CCW},
+       {"Rotate180",   N_("Rotate 180°"), PIXBUF_INLINE_ICON_180},
        {"Mirror",      N_("Mirror"), PIXBUF_INLINE_ICON_MIRROR},
        {"Flip",        N_("Flip"), PIXBUF_INLINE_ICON_FLIP},
        {"AlterNone",   N_("Original state"), PIXBUF_INLINE_ICON_ORIGINAL},