diff options
author | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2008-10-29 23:38:48 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2008-10-29 23:38:48 +0000 |
commit | 4c9bfecac5a344b06570fa6e534faec7320f9d91 (patch) | |
tree | 9892f48b0188d5faccd087effd34e190ea17ec75 | |
parent | 5dc36e1201f6e670082200cde60c746370ecf951 (diff) | |
download | metacity-4c9bfecac5a344b06570fa6e534faec7320f9d91.tar.gz |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/ui/theme-parser.c | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -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 diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c index 71559f1c..aad0aa3d 100644 --- a/src/ui/theme-parser.c +++ b/src/ui/theme-parser.c @@ -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; } |