From ee4b4652d889e8043b88855596f9fc6cdc7279d4 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 27 Oct 2010 23:36:50 +0200 Subject: [PATCH] UI: punctiation and mnemonics in preferences, export and ico preview dialog --- po/inkscape.pot | 42 ++++++++++++++------------ src/dialogs/export.cpp | 2 +- src/ui/dialog/icon-preview.cpp | 2 +- src/ui/dialog/inkscape-preferences.cpp | 26 ++++++++-------- 4 files changed, 38 insertions(+), 34 deletions(-) diff --git a/po/inkscape.pot b/po/inkscape.pot index 789ae4701..5f1c6b74a 100644 --- a/po/inkscape.pot +++ b/po/inkscape.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: inkscape-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2010-10-25 11:54+0200\n" +"POT-Creation-Date: 2010-10-27 23:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2896,7 +2896,6 @@ msgstr "" #: ../share/extensions/printing-marks.inx.h:16 #: ../src/ui/dialog/align-and-distribute.cpp:1031 #: ../src/ui/dialog/filedialogimpl-gtkmm.cpp:1414 -#: ../src/ui/dialog/icon-preview.cpp:230 #: ../src/widgets/desktop-widget.cpp:1686 msgid "Selection" msgstr "" @@ -6478,15 +6477,15 @@ msgstr "" msgid "Old paint (bitmap)" msgstr "" -#: ../src/conn-avoid-ref.cpp:237 +#: ../src/conn-avoid-ref.cpp:238 msgid "Add a new connection point" msgstr "" -#: ../src/conn-avoid-ref.cpp:262 +#: ../src/conn-avoid-ref.cpp:263 msgid "Move a connection point" msgstr "" -#: ../src/conn-avoid-ref.cpp:282 +#: ../src/conn-avoid-ref.cpp:283 msgid "Remove a connection point" msgstr "" @@ -7367,7 +7366,7 @@ msgid "Export area" msgstr "" #: ../src/dialogs/export.cpp:285 -msgid "Units:" +msgid "_Units:" msgstr "" #: ../src/dialogs/export.cpp:313 @@ -16725,6 +16724,11 @@ msgstr "" msgid "Actual Size:" msgstr "" +#: ../src/ui/dialog/icon-preview.cpp:230 +msgctxt "Icon preview window" +msgid "Sele_ction" +msgstr "" + #: ../src/ui/dialog/icon-preview.cpp:232 msgid "Selection only or whole document" msgstr "" @@ -17031,7 +17035,7 @@ msgid "" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:359 -msgid "Create new objects with:" +msgid "Style of new objects" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:361 @@ -17250,7 +17254,7 @@ msgid "Show temporary outline even when a path is selected for editing" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:459 -msgid "Flash time" +msgid "Flash time:" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:459 @@ -17288,7 +17292,7 @@ msgid "Tweak" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:468 -msgid "Paint objects with:" +msgid "Object paint style" msgstr "" #. Spray @@ -17418,7 +17422,7 @@ msgid "Aggressive" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:589 -msgid "Saving window geometry (size and position):" +msgid "Saving window geometry (size and position)" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:591 @@ -17438,7 +17442,7 @@ msgid "" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:597 -msgid "Dialog behavior (requires restart):" +msgid "Dialog behavior (requires restart)" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:604 @@ -17458,7 +17462,7 @@ msgid "Same as Normal but may work better with some window managers" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:615 -msgid "Dialog Transparency:" +msgid "Dialog Transparency" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:617 @@ -17474,7 +17478,7 @@ msgid "Time of opacity change animation:" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:624 -msgid "Miscellaneous:" +msgid "Miscellaneous" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:627 @@ -17586,7 +17590,7 @@ msgid "" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:681 -msgid "Before applying clippath/mask:" +msgid "Before applying" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:683 @@ -17614,7 +17618,7 @@ msgid "Apply clippath/mask to group containing all objects" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:696 -msgid "After releasing clippath/mask:" +msgid "After releasing" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:698 @@ -17675,7 +17679,7 @@ msgid "Move patterns (in fill or stroke) along with the objects" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:722 -msgid "Store transformation:" +msgid "Store transformation" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:724 @@ -17720,7 +17724,7 @@ msgid "Lowest quality (fastest)" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:745 -msgid "Gaussian blur quality for display:" +msgid "Gaussian blur quality for display" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:747 @@ -17751,7 +17755,7 @@ msgid "Lowest quality (considerable artifacts), but display is fastest" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:769 -msgid "Filter effects quality for display:" +msgid "Filter effects quality for display" msgstr "" #. show infobox @@ -17804,7 +17808,7 @@ msgid "Deselect upon layer change" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:804 -msgid "Ctrl+A, Tab, Shift+Tab:" +msgid "Ctrl+A, Tab, Shift+Tab" msgstr "" #: ../src/ui/dialog/inkscape-preferences.cpp:806 diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 696f38b77..661eb854f 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -282,7 +282,7 @@ sp_export_dialog_area_box (GtkWidget * dlg) if (desktop) sp_unit_selector_set_unit (SP_UNIT_SELECTOR(us->gobj()), sp_desktop_namedview(desktop)->doc_units); unitbox->pack_end(*us, false, false, 0); - Gtk::Label* l = new Gtk::Label(_("Units:")); + Gtk::Label* l = new Gtk::Label(_("_Units:")); unitbox->pack_end(*l, false, false, 3); gtk_object_set_data (GTK_OBJECT (dlg), "units", us->gobj()); diff --git a/src/ui/dialog/icon-preview.cpp b/src/ui/dialog/icon-preview.cpp index cbd276994..a9c338151 100644 --- a/src/ui/dialog/icon-preview.cpp +++ b/src/ui/dialog/icon-preview.cpp @@ -227,7 +227,7 @@ IconPreviewPanel::IconPreviewPanel() : splitter.pack2( *actuals, false, false ); - selectionButton = new Gtk::CheckButton(_("Selection")); // , GTK_RESPONSE_APPLY + selectionButton = new Gtk::CheckButton(C_("Icon preview window", "Sele_ction"), true);//selectionButton = (Gtk::ToggleButton*) gtk_check_button_new_with_mnemonic(_("_Selection")); // , GTK_RESPONSE_APPLY magBox->pack_start( *selectionButton, Gtk::PACK_SHRINK ); tips.set_tip((*selectionButton), _("Selection only or whole document")); selectionButton->signal_clicked().connect( sigc::mem_fun(*this, &IconPreviewPanel::modeToggled) ); diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 5e1bf6b5b..99f88e8dd 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -356,7 +356,7 @@ void InkscapePreferences::AddNewObjectsStyle(DialogPage &p, Glib::ustring const if (banner) p.add_group_header(banner); else - p.add_group_header( _("Create new objects with:")); + p.add_group_header( _("Style of new objects")); PrefRadioButton* current = Gtk::manage( new PrefRadioButton); current->init ( _("Last used style"), prefs_path + "/usecurrent", 1, true, 0); p.add_line( true, "", *current, "", @@ -456,7 +456,7 @@ void InkscapePreferences::initPageTools() _t_node_pathflash_selected.init ( _("Show temporary outline for selected paths"), "/tools/nodes/pathflash_selected", false); _page_node.add_line( true, "", _t_node_pathflash_selected, "", _("Show temporary outline even when a path is selected for editing")); _t_node_pathflash_timeout.init("/tools/nodes/pathflash_timeout", 0, 10000.0, 100.0, 100.0, 1000.0, true, false); - _page_node.add_line( false, _("Flash time"), _t_node_pathflash_timeout, "ms", _("Specifies how long the path outline will be visible after a mouse-over (in milliseconds); specify 0 to have the outline shown until mouse leaves the path"), false); + _page_node.add_line( false, _("Flash time:"), _t_node_pathflash_timeout, "ms", _("Specifies how long the path outline will be visible after a mouse-over (in milliseconds); specify 0 to have the outline shown until mouse leaves the path"), false); _page_node.add_group_header(_("Editing preferences")); _t_node_single_node_transform_handles.init(_("Show transform handles for single nodes"), "/tools/nodes/single_node_transform_handles", false); _page_node.add_line( true, "", _t_node_single_node_transform_handles, "", _("Show transform handles even when only a single node is selected")); @@ -465,7 +465,7 @@ void InkscapePreferences::initPageTools() //Tweak this->AddPage(_page_tweak, _("Tweak"), iter_tools, PREFS_PAGE_TOOLS_TWEAK); - this->AddNewObjectsStyle(_page_tweak, "/tools/tweak", _("Paint objects with:")); + this->AddNewObjectsStyle(_page_tweak, "/tools/tweak", _("Object paint style")); AddSelcueCheckbox(_page_tweak, "/tools/tweak", true); AddGradientCheckbox(_page_tweak, "/tools/tweak", false); @@ -586,7 +586,7 @@ void InkscapePreferences::initPageWindows() _win_ontop_normal.init ( _("Normal"), "/options/transientpolicy/value", 1, true, &_win_ontop_none); _win_ontop_agressive.init ( _("Aggressive"), "/options/transientpolicy/value", 2, false, &_win_ontop_none); - _page_windows.add_group_header( _("Saving window geometry (size and position):")); + _page_windows.add_group_header( _("Saving window geometry (size and position)")); _page_windows.add_line( true, "", _win_save_geom_off, "", _("Let the window manager determine placement of all windows")); _page_windows.add_line( true, "", _win_save_geom_prefs, "", @@ -594,7 +594,7 @@ void InkscapePreferences::initPageWindows() _page_windows.add_line( true, "", _win_save_geom, "", _("Save and restore window geometry for each document (saves geometry in the document)")); - _page_windows.add_group_header( _("Dialog behavior (requires restart):")); + _page_windows.add_group_header( _("Dialog behavior (requires restart)")); _page_windows.add_line( true, "", _win_dockable, "", _("Dockable")); _page_windows.add_line( true, "", _win_floating, "", @@ -612,7 +612,7 @@ void InkscapePreferences::initPageWindows() #endif #if GTK_VERSION_GE(2, 12) - _page_windows.add_group_header( _("Dialog Transparency:")); + _page_windows.add_group_header( _("Dialog Transparency")); _win_trans_focus.init("/dialogs/transparency/on-focus", 0.5, 1.0, 0.01, 0.1, 1.0, false, false); _page_windows.add_line( true, _("Opacity when focused:"), _win_trans_focus, "", ""); _win_trans_blur.init("/dialogs/transparency/on-blur", 0.0, 1.0, 0.01, 0.1, 0.5, false, false); @@ -621,7 +621,7 @@ void InkscapePreferences::initPageWindows() _page_windows.add_line( true, _("Time of opacity change animation:"), _win_trans_time, "ms", ""); #endif - _page_windows.add_group_header( _("Miscellaneous:")); + _page_windows.add_group_header( _("Miscellaneous")); #ifndef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs _page_windows.add_line( false, "", _win_hide_task, "", _("Whether dialog windows are to be hidden in the window manager taskbar")); @@ -678,7 +678,7 @@ void InkscapePreferences::initPageMasks() _page_mask.add_line(true, "", _mask_mask_remove, "", _("After applying, remove the object used as the clipping path or mask from the drawing")); - _page_mask.add_group_header( _("Before applying clippath/mask:")); + _page_mask.add_group_header( _("Before applying")); _mask_grouping_none.init( _("Do not group clipped/masked objects"), "/options/maskobject/grouping", PREFS_MASKOBJECT_GROUPING_NONE, true, 0); _mask_grouping_separate.init( _("Enclose every clipped/masked object in its own group"), "/options/maskobject/grouping", PREFS_MASKOBJECT_GROUPING_SEPARATE, false, &_mask_grouping_none); @@ -693,7 +693,7 @@ void InkscapePreferences::initPageMasks() _page_mask.add_line(true, "", _mask_grouping_all, "", _("Apply clippath/mask to group containing all objects")); - _page_mask.add_group_header( _("After releasing clippath/mask:")); + _page_mask.add_group_header( _("After releasing")); _mask_ungrouping.init ( _("Ungroup automatically created groups"), "/options/maskobject/ungrouping", true); _page_mask.add_line(true, "", _mask_ungrouping, "", @@ -719,7 +719,7 @@ void InkscapePreferences::initPageTransforms() _("Move gradients (in fill or stroke) along with the objects")); _page_transforms.add_line( false, "", _trans_pattern, "", _("Move patterns (in fill or stroke) along with the objects")); - _page_transforms.add_group_header( _("Store transformation:")); + _page_transforms.add_group_header( _("Store transformation")); _page_transforms.add_line( true, "", _trans_optimized, "", _("If possible, apply transformation to objects without adding a transform= attribute")); _page_transforms.add_line( true, "", _trans_preserved, "", @@ -742,7 +742,7 @@ void InkscapePreferences::initPageFilters() _blur_quality_worst.init ( _("Lowest quality (fastest)"), "/options/blurquality/value", BLUR_QUALITY_WORST, false, &_blur_quality_best); - _page_filters.add_group_header( _("Gaussian blur quality for display:")); + _page_filters.add_group_header( _("Gaussian blur quality for display")); _page_filters.add_line( true, "", _blur_quality_best, "", _("Best quality, but display may be very slow at high zooms (bitmap export always uses best quality)")); _page_filters.add_line( true, "", _blur_quality_better, "", @@ -766,7 +766,7 @@ void InkscapePreferences::initPageFilters() _filter_quality_worst.init ( _("Lowest quality (fastest)"), "/options/filterquality/value", Inkscape::Filters::FILTER_QUALITY_WORST, false, &_filter_quality_best); - _page_filters.add_group_header( _("Filter effects quality for display:")); + _page_filters.add_group_header( _("Filter effects quality for display")); _page_filters.add_line( true, "", _filter_quality_best, "", _("Best quality, but display may be very slow at high zooms (bitmap export always uses best quality)")); _page_filters.add_line( true, "", _filter_quality_better, "", @@ -801,7 +801,7 @@ void InkscapePreferences::initPageSelecting() _sel_locked.init ( _("Ignore locked objects and layers"), "/options/kbselection/onlysensitive", true); _sel_layer_deselects.init ( _("Deselect upon layer change"), "/options/selection/layerdeselect", true); - _page_select.add_group_header( _("Ctrl+A, Tab, Shift+Tab:")); + _page_select.add_group_header( _("Ctrl+A, Tab, Shift+Tab")); _page_select.add_line( true, "", _sel_all, "", _("Make keyboard selection commands work on objects in all layers")); _page_select.add_line( true, "", _sel_current, "", -- 2.30.2