[metacity] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] Fix translator comments
- Date: Sat, 28 Jan 2017 00:37:59 +0000 (UTC)
commit 90469d89e8b990c1fa5803b70b463d2f7d2b3f0e
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jan 28 01:37:38 2017 +0100
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 d2aaa3e..fa49d5c 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 35989e1..c43433d 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]