From 984d6f99bc4e750c8a2c6f7a01c68971d9a2a582 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 6 Jan 2007 18:40:29 +0000 Subject: [PATCH] Mark message showing background image size and type for translation 2007-01-06 Gabor Kelemen * gnome-wp-item.c: Mark message showing background image size and type for translation Fixes #341899 svn path=/trunk/; revision=7052 --- capplets/background/ChangeLog | 6 ++++++ capplets/background/gnome-wp-item.c | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) 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),