diff --git a/capplets/background/ChangeLog b/capplets/background/ChangeLog index b379a649e..004eeb902 100644 --- a/capplets/background/ChangeLog +++ b/capplets/background/ChangeLog @@ -1,3 +1,9 @@ +2007-01-06 Gabor Kelemen + + * gnome-wp-item.c: Mark message showing background image size and type for translation + + Fixes #341899 + 2006-12-08 Kjartan Maraas * gnome-wp-xml.c: (gnome_wp_xml_load_list): Plug a leak. diff --git a/capplets/background/gnome-wp-item.c b/capplets/background/gnome-wp-item.c index e98b7ba59..80f65bdd8 100644 --- a/capplets/background/gnome-wp-item.c +++ b/capplets/background/gnome-wp-item.c @@ -20,6 +20,7 @@ #include +#include #include #include #include @@ -337,7 +338,17 @@ void gnome_wp_item_update_description (GnomeWPItem * item) { } else { gchar * info; - info = g_strdup_printf ("%s, %d %s x %d %s", + /* + Translators: This message is used to render the type and size of the + background images in gnome-background-properites. The first "%s" will + be replaced by the image type, and the two "%d %s"s will be replaced + with the images' dimensions. For example, in US English, this may be + displayed as "JPEG Image, 1600 pixels x 1200 pixels". + + Do not translate the "background size|" type. Remove it from the + translation. + */ + info = g_strdup_printf (Q_("background size|%s, %d %s x %d %s"), gnome_vfs_mime_get_description (item->fileinfo->mime_type), item->width, ngettext ("pixel", "pixels", item->width),