From 90469d89e8b990c1fa5803b70b463d2f7d2b3f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Sat, 28 Jan 2017 01:37:38 +0100 Subject: Fix translator comments They need to be exactly one line above a string to show up in .po files. --- libmetacity/meta-frame-style.c | 8 ++++---- libmetacity/meta-theme-metacity.c | 8 ++++---- 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 tag is missing - * in theme XML. The "" 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 tag is missing + * in theme XML. The "" is intended as a noun phrase, + * and the "missing" qualifies it. You should translate "whatever". + */ _("Missing "), 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; -- cgit v1.2.1