gchar *stock_id;
};
-/* FIXME Should be created by program from menu_entries[]
+/** @FIXME Should be created by program from menu_entries[]
* in layout_util.c */
/** The user is limited to selecting from this list of menu items
* plus any desktop files
{"LastPage", N_("Last Page"), GTK_STOCK_MEDIA_NEXT},
{"NextPage", N_("Next page"), GTK_STOCK_MEDIA_FORWARD},
{"PrevPage", N_("Previous Page"), GTK_STOCK_MEDIA_REWIND},
- {"NewWindow", N_("New _window"), GTK_STOCK_NEW},
+ {"ImageForward", N_("Image Forward"), GTK_STOCK_GOTO_LAST},
+ {"ImageBack", N_("Image Back"), GTK_STOCK_GOTO_FIRST},
+ {"NewWindow", N_("New window"), GTK_STOCK_NEW},
{"NewCollection", N_("New collection"), GTK_STOCK_INDEX},
{"OpenCollection", N_("Open collection"), GTK_STOCK_OPEN},
{"Search", N_("Search"), GTK_STOCK_FIND},
{"Delete", N_("Delete"), GTK_STOCK_DELETE},
{"CloseWindow", N_("Close Window"), GTK_STOCK_CLOSE},
{"PanView", N_("Pan view"), PIXBUF_INLINE_ICON_PANORAMA},
+ {"OpenArchive", N_("Open Archive"), PIXBUF_INLINE_ARCHIVE},
{"SelectAll", N_("Select all"), PIXBUF_INLINE_ICON_SELECT_ALL},
{"SelectNone", N_("Select none"), PIXBUF_INLINE_ICON_SELECT_NONE},
{"SelectInvert", N_("Select invert"), PIXBUF_INLINE_ICON_SELECT_INVERT},
{"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},
{"Zoom33", N_("Zoom1:3"), GTK_STOCK_FILE},
{"Zoom25", N_("Zoom 1:4"), GTK_STOCK_FILE},
{"ConnectZoomIn", N_("Connected Zoom in"), GTK_STOCK_ZOOM_IN},
+ {"SplitPaneSync", N_("Split Pane Sync"), PIXBUF_INLINE_SPLIT_PANE_SYNC},
{"Grayscale", N_("Grayscale"), PIXBUF_INLINE_ICON_GRAYSCALE},
{"OverUnderExposed", N_("Over Under Exposed"), PIXBUF_INLINE_ICON_EXPOSURE},
{"ShowInfoPixel", N_("Pixel Info"), GTK_STOCK_COLOR_PICKER},
- {"ExifRotate", N_("_Exif rotate"), GTK_STOCK_ORIENTATION_PORTRAIT},
+ {"IgnoreAlpha", N_("Ignore Alpha"), GTK_STOCK_STRIKETHROUGH},
+ {"ExifRotate", N_("Exif rotate"), GTK_STOCK_ORIENTATION_PORTRAIT},
{"UseColorProfiles", N_("Use color profiles"), GTK_STOCK_SELECT_COLOR},
{"SaveMetadata", N_("Save metadata"), GTK_STOCK_SAVE},
{"HideTools", N_("Hide file list"), PIXBUF_INLINE_ICON_HIDETOOLS},
{"ExifWin", N_("Exif window"), PIXBUF_INLINE_ICON_EXIF},
{"Thumbnails", N_("Show thumbnails"), PIXBUF_INLINE_ICON_THUMB},
{"ShowMarks", N_("Show marks"), PIXBUF_INLINE_ICON_MARKS},
- {"ImageGuidelines", N_("Show guidelines"), PIXBUF_INLINE_ICON_GUIDELINES},
{"DrawRectangle", N_("Draw Rectangle"), PIXBUF_INLINE_ICON_DRAW_RECTANGLE},
{"FloatTools", N_("Float file list"), PIXBUF_INLINE_ICON_FLOAT},
{"SBar", N_("Info sidebar"), PIXBUF_INLINE_ICON_INFO},
{
if (g_strcmp0(list->name, name) == 0)
{
- *label = g_strdup(list->label);
+ *label = g_strdup(gettext(list->label));
*stock_id = g_strdup(list->stock_id);
break;
}
while (list->name)
{
GtkWidget *item;
- item = menu_item_add_stock(menu, list->label, list->stock_id,
+ item = menu_item_add_stock(menu, gettext(list->label), list->stock_id,
G_CALLBACK(toolbarlist_add_cb), toolbarlist);
g_object_set_data(G_OBJECT(item), "toolbar_add_name", g_strdup(list->name));
- g_object_set_data(G_OBJECT(item), "toolbar_add_label", g_strdup(list->label));
+ g_object_set_data(G_OBJECT(item), "toolbar_add_label", g_strdup(gettext(list->label)));
g_object_set_data(G_OBJECT(item), "toolbar_add_stock_id", g_strdup(list->stock_id));
g_signal_connect(G_OBJECT(item), "destroy", G_CALLBACK(toolbar_button_free), item);
list++;