From 64b197f1603bda6fa8caa8d9e565677bc195dca8 Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Sat, 18 Jul 2009 10:01:28 +0000 Subject: [PATCH] Fix for bug LP #400985 (3 strings in UI are not translatable) --- po/inkscape.pot | 183 +++++++++++++++++++++------------ src/ui/view/edit-widget.cpp | 6 +- src/widgets/desktop-widget.cpp | 6 +- 3 files changed, 121 insertions(+), 74 deletions(-) diff --git a/po/inkscape.pot b/po/inkscape.pot index b39ffe7b5..b01fa8410 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: 2009-07-15 06:44+0200\n" +"POT-Creation-Date: 2009-07-18 11:56+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -139,7 +139,6 @@ msgstr "" #: ../share/filters/filters.svg.h:110 ../share/filters/filters.svg.h:116 #: ../share/filters/filters.svg.h:117 ../share/filters/filters.svg.h:119 #: ../share/filters/filters.svg.h:123 ../share/filters/filters.svg.h:177 -#: ../share/filters/filters.svg.h:207 msgid "ABCs" msgstr "" @@ -210,6 +209,7 @@ msgstr "" #: ../share/filters/filters.svg.h:17 ../share/filters/filters.svg.h:44 #: ../share/filters/filters.svg.h:107 ../share/filters/filters.svg.h:111 #: ../share/filters/filters.svg.h:113 ../share/filters/filters.svg.h:183 +#: ../share/filters/filters.svg.h:207 msgid "Distort" msgstr "" @@ -1020,13 +1020,12 @@ msgid "HSL Bumps, alpha" msgstr "" #: ../share/filters/filters.svg.h:104 ../share/filters/filters.svg.h:105 -#: ../share/filters/filters.svg.h:168 ../share/filters/filters.svg.h:174 -#: ../share/filters/filters.svg.h:175 ../share/filters/filters.svg.h:188 -#: ../share/filters/filters.svg.h:189 ../share/filters/filters.svg.h:190 -#: ../share/filters/filters.svg.h:199 ../share/filters/filters.svg.h:201 -#: ../share/filters/filters.svg.h:202 ../share/filters/filters.svg.h:204 -#: ../share/filters/filters.svg.h:206 -msgid "Mask and transparency effects" +#: ../share/filters/filters.svg.h:174 ../share/filters/filters.svg.h:175 +#: ../share/filters/filters.svg.h:188 ../share/filters/filters.svg.h:189 +#: ../share/filters/filters.svg.h:190 ../share/filters/filters.svg.h:199 +#: ../share/filters/filters.svg.h:201 ../share/filters/filters.svg.h:202 +#: ../share/filters/filters.svg.h:204 ../share/filters/filters.svg.h:206 +msgid "Image effects, transparent" msgstr "" #: ../share/filters/filters.svg.h:104 @@ -1493,10 +1492,13 @@ msgstr "" msgid "Light areas turn to black" msgstr "" -#. Eraser #: ../share/filters/filters.svg.h:168 -#: ../src/ui/dialog/inkscape-preferences.cpp:510 ../src/verbs.cpp:2536 -msgid "Eraser" +msgid "Light eraser" +msgstr "" + +#: ../share/filters/filters.svg.h:168 ../share/filters/filters.svg.h:208 +#: ../share/filters/filters.svg.h:209 ../share/filters/filters.svg.h:210 +msgid "Transparency utilities" msgstr "" #: ../share/filters/filters.svg.h:168 @@ -1814,6 +1816,31 @@ msgstr "" msgid "Something like a water noise" msgstr "" +#: ../share/filters/filters.svg.h:208 +msgid "Monochrome positive" +msgstr "" + +#: ../share/filters/filters.svg.h:208 +msgid "Convert to a colorizable transparent positive" +msgstr "" + +#: ../share/filters/filters.svg.h:209 +msgid "Monochrome negative" +msgstr "" + +#: ../share/filters/filters.svg.h:209 +msgid "Convert to a colorizable transparent negative" +msgstr "" + +#: ../share/filters/filters.svg.h:210 +msgid "Light eraser, negative" +msgstr "" + +#: ../share/filters/filters.svg.h:210 +msgid "" +"Invert and make the lightest parts of the object progressively transparent" +msgstr "" + #: ../share/patterns/patterns.svg.h:2 msgid "Stripes 1:1" msgstr "" @@ -2081,20 +2108,20 @@ msgstr "" msgid "No next zoom." msgstr "" -#: ../src/desktop-events.cpp:201 +#: ../src/desktop-events.cpp:205 msgid "Create guide" msgstr "" -#: ../src/desktop-events.cpp:266 ../src/desktop-events.cpp:426 -#: ../src/ui/dialog/guides.cpp:125 -msgid "Delete guide" +#: ../src/desktop-events.cpp:431 +msgid "Move guide" msgstr "" -#: ../src/desktop-events.cpp:419 -msgid "Move guide" +#: ../src/desktop-events.cpp:438 ../src/desktop-events.cpp:485 +#: ../src/ui/dialog/guides.cpp:125 +msgid "Delete guide" msgstr "" -#: ../src/desktop-events.cpp:455 +#: ../src/desktop-events.cpp:465 #, c-format msgid "Guideline: %s" msgstr "" @@ -3331,12 +3358,14 @@ msgstr "" #: ../src/dialogs/object-attributes.cpp:51 #: ../src/dialogs/object-attributes.cpp:59 ../src/ui/dialog/guides.cpp:43 +#: ../src/ui/view/edit-widget.cpp:1074 ../src/widgets/desktop-widget.cpp:502 #: ../src/widgets/toolbox.cpp:1472 msgid "X:" msgstr "" #: ../src/dialogs/object-attributes.cpp:52 #: ../src/dialogs/object-attributes.cpp:60 ../src/ui/dialog/guides.cpp:44 +#: ../src/ui/view/edit-widget.cpp:1075 ../src/widgets/desktop-widget.cpp:505 #: ../src/widgets/toolbox.cpp:1490 msgid "Y:" msgstr "" @@ -9465,24 +9494,25 @@ msgstr[1] "" msgid "Guides Around Page" msgstr "" -#: ../src/sp-guide.cpp:418 +#: ../src/sp-guide.cpp:421 msgid "" -"drag to move, Shift+drag to rotate, Ctrl+click to delete" +"Shift+drag to rotate, Ctrl+drag to move origin, Del to " +"delete" msgstr "" -#: ../src/sp-guide.cpp:422 +#: ../src/sp-guide.cpp:426 #, c-format -msgid "vertical, at %s; %s" +msgid "vertical, at %s" msgstr "" -#: ../src/sp-guide.cpp:425 +#: ../src/sp-guide.cpp:429 #, c-format -msgid "horizontal, at %s; %s" +msgid "horizontal, at %s" msgstr "" -#: ../src/sp-guide.cpp:430 +#: ../src/sp-guide.cpp:434 #, c-format -msgid "at %d degrees, through (%s,%s); %s" +msgid "at %d degrees, through (%s,%s)" msgstr "" #: ../src/sp-image.cpp:1128 @@ -10191,7 +10221,7 @@ msgstr "" msgid "%s. Drag to move." msgstr "" -#: ../src/tweak-context.cpp:215 +#: ../src/tweak-context.cpp:214 #, c-format msgid "%s. Drag or click to move in; with Shift to move out." msgstr "" @@ -10201,112 +10231,112 @@ msgstr "" msgid "%s. Drag or click to move randomly." msgstr "" -#: ../src/tweak-context.cpp:221 +#: ../src/tweak-context.cpp:222 #, c-format msgid "%s. Drag or click to scale down; with Shift to scale up." msgstr "" -#: ../src/tweak-context.cpp:224 +#: ../src/tweak-context.cpp:226 #, c-format msgid "" "%s. Drag or click to rotate clockwise; with Shift, " "counterclockwise." msgstr "" -#: ../src/tweak-context.cpp:227 +#: ../src/tweak-context.cpp:230 #, c-format msgid "%s. Drag or click to duplicate; with Shift, delete." msgstr "" -#: ../src/tweak-context.cpp:230 +#: ../src/tweak-context.cpp:234 #, c-format msgid "%s. Drag to push paths." msgstr "" -#: ../src/tweak-context.cpp:234 +#: ../src/tweak-context.cpp:238 #, c-format msgid "%s. Drag or click to inset paths; with Shift to outset." msgstr "" -#: ../src/tweak-context.cpp:242 +#: ../src/tweak-context.cpp:246 #, c-format msgid "%s. Drag or click to attract paths; with Shift to repel." msgstr "" -#: ../src/tweak-context.cpp:250 +#: ../src/tweak-context.cpp:254 #, c-format msgid "%s. Drag or click to roughen paths." msgstr "" -#: ../src/tweak-context.cpp:254 +#: ../src/tweak-context.cpp:258 #, c-format msgid "%s. Drag or click to paint objects with color." msgstr "" -#: ../src/tweak-context.cpp:257 +#: ../src/tweak-context.cpp:262 #, c-format msgid "%s. Drag or click to randomize colors." msgstr "" -#: ../src/tweak-context.cpp:261 +#: ../src/tweak-context.cpp:266 #, c-format msgid "" "%s. Drag or click to increase blur; with Shift to decrease." msgstr "" -#: ../src/tweak-context.cpp:1218 +#: ../src/tweak-context.cpp:1223 msgid "Nothing selected! Select objects to tweak." msgstr "" -#: ../src/tweak-context.cpp:1254 +#: ../src/tweak-context.cpp:1259 msgid "Move tweak" msgstr "" -#: ../src/tweak-context.cpp:1258 +#: ../src/tweak-context.cpp:1263 msgid "Move in/out tweak" msgstr "" -#: ../src/tweak-context.cpp:1262 +#: ../src/tweak-context.cpp:1267 msgid "Move jitter tweak" msgstr "" -#: ../src/tweak-context.cpp:1266 +#: ../src/tweak-context.cpp:1271 msgid "Scale tweak" msgstr "" -#: ../src/tweak-context.cpp:1270 +#: ../src/tweak-context.cpp:1275 msgid "Rotate tweak" msgstr "" -#: ../src/tweak-context.cpp:1274 +#: ../src/tweak-context.cpp:1279 msgid "Duplicate/delete tweak" msgstr "" -#: ../src/tweak-context.cpp:1278 +#: ../src/tweak-context.cpp:1283 msgid "Push path tweak" msgstr "" -#: ../src/tweak-context.cpp:1282 +#: ../src/tweak-context.cpp:1287 msgid "Shrink/grow path tweak" msgstr "" -#: ../src/tweak-context.cpp:1286 +#: ../src/tweak-context.cpp:1291 msgid "Attract/repel path tweak" msgstr "" -#: ../src/tweak-context.cpp:1290 +#: ../src/tweak-context.cpp:1295 msgid "Roughen path tweak" msgstr "" -#: ../src/tweak-context.cpp:1294 +#: ../src/tweak-context.cpp:1299 msgid "Color paint tweak" msgstr "" -#: ../src/tweak-context.cpp:1298 +#: ../src/tweak-context.cpp:1303 msgid "Color jitter tweak" msgstr "" -#: ../src/tweak-context.cpp:1302 +#: ../src/tweak-context.cpp:1307 msgid "Blur tweak" msgstr "" @@ -12409,6 +12439,11 @@ msgstr "" msgid "Paint Bucket" msgstr "" +#. Eraser +#: ../src/ui/dialog/inkscape-preferences.cpp:510 ../src/verbs.cpp:2536 +msgid "Eraser" +msgstr "" + #. LPETool #: ../src/ui/dialog/inkscape-preferences.cpp:514 ../src/verbs.cpp:2538 msgid "LPE Tool" @@ -14729,6 +14764,10 @@ msgstr "" msgid "Cursor coordinates" msgstr "" +#: ../src/ui/view/edit-widget.cpp:1082 ../src/widgets/desktop-widget.cpp:516 +msgid "Z:" +msgstr "" + #: ../src/ui/view/edit-widget.cpp:1089 msgid "" "Welcome to Inkscape! Use shape or drawing tools to create objects; " @@ -15245,45 +15284,45 @@ msgstr "" msgid "100% (opaque)" msgstr "" -#: ../src/ui/widget/selected-style.cpp:1277 +#: ../src/ui/widget/selected-style.cpp:1278 msgid "Adjust saturation" msgstr "" -#: ../src/ui/widget/selected-style.cpp:1279 +#: ../src/ui/widget/selected-style.cpp:1280 #, c-format msgid "" "Adjusting saturation: was %.3g, now %.3g (diff %.3g); with " "Ctrl to adjust lightness, without modifiers to adjust hue" msgstr "" -#: ../src/ui/widget/selected-style.cpp:1283 +#: ../src/ui/widget/selected-style.cpp:1284 msgid "Adjust lightness" msgstr "" -#: ../src/ui/widget/selected-style.cpp:1285 +#: ../src/ui/widget/selected-style.cpp:1286 #, c-format msgid "" "Adjusting lightness: was %.3g, now %.3g (diff %.3g); with " "Shift to adjust saturation, without modifiers to adjust hue" msgstr "" -#: ../src/ui/widget/selected-style.cpp:1289 +#: ../src/ui/widget/selected-style.cpp:1290 msgid "Adjust hue" msgstr "" -#: ../src/ui/widget/selected-style.cpp:1291 +#: ../src/ui/widget/selected-style.cpp:1292 #, c-format msgid "" "Adjusting hue: was %.3g, now %.3g (diff %.3g); with Shift to adjust saturation, with Ctrl to adjust lightness" msgstr "" -#: ../src/ui/widget/selected-style.cpp:1400 -#: ../src/ui/widget/selected-style.cpp:1414 +#: ../src/ui/widget/selected-style.cpp:1401 +#: ../src/ui/widget/selected-style.cpp:1415 msgid "Adjust stroke width" msgstr "" -#: ../src/ui/widget/selected-style.cpp:1401 +#: ../src/ui/widget/selected-style.cpp:1402 #, c-format msgid "Adjusting stroke width: was %.3g, now %.3g (diff %.3g)" msgstr "" @@ -19603,29 +19642,37 @@ msgid "" "Try using the procedure Path | Object to Path." msgstr "" -#: ../share/extensions/polyhedron_3d.py:58 +#: ../share/extensions/polyhedron_3d.py:60 msgid "" "Failed to import the numpy module. This module is required by this " "extension. Please install them and try again. On a Debian-like system this " "can be done with the command, sudo apt-get install python-numpy." msgstr "" -#: ../share/extensions/polyhedron_3d.py:329 -msgid "No face data found in specified file\n" +#: ../share/extensions/polyhedron_3d.py:331 +msgid "No face data found in specified file." +msgstr "" + +#: ../share/extensions/polyhedron_3d.py:332 +msgid "Try selecting \"Edge Specified\" in the Model File tab.\n" +msgstr "" + +#: ../share/extensions/polyhedron_3d.py:338 +msgid "No edge data found in specified file." msgstr "" -#: ../share/extensions/polyhedron_3d.py:335 -msgid "No edge data found in specified file\n" +#: ../share/extensions/polyhedron_3d.py:339 +msgid "Try selecting \"Face Specified\" in the Model File tab.\n" msgstr "" #. we cannot generate a list of faces from the edges without a lot of computation -#: ../share/extensions/polyhedron_3d.py:510 +#: ../share/extensions/polyhedron_3d.py:514 msgid "" "Face Data Not Found. Ensure file contains face data, and check the file is " "imported as \"Face-Specified\" under the \"Model File\" tab.\n" msgstr "" -#: ../share/extensions/polyhedron_3d.py:512 +#: ../share/extensions/polyhedron_3d.py:516 msgid "Internal Error. No view type selected\n" msgstr "" diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp index b12d5adf7..756f4df73 100644 --- a/src/ui/view/edit-widget.cpp +++ b/src/ui/view/edit-widget.cpp @@ -1071,15 +1071,15 @@ EditWidget::initStatusbar() _coord_eventbox.add (_coord_status); _tooltips.set_tip (_coord_eventbox, _("Cursor coordinates")); _coord_status.attach (*new Gtk::VSeparator(), 0,1, 0,2, Gtk::FILL,Gtk::FILL, 0,0); - _coord_status.attach (*new Gtk::Label("X:", 0.0, 0.5), 1,2, 0,1, Gtk::FILL,Gtk::FILL, 0,0); - _coord_status.attach (*new Gtk::Label("Y:", 0.0, 0.5), 1,2, 1,2, Gtk::FILL,Gtk::FILL, 0,0); + _coord_status.attach (*new Gtk::Label(_("X:"), 0.0, 0.5), 1,2, 0,1, Gtk::FILL,Gtk::FILL, 0,0); + _coord_status.attach (*new Gtk::Label(_("Y:"), 0.0, 0.5), 1,2, 1,2, Gtk::FILL,Gtk::FILL, 0,0); _coord_status_x.set_text ("0.0"); _coord_status_x.set_alignment (0.0, 0.5); _coord_status_y.set_text ("0.0"); _coord_status_y.set_alignment (0.0, 0.5); _coord_status.attach (_coord_status_x, 2,3, 0,1, Gtk::FILL,Gtk::FILL, 0,0); _coord_status.attach (_coord_status_y, 2,3, 1,2, Gtk::FILL,Gtk::FILL, 0,0); - _coord_status.attach (*new Gtk::Label("Z:", 0.0, 0.5), 3,4, 0,2, Gtk::FILL,Gtk::FILL, 0,0); + _coord_status.attach (*new Gtk::Label(_("Z:"), 0.0, 0.5), 3,4, 0,2, Gtk::FILL,Gtk::FILL, 0,0); _coord_status.attach (_zoom_status, 4,5, 0,2, Gtk::FILL,Gtk::FILL, 0,0); sp_set_font_size_smaller (static_cast((void*)_coord_status.gobj())); _statusbar.pack_end (_coord_eventbox, false, false, 1); diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index f5e153a8e..9ccc8e80d 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -499,10 +499,10 @@ sp_desktop_widget_init (SPDesktopWidget *dtw) eventbox = gtk_event_box_new (); gtk_container_add (GTK_CONTAINER (eventbox), dtw->coord_status); gtk_tooltips_set_tip (dtw->tt, eventbox, _("Cursor coordinates"), NULL); - GtkWidget *label_x = gtk_label_new("X:"); + GtkWidget *label_x = gtk_label_new(_("X:")); gtk_misc_set_alignment (GTK_MISC(label_x), 0.0, 0.5); gtk_table_attach(GTK_TABLE(dtw->coord_status), label_x, 1,2, 0,1, GTK_FILL, GTK_FILL, 0, 0); - GtkWidget *label_y = gtk_label_new("Y:"); + GtkWidget *label_y = gtk_label_new(_("Y:")); gtk_misc_set_alignment (GTK_MISC(label_y), 0.0, 0.5); gtk_table_attach(GTK_TABLE(dtw->coord_status), label_y, 1,2, 1,2, GTK_FILL, GTK_FILL, 0, 0); dtw->coord_status_x = gtk_label_new(NULL); @@ -513,7 +513,7 @@ sp_desktop_widget_init (SPDesktopWidget *dtw) gtk_misc_set_alignment (GTK_MISC(dtw->coord_status_y), 1.0, 0.5); gtk_table_attach(GTK_TABLE(dtw->coord_status), dtw->coord_status_x, 2,3, 0,1, GTK_FILL, GTK_FILL, 0, 0); gtk_table_attach(GTK_TABLE(dtw->coord_status), dtw->coord_status_y, 2,3, 1,2, GTK_FILL, GTK_FILL, 0, 0); - gtk_table_attach(GTK_TABLE(dtw->coord_status), gtk_label_new("Z:"), 3,4, 0,2, GTK_FILL, GTK_FILL, 0, 0); + gtk_table_attach(GTK_TABLE(dtw->coord_status), gtk_label_new(_("Z:")), 3,4, 0,2, GTK_FILL, GTK_FILL, 0, 0); gtk_table_attach(GTK_TABLE(dtw->coord_status), dtw->zoom_status, 4,5, 0,2, GTK_FILL, GTK_FILL, 0, 0); sp_set_font_size_smaller (dtw->coord_status); gtk_box_pack_end (GTK_BOX (statusbar_tail), eventbox, FALSE, FALSE, 1); -- 2.30.2