summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2017-01-28 01:37:38 +0100
committerPiotr Drąg <piotrdrag@gmail.com>2017-01-28 01:37:38 +0100
commit90469d89e8b990c1fa5803b70b463d2f7d2b3f0e (patch)
treef361e6a969e5e9b4ee538cf0dbb3d9e361f3b39b
parent900184fe2a46632f63e9013f1a43e9b46cafa242 (diff)
downloadmetacity-90469d89e8b990c1fa5803b70b463d2f7d2b3f0e.tar.gz
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
-rw-r--r--libmetacity/meta-frame-style.c8
-rw-r--r--libmetacity/meta-theme-metacity.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/libmetacity/meta-frame-style.c b/libmetacity/meta-frame-style.c
index d2aaa3e5..fa49d5c9 100644
--- a/libmetacity/meta-frame-style.c
+++ b/libmetacity/meta-frame-style.c
@@ -136,11 +136,11 @@ check_state (MetaFrameStyleSet *style_set,
if (meta_frame_style_set_get_style (style_set, state,
META_FRAME_RESIZE_NONE, i) == NULL)
{
- /* Translators: This error occurs when a <frame> tag is missing
- * in theme XML. The "<frame ...>" is intended as a noun phrase,
- * and the "missing" qualifies it. You should translate "whatever".
- */
g_set_error (error, META_THEME_ERROR, META_THEME_ERROR_FAILED,
+ /* Translators: This error occurs when a <frame> tag is missing
+ * in theme XML. The "<frame ...>" is intended as a noun phrase,
+ * and the "missing" qualifies it. You should translate "whatever".
+ */
_("Missing <frame state='%s' resize='%s' focus='%s' style='whatever' />"),
meta_frame_state_to_string (state),
meta_frame_resize_to_string (META_FRAME_RESIZE_NONE),
diff --git a/libmetacity/meta-theme-metacity.c b/libmetacity/meta-theme-metacity.c
index 35989e1a..c43433d3 100644
--- a/libmetacity/meta-theme-metacity.c
+++ b/libmetacity/meta-theme-metacity.c
@@ -3826,11 +3826,11 @@ theme_validate (MetaThemeMetacity *metacity,
if (metacity->readable_name == NULL)
{
- /* Translators: This error means that a necessary XML tag (whose name
- * is given in angle brackets) was not found in a given theme (whose
- * name is given second, in quotation marks).
- */
g_set_error (error, META_THEME_ERROR, META_THEME_ERROR_FAILED,
+ /* Translators: This error means that a necessary XML tag (whose name
+ * is given in angle brackets) was not found in a given theme (whose
+ * name is given second, in quotation marks).
+ */
_("No <%s> set for theme '%s'"), "name", metacity->name);
return FALSE;