From c0d2ead3516aaab2b967be88fc3e3c1fba7ec562 Mon Sep 17 00:00:00 2001
From: Thomas James Alexander Thurman <tthurman@src.gnome.org>
Date: Thu, 5 Feb 2009 19:26:06 +0000
Subject: [PATCH] collapse several strings into one for the translators'
 benefit.

* src/ui/theme-parser.c: collapse several strings into one
        for the translators' benefit.

svn path=/trunk/; revision=4117
---
 src/ui/theme-parser.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c
index 9674f3a05..a2fe2a27c 100644
--- a/src/ui/theme-parser.c
+++ b/src/ui/theme-parser.c
@@ -3713,7 +3713,8 @@ text_handler (GMarkupParseContext *context,
         {
           set_error (error, context, G_MARKUP_ERROR,
                      G_MARKUP_ERROR_PARSE,
-                     _("<name> specified twice for this theme"));
+                     _("<%s> specified twice for this theme"),
+                     "name");
           return;
         }
 
@@ -3724,7 +3725,8 @@ text_handler (GMarkupParseContext *context,
         {
           set_error (error, context, G_MARKUP_ERROR,
                      G_MARKUP_ERROR_PARSE,
-                     _("<author> specified twice for this theme"));
+                     _("<%s> specified twice for this theme"),
+                     "author");
           return;
         }
 
@@ -3735,7 +3737,8 @@ text_handler (GMarkupParseContext *context,
         {
           set_error (error, context, G_MARKUP_ERROR,
                      G_MARKUP_ERROR_PARSE,
-                     _("<copyright> specified twice for this theme"));
+                     _("<%s> specified twice for this theme"),
+                     "copyright");
           return;
         }
 
@@ -3746,7 +3749,8 @@ text_handler (GMarkupParseContext *context,
         {
           set_error (error, context, G_MARKUP_ERROR,
                      G_MARKUP_ERROR_PARSE,
-                     _("<date> specified twice for this theme"));
+                     _("<%s> specified twice for this theme"),
+                     "date");
           return;
         }
 
@@ -3757,7 +3761,8 @@ text_handler (GMarkupParseContext *context,
         {
           set_error (error, context, G_MARKUP_ERROR,
                      G_MARKUP_ERROR_PARSE,
-                     _("<description> specified twice for this theme"));
+                     _("<%s> specified twice for this theme"),
+                     "description");
           return;
         }