summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-08-08 21:31:31 +0000
committerElijah Newren <newren@src.gnome.org>2005-08-08 21:31:31 +0000
commitf335b0c381691d94eb2b54968a6516393ba0f7bf (patch)
tree38f706b2e12ddf819b11b70357c3e1e63ad27290
parent2972ab6df6f48a11bec8c21eb97b02e4336c1062 (diff)
downloadmutter-f335b0c381691d94eb2b54968a6516393ba0f7bf.tar.gz
Patch from Brent Smith to fix a duplicate string. Fixes #309774.
2005-08-08 Elijah Newren <newren@gmail.com> Patch from Brent Smith to fix a duplicate string. Fixes #309774. * src/theme-parser.c (parse_toplevel_element, parse_draw_op_element): Change "No \"%s\" attribute on element <%s>" string to "No \"%s\" attribute on <%s> element"
-rw-r--r--ChangeLog9
-rw-r--r--src/theme-parser.c12
2 files changed, 15 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index cbb443817..73a1bddb1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-08-08 Elijah Newren <newren@gmail.com>
+
+ Patch from Brent Smith to fix a duplicate string. Fixes #309774.
+
+ * src/theme-parser.c (parse_toplevel_element, parse_draw_op_element):
+
+ Change "No \"%s\" attribute on element <%s>" string to "No \"%s\"
+ attribute on <%s> element"
+
2005-08-03 Ray Strode <rstrode@redhat.com>
Improve the behavior of keyboard move/resize and edge
diff --git a/src/theme-parser.c b/src/theme-parser.c
index 7eb614509..1ce726f3f 100644
--- a/src/theme-parser.c
+++ b/src/theme-parser.c
@@ -726,7 +726,7 @@ parse_toplevel_element (GMarkupParseContext *context,
if (name == NULL)
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("No \"%s\" attribute on element <%s>"),
+ _("No \"%s\" attribute on <%s> element"),
"name", element_name);
return;
}
@@ -734,7 +734,7 @@ parse_toplevel_element (GMarkupParseContext *context,
if (value == NULL)
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("No \"%s\" attribute on element <%s>"),
+ _("No \"%s\" attribute on <%s> element"),
"value", element_name);
return;
}
@@ -2933,7 +2933,7 @@ parse_draw_op_element (GMarkupParseContext *context,
if (name == NULL)
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("No \"%s\" attribute on element <%s>"), "name", element_name);
+ _("No \"%s\" attribute on <%s> element"), "name", element_name);
return;
}
@@ -3022,21 +3022,21 @@ parse_draw_op_element (GMarkupParseContext *context,
if (name == NULL)
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("No \"%s\" attribute on element <%s>"), "name", element_name);
+ _("No \"%s\" attribute on <%s> element"), "name", element_name);
return;
}
if (tile_width == NULL)
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("No \"%s\" attribute on element <%s>"), "tile_width", element_name);
+ _("No \"%s\" attribute on <%s> element"), "tile_width", element_name);
return;
}
if (tile_height == NULL)
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("No \"%s\" attribute on element <%s>"), "tile_height", element_name);
+ _("No \"%s\" attribute on <%s> element"), "tile_height", element_name);
return;
}