From 73f4151156db00b2a0239fe45042588ae548ef3e Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sun, 13 May 2012 17:39:11 +0200 Subject: make new themes names translatable --- src/capplet/mate-notification-properties.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/capplet/mate-notification-properties.c') diff --git a/src/capplet/mate-notification-properties.c b/src/capplet/mate-notification-properties.c index dab07ae..3646789 100644 --- a/src/capplet/mate-notification-properties.c +++ b/src/capplet/mate-notification-properties.c @@ -232,7 +232,15 @@ static void notification_properties_dialog_setup_themes(NotificationAppletDialog theme_name = get_theme_name(filename); /* FIXME: other solution than hardcode? */ - if (g_str_equal(theme_name, "slider")) + if (g_str_equal(theme_name, "coco")) + { + theme_label = g_strdup(_("Coco")); + } + else if (g_str_equal(theme_name, "nodoka")) + { + theme_label = g_strdup(_("Nodoka")); + } + else if (g_str_equal(theme_name, "slider")) { theme_label = g_strdup(_("Slider")); } -- cgit v1.2.1