diff options
-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; } |