summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
authorIvan Mas??r <helix84@centrum.sk>2009-06-03 14:33:59 +0000
committerhelix84 <helix84@users.sourceforge.net>2009-06-03 14:33:59 +0000
commit7b524952b4ce3ef5cfec211ccf3d78cc39d739b6 (patch)
tree0aa0090dcc8ea466bf3baedf6726b934190b562f /src/ui/widget
parent* [INTL:*] make inkscape.pot (diff)
downloadinkscape-7b524952b4ce3ef5cfec211ccf3d78cc39d739b6.tar.gz
inkscape-7b524952b4ce3ef5cfec211ccf3d78cc39d739b6.zip
* [INTL:*] translator comments for all context strings added
(bzr r7985)
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/panel.cpp16
-rw-r--r--src/ui/widget/spin-slider.cpp4
2 files changed, 16 insertions, 4 deletions
diff --git a/src/ui/widget/panel.cpp b/src/ui/widget/panel.cpp
index 82f75c3ff..93a950d1a 100644
--- a/src/ui/widget/panel.cpp
+++ b/src/ui/widget/panel.cpp
@@ -131,13 +131,17 @@ void Panel::_init()
}
{
+ //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
Glib::ustring heightItemLabel(Q_("swatches|Size"));
//TRANSLATORS: Indicates size of colour swatches
const gchar *heightLabels[] = {
N_("tiny"),
N_("small"),
- //TRANSLATORS: Translate only the word "medium". Indicates size of colour swatches
+ //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
+ // "medium" indicates size of colour swatches
N_("swatchesHeight|medium"),
N_("large"),
N_("huge")
@@ -162,13 +166,17 @@ void Panel::_init()
}
{
+ //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
Glib::ustring widthItemLabel(Q_("swatches|Width"));
//TRANSLATORS: Indicates width of colour swatches
const gchar *widthLabels[] = {
N_("narrower"),
N_("narrow"),
- //TRANSLATORS: Translate only the word "medium". Indicates width of colour swatches
+ //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
+ // "medium" indicates width of colour swatches
N_("swatchesWidth|medium"),
N_("wide"),
N_("wider")
@@ -201,7 +209,9 @@ void Panel::_init()
}
{
- //TRANSLATORS: Translate only the word "Wrap". Indicates how colour swatches are displayed
+ //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
+ // "Wrap" indicates how colour swatches are displayed
Glib::ustring wrap_label(Q_("swatches|Wrap"));
Gtk::CheckMenuItem *check = manage(new Gtk::CheckMenuItem(wrap_label));
check->set_active(panel_wrap);
diff --git a/src/ui/widget/spin-slider.cpp b/src/ui/widget/spin-slider.cpp
index b90895df8..b610c1ee6 100644
--- a/src/ui/widget/spin-slider.cpp
+++ b/src/ui/widget/spin-slider.cpp
@@ -114,7 +114,9 @@ DualSpinSlider::DualSpinSlider(double value, double lower, double upper, double
: AttrWidget(a),
_s1(value, lower, upper, step_inc, climb_rate, digits, SP_ATTR_INVALID, tip_text1),
_s2(value, lower, upper, step_inc, climb_rate, digits, SP_ATTR_INVALID, tip_text2),
- //TRANSLATORS: Only translate the word "Link" - means to _link_ two sliders together
+ //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
+ // "Link" means to _link_ two sliders together
_link(Q_("sliders|Link"))
{
signal_value_changed().connect(signal_attr_changed().make_slot());