From 1377e5428a6c7651884b1d87c007077a31e7310c Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Fri, 18 Sep 2009 06:33:52 +0000 Subject: [PATCH] i18n fixes for Bug #408093. --- po/inkscape.pot | 117 +++++++++++------------- share/extensions/draw_from_triangle.inx | 2 +- share/extensions/polyhedron_3d.inx | 4 +- share/extensions/polyhedron_3d.py | 2 +- share/extensions/restack.inx | 14 ++- src/ui/dialog/filter-effects-dialog.cpp | 2 +- src/ui/dialog/layers.cpp | 4 +- 7 files changed, 66 insertions(+), 79 deletions(-) diff --git a/po/inkscape.pot b/po/inkscape.pot index 15210dee2..d4d9872b4 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-09-17 21:14+0200\n" +"POT-Creation-Date: 2009-09-18 08:19+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -3493,6 +3493,7 @@ msgid "Title:" msgstr "" #: ../src/dialogs/object-attributes.cpp:43 +#: ../share/extensions/polyhedron_3d.inx.h:37 msgid "Show:" msgstr "" @@ -7528,11 +7529,11 @@ msgid "" "amount" msgstr "" -#: ../src/live_effects/lpe-ruler.cpp:27 +#: ../src/live_effects/lpe-ruler.cpp:27 ../share/extensions/restack.inx.h:7 msgid "Left" msgstr "" -#: ../src/live_effects/lpe-ruler.cpp:28 +#: ../src/live_effects/lpe-ruler.cpp:28 ../share/extensions/restack.inx.h:14 msgid "Right" msgstr "" @@ -11523,6 +11524,10 @@ msgstr "" msgid "Apply filter" msgstr "" +#: ../src/ui/dialog/filter-effects-dialog.cpp:1318 +msgid "filter" +msgstr "" + #: ../src/ui/dialog/filter-effects-dialog.cpp:1325 msgid "Add filter" msgstr "" @@ -14020,23 +14025,25 @@ msgstr "" msgid "New" msgstr "" -#: ../src/ui/dialog/layers.cpp:661 -msgid "Top" +#. TRANSLATORS: only translate "string" in "context|string". +#. For more details, see http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html#Q-:CAPS +#: ../src/ui/dialog/layers.cpp:663 +msgid "layers|Top" msgstr "" -#: ../src/ui/dialog/layers.cpp:667 +#: ../src/ui/dialog/layers.cpp:669 msgid "Up" msgstr "" -#: ../src/ui/dialog/layers.cpp:673 +#: ../src/ui/dialog/layers.cpp:675 msgid "Dn" msgstr "" -#: ../src/ui/dialog/layers.cpp:679 +#: ../src/ui/dialog/layers.cpp:681 msgid "Bot" msgstr "" -#: ../src/ui/dialog/layers.cpp:689 +#: ../src/ui/dialog/layers.cpp:691 msgid "X" msgstr "" @@ -19806,7 +19813,7 @@ msgstr "" msgid "" "Failed to import the numpy module. This module is required by this " "extension. Please install it and try again. On a Debian-like system this " -"can be done with the command, sudo apt-get install python-numpy." +"can be done with the command 'sudo apt-get install python-numpy'." msgstr "" #: ../share/extensions/polyhedron_3d.py:331 @@ -20274,7 +20281,7 @@ msgid "" "Also available are the inverse trigonometric functions:\n" "sec(x); csc(x); cot(x)\n" "\n" -"You can specify the radius of a circle about a custom point using an " +"You can specify the radius of a circle around a custom point using a " "formula, which may also contain the side lengths, angles, etc. You can also " "plot the isogonal and isotomic conjugate of the point. Be aware that this " "may cause a divide-by-zero error for certain points.\n" @@ -20961,7 +20968,7 @@ msgid "Start Value" msgstr "" #: ../share/extensions/interp_att_g.inx.h:18 -#: ../share/extensions/polyhedron_3d.inx.h:42 +#: ../share/extensions/polyhedron_3d.inx.h:43 msgid "Style" msgstr "" @@ -21527,83 +21534,75 @@ msgstr "" msgid "Shading" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:37 +#: ../share/extensions/polyhedron_3d.inx.h:38 msgid "Small Triambic Icosahedron" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:38 +#: ../share/extensions/polyhedron_3d.inx.h:39 msgid "Snub Cube" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:39 +#: ../share/extensions/polyhedron_3d.inx.h:40 msgid "Snub Dodecahedron" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:41 +#: ../share/extensions/polyhedron_3d.inx.h:42 #, no-c-format msgid "Stroke Opacity/ %" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:43 +#: ../share/extensions/polyhedron_3d.inx.h:44 msgid "Tetrahedron" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:44 +#: ../share/extensions/polyhedron_3d.inx.h:45 msgid "Then Rotate Around:" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:45 +#: ../share/extensions/polyhedron_3d.inx.h:46 msgid "Truncated Cube" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:46 +#: ../share/extensions/polyhedron_3d.inx.h:47 msgid "Truncated Dodecahedron" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:47 +#: ../share/extensions/polyhedron_3d.inx.h:48 msgid "Truncated Icosahedron" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:48 +#: ../share/extensions/polyhedron_3d.inx.h:49 msgid "Truncated Octahedron" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:49 +#: ../share/extensions/polyhedron_3d.inx.h:50 msgid "Truncated Tetrahedron" msgstr "" -#. TRANSLATORS: only translate "string" in "context|string". -#. For more details, see http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html#Q-:CAPS -#: ../share/extensions/polyhedron_3d.inx.h:52 +#: ../share/extensions/polyhedron_3d.inx.h:51 msgid "Vertices" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:53 +#: ../share/extensions/polyhedron_3d.inx.h:52 msgid "View" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:54 +#: ../share/extensions/polyhedron_3d.inx.h:53 msgid "X-Axis" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:55 +#: ../share/extensions/polyhedron_3d.inx.h:54 msgid "Y-Axis" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:56 +#: ../share/extensions/polyhedron_3d.inx.h:55 msgid "Z-Axis" msgstr "" -#: ../share/extensions/polyhedron_3d.inx.h:57 +#: ../share/extensions/polyhedron_3d.inx.h:56 msgid "Z-Sort Faces By:" msgstr "" -#. TRANSLATORS: only translate "string" in "context|string". -#. For more details, see http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html#Q-:CAPS -#: ../share/extensions/polyhedron_3d.inx.h:60 -msgid "polyhedron|Show:" -msgstr "" - #: ../share/extensions/printing-marks.inx.h:1 msgid "Bleed Margin" msgstr "" @@ -21735,65 +21734,55 @@ msgid "Arrange" msgstr "" #: ../share/extensions/restack.inx.h:4 -msgid "Bottom to Top (90)" +msgid "Bottom" msgstr "" #: ../share/extensions/restack.inx.h:5 -msgid "Horizontal Point:" +msgid "Bottom to Top (90)" msgstr "" #: ../share/extensions/restack.inx.h:6 -msgid "Left to Right (0)" -msgstr "" - -#: ../share/extensions/restack.inx.h:7 -msgid "Radial Inward" +msgid "Horizontal Point:" msgstr "" #: ../share/extensions/restack.inx.h:8 -msgid "Radial Outward" +msgid "Left to Right (0)" msgstr "" #: ../share/extensions/restack.inx.h:9 -msgid "Restack" +msgid "Middle" msgstr "" #: ../share/extensions/restack.inx.h:10 -msgid "Restack Direction:" +msgid "Radial Inward" msgstr "" #: ../share/extensions/restack.inx.h:11 -msgid "Right to Left (180)" +msgid "Radial Outward" msgstr "" #: ../share/extensions/restack.inx.h:12 -msgid "Top to Bottom (270)" +msgid "Restack" msgstr "" #: ../share/extensions/restack.inx.h:13 -msgid "Vertical Point:" -msgstr "" - -#: ../share/extensions/restack.inx.h:14 -msgid "restack|Bottom" +msgid "Restack Direction:" msgstr "" -#. TRANSLATORS: only translate "string" in "context|string". -#. For more details, see http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html#Q-:CAPS -#: ../share/extensions/restack.inx.h:17 -msgid "restack|Left" +#: ../share/extensions/restack.inx.h:15 +msgid "Right to Left (180)" msgstr "" -#: ../share/extensions/restack.inx.h:18 -msgid "restack|Middle" +#: ../share/extensions/restack.inx.h:16 +msgid "Top" msgstr "" -#: ../share/extensions/restack.inx.h:19 -msgid "restack|Right" +#: ../share/extensions/restack.inx.h:17 +msgid "Top to Bottom (270)" msgstr "" -#: ../share/extensions/restack.inx.h:20 -msgid "restack|Top" +#: ../share/extensions/restack.inx.h:18 +msgid "Vertical Point:" msgstr "" #: ../share/extensions/rtree.inx.h:1 diff --git a/share/extensions/draw_from_triangle.inx b/share/extensions/draw_from_triangle.inx index 341388dc3..5b57e2c49 100644 --- a/share/extensions/draw_from_triangle.inx +++ b/share/extensions/draw_from_triangle.inx @@ -62,7 +62,7 @@ cosh(x); sinh(x); tanh(x) Also available are the inverse trigonometric functions: sec(x); csc(x); cot(x) -You can specify the radius of a circle about a custom point using an formula, which may also contain the side lengths, angles, etc. You can also plot the isogonal and isotomic conjugate of the point. Be aware that this may cause a divide-by-zero error for certain points. +You can specify the radius of a circle around a custom point using a formula, which may also contain the side lengths, angles, etc. You can also plot the isogonal and isotomic conjugate of the point. Be aware that this may cause a divide-by-zero error for certain points. diff --git a/share/extensions/polyhedron_3d.inx b/share/extensions/polyhedron_3d.inx index e7807b469..31dfe6256 100644 --- a/share/extensions/polyhedron_3d.inx +++ b/share/extensions/polyhedron_3d.inx @@ -75,9 +75,7 @@ 1 1 -2 - - + <_option value="vtx">Vertices <_option value="edg">Edges <_option value="fce">Faces diff --git a/share/extensions/polyhedron_3d.py b/share/extensions/polyhedron_3d.py index 514ace94a..b64cf413e 100644 --- a/share/extensions/polyhedron_3d.py +++ b/share/extensions/polyhedron_3d.py @@ -57,7 +57,7 @@ _ = gettext.gettext try: from numpy import * except: - inkex.errormsg(_("Failed to import the numpy module. This module is required by this extension. Please install it and try again. On a Debian-like system this can be done with the command, sudo apt-get install python-numpy.")) + inkex.errormsg(_("Failed to import the numpy module. This module is required by this extension. Please install it and try again. On a Debian-like system this can be done with the command 'sudo apt-get install python-numpy'.")) sys.exit() #FILE IO ROUTINES diff --git a/share/extensions/restack.inx b/share/extensions/restack.inx index cd79860af..07d222a16 100644 --- a/share/extensions/restack.inx +++ b/share/extensions/restack.inx @@ -15,16 +15,14 @@ 0.00 - - <_option value="l">restack|Left - <_option value="m">restack|Middle - <_option value="r">restack|Right + <_option value="l">Left + <_option value="m">Middle + <_option value="r">Right - <_option value="t">restack|Top - <_option value="m">restack|Middle - <_option value="b">restack|Bottom + <_option value="t">Top + <_option value="m">Middle + <_option value="b">Bottom path diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 171c23ae4..c7f505046 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -1315,7 +1315,7 @@ void FilterEffectsDialog::FilterModifier::add_filter() const int count = _model->children().size(); std::ostringstream os; - os << "filter" << count; + os << _("filter") << count; filter->setLabel(os.str().c_str()); update_filters(); diff --git a/src/ui/dialog/layers.cpp b/src/ui/dialog/layers.cpp index f0c4cd0dd..a06b6c9b6 100644 --- a/src/ui/dialog/layers.cpp +++ b/src/ui/dialog/layers.cpp @@ -658,7 +658,9 @@ LayersPanel::LayersPanel() : _buttonsRow.add( *btn ); btn = manage( new Gtk::Button() ); - _styleButton( *btn, targetDesktop, SP_VERB_LAYER_TO_TOP, GTK_STOCK_GOTO_TOP, _("Top") ); + //TRANSLATORS: only translate "string" in "context|string". + // For more details, see http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html#Q-:CAPS + _styleButton( *btn, targetDesktop, SP_VERB_LAYER_TO_TOP, GTK_STOCK_GOTO_TOP, Q_("layers|Top") ); btn->signal_clicked().connect( sigc::bind( sigc::mem_fun(*this, &LayersPanel::_takeAction), (int)BUTTON_TOP) ); _watchingNonTop.push_back( btn ); _buttonsRow.add( *btn ); -- 2.30.2