[dia: 1/2] Improve menu entries
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia: 1/2] Improve menu entries
- Date: Mon, 2 Dec 2019 00:03:23 +0000 (UTC)
commit 5e237de0ee16f5bf272197d66030558275cf43e0
Author: Sabri Ünal <libreajans gmail com>
Date: Mon Dec 2 00:03:05 2019 +0000
Improve menu entries
* Insead of GTK_STOCK* text, use locale strings.
* Add several mnemonics to improve menu usability.
* Replace three dots with ellipses.
app/disp_callbacks.c | 4 +-
app/menus.c | 183 +++++++++++++++++++------------------
app/splash.c | 2 +-
app/toolbox.c | 6 +-
lib/diaarrowchooser.c | 2 +-
lib/dialinechooser.c | 2 +-
plug-ins/cairo/diacairo.c | 2 +-
plug-ins/python/allsheets.py | 2 +-
plug-ins/python/arrange.py | 4 +-
plug-ins/python/autolayoutforce.py | 4 +-
plug-ins/python/bbox.py | 8 +-
plug-ins/python/debug_objects.py | 8 +-
plug-ins/python/dia_rotate.py | 4 +-
plug-ins/python/group_props.py | 4 +-
plug-ins/python/gtkcons.py | 4 +-
plug-ins/python/mark-cps.py | 2 +-
plug-ins/python/pydiadoc.py | 6 +-
plug-ins/python/scascale.py | 4 +-
plug-ins/python/select_by.py | 20 ++--
plug-ins/python/select_empty.py | 4 +-
20 files changed, 138 insertions(+), 137 deletions(-)
---
diff --git a/app/disp_callbacks.c b/app/disp_callbacks.c
index 25b21190..3bf12515 100644
--- a/app/disp_callbacks.c
+++ b/app/disp_callbacks.c
@@ -123,7 +123,7 @@ add_properties_menu_item (GtkMenu *menu, gboolean separator)
gtk_widget_show(menu_item);
}
- menu_item = gtk_menu_item_new_with_label(_("Properties\342\200\246"));
+ menu_item = gtk_menu_item_new_with_label(_("Properties…"));
g_signal_connect(G_OBJECT(menu_item), "activate", G_CALLBACK(dialogs_properties_callback), NULL);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item);
gtk_widget_show(menu_item);
@@ -162,7 +162,7 @@ _follow_link_callback (GtkAction *action, gpointer data)
static void
add_follow_link_menu_item (GtkMenu *menu)
{
- GtkWidget *menu_item = gtk_menu_item_new_with_label(_("Follow link\342\200\246"));
+ GtkWidget *menu_item = gtk_menu_item_new_with_label(_("Follow link…"));
g_signal_connect(G_OBJECT(menu_item), "activate", G_CALLBACK(_follow_link_callback), NULL);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item);
gtk_widget_show(menu_item);
diff --git a/app/menus.c b/app/menus.c
index 78157180..e6272063 100644
--- a/app/menus.c
+++ b/app/menus.c
@@ -84,71 +84,72 @@ gchar *build_ui_filename (const gchar* name);
static const GtkActionEntry common_entries[] =
{
{ "File", NULL, N_("_File"), NULL, NULL, NULL },
- { "FileNew", GTK_STOCK_NEW, NULL, FIRST_MODIFIER "N", N_("Create a new diagram"), G_CALLBACK
(file_new_callback) },
- { "FileOpen", GTK_STOCK_OPEN, N_("_Open\342\200\246"),FIRST_MODIFIER "O", N_("Open a diagram file"),
G_CALLBACK (file_open_callback) },
- { "FileQuit", GTK_STOCK_QUIT, NULL, FIRST_MODIFIER "Q", N_("Quit Dia"), G_CALLBACK (file_quit_callback)
},
+ { "FileNew", GTK_STOCK_NEW, N_("_New"), FIRST_MODIFIER "N", N_("Create a new diagram"), G_CALLBACK
(file_new_callback) },
+ { "FileOpen", GTK_STOCK_OPEN, N_("_Open…"), FIRST_MODIFIER "O", N_("Open a diagram file"), G_CALLBACK
(file_open_callback) },
+ { "FileQuit", GTK_STOCK_QUIT, N_("_Quit"), FIRST_MODIFIER "Q", N_("Quit Dia"), G_CALLBACK
(file_quit_callback) },
{ "Help", NULL, N_("_Help"), NULL, NULL, NULL },
- { "HelpContents", GTK_STOCK_HELP, NULL, "F1", N_("Dia help"), G_CALLBACK (help_manual_callback) },
- { "HelpAbout", GTK_STOCK_ABOUT, NULL, NULL, N_("Dia version, authors, license"), G_CALLBACK
(help_about_callback) }
+ { "HelpContents", GTK_STOCK_HELP, N_("_Help"), "F1", N_("Dia help"), G_CALLBACK (help_manual_callback) },
+ { "HelpAbout", GTK_STOCK_ABOUT, N_("_About"), NULL, N_("Dia version, authors, license"), G_CALLBACK
(help_about_callback) }
};
/* Actions for toolbox menu */
static const GtkActionEntry toolbox_entries[] =
{
- { "FileSheets", NULL, N_("Sheets and Objects\342\200\246"), "F9", N_("Manage sheets and their objects"),
G_CALLBACK (sheets_dialog_show_callback) },
- { "FilePrefs", GTK_STOCK_PREFERENCES, NULL, NULL, N_("Dia preferences"), G_CALLBACK
(file_preferences_callback) },
- { "FilePlugins", NULL, N_("Plugins\342\200\246"), NULL, N_("Manage plug-ins"), G_CALLBACK
(file_plugins_callback) },
- { "FileTree", NULL, N_("_Diagram Tree"), "F8", N_("Tree representation of diagrams"), G_CALLBACK
(diagram_tree_show) }
+ { "FileSheets", NULL, N_("S_heets and Objects"), "F9", N_("Manage sheets and their objects"), G_CALLBACK
(sheets_dialog_show_callback) },
+ { "FilePrefs", GTK_STOCK_PREFERENCES, N_("P_references"), NULL, N_("Dia preferences"), G_CALLBACK
(file_preferences_callback) },
+ { "FilePlugins", NULL, N_("P_lugins…"), NULL, N_("Manage plug-ins"), G_CALLBACK (file_plugins_callback)
},
+ { "FileTree", NULL, N_("Diagram _Tree"), "F8", N_("Tree representation of diagrams"), G_CALLBACK
(diagram_tree_show) }
};
static const GtkToggleActionEntry integrated_ui_view_toggle_entries[] =
{
- { VIEW_MAIN_TOOLBAR_ACTION, NULL, N_("Show Toolbar"), NULL, N_("Show or hide the toolbar"),
G_CALLBACK (view_main_toolbar_callback) },
- { VIEW_MAIN_STATUSBAR_ACTION, NULL, N_("Show Statusbar"), NULL, N_("Show or hide the statusbar"),
G_CALLBACK (view_main_statusbar_callback) },
- { VIEW_LAYERS_ACTION, NULL, N_("Show Layers"), FIRST_MODIFIER "L", N_("Show or hide the layers
toolwindow"), G_CALLBACK (view_layers_callback) }
+ { VIEW_MAIN_TOOLBAR_ACTION, NULL, N_("Show _Toolbar"), NULL, N_("Show or hide the toolbar"), G_CALLBACK
(view_main_toolbar_callback) },
+ { VIEW_MAIN_STATUSBAR_ACTION, NULL, N_("Show _Statusbar"), NULL, N_("Show or hide the statusbar"),
G_CALLBACK (view_main_statusbar_callback) },
+ { VIEW_LAYERS_ACTION, NULL, N_("Show _Layers"), FIRST_MODIFIER "L", N_("Show or hide the layers
toolwindow"), G_CALLBACK (view_layers_callback) }
};
/* Actions for diagram window */
static const GtkActionEntry display_entries[] =
{
- { "FileSave", GTK_STOCK_SAVE, NULL, FIRST_MODIFIER "S", N_("Save the diagram"), G_CALLBACK
(file_save_callback) },
- { "FileSaveas", GTK_STOCK_SAVE_AS, N_("Save _As\342\200\246"), FIRST_MODIFIER "<shift>S", N_("Save the
diagram with a new name"), G_CALLBACK (file_save_as_callback) },
- { "FileExport", GTK_STOCK_CONVERT, N_("_Export\342\200\246"), NULL, N_("Export the diagram"), G_CALLBACK
(file_export_callback) },
+ { "FileSave", GTK_STOCK_SAVE, N_("_Save"), FIRST_MODIFIER "S", N_("Save the diagram"), G_CALLBACK
(file_save_callback) },
+ { "FileSaveas", GTK_STOCK_SAVE_AS, N_("Save _As…"), FIRST_MODIFIER "<shift>S", N_("Save the diagram with
a new name"), G_CALLBACK (file_save_as_callback) },
+ { "FileExport", GTK_STOCK_CONVERT, N_("_Export…"), NULL, N_("Export the diagram"), G_CALLBACK
(file_export_callback) },
{ "DiagramProperties", GTK_STOCK_PROPERTIES, N_("_Diagram Properties"), "<shift><alt>Return", N_("Modify
diagram properties (grid, background)"), G_CALLBACK (view_diagram_properties_callback) },
- { "FilePagesetup", NULL, N_("Page Set_up\342\200\246"), NULL, N_("Modify the diagram pagination"),
G_CALLBACK (file_pagesetup_callback) },
- { "FilePrint", GTK_STOCK_PRINT, N_("_Print\342\200\246"), FIRST_MODIFIER "P", N_("Print the diagram"),
G_CALLBACK (file_print_callback) },
- { "FileClose", GTK_STOCK_CLOSE, NULL, FIRST_MODIFIER "W", N_("Close the diagram"), G_CALLBACK
(file_close_callback) },
+ { "FilePagesetup", NULL, N_("Page Set_up…"), NULL, N_("Modify the diagram pagination"), G_CALLBACK
(file_pagesetup_callback) },
+ { "FilePrint", GTK_STOCK_PRINT, N_("_Print…"), FIRST_MODIFIER "P", N_("Print the diagram"), G_CALLBACK
(file_print_callback) },
+ { "FileClose", GTK_STOCK_CLOSE, N_("_Close"), FIRST_MODIFIER "W", N_("Close the diagram"), G_CALLBACK
(file_close_callback) },
{ "Edit", NULL, N_("_Edit"), NULL, NULL, NULL },
- { "EditUndo", GTK_STOCK_UNDO, NULL, FIRST_MODIFIER "Z", N_("Undo"), G_CALLBACK (edit_undo_callback) },
- { "EditRedo", GTK_STOCK_REDO, NULL, FIRST_MODIFIER "<shift>Z", N_("Redo"), G_CALLBACK
(edit_redo_callback) },
+ { "EditUndo", GTK_STOCK_UNDO, N_("_Undo"), FIRST_MODIFIER "Z", N_("Undo"), G_CALLBACK
(edit_undo_callback) },
+ { "EditRedo", GTK_STOCK_REDO, N_("_Redo"), FIRST_MODIFIER "<shift>Z", N_("Redo"), G_CALLBACK
(edit_redo_callback) },
- { "EditCopy", GTK_STOCK_COPY, NULL, FIRST_MODIFIER "C", N_("Copy selection"), G_CALLBACK
(edit_copy_callback) },
- { "EditCut", GTK_STOCK_CUT, NULL, FIRST_MODIFIER "X", N_("Cut selection"), G_CALLBACK
(edit_cut_callback) },
- { "EditPaste", GTK_STOCK_PASTE, NULL, FIRST_MODIFIER "V", N_("Paste selection"), G_CALLBACK
(edit_paste_callback) },
+ { "EditCopy", GTK_STOCK_COPY, N_("_Copy"), FIRST_MODIFIER "C", N_("Copy selection"), G_CALLBACK
(edit_copy_callback) },
+ { "EditCut", GTK_STOCK_CUT, N_("Cu_t"), FIRST_MODIFIER "X", N_("Cut selection"), G_CALLBACK
(edit_cut_callback) },
+ { "EditPaste", GTK_STOCK_PASTE, N_("_Paste"), FIRST_MODIFIER "V", N_("Paste selection"), G_CALLBACK
(edit_paste_callback) },
{ "EditDuplicate", NULL, N_("_Duplicate"), FIRST_MODIFIER "D", N_("Duplicate selection"), G_CALLBACK
(edit_duplicate_callback) },
- { "EditDelete", GTK_STOCK_DELETE, NULL, "Delete", N_("Delete selection"), G_CALLBACK
(edit_delete_callback) },
+ { "EditDelete", GTK_STOCK_DELETE, N_("D_elete"), "Delete", N_("Delete selection"), G_CALLBACK
(edit_delete_callback) },
- { "EditFind", GTK_STOCK_FIND, N_("_Find\342\200\246"), FIRST_MODIFIER "F", N_("Search for text"),
G_CALLBACK (edit_find_callback) },
- { "EditReplace", GTK_STOCK_FIND_AND_REPLACE, N_("_Replace\342\200\246"), FIRST_MODIFIER "H", N_("Search
and replace text"), G_CALLBACK (edit_replace_callback) },
+ { "EditFind", GTK_STOCK_FIND, N_("_Find…"), FIRST_MODIFIER "F", N_("Search for text"), G_CALLBACK
(edit_find_callback) },
+ { "EditReplace", GTK_STOCK_FIND_AND_REPLACE, N_("_Replace…"), FIRST_MODIFIER "H", N_("Search and replace
text"), G_CALLBACK (edit_replace_callback) },
/* the following used to bind to <control><shift>C which collides with Unicode input.
* <control><alt> doesn't work either */
- { "EditCopytext", NULL, N_("Copy Text"), NULL, N_("Copy object's text to clipboard"), G_CALLBACK
(edit_copy_text_callback) },
- { "EditCuttext", NULL, N_("Cut Text"), FIRST_MODIFIER "<shift>X", N_("Cut object's text to clipboard"),
G_CALLBACK (edit_cut_text_callback) },
- { "EditPastetext", NULL, N_("Paste _Text"), FIRST_MODIFIER "<shift>V", N_("Insert text from clipboard"),
G_CALLBACK (edit_paste_text_callback) } ,
+ { "EditCopytext", NULL, N_("C_opy Text"), NULL, N_("Copy object's text to clipboard"), G_CALLBACK
(edit_copy_text_callback) },
+ { "EditCuttext", NULL, N_("C_ut Text"), FIRST_MODIFIER "<shift>X", N_("Cut object's text to clipboard"),
G_CALLBACK (edit_cut_text_callback) },
+ { "EditPastetext", NULL, N_("P_aste Text"), FIRST_MODIFIER "<shift>V", N_("Insert text from clipboard"),
G_CALLBACK (edit_paste_text_callback) } ,
{ "EditPasteImage", NULL, N_("Paste _Image"), FIRST_MODIFIER "<alt>V", N_("Insert image from
clipboard"), G_CALLBACK (edit_paste_image_callback) },
{ "Layers", NULL, N_("_Layers"), NULL, NULL, NULL },
- { "LayerAdd", DIA_STOCK_LAYER_ADD, N_("Add Layer\342\200\246"), NULL, NULL, G_CALLBACK
(layers_add_layer_callback) },
- { "LayerRename", DIA_STOCK_LAYER_RENAME, N_("Rename Layer\342\200\246"), NULL, NULL, G_CALLBACK
(layers_rename_layer_callback) },
- { "ObjectsLayerAbove", DIA_STOCK_OBJECTS_LAYER_ABOVE, N_("Move Selection to Layer above"), NULL, NULL,
G_CALLBACK (objects_move_up_layer) },
- { "ObjectsLayerBelow", DIA_STOCK_OBJECTS_LAYER_BELOW, N_("Move Selection to Layer below"), NULL, NULL,
G_CALLBACK (objects_move_down_layer) },
- { "DiagramLayers", DIA_STOCK_LAYERS, N_("_Layers\342\200\246"), FIRST_MODIFIER "L", NULL, G_CALLBACK
(dialogs_layers_callback) },
+ { "LayerAdd", DIA_STOCK_LAYER_ADD, N_("_Add Layer…"), NULL, NULL, G_CALLBACK (layers_add_layer_callback)
},
+ { "LayerRename", DIA_STOCK_LAYER_RENAME, N_("_Rename Layer…"), NULL, NULL, G_CALLBACK
(layers_rename_layer_callback) },
+ { "ObjectsLayerAbove", DIA_STOCK_OBJECTS_LAYER_ABOVE, N_("_Move Selection to Layer above"), NULL, NULL,
G_CALLBACK (objects_move_up_layer) },
+ { "ObjectsLayerBelow", DIA_STOCK_OBJECTS_LAYER_BELOW, N_("Move _Selection to Layer below"), NULL, NULL,
G_CALLBACK (objects_move_down_layer) },
+ { "DiagramLayers", DIA_STOCK_LAYERS, N_("_Layers…"), FIRST_MODIFIER "L", NULL, G_CALLBACK
(dialogs_layers_callback) },
+
{ "View", NULL, N_("_View"), NULL, NULL, NULL },
- { "ViewZoomin", GTK_STOCK_ZOOM_IN, NULL, FIRST_MODIFIER "plus", N_("Zoom in"), G_CALLBACK
(view_zoom_in_callback) },
- { "ViewZoomout", GTK_STOCK_ZOOM_OUT, NULL, FIRST_MODIFIER "minus", N_("Zoom out"), G_CALLBACK
(view_zoom_out_callback) },
+ { "ViewZoomin", GTK_STOCK_ZOOM_IN, N_("Zoom _In"), FIRST_MODIFIER "plus", N_("Zoom in"), G_CALLBACK
(view_zoom_in_callback) },
+ { "ViewZoomout", GTK_STOCK_ZOOM_OUT, N_("Zoom _Out"), FIRST_MODIFIER "minus", N_("Zoom out"), G_CALLBACK
(view_zoom_out_callback) },
{ "ViewZoom", NULL, N_("_Zoom"), NULL, NULL, NULL },
{ "ViewZoom16000", NULL, N_("1600%"), NULL, NULL, G_CALLBACK (view_zoom_set_callback) },
{ "ViewZoom8000", NULL, N_("800%"), NULL, NULL, G_CALLBACK (view_zoom_set_callback) },
@@ -156,29 +157,29 @@ static const GtkActionEntry display_entries[] =
{ "ViewZoom2830", NULL, N_("283"), NULL, NULL, G_CALLBACK (view_zoom_set_callback) },
{ "ViewZoom2000", NULL, N_("200"), "<alt>2", NULL, G_CALLBACK (view_zoom_set_callback) },
{ "ViewZoom1410", NULL, N_("141"), NULL, NULL, G_CALLBACK (view_zoom_set_callback) },
- { "ViewZoom1000", GTK_STOCK_ZOOM_100, NULL, "<alt>1", NULL, G_CALLBACK (view_zoom_set_callback) },
+ { "ViewZoom1000", GTK_STOCK_ZOOM_100, N_("_Normal Size"), "<alt>1", NULL, G_CALLBACK
(view_zoom_set_callback) },
{ "ViewZoom850", NULL, N_("85"), NULL, NULL, G_CALLBACK (view_zoom_set_callback) },
{ "ViewZoom707", NULL, N_("70.7"), NULL, NULL, G_CALLBACK (view_zoom_set_callback) },
{ "ViewZoom500", NULL, N_("50"), "<alt>5", NULL, G_CALLBACK (view_zoom_set_callback) },
{ "ViewZoom354", NULL, N_("35.4"), NULL, NULL, G_CALLBACK (view_zoom_set_callback) },
{ "ViewZoom250", NULL, N_("25"), NULL, NULL, G_CALLBACK (view_zoom_set_callback) },
/* Show All, Best Fit. Same as the Gimp, Ctrl+E */
- { "ViewShowall", GTK_STOCK_ZOOM_FIT, NULL, FIRST_MODIFIER "E", N_("Zoom fit"), G_CALLBACK
(view_show_all_callback) },
+ { "ViewShowall", GTK_STOCK_ZOOM_FIT, N_("Best _Fit"), FIRST_MODIFIER "E", N_("Zoom fit"), G_CALLBACK
(view_show_all_callback) },
/* "display_toggle_entries" items go here */
{ "ViewNewview", NULL, N_("New _View"), NULL, NULL, G_CALLBACK (view_new_view_callback) },
{ "ViewCloneview", NULL, N_("C_lone View"), NULL, NULL, G_CALLBACK (view_clone_view_callback) },
- { "ViewRedraw", GTK_STOCK_REFRESH, NULL, NULL, NULL, G_CALLBACK (view_redraw_callback) },
+ { "ViewRedraw", GTK_STOCK_REFRESH, N_("_Refresh"), NULL, NULL, G_CALLBACK (view_redraw_callback) },
- { "ViewGuides", NULL, N_("Guides"), NULL, NULL, NULL },
- { "ViewNewguide", NULL, N_("New Guide..."), NULL, NULL, G_CALLBACK (view_new_guide_callback) },
+ { "ViewGuides", NULL, N_("_Guides"), NULL, NULL, NULL },
+ { "ViewNewguide", NULL, N_("_New Guide..."), NULL, NULL, G_CALLBACK (view_new_guide_callback) },
{ "Objects", NULL, N_("_Objects"), NULL, NULL },
{ "ObjectsSendtoback", GTK_STOCK_GOTO_BOTTOM, N_("Send to _Back"), FIRST_MODIFIER "<shift>B", N_("Move
selection to the bottom"), G_CALLBACK (objects_place_under_callback) },
{ "ObjectsBringtofront", GTK_STOCK_GOTO_TOP, N_("Bring to _Front"), FIRST_MODIFIER "<shift>F", N_("Move
selection to the top"), G_CALLBACK (objects_place_over_callback) },
- { "ObjectsSendbackwards", GTK_STOCK_GO_DOWN, N_("Send Backwards"), NULL, NULL, G_CALLBACK
(objects_place_down_callback) },
- { "ObjectsBringforwards", GTK_STOCK_GO_UP, N_("Bring Forwards"), NULL, NULL, G_CALLBACK
(objects_place_up_callback) },
+ { "ObjectsSendbackwards", GTK_STOCK_GO_DOWN, N_("Send Ba_ckwards"), NULL, NULL, G_CALLBACK
(objects_place_down_callback) },
+ { "ObjectsBringforwards", GTK_STOCK_GO_UP, N_("Bring F_orwards"), NULL, NULL, G_CALLBACK
(objects_place_up_callback) },
{ "ObjectsGroup", DIA_STOCK_GROUP, N_("_Group"), FIRST_MODIFIER "G", N_("Group selected objects"),
G_CALLBACK (objects_group_callback) },
/* deliberately not using Ctrl+U for Ungroup */
@@ -188,35 +189,35 @@ static const GtkActionEntry display_entries[] =
{ "ObjectsUnparent", NULL, N_("_Unparent"), FIRST_MODIFIER "<shift>K", NULL, G_CALLBACK
(objects_unparent_callback) },
{ "ObjectsUnparentchildren", NULL, N_("_Unparent Children"), NULL, NULL, G_CALLBACK
(objects_unparent_children_callback) },
- { "ObjectsAlign", NULL, N_("Align"), NULL, NULL, NULL },
- { "ObjectsAlignLeft", GTK_STOCK_JUSTIFY_LEFT, NULL, "<alt><shift>L", NULL, G_CALLBACK
(objects_align_h_callback) },
- { "ObjectsAlignCenter", GTK_STOCK_JUSTIFY_CENTER, NULL, "<alt><shift>C", NULL, G_CALLBACK
(objects_align_h_callback) },
- { "ObjectsAlignRight", GTK_STOCK_JUSTIFY_RIGHT, NULL, "<alt><shift>R", NULL, G_CALLBACK
(objects_align_h_callback) },
+ { "ObjectsAlign", NULL, N_("_Align"), NULL, NULL, NULL },
+ { "ObjectsAlignLeft", GTK_STOCK_JUSTIFY_LEFT, N_("_Left"), "<alt><shift>L", NULL, G_CALLBACK
(objects_align_h_callback) },
+ { "ObjectsAlignCenter", GTK_STOCK_JUSTIFY_CENTER, N_("_Center"), "<alt><shift>C", NULL, G_CALLBACK
(objects_align_h_callback) },
+ { "ObjectsAlignRight", GTK_STOCK_JUSTIFY_RIGHT, N_("_Right"), "<alt><shift>R", NULL, G_CALLBACK
(objects_align_h_callback) },
- { "ObjectsAlignTop", NULL, N_("Top"), "<alt><shift>T", NULL, G_CALLBACK (objects_align_v_callback) },
- { "ObjectsAlignMiddle", NULL, N_("Middle"), "<alt><shift>M", NULL, G_CALLBACK
(objects_align_v_callback) },
- { "ObjectsAlignBottom", NULL, N_("Bottom"), "<alt><shift>B", NULL, G_CALLBACK
(objects_align_v_callback) },
+ { "ObjectsAlignTop", NULL, N_("_Top"), "<alt><shift>T", NULL, G_CALLBACK (objects_align_v_callback) },
+ { "ObjectsAlignMiddle", NULL, N_("_Middle"), "<alt><shift>M", NULL, G_CALLBACK
(objects_align_v_callback) },
+ { "ObjectsAlignBottom", NULL, N_("_Bottom"), "<alt><shift>B", NULL, G_CALLBACK
(objects_align_v_callback) },
- { "ObjectsAlignSpreadouthorizontally", NULL, N_("Spread Out Horizontally"), "<alt><shift>H", NULL,
G_CALLBACK (objects_align_h_callback) },
- { "ObjectsAlignSpreadoutvertically", NULL, N_("Spread Out Vertically"), "<alt><shift>V", NULL,
G_CALLBACK (objects_align_v_callback) },
- { "ObjectsAlignAdjacent", NULL, N_("Adjacent"), "<alt><shift>A", NULL, G_CALLBACK
(objects_align_h_callback) },
- { "ObjectsAlignStacked", NULL, N_("Stacked"), "<alt><shift>S", NULL, G_CALLBACK
(objects_align_v_callback) },
- { "ObjectsAlignConnected", NULL, N_("Connected"), "<alt><shift>O", NULL, G_CALLBACK
(objects_align_connected_callback) },
+ { "ObjectsAlignSpreadouthorizontally", NULL, N_("Spread Out _Horizontally"), "<alt><shift>H", NULL,
G_CALLBACK (objects_align_h_callback) },
+ { "ObjectsAlignSpreadoutvertically", NULL, N_("Spread Out _Vertically"), "<alt><shift>V", NULL,
G_CALLBACK (objects_align_v_callback) },
+ { "ObjectsAlignAdjacent", NULL, N_("_Adjacent"), "<alt><shift>A", NULL, G_CALLBACK
(objects_align_h_callback) },
+ { "ObjectsAlignStacked", NULL, N_("_Stacked"), "<alt><shift>S", NULL, G_CALLBACK
(objects_align_v_callback) },
+ { "ObjectsAlignConnected", NULL, N_("_Connected"), "<alt><shift>O", NULL, G_CALLBACK
(objects_align_connected_callback) },
- { "ObjectsProperties", GTK_STOCK_PROPERTIES, NULL, "<alt>Return", NULL, G_CALLBACK
(dialogs_properties_callback) },
+ { "ObjectsProperties", GTK_STOCK_PROPERTIES, N_("_Properties"), "<alt>Return", NULL, G_CALLBACK
(dialogs_properties_callback) },
{ "Select", NULL, N_("_Select"), NULL, NULL, NULL },
- { "SelectAll", NULL, N_("All"), FIRST_MODIFIER "A", NULL, G_CALLBACK (select_all_callback) },
- { "SelectNone", NULL, N_("None"), FIRST_MODIFIER "<shift>A", NULL, G_CALLBACK (select_none_callback) },
- { "SelectInvert", NULL, N_("Invert"), FIRST_MODIFIER "I", NULL, G_CALLBACK (select_invert_callback) },
+ { "SelectAll", NULL, N_("_All"), FIRST_MODIFIER "A", NULL, G_CALLBACK (select_all_callback) },
+ { "SelectNone", NULL, N_("_None"), FIRST_MODIFIER "<shift>A", NULL, G_CALLBACK (select_none_callback) },
+ { "SelectInvert", NULL, N_("_Invert"), FIRST_MODIFIER "I", NULL, G_CALLBACK (select_invert_callback) },
- { "SelectTransitive", NULL, N_("Transitive"), FIRST_MODIFIER "T", NULL, G_CALLBACK
(select_transitive_callback) },
- { "SelectConnected", NULL, N_("Connected"), FIRST_MODIFIER "<shift>T", NULL, G_CALLBACK
(select_connected_callback) },
- { "SelectSametype", NULL, N_("Same Type"), NULL, NULL, G_CALLBACK (select_same_type_callback) },
+ { "SelectTransitive", NULL, N_("_Transitive"), FIRST_MODIFIER "T", NULL, G_CALLBACK
(select_transitive_callback) },
+ { "SelectConnected", NULL, N_("_Connected"), FIRST_MODIFIER "<shift>T", NULL, G_CALLBACK
(select_connected_callback) },
+ { "SelectSametype", NULL, N_("Same _Type"), NULL, NULL, G_CALLBACK (select_same_type_callback) },
/* display_select_radio_entries go here */
- { "SelectBy", NULL, N_("Select By"), NULL, NULL, NULL },
+ { "SelectBy", NULL, N_("_Select By"), NULL, NULL, NULL },
/* For placment of the toplevel Layout menu and it's accelerator */
{ "Layout", NULL, N_("L_ayout"), NULL, NULL, NULL },
@@ -230,51 +231,51 @@ static const GtkActionEntry display_entries[] =
static const GtkActionEntry tool_entries[] =
{
{ "Tools", NULL, N_("_Tools"), NULL, NULL, NULL },
- { "ToolsModify", NULL, N_("Modify"), TOOL_MODIFIER "N", NULL, NULL },
- { "ToolsMagnify", NULL, N_("Magnify"), TOOL_MODIFIER "M", NULL, NULL },
- { "ToolsTextedit", NULL, N_("Edit Text"), "F2", NULL, NULL },
- { "ToolsScroll", NULL, N_("Scroll"), TOOL_MODIFIER "S", NULL, NULL },
- { "ToolsText", NULL, N_("Text"), TOOL_MODIFIER "T", NULL, NULL },
- { "ToolsBox", NULL, N_("Box"), TOOL_MODIFIER "R", NULL, NULL },
- { "ToolsEllipse", NULL, N_("Ellipse"), TOOL_MODIFIER "E", NULL, NULL },
- { "ToolsPolygon", NULL, N_("Polygon"), TOOL_MODIFIER "P", NULL, NULL },
- { "ToolsBeziergon", NULL, N_("Beziergon"), TOOL_MODIFIER "B", NULL, NULL },
-
- { "ToolsLine", NULL, N_("Line"), TOOL_MODIFIER "L", NULL, NULL },
- { "ToolsArc", NULL, N_("Arc"), TOOL_MODIFIER "A", NULL, NULL },
- { "ToolsZigzagline", NULL, N_("Zigzagline"), TOOL_MODIFIER "Z", NULL, NULL },
- { "ToolsPolyline", NULL, N_("Polyline"), TOOL_MODIFIER "Y", NULL },
- { "ToolsBezierline", NULL, N_("Bezierline"), TOOL_MODIFIER "C", NULL, NULL },
- { "ToolsOutline", NULL, N_("Outline"), TOOL_MODIFIER "O", NULL, NULL },
-
- { "ToolsImage", NULL, N_("Image"), TOOL_MODIFIER "I", NULL, NULL },
+ { "ToolsModify", NULL, N_("_Modify"), TOOL_MODIFIER "N", NULL, NULL },
+ { "ToolsMagnify", NULL, N_("_Magnify"), TOOL_MODIFIER "M", NULL, NULL },
+ { "ToolsTextedit", NULL, N_("_Edit Text"), "F2", NULL, NULL },
+ { "ToolsScroll", NULL, N_("_Scroll"), TOOL_MODIFIER "S", NULL, NULL },
+ { "ToolsText", NULL, N_("_Text"), TOOL_MODIFIER "T", NULL, NULL },
+ { "ToolsBox", NULL, N_("_Box"), TOOL_MODIFIER "R", NULL, NULL },
+ { "ToolsEllipse", NULL, N_("_Ellipse"), TOOL_MODIFIER "E", NULL, NULL },
+ { "ToolsPolygon", NULL, N_("_Polygon"), TOOL_MODIFIER "P", NULL, NULL },
+ { "ToolsBeziergon", NULL, N_("_Beziergon"), TOOL_MODIFIER "B", NULL, NULL },
+
+ { "ToolsLine", NULL, N_("_Line"), TOOL_MODIFIER "L", NULL, NULL },
+ { "ToolsArc", NULL, N_("_Arc"), TOOL_MODIFIER "A", NULL, NULL },
+ { "ToolsZigzagline", NULL, N_("_Zigzagline"), TOOL_MODIFIER "Z", NULL, NULL },
+ { "ToolsPolyline", NULL, N_("_Polyline"), TOOL_MODIFIER "Y", NULL },
+ { "ToolsBezierline", NULL, N_("_Bezierline"), TOOL_MODIFIER "C", NULL, NULL },
+ { "ToolsOutline", NULL, N_("_Outline"), TOOL_MODIFIER "O", NULL, NULL },
+
+ { "ToolsImage", NULL, N_("_Image"), TOOL_MODIFIER "I", NULL, NULL },
};
/* Toggle-Actions for diagram window */
static const GtkToggleActionEntry display_toggle_entries[] =
{
- { "ViewFullscreen", GTK_STOCK_FULLSCREEN, NULL, "F11", NULL, G_CALLBACK (view_fullscreen_callback) },
+ { "ViewFullscreen", GTK_STOCK_FULLSCREEN, N_("_Fullscreen"), "F11", NULL, G_CALLBACK
(view_fullscreen_callback) },
{ "ViewAntialiased", NULL, N_("_Antialiased"), NULL, NULL, G_CALLBACK (view_aa_callback) },
{ "ViewShowgrid", NULL, N_("Show _Grid"), NULL, NULL, G_CALLBACK (view_visible_grid_callback) },
{ "ViewSnaptogrid", NULL, N_("_Snap to Grid"), NULL, NULL, G_CALLBACK (view_snap_to_grid_callback) },
- { "ViewShowguides", NULL, N_("Show Guides"), NULL, NULL, G_CALLBACK (view_visible_guides_callback) },
- { "ViewSnaptoguides", NULL, N_("Snap to Guides"), NULL, NULL, G_CALLBACK (view_snap_to_guides_callback)
},
- { "ViewRemoveallguides", NULL, N_("Remove all Guides"), NULL, NULL, G_CALLBACK
(view_remove_all_guides_callback) },
+ { "ViewShowguides", NULL, N_("_Show Guides"), NULL, NULL, G_CALLBACK (view_visible_guides_callback) },
+ { "ViewSnaptoguides", NULL, N_("Snap to _Guides"), NULL, NULL, G_CALLBACK (view_snap_to_guides_callback)
},
+ { "ViewRemoveallguides", NULL, N_("_Remove all Guides"), NULL, NULL, G_CALLBACK
(view_remove_all_guides_callback) },
{ "ViewSnaptoobjects", NULL, N_("Snap to _Objects"), NULL, NULL, G_CALLBACK
(view_snap_to_objects_callback) },
{ "ViewShowrulers", NULL, N_("Show _Rulers"), NULL, NULL, G_CALLBACK (view_toggle_rulers_callback) },
- { "ViewShowscrollbars", NULL, N_("Show Scrollbars"), NULL, N_("Show or hide the toolbar"), G_CALLBACK
(view_toggle_scrollbars_callback) },
+ { "ViewShowscrollbars", NULL, N_("Show Scroll_bars"), NULL, N_("Show or hide the toolbar"), G_CALLBACK
(view_toggle_scrollbars_callback) },
{ "ViewShowconnectionpoints", NULL, N_("Show _Connection Points"), NULL, NULL, G_CALLBACK
(view_show_cx_pts_callback) }
};
/* Radio-Actions for the diagram window's "Select"-Menu */
static const GtkRadioActionEntry display_select_radio_entries[] =
{
- { "SelectReplace", NULL, N_("Replace"), NULL, NULL, SELECT_REPLACE },
- { "SelectUnion", NULL, N_("Union"), NULL, NULL, SELECT_UNION },
- { "SelectIntersection", NULL, N_("Intersection"), NULL, NULL, SELECT_INTERSECTION },
- { "SelectRemove", NULL, N_("Remove"), NULL, NULL, SELECT_REMOVE },
+ { "SelectReplace", NULL, N_("_Replace"), NULL, NULL, SELECT_REPLACE },
+ { "SelectUnion", NULL, N_("_Union"), NULL, NULL, SELECT_UNION },
+ { "SelectIntersection", NULL, N_("I_ntersection"), NULL, NULL, SELECT_INTERSECTION },
+ { "SelectRemove", NULL, N_("R_emove"), NULL, NULL, SELECT_REMOVE },
/* Cannot also be called Invert, duplicate names caused keybinding problems */
- { "SelectInverse", NULL, N_("Inverse"), NULL, NULL, SELECT_INVERT }
+ { "SelectInverse", NULL, N_("In_verse"), NULL, NULL, SELECT_INVERT }
};
/* need initialisation? */
diff --git a/app/splash.c b/app/splash.c
index ab936a96..da84309d 100644
--- a/app/splash.c
+++ b/app/splash.c
@@ -29,7 +29,7 @@ app_splash_init (const gchar* fname)
splash = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_role (GTK_WINDOW (splash), "start_dialog");
- gtk_window_set_title (GTK_WINDOW (splash), _("Loading \342\200\246"));
+ gtk_window_set_title (GTK_WINDOW (splash), _("Loading …"));
gtk_window_set_resizable (GTK_WINDOW (splash), FALSE);
gtk_window_set_position (GTK_WINDOW (splash), GTK_WIN_POS_CENTER);
diff --git a/app/toolbox.c b/app/toolbox.c
index 17e170d7..c60385e7 100644
--- a/app/toolbox.c
+++ b/app/toolbox.c
@@ -844,12 +844,12 @@ create_lineprops_area(GtkWidget *parent)
g_free(arrow_name);
dia_arrow_chooser_set_arrow(DIA_ARROW_CHOOSER(chooser), &arrow);
attributes_set_default_start_arrow(arrow);
- gtk_widget_set_tooltip_text(chooser, _("Arrow style at the beginning of new lines. Click to pick an
arrow, or set arrow parameters with Details\342\200\246"));
+ gtk_widget_set_tooltip_text(chooser, _("Arrow style at the beginning of new lines. Click to pick an
arrow, or set arrow parameters with Details…"));
gtk_widget_show(chooser);
chooser = dia_line_chooser_new(change_line_style, NULL);
gtk_wrap_box_pack(GTK_WRAP_BOX(parent), chooser, TRUE, TRUE, FALSE, TRUE);
- gtk_widget_set_tooltip_text (chooser, _("Line style for new lines. Click to pick a line style, or set
line style parameters with Details\342\200\246"));
+ gtk_widget_set_tooltip_text (chooser, _("Line style for new lines. Click to pick a line style, or set
line style parameters with Details…"));
style = persistence_register_integer("line-style", LINESTYLE_SOLID);
dash_length = persistence_register_real("dash-length", DEFAULT_LINESTYLE_DASHLEN);
dia_line_chooser_set_line_style(DIA_LINE_CHOOSER(chooser), style, dash_length);
@@ -865,7 +865,7 @@ create_lineprops_area(GtkWidget *parent)
attributes_set_default_end_arrow(arrow);
gtk_wrap_box_pack(GTK_WRAP_BOX(parent), chooser, FALSE, TRUE, FALSE, TRUE);
- gtk_widget_set_tooltip_text(chooser, _("Arrow style at the end of new lines. Click to pick an arrow, or
set arrow parameters with Details\342\200\246"));
+ gtk_widget_set_tooltip_text(chooser, _("Arrow style at the end of new lines. Click to pick an arrow, or
set arrow parameters with Details…"));
gtk_widget_show(chooser);
}
diff --git a/lib/diaarrowchooser.c b/lib/diaarrowchooser.c
index fb6d56af..daccce81 100644
--- a/lib/diaarrowchooser.c
+++ b/lib/diaarrowchooser.c
@@ -458,7 +458,7 @@ dia_arrow_chooser_new(gboolean left, DiaChangeArrowCallback callback,
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
gtk_widget_show(mi);
}
- mi = gtk_menu_item_new_with_label(_dia_translate("Details\342\200\246", NULL));
+ mi = gtk_menu_item_new_with_label(_dia_translate("Details…", NULL));
g_signal_connect(G_OBJECT(mi), "activate",
G_CALLBACK(dia_arrow_chooser_dialog_show), chooser);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
diff --git a/lib/dialinechooser.c b/lib/dialinechooser.c
index c27b6c0a..5e104a03 100644
--- a/lib/dialinechooser.c
+++ b/lib/dialinechooser.c
@@ -331,7 +331,7 @@ dia_line_chooser_init (DiaLineChooser *lchooser)
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
gtk_widget_show (mi);
}
- mi = gtk_menu_item_new_with_label(_("Details\342\200\246"));
+ mi = gtk_menu_item_new_with_label(_("Details…"));
g_signal_connect_swapped(G_OBJECT(mi), "activate",
G_CALLBACK(gtk_widget_show), lchooser->dialog);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
diff --git a/plug-ins/cairo/diacairo.c b/plug-ins/cairo/diacairo.c
index bef5c3a9..b8e6280f 100644
--- a/plug-ins/cairo/diacairo.c
+++ b/plug-ins/cairo/diacairo.c
@@ -171,7 +171,7 @@ static DiaCallbackFilter cb_clipboard = {
static DiaCallbackFilter cb_gtk_print = {
"FilePrintGTK",
- N_("Print (GTK) \342\200\246"),
+ N_("Print (GTK) …"),
"/InvisibleMenu/File/FilePrint",
cairo_print_callback,
(void*)OUTPUT_PDF
diff --git a/plug-ins/python/allsheets.py b/plug-ins/python/allsheets.py
index 99e3c907..46627788 100644
--- a/plug-ins/python/allsheets.py
+++ b/plug-ins/python/allsheets.py
@@ -79,6 +79,6 @@ def isheets_cb (data, flags) :
dia.message(0, "'" + path + "' saved.")
webbrowser.open('file://' + os.path.realpath(path))
-dia.register_action ("HelpInspectSheets", "Dia Sheets Inspection",
+dia.register_action ("HelpInspectSheets", "Dia _Sheets Inspection",
"/ToolboxMenu/Help/HelpExtensionStart",
isheets_cb)
diff --git a/plug-ins/python/arrange.py b/plug-ins/python/arrange.py
index 8a523df7..b18ba04b 100644
--- a/plug-ins/python/arrange.py
+++ b/plug-ins/python/arrange.py
@@ -121,6 +121,6 @@ def arrange_connected (data, flags) :
# fine due to Pythoninitializing the module only once
#
# \ingroup PyDia
-dia.register_callback ("Arrange Objects",
- "<Display>/Objects/Arrange",
+dia.register_callback ("Arrange _Objects",
+ "<Display>/Objects/Arrange",
arrange_connected)
diff --git a/plug-ins/python/autolayoutforce.py b/plug-ins/python/autolayoutforce.py
index c34cbe9a..ad2db8ae 100644
--- a/plug-ins/python/autolayoutforce.py
+++ b/plug-ins/python/autolayoutforce.py
@@ -120,6 +120,6 @@ def layout_force_cb (data, flags) :
diagram.flush()
print n, "iterations"
-dia.register_action ("LayoutForcePy", "Layout (force)",
- "/DisplayMenu/Test/TestExtensionStart",
+dia.register_action ("LayoutForcePy", "_Layout (force)",
+ "/DisplayMenu/Test/TestExtensionStart",
layout_force_cb)
diff --git a/plug-ins/python/bbox.py b/plug-ins/python/bbox.py
index 3839ed04..65fd1f9e 100644
--- a/plug-ins/python/bbox.py
+++ b/plug-ins/python/bbox.py
@@ -48,10 +48,10 @@ def annotate_cb (data, flags) :
dest.add_object (a)
-dia.register_action ("DrawBoundingbox", "Draw BoundingBox",
- "/DisplayMenu/Debug/DebugExtensionStart",
+dia.register_action ("DrawBoundingbox", "_Draw BoundingBox",
+ "/DisplayMenu/Debug/DebugExtensionStart",
bbox_cb)
-dia.register_action ("AnnotateMeasurements", "Annotate",
- "/DisplayMenu/Debug/DebugExtensionStart",
+dia.register_action ("AnnotateMeasurements", "_Annotate",
+ "/DisplayMenu/Debug/DebugExtensionStart",
annotate_cb)
diff --git a/plug-ins/python/debug_objects.py b/plug-ins/python/debug_objects.py
index 5c685274..b4232b40 100644
--- a/plug-ins/python/debug_objects.py
+++ b/plug-ins/python/debug_objects.py
@@ -24,10 +24,10 @@ def dia_debug_props_cb (data, flags) :
print "\t" + str(p)
# dia-python keeps a reference to the renderer class and uses it on demand
-dia.register_action ("DebugBoundingbox", "Dia BoundingBox Debugger",
- "/DisplayMenu/Debug/DebugExtensionStart",
+dia.register_action ("DebugBoundingbox", "Dia _BoundingBox Debugger",
+ "/DisplayMenu/Debug/DebugExtensionStart",
dia_debug_cb)
-dia.register_action ("DebugProperty", "Dia Property API Debugger",
- "/DisplayMenu/Debug/DebugExtensionStart",
+dia.register_action ("DebugProperty", "Dia _Property API Debugger",
+ "/DisplayMenu/Debug/DebugExtensionStart",
dia_debug_props_cb)
diff --git a/plug-ins/python/dia_rotate.py b/plug-ins/python/dia_rotate.py
index 0f3d83fd..871b54fe 100644
--- a/plug-ins/python/dia_rotate.py
+++ b/plug-ins/python/dia_rotate.py
@@ -120,6 +120,6 @@ def SimpleRotate(data, angle) :
def rotate_cb(data, flags) :
dlg = CRotateDialog(dia.active_display().diagram, data)
-dia.register_action ("ObjectsSimplerotation", "Simple Rotation",
- "/DisplayMenu/Objects/ObjectsExtensionStart",
+dia.register_action ("ObjectsSimplerotation", "Simple _Rotation",
+ "/DisplayMenu/Objects/ObjectsExtensionStart",
rotate_cb)
diff --git a/plug-ins/python/group_props.py b/plug-ins/python/group_props.py
index 189d4ced..de2ef41d 100644
--- a/plug-ins/python/group_props.py
+++ b/plug-ins/python/group_props.py
@@ -177,6 +177,6 @@ def dia_objects_props_cb (data, flags) :
except ImportError :
dia.message(0, "Dialog creation failed. Missing pygtk?")
-dia.register_action ("DialogsGroupproperties", "Dia Group Properties",
- "/DisplayMenu/Dialogs/DialogsExtensionStart",
+dia.register_action ("DialogsGroupproperties", "Dia _Group Properties",
+ "/DisplayMenu/Dialogs/DialogsExtensionStart",
dia_objects_props_cb)
diff --git a/plug-ins/python/gtkcons.py b/plug-ins/python/gtkcons.py
index 518167df..80edd21f 100755
--- a/plug-ins/python/gtkcons.py
+++ b/plug-ins/python/gtkcons.py
@@ -341,8 +341,8 @@ try :
gtk_console({'__builtins__': __builtins__, '__name__': '__main__',
'__doc__': None, 'dia': dia}, 'Python Dia Console')
- dia.register_action ("DialogsPythonconsole", "Python Console",
- "/DisplayMenu/Dialogs/DialogsExtensionStart",
+ dia.register_action ("DialogsPythonconsole", "_Python Console",
+ "/DisplayMenu/Dialogs/DialogsExtensionStart",
open_console)
except :
diff --git a/plug-ins/python/mark-cps.py b/plug-ins/python/mark-cps.py
index 720516af..8da280a0 100644
--- a/plug-ins/python/mark-cps.py
+++ b/plug-ins/python/mark-cps.py
@@ -66,5 +66,5 @@ def mark_cps (data, flags) :
adisp.diagram.flush()
-dia.register_action("DebugMarkConnectionPoints", "Mark Connection Points",
+dia.register_action("DebugMarkConnectionPoints", "_Mark Connection Points",
"/DisplayMenu/Debug/DebugExtensionStart", mark_cps)
diff --git a/plug-ins/python/pydiadoc.py b/plug-ins/python/pydiadoc.py
index 565fbf6e..ea11072d 100644
--- a/plug-ins/python/pydiadoc.py
+++ b/plug-ins/python/pydiadoc.py
@@ -258,12 +258,12 @@ def autodoc_html_cb (data, flags) :
dia.message(0, path + os.path.sep + "dia.html saved.")
webbrowser.open('file://' + os.path.realpath(path + os.path.sep + "dia.html"))
-dia.register_action ("HelpPydia2", "PyDia HTML Docs",
+dia.register_action ("HelpPydia2", "PyDia _HTML Docs",
"/ToolboxMenu/Help/HelpExtensionStart",
autodoc_html_cb)
-dia.register_action ("HelpPydia", "PyDia Docs",
+dia.register_action ("HelpPydia", "PyDia _Docs",
"/ToolboxMenu/Help/HelpExtensionStart",
autodoc_fresh_cb)
-dia.register_action ("UpdatePydia", "PyDia Docs Update",
+dia.register_action ("UpdatePydia", "PyDia Docs _Update",
"/DisplayMenu/Help/HelpExtensionStart",
autodoc_update_cb)
diff --git a/plug-ins/python/scascale.py b/plug-ins/python/scascale.py
index ea6eba05..d1854448 100644
--- a/plug-ins/python/scascale.py
+++ b/plug-ins/python/scascale.py
@@ -146,6 +146,6 @@ def SimpleScale(data, factor) :
def scale_cb(data, flags) :
dlg = CScaleDialog(dia.active_display().diagram, data)
-dia.register_action ("ObjectsSimplescaling", "Simple Scaling",
- "/DisplayMenu/Objects/ObjectsExtensionStart",
+dia.register_action ("ObjectsSimplescaling", "Simple _Scaling",
+ "/DisplayMenu/Objects/ObjectsExtensionStart",
scale_cb)
diff --git a/plug-ins/python/select_by.py b/plug-ins/python/select_by.py
index 632eb49d..4afadeb6 100644
--- a/plug-ins/python/select_by.py
+++ b/plug-ins/python/select_by.py
@@ -140,18 +140,18 @@ def select_by_size_cb (data, flags) :
d.flush()
-dia.register_action ("SelectByName", "Name",
- "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
+dia.register_action ("SelectByName", "_Name",
+ "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
select_by_name_cb)
-dia.register_action ("SelectByFillcolor", "Fill Color",
- "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
+dia.register_action ("SelectByFillcolor", "_Fill Color",
+ "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
select_by_fill_color_cb)
-dia.register_action ("SelectByLinecolor", "Line Color",
- "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
+dia.register_action ("SelectByLinecolor", "_Line Color",
+ "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
select_by_line_color_cb)
-dia.register_action ("SelectByTextcolor", "Text Color",
- "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
+dia.register_action ("SelectByTextcolor", "_Text Color",
+ "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
select_by_text_color_cb)
-dia.register_action ("SelectBySize", "Size",
- "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
+dia.register_action ("SelectBySize", "_Size",
+ "/DisplayMenu/Select/SelectBy/SelectByExtensionStart",
select_by_size_cb)
diff --git a/plug-ins/python/select_empty.py b/plug-ins/python/select_empty.py
index 34be2e9d..87f02879 100644
--- a/plug-ins/python/select_empty.py
+++ b/plug-ins/python/select_empty.py
@@ -25,6 +25,6 @@ def select_empty_cb (data, flags) :
or o.bounding_box.top == o.bounding_box.bottom :
diagram.select (o)
-dia.register_action ("SelectEmpty", "Empty",
- "/DisplayMenu/Select/By/SelectByExtensionStart",
+dia.register_action ("SelectEmpty", "_Empty",
+ "/DisplayMenu/Select/By/SelectByExtensionStart",
select_empty_cb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]