summaryrefslogtreecommitdiff
path: root/src/ui/theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/theme.c')
-rw-r--r--src/ui/theme.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index c165e9ca..85d20e51 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -4628,6 +4628,10 @@ check_state (MetaFrameStyleSet *style_set,
if (get_style (style_set, state,
META_FRAME_RESIZE_NONE, i) == NULL)
{
+ /* Translators: This error occurs when a <frame> tag is missing
+ * in theme XML. The "<frame ...>" is intended as a noun phrase,
+ * and the "missing" qualifies it. You should translate "whatever".
+ */
g_set_error (error, META_THEME_ERROR,
META_THEME_ERROR_FAILED,
_("Missing <frame state=\"%s\" resize=\"%s\" focus=\"%s\" style=\"whatever\"/>"),
@@ -4824,6 +4828,10 @@ meta_theme_validate (MetaTheme *theme,
if (theme->readable_name == NULL)
{
+ /* Translators: This error means that a necessary XML tag (whose name
+ * is given in angle brackets) was not found in a given theme (whose
+ * name is given second, in quotation marks).
+ */
g_set_error (error, META_THEME_ERROR, META_THEME_ERROR_FAILED,
_("No <%s> set for theme \"%s\""), "name", theme->name);
return FALSE;