diff options
author | Elijah Newren <newren@gmail.com> | 2005-08-08 21:31:31 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-08-08 21:31:31 +0000 |
commit | f335b0c381691d94eb2b54968a6516393ba0f7bf (patch) | |
tree | 38f706b2e12ddf819b11b70357c3e1e63ad27290 | |
parent | 2972ab6df6f48a11bec8c21eb97b02e4336c1062 (diff) | |
download | mutter-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-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/theme-parser.c | 12 |
2 files changed, 15 insertions, 6 deletions
@@ -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; } |