summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dialogs/find.cpp4
-rw-r--r--src/extension/internal/pdfinput/pdf-input.cpp2
-rw-r--r--src/filter-enums.cpp3
-rw-r--r--src/selection-chemistry.cpp4
-rw-r--r--src/selection-describer.cpp9
-rw-r--r--src/ui/dialog/align-and-distribute.cpp4
-rw-r--r--src/ui/dialog/document-properties.cpp4
-rw-r--r--src/ui/dialog/find.cpp4
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp2
-rw-r--r--src/ui/widget/panel.cpp16
-rw-r--r--src/ui/widget/spin-slider.cpp4
-rw-r--r--src/widgets/font-selector.cpp2
-rw-r--r--src/widgets/stroke-style.cpp2
13 files changed, 47 insertions, 13 deletions
diff --git a/src/dialogs/find.cpp b/src/dialogs/find.cpp
index 29a0fe7e8..ed693f6ed 100644
--- a/src/dialogs/find.cpp
+++ b/src/dialogs/find.cpp
@@ -606,7 +606,9 @@ sp_find_types ()
{
GtkWidget *c = sp_find_types_checkbox_indented (vb, "clones", TRUE, tt, _("Search clones"),
- //TRANSLATORS: Translate the word "Clones" only. A noun indicating type of object to find
+ //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
+ // "Clones" is a noun indicating type of object to find
Q_("find|Clones"), NULL, 10);
gtk_box_pack_start (GTK_BOX (vb_all), c, FALSE, FALSE, 0);
}
diff --git a/src/extension/internal/pdfinput/pdf-input.cpp b/src/extension/internal/pdfinput/pdf-input.cpp
index 4a8a1eb4b..c2d417f2c 100644
--- a/src/extension/internal/pdfinput/pdf-input.cpp
+++ b/src/extension/internal/pdfinput/pdf-input.cpp
@@ -391,6 +391,8 @@ void PdfImportDialog::_onPrecisionChanged() {
static Glib::ustring precision_comments[] = {
Glib::ustring(_("rough")),
+ //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(Q_("pdfinput|medium")),
Glib::ustring(_("fine")),
Glib::ustring(_("very fine"))
diff --git a/src/filter-enums.cpp b/src/filter-enums.cpp
index 0e41405c6..459272842 100644
--- a/src/filter-enums.cpp
+++ b/src/filter-enums.cpp
@@ -48,7 +48,8 @@ const EnumDataConverter<FilterPrimitiveInput> FPInputConverter(FPInputData, FPIN
// feBlend
const EnumData<Inkscape::Filters::FilterBlendMode> BlendModeData[Inkscape::Filters::BLEND_ENDMODE] = {
- //TRANSLATORS: This is a context string, only put the word "Normal" in your translation
+ //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
{Inkscape::Filters::BLEND_NORMAL, Q_("filterBlendMode|Normal"), "normal"},
{Inkscape::Filters::BLEND_MULTIPLY, _("Multiply"), "multiply"},
{Inkscape::Filters::BLEND_SCREEN, _("Screen"), "screen"},
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index b452d9302..e55bba2a5 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -730,7 +730,9 @@ sp_selection_raise(SPDesktop *desktop)
}
sp_document_done(sp_desktop_document(desktop), SP_VERB_SELECTION_RAISE,
- //TRANSLATORS: Only put the word "Raise" in the translation. Means "to raise an object" in the undo history
+ //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
+ // "Raise" means "to raise an object" in the undo history
Q_("undo_action|Raise"));
}
diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp
index 06c477f4b..27dd8413a 100644
--- a/src/selection-describer.cpp
+++ b/src/selection-describer.cpp
@@ -39,7 +39,9 @@ const gchar *
type2term(GType type)
{
if (type == SP_TYPE_ANCHOR)
- // TRANSLATORS: only translate and put "Link" in the translation. It means internet link (anchor)
+ //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 internet link (anchor)
{ return Q_("web|Link"); }
if (type == SP_TYPE_CIRCLE)
{ return _("Circle"); }
@@ -65,9 +67,10 @@ type2term(GType type)
{ return _("3D Box"); }
if (type == SP_TYPE_TEXT)
{ return _("Text"); }
- // 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
if (type == SP_TYPE_USE)
+ // 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
+ // "Clone" is a noun, type of object
{ return Q_("object|Clone"); }
if (type == SP_TYPE_ARC)
{ return _("Ellipse"); }
diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp
index 18a3df4ae..a54f83758 100644
--- a/src/ui/dialog/align-and-distribute.cpp
+++ b/src/ui/dialog/align-and-distribute.cpp
@@ -464,7 +464,9 @@ public:
removeOverlapXGap.set_value(0);
dialog.tooltips().set_tip(removeOverlapXGap,
_("Minimum horizontal gap (in px units) between bounding boxes"));
- /* TRANSLATORS: Horizontal gap. Only put "H:" equivalent in the translation */
+ //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
+ // "H:" stands for horizontal gap
removeOverlapXGapLabel.set_label(Q_("gap|H:"));
removeOverlapYGap.set_digits(1);
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp
index 5c9d0cb48..bb9ab4d02 100644
--- a/src/ui/dialog/document-properties.cpp
+++ b/src/ui/dialog/document-properties.cpp
@@ -103,7 +103,9 @@ DocumentProperties::DocumentProperties()
_rcp_hgui(_("_Highlight color:"), _("Highlighted guideline color"), _("Color of a guideline when it is under mouse"), "guidehicolor", "guidehiopacity", _wr),
//---------------------------------------------------------------
_grids_label_crea("", Gtk::ALIGN_LEFT),
- //TRANSLATORS: In Grid|_New translate only the word _New. It ref to grid
+ //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
+ // "New" refers to grid
_grids_button_new(Q_("Grid|_New"), _("Create new grid.")),
_grids_button_remove(_("_Remove"), _("Remove selected grid.")),
_grids_label_def("", Gtk::ALIGN_LEFT)
diff --git a/src/ui/dialog/find.cpp b/src/ui/dialog/find.cpp
index b86234521..837b82291 100644
--- a/src/ui/dialog/find.cpp
+++ b/src/ui/dialog/find.cpp
@@ -76,7 +76,9 @@ Find::Find()
_check_texts(_("Texts"), _("Search text objects")),
_check_groups(_("Groups"), _("Search groups")),
_check_clones(
- //TRANSLATORS: Translate the word "Clones" only. A noun indicating type of object to find
+ //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
+ // "Clones" is a noun indicating type of object to find
Q_("find|Clones"), _("Search clones")),
_check_images(_("Images"), _("Search images")),
_check_offsets(_("Offsets"), _("Search offset objects")),
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 2313cf57f..a81446a03 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -1113,6 +1113,8 @@ void InkscapePreferences::initPageAutosave()
_autosave_autosave_interval.init("/options/autosave/interval", 1.0, 10800.0, 1.0, 10.0, 10.0, true, false);
_page_autosave.add_line(true, _("Interval (in minutes):"), _autosave_autosave_interval, "", _("Interval (in minutes) at which document will be autosaved"), false);
_autosave_autosave_path.init("/options/autosave/path", true);
+ //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
_page_autosave.add_line(true, Q_("filesystem|Path:"), _autosave_autosave_path, "", _("The directory where autosaves will be written"), false);
_autosave_autosave_max.init("/options/autosave/max", 1.0, 100.0, 1.0, 10.0, 10.0, true, false);
_page_autosave.add_line(true, _("Maximum number of autosaves:"), _autosave_autosave_max, "", _("Maximum number of autosaved files; use this to limit the storage space used"), false);
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());
diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp
index f4df13f43..ce0893430 100644
--- a/src/widgets/font-selector.cpp
+++ b/src/widgets/font-selector.cpp
@@ -184,6 +184,8 @@ static void sp_font_selector_init(SPFontSelector *fsel)
g_object_set_data (G_OBJECT(fsel), "family-treeview", fsel->family_treeview);
+ //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
/* Style frame */
f = gtk_frame_new(Q_("fontselector|Style"));
gtk_widget_show(f);
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index efdb5d3bf..f502f87d3 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -1073,6 +1073,8 @@ sp_stroke_style_line_widget_new(void)
gint i = 0;
+ //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
/* Stroke width */
spw_label(t, Q_("StrokeWidth|Width:"), 0, i);