From: Kris Date: Sun, 24 Oct 2010 11:11:39 +0000 (+0200) Subject: Some UI fixes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=20c776272ccb933f5fc4e277b10ff1dd24baf161;p=inkscape.git Some UI fixes --- diff --git a/po/inkscape.pot b/po/inkscape.pot index 3cfdfeaca..01250dcb4 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-20 21:25+0200\n" +"POT-Creation-Date: 2010-10-24 12:55+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -7619,15 +7619,19 @@ msgid "Offsets" msgstr "" #: ../src/dialogs/find.cpp:685 ../src/ui/dialog/find.cpp:60 -msgid "_Text: " +msgid "_Text:" msgstr "" #: ../src/dialogs/find.cpp:685 ../src/ui/dialog/find.cpp:60 msgid "Find objects by their text content (exact or partial match)" msgstr "" -#: ../src/dialogs/find.cpp:686 ../src/ui/dialog/find.cpp:61 -msgid "_ID: " +#. Create the label for the object id +#: ../src/dialogs/find.cpp:686 ../src/dialogs/item-properties.cpp:120 +#: ../src/dialogs/item-properties.cpp:334 +#: ../src/dialogs/item-properties.cpp:443 +#: ../src/dialogs/item-properties.cpp:450 ../src/ui/dialog/find.cpp:61 +msgid "_ID:" msgstr "" #: ../src/dialogs/find.cpp:686 ../src/ui/dialog/find.cpp:61 @@ -7635,7 +7639,7 @@ msgid "Find objects by the value of the id attribute (exact or partial match)" msgstr "" #: ../src/dialogs/find.cpp:687 ../src/ui/dialog/find.cpp:62 -msgid "_Style: " +msgid "_Style:" msgstr "" #: ../src/dialogs/find.cpp:687 ../src/ui/dialog/find.cpp:62 @@ -7644,7 +7648,7 @@ msgid "" msgstr "" #: ../src/dialogs/find.cpp:688 ../src/ui/dialog/find.cpp:63 -msgid "_Attribute: " +msgid "_Attribute:" msgstr "" #: ../src/dialogs/find.cpp:688 ../src/ui/dialog/find.cpp:63 @@ -7702,14 +7706,6 @@ msgstr "" msgid "Select objects matching all of the fields you filled in" msgstr "" -#. Create the label for the object id -#: ../src/dialogs/item-properties.cpp:120 -#: ../src/dialogs/item-properties.cpp:334 -#: ../src/dialogs/item-properties.cpp:443 -#: ../src/dialogs/item-properties.cpp:450 -msgid "_Id" -msgstr "" - #: ../src/dialogs/item-properties.cpp:129 msgid "" "The id= attribute (only letters, digits, and the characters .-_: allowed)" @@ -7723,7 +7719,7 @@ msgstr "" #. Create the label for the object label #: ../src/dialogs/item-properties.cpp:152 -msgid "_Label" +msgid "_Label:" msgstr "" #: ../src/dialogs/item-properties.cpp:161 @@ -7732,7 +7728,7 @@ msgstr "" #. Create the label for the object title #: ../src/dialogs/item-properties.cpp:173 -msgid "_Title" +msgid "_Title:" msgstr "" #. Create the frame for the object description @@ -9212,7 +9208,7 @@ msgstr "" #: ../src/extension/internal/cairo-ps-out.cpp:323 #: ../src/extension/internal/cairo-ps-out.cpp:361 -#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:242 +#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:245 #: ../src/extension/internal/emf-win32-inout.cpp:2432 msgid "Convert texts to paths" msgstr "" @@ -9223,31 +9219,31 @@ msgstr "" #: ../src/extension/internal/cairo-ps-out.cpp:325 #: ../src/extension/internal/cairo-ps-out.cpp:363 -#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:244 +#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:247 msgid "Rasterize filter effects" msgstr "" #: ../src/extension/internal/cairo-ps-out.cpp:326 #: ../src/extension/internal/cairo-ps-out.cpp:364 -#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:245 +#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:248 msgid "Resolution for rasterization (dpi):" msgstr "" #: ../src/extension/internal/cairo-ps-out.cpp:327 #: ../src/extension/internal/cairo-ps-out.cpp:365 -#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:246 +#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:249 msgid "Export area is drawing" msgstr "" #: ../src/extension/internal/cairo-ps-out.cpp:328 #: ../src/extension/internal/cairo-ps-out.cpp:366 -#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:247 +#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:250 msgid "Export area is page" msgstr "" #: ../src/extension/internal/cairo-ps-out.cpp:329 #: ../src/extension/internal/cairo-ps-out.cpp:367 -#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:248 +#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:251 msgid "Limit export to the object with ID:" msgstr "" @@ -9267,11 +9263,15 @@ msgstr "" msgid "Restrict to PDF version:" msgstr "" -#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:240 -msgid "PDF 1.4" +#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:241 +msgid "PDF 1.5" msgstr "" #: ../src/extension/internal/cairo-renderer-pdf-out.cpp:243 +msgid "PDF 1.4" +msgstr "" + +#: ../src/extension/internal/cairo-renderer-pdf-out.cpp:246 msgid "PDF+LaTeX: Omit text in PDF, and create LaTeX file" msgstr "" @@ -13544,19 +13544,19 @@ msgstr "" msgid "Link without URI" msgstr "" -#: ../src/sp-ellipse.cpp:501 ../src/sp-ellipse.cpp:878 +#: ../src/sp-ellipse.cpp:503 ../src/sp-ellipse.cpp:880 msgid "Ellipse" msgstr "" -#: ../src/sp-ellipse.cpp:642 +#: ../src/sp-ellipse.cpp:644 msgid "Circle" msgstr "" -#: ../src/sp-ellipse.cpp:873 +#: ../src/sp-ellipse.cpp:875 msgid "Segment" msgstr "" -#: ../src/sp-ellipse.cpp:875 +#: ../src/sp-ellipse.cpp:877 msgid "Arc" msgstr "" @@ -13833,74 +13833,74 @@ msgid "" "One of the objects is not a path, cannot perform boolean operation." msgstr "" -#: ../src/splivarot.cpp:876 +#: ../src/splivarot.cpp:880 msgid "Select stroked path(s) to convert stroke to path." msgstr "" -#: ../src/splivarot.cpp:1219 +#: ../src/splivarot.cpp:1227 msgid "Convert stroke to path" msgstr "" #. TRANSLATORS: "to outline" means "to convert stroke to path" -#: ../src/splivarot.cpp:1222 +#: ../src/splivarot.cpp:1230 msgid "No stroked paths in the selection." msgstr "" -#: ../src/splivarot.cpp:1305 +#: ../src/splivarot.cpp:1313 msgid "Selected object is not a path, cannot inset/outset." msgstr "" -#: ../src/splivarot.cpp:1424 ../src/splivarot.cpp:1493 +#: ../src/splivarot.cpp:1432 ../src/splivarot.cpp:1501 msgid "Create linked offset" msgstr "" -#: ../src/splivarot.cpp:1425 ../src/splivarot.cpp:1494 +#: ../src/splivarot.cpp:1433 ../src/splivarot.cpp:1502 msgid "Create dynamic offset" msgstr "" -#: ../src/splivarot.cpp:1519 +#: ../src/splivarot.cpp:1527 msgid "Select path(s) to inset/outset." msgstr "" -#: ../src/splivarot.cpp:1737 +#: ../src/splivarot.cpp:1745 msgid "Outset path" msgstr "" -#: ../src/splivarot.cpp:1737 +#: ../src/splivarot.cpp:1745 msgid "Inset path" msgstr "" -#: ../src/splivarot.cpp:1739 +#: ../src/splivarot.cpp:1747 msgid "No paths to inset/outset in the selection." msgstr "" -#: ../src/splivarot.cpp:1917 +#: ../src/splivarot.cpp:1925 msgid "Simplifying paths (separately):" msgstr "" -#: ../src/splivarot.cpp:1919 +#: ../src/splivarot.cpp:1927 msgid "Simplifying paths:" msgstr "" -#: ../src/splivarot.cpp:1956 +#: ../src/splivarot.cpp:1964 #, c-format msgid "%s %d of %d paths simplified..." msgstr "" -#: ../src/splivarot.cpp:1968 +#: ../src/splivarot.cpp:1976 #, c-format msgid "%d paths simplified." msgstr "" -#: ../src/splivarot.cpp:1982 +#: ../src/splivarot.cpp:1990 msgid "Select path(s) to simplify." msgstr "" -#: ../src/splivarot.cpp:1996 +#: ../src/splivarot.cpp:2004 msgid "Simplify" msgstr "" -#: ../src/splivarot.cpp:1998 +#: ../src/splivarot.cpp:2006 msgid "No paths to simplify in the selection." msgstr "" diff --git a/src/dialogs/find.cpp b/src/dialogs/find.cpp index 54286b389..2e51ebff4 100644 --- a/src/dialogs/find.cpp +++ b/src/dialogs/find.cpp @@ -682,10 +682,10 @@ sp_find_dialog_old (void) GtkWidget *vb = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (dlg), vb); - sp_find_new_searchfield (dlg, vb, _("_Text: "), "text", tt, _("Find objects by their text content (exact or partial match)")); - sp_find_new_searchfield (dlg, vb, _("_ID: "), "id", tt, _("Find objects by the value of the id attribute (exact or partial match)")); - sp_find_new_searchfield (dlg, vb, _("_Style: "), "style", tt, _("Find objects by the value of the style attribute (exact or partial match)")); - sp_find_new_searchfield (dlg, vb, _("_Attribute: "), "attr", tt ,_("Find objects by the name of an attribute (exact or partial match)")); + sp_find_new_searchfield (dlg, vb, _("_Text:"), "text", tt, _("Find objects by their text content (exact or partial match)")); + sp_find_new_searchfield (dlg, vb, _("_ID:"), "id", tt, _("Find objects by the value of the id attribute (exact or partial match)")); + sp_find_new_searchfield (dlg, vb, _("_Style:"), "style", tt, _("Find objects by the value of the style attribute (exact or partial match)")); + sp_find_new_searchfield (dlg, vb, _("_Attribute:"), "attr", tt ,_("Find objects by the name of an attribute (exact or partial match)")); gtk_widget_show_all (vb); diff --git a/src/dialogs/item-properties.cpp b/src/dialogs/item-properties.cpp index abc45b44b..06b3f4d34 100644 --- a/src/dialogs/item-properties.cpp +++ b/src/dialogs/item-properties.cpp @@ -117,7 +117,7 @@ sp_item_widget_new (void) /* Create the label for the object id */ - l = gtk_label_new_with_mnemonic (_("_Id")); + l = gtk_label_new_with_mnemonic (_("_ID:")); gtk_misc_set_alignment (GTK_MISC (l), 1, 0.5); gtk_table_attach ( GTK_TABLE (t), l, 0, 1, 0, 1, (GtkAttachOptions)( GTK_SHRINK | GTK_FILL ), @@ -149,7 +149,7 @@ sp_item_widget_new (void) spw ); /* Create the label for the object label */ - l = gtk_label_new_with_mnemonic (_("_Label")); + l = gtk_label_new_with_mnemonic (_("_Label:")); gtk_misc_set_alignment (GTK_MISC (l), 1, 0.5); gtk_table_attach ( GTK_TABLE (t), l, 0, 1, 1, 2, (GtkAttachOptions)( GTK_SHRINK | GTK_FILL ), @@ -170,7 +170,7 @@ sp_item_widget_new (void) g_signal_connect ( G_OBJECT (tf), "activate", G_CALLBACK (sp_item_widget_label_changed), spw); /* Create the label for the object title */ - l = gtk_label_new_with_mnemonic (_("_Title")); + l = gtk_label_new_with_mnemonic (_("_Title:")); gtk_misc_set_alignment (GTK_MISC (l), 1, 0.5); gtk_table_attach ( GTK_TABLE (t), l, 0, 1, 2, 3, (GtkAttachOptions)( GTK_SHRINK | GTK_FILL ), @@ -331,7 +331,7 @@ sp_item_widget_setup ( SPWidget *spw, Inkscape::Selection *selection ) gtk_entry_set_text (GTK_ENTRY (w), obj->getId()); gtk_widget_set_sensitive (w, TRUE); w = GTK_WIDGET(gtk_object_get_data (GTK_OBJECT (spw), "id_label")); - gtk_label_set_markup_with_mnemonic (GTK_LABEL (w), _("_Id")); + gtk_label_set_markup_with_mnemonic (GTK_LABEL (w), _("_ID:")); /* Label */ w = GTK_WIDGET(gtk_object_get_data (GTK_OBJECT (spw), "label")); @@ -440,14 +440,14 @@ sp_item_widget_label_changed( GtkWidget */*widget*/, SPWidget *spw ) g_strcanon (id, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.:", '_'); GtkWidget *id_label = GTK_WIDGET(gtk_object_get_data (GTK_OBJECT (spw), "id_label")); if (!strcmp (id, item->getId())) { - gtk_label_set_markup_with_mnemonic (GTK_LABEL (id_label), _("_Id")); + gtk_label_set_markup_with_mnemonic (GTK_LABEL (id_label), _("_ID:")); } else if (!*id || !isalnum (*id)) { gtk_label_set_text (GTK_LABEL (id_label), _("Id invalid! ")); } else if (SP_ACTIVE_DOCUMENT->getObjectById(id) != NULL) { gtk_label_set_text (GTK_LABEL (id_label), _("Id exists! ")); } else { SPException ex; - gtk_label_set_markup_with_mnemonic (GTK_LABEL (id_label), _("_Id")); + gtk_label_set_markup_with_mnemonic (GTK_LABEL (id_label), _("_ID:")); SP_EXCEPTION_INIT (&ex); sp_object_setAttribute (SP_OBJECT (item), "id", id, &ex); sp_document_done (SP_ACTIVE_DOCUMENT, SP_VERB_DIALOG_ITEM, diff --git a/src/ui/dialog/find.cpp b/src/ui/dialog/find.cpp index 25ab999a5..7fad00f56 100644 --- a/src/ui/dialog/find.cpp +++ b/src/ui/dialog/find.cpp @@ -57,10 +57,10 @@ namespace Dialog { Find::Find() : UI::Widget::Panel("", "/dialogs/find", SP_VERB_DIALOG_FIND), - _entry_text(_("_Text: "), _("Find objects by their text content (exact or partial match)")), - _entry_id(_("_ID: "), _("Find objects by the value of the id attribute (exact or partial match)")), - _entry_style(_("_Style: "), _("Find objects by the value of the style attribute (exact or partial match)")), - _entry_attribute(_("_Attribute: "), _("Find objects by the name of an attribute (exact or partial match)")), + _entry_text(_("_Text:"), _("Find objects by their text content (exact or partial match)")), + _entry_id(_("_ID:"), _("Find objects by the value of the id attribute (exact or partial match)")), + _entry_style(_("_Style:"), _("Find objects by the value of the style attribute (exact or partial match)")), + _entry_attribute(_("_Attribute:"), _("Find objects by the name of an attribute (exact or partial match)")), _check_search_selection(_("Search in s_election"), _("Limit search to the current selection")), _check_search_layer(_("Search in current _layer"), _("Limit search to the current layer")), _check_include_hidden(_("Include _hidden"), _("Include hidden objects in search")),