1
0
Fork 0

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"
This commit is contained in:
Elijah Newren 2005-08-08 21:31:31 +00:00 committed by Elijah Newren
parent 2972ab6df6
commit f335b0c381
2 changed files with 15 additions and 6 deletions

View file

@ -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

View file

@ -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;
}