From: helix84 Date: Thu, 23 Apr 2009 16:00:18 +0000 (+0000) Subject: translator comments and minor string fixes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2b2321eb83f7bd0173589734d6f40b4fe90961f9;p=inkscape.git translator comments and minor string fixes --- diff --git a/share/extensions/polyhedron_3d.py b/share/extensions/polyhedron_3d.py index a6a33ccdf..e659427b9 100644 --- a/share/extensions/polyhedron_3d.py +++ b/share/extensions/polyhedron_3d.py @@ -507,7 +507,7 @@ class Poly_3D(inkex.Effect): draw_faces( z_list, transformed_pts, obj, so.shade, fill_col, st, poly) else:#we cannot generate a list of faces from the edges without a lot of computation - inkex.errormsg(_('Face Data Not Found. Ensure file contains face data, and check the file is imported as "Face-Specifed" under the "Model File" tab.\n')) + inkex.errormsg(_('Face Data Not Found. Ensure file contains face data, and check the file is imported as "Face-Specified" under the "Model File" tab.\n')) else: inkex.errormsg(_('Internal Error. No view type selected\n')) diff --git a/src/display/snap-indicator.cpp b/src/display/snap-indicator.cpp index 49433efe2..e73eef796 100644 --- a/src/display/snap-indicator.cpp +++ b/src/display/snap-indicator.cpp @@ -56,6 +56,7 @@ SnapIndicator::set_new_snaptarget(Inkscape::SnappedPoint const p) bool value = prefs->getBool("/options/snapindicator/value", true); if (value) { + // TRANSLATORS: undefined target for snapping gchar *target_name = _("UNDEFINED"); switch (p.getTarget()) { case SNAPTARGET_UNDEFINED: diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 9aefb0704..8991d78cb 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -85,6 +85,7 @@ const Util::EnumData LPETypeData[] = { #ifdef LPE_ENABLE_TEST_EFFECTS {DOEFFECTSTACK_TEST, N_("doEffect stack test"), "doeffectstacktest"}, {ANGLE_BISECTOR, N_("Angle bisector"), "angle_bisector"}, + // TRANSLATORS: boolean operations {BOOLOPS, N_("Boolops"), "boolops"}, {CIRCLE_WITH_RADIUS, N_("Circle (by center and radius)"), "circle_with_radius"}, {CIRCLE_3PTS, N_("Circle by 3 points"), "circle_3pts"}, diff --git a/src/live_effects/lpe-rough-hatches.cpp b/src/live_effects/lpe-rough-hatches.cpp index 49073fd64..4cb02ba9e 100644 --- a/src/live_effects/lpe-rough-hatches.cpp +++ b/src/live_effects/lpe-rough-hatches.cpp @@ -223,7 +223,7 @@ Piecewise > bend(Piecewise > const &f, Piecewise b LPERoughHatches::LPERoughHatches(LivePathEffectObject *lpeobject) : Effect(lpeobject), hatch_dist(0), - dist_rdm(_("Frequency randomness"), _("Variation of dist between hatches, in %."), "dist_rdm", &wr, this, 75), + dist_rdm(_("Frequency randomness"), _("Variation of distance between hatches, in %."), "dist_rdm", &wr, this, 75), growth(_("Growth"), _("Growth of distance between hatches."), "growth", &wr, this, 0.), //FIXME: top/bottom names are inverted in the UI/svg and in the code!! scale_tf(_("Half turns smoothness: 1st side, in"), _("Set smoothness/sharpness of path when reaching a 'bottom' halfturn. 0=sharp, 1=default"), "scale_bf", &wr, this, 1.), @@ -234,12 +234,12 @@ LPERoughHatches::LPERoughHatches(LivePathEffectObject *lpeobject) : bot_edge_variation(_("2nd side"), _("Randomly moves 'top' halfsturns to produce magnitude variations."), "top_edge_variation", &wr, this, 0), top_tgt_variation(_("Parallelism jitter: 1st side"), _("Add direction randomness by moving 'bottom' halfsturns tangentially to the boundary."), "bottom_tgt_variation", &wr, this, 0), bot_tgt_variation(_("2nd side"), _("Add direction randomness by randomly moving 'top' halfsturns tangentially to the boundary."), "top_tgt_variation", &wr, this, 0), - top_smth_variation(_("variance: 1st side"), _("Randomness of 'bottom' halfturns smoothness"), "top_smth_variation", &wr, this, 0), + top_smth_variation(_("Variance: 1st side"), _("Randomness of 'bottom' halfturns smoothness"), "top_smth_variation", &wr, this, 0), bot_smth_variation(_("2nd side"), _("Randomness of 'top' halfturns smoothness"), "bottom_smth_variation", &wr, this, 0), // fat_output(_("Generate thick/thin path"), _("Simulate a stroke of varrying width"), "fat_output", &wr, this, true), do_bend(_("Bend hatches"), _("Add a global bend to the hatches (slower)"), "do_bend", &wr, this, true), - stroke_width_top(_("Thikness: at 1st side"), _("Width at 'bottom' half turns"), "stroke_width_top", &wr, this, 1.), + stroke_width_top(_("Thickness: at 1st side"), _("Width at 'bottom' half turns"), "stroke_width_top", &wr, this, 1.), stroke_width_bot(_("at 2nd side"), _("Width at 'top' halfturns"), "stroke_width_bottom", &wr, this, 1.), // front_thickness(_("from 2nd to 1st side"), _("Width of paths from 'top' to 'bottom' halfturns"), "front_thickness", &wr, this, 1.), @@ -247,8 +247,8 @@ LPERoughHatches::LPERoughHatches(LivePathEffectObject *lpeobject) : direction(_("Hatches width and dir"), _("Defines hatches frequency and direction"), "direction", &wr, this, Geom::Point(50,0)), // - //bender(_("Global bending"), _("Relative position to ref point defines global bending direction and amount"), "bender", &wr, this, NULL, Geom::Point(-5,0)), - bender(_("Global bending"), _("Relative position to ref point defines global bending direction and amount"), "bender", &wr, this, Geom::Point(-5,0)) + //bender(_("Global bending"), _("Relative position to a reference point defines global bending direction and amount"), "bender", &wr, this, NULL, Geom::Point(-5,0)), + bender(_("Global bending"), _("Relative position to a reference point defines global bending direction and amount"), "bender", &wr, this, Geom::Point(-5,0)) { registerParameter( dynamic_cast(&direction) ); registerParameter( dynamic_cast(&dist_rdm) ); diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 9b36de10c..ef72c8a00 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -461,6 +461,7 @@ class FilterEffectsDialog::ColorMatrixValues : public Gtk::Frame, public AttrWid public: ColorMatrixValues() : AttrWidget(SP_ATTR_VALUES), + // TRANSLATORS: this dialog is accessible via menu Filters - Filter editor _matrix(SP_ATTR_VALUES, _("This matrix determines a linear transform on colour space. Each line affects one of the color components. Each column determines how much of each color component from the input is passed to the output. The last column does not depend on input colors, so can be used to adjust a constant component value.")), _saturation(0, 0, 1, 0.1, 0.01, 2, SP_ATTR_VALUES), _angle(0, 0, 360, 0.1, 0.01, 1, SP_ATTR_VALUES), diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 547998624..9cb08c7f5 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -1282,33 +1282,34 @@ void InkscapePreferences::initPageMisc() { Glib::ustring tmp; - tmp += "User config: "; + // TRANSLATORS: following strings are paths in Inkscape preferences - Misc - System info + tmp += _("User config: "); tmp += g_get_user_config_dir(); tmp += "\n"; - tmp += "User data: "; + tmp += _("User data: "); tmp += g_get_user_data_dir(); tmp += "\n"; - tmp += "User cache: "; + tmp += _("User cache: "); tmp += g_get_user_cache_dir(); tmp += "\n"; - tmp += "System config: "; + tmp += _("System config: "); appendList( tmp, g_get_system_config_dirs() ); - tmp += "System data: "; + tmp += _("System data: "); appendList( tmp, g_get_system_data_dirs() ); - tmp += "PIXMAP: "; + tmp += _("PIXMAP: "); tmp += INKSCAPE_PIXMAPDIR; tmp += "\n"; - tmp += "DATA: "; + tmp += _("DATA: "); tmp += INKSCAPE_DATADIR; tmp += "\n"; - tmp += "UI: "; + tmp += _("UI: "); tmp += INKSCAPE_UIDIR; tmp += "\n"; @@ -1317,7 +1318,7 @@ void InkscapePreferences::initPageMisc() gint count = 0; gtk_icon_theme_get_search_path(gtk_icon_theme_get_default(), &paths, &count); if (count > 0) { - tmp += "Icon theme: "; + tmp += _("Icon theme: "); tmp += paths[0]; tmp += "\n"; for (int i = 1; i < count; i++) { diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp index 7746e1a60..dd2dc8250 100644 --- a/src/ui/dialog/livepatheffect-editor.cpp +++ b/src/ui/dialog/livepatheffect-editor.cpp @@ -74,6 +74,7 @@ LivePathEffectEditor::LivePathEffectEditor() combo_effecttype(Inkscape::LivePathEffect::LPETypeConverter), effectwidget(NULL), explain_label("", Gtk::ALIGN_CENTER), + // TRANSLATORS: this dialog is accessible via menu Path - Path Effect Editor... effectapplication_frame(_("Apply new effect")), effectcontrol_frame(_("Current effect")), effectlist_frame(_("Effect list")), diff --git a/src/ui/dialog/svg-fonts-dialog.cpp b/src/ui/dialog/svg-fonts-dialog.cpp index c81780321..98b59d790 100644 --- a/src/ui/dialog/svg-fonts-dialog.cpp +++ b/src/ui/dialog/svg-fonts-dialog.cpp @@ -853,8 +853,8 @@ SvgFontsDialog::SvgFontsDialog() //Text Preview: _preview_entry.signal_changed().connect(sigc::mem_fun(*this, &SvgFontsDialog::on_preview_text_changed)); _getContents()->add((Gtk::Widget&) _font_da); - _preview_entry.set_text("Sample Text"); - _font_da.set_text("Sample Text"); + _preview_entry.set_text(_("Sample Text")); + _font_da.set_text(_("Sample Text")); Gtk::HBox* preview_entry_hbox = Gtk::manage(new Gtk::HBox()); _getContents()->add(*preview_entry_hbox);