summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2008-10-29 23:38:48 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-10-29 23:38:48 +0000
commit4c9bfecac5a344b06570fa6e534faec7320f9d91 (patch)
tree9892f48b0188d5faccd087effd34e190ea17ec75 /src/ui
parent5dc36e1201f6e670082200cde60c746370ecf951 (diff)
downloadmetacity-4c9bfecac5a344b06570fa6e534faec7320f9d91.tar.gz
metacity-4c9bfecac5a344b06570fa6e534faec7320f9d91.tar.bz2
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
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/theme-parser.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c
index 71559f1..aad0aa3 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;
}