variable names in messages should be double-quoted. Closes #558309.

* src/ui/theme-parser.c: variable names in messages should be
	  double-quoted.  Closes #558309.


svn path=/trunk/; revision=4009
This commit is contained in:
Thomas James Alexander Thurman 2008-10-29 23:38:48 +00:00
parent 5dc36e1201
commit 4c9bfecac5
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-10-29 Thomas Thurman <tthurman@gnome.org>
* src/ui/theme-parser.c: variable names in messages should be
double-quoted. Closes #558309.
2008-10-28 Thomas Thurman <tthurman@gnome.org>
* src/include/screen-bindings.h: fix accidental name change of

View File

@ -1340,7 +1340,7 @@ parse_distance (GMarkupParseContext *context,
info->layout->button_sizing == META_BUTTON_SIZING_FIXED))
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
_("Cannot specify both button_width/button_height and aspect ratio for buttons"));
_("Cannot specify both \"button_width\"/\"button_height\" and \"aspect_ratio\" for buttons"));
return;
}
@ -1354,7 +1354,7 @@ parse_distance (GMarkupParseContext *context,
info->layout->button_sizing == META_BUTTON_SIZING_FIXED))
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
_("Cannot specify both button_width/button_height and aspect ratio for buttons"));
_("Cannot specify both \"button_width\"/\"button_height\" and \"aspect_ratio\" for buttons"));
return;
}
@ -1366,7 +1366,6 @@ parse_distance (GMarkupParseContext *context,
_("Distance \"%s\" is unknown"), name);
return;
}
}
static void
parse_aspect_ratio (GMarkupParseContext *context,
@ -1399,7 +1398,7 @@ parse_aspect_ratio (GMarkupParseContext *context,
if (info->layout->button_sizing != META_BUTTON_SIZING_LAST)
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
_("Cannot specify both button_width/button_height and aspect ratio for buttons"));
_("Cannot specify both \"button_width\"/\"button_height\" and \"aspect_ratio\" for buttons"));
return;
}