Mark message showing background image size and type for translation
2007-01-06 Gabor Kelemen <kelemeng@gnome.hu> * gnome-wp-item.c: Mark message showing background image size and type for translation Fixes #341899 svn path=/trunk/; revision=7052
This commit is contained in:
parent
198a954b80
commit
984d6f99bc
2 changed files with 18 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-01-06 Gabor Kelemen <kelemeng@gnome.hu>
|
||||||
|
|
||||||
|
* gnome-wp-item.c: Mark message showing background image size and type for translation
|
||||||
|
|
||||||
|
Fixes #341899
|
||||||
|
|
||||||
2006-12-08 Kjartan Maraas <kmaraas@gnome.org>
|
2006-12-08 Kjartan Maraas <kmaraas@gnome.org>
|
||||||
|
|
||||||
* gnome-wp-xml.c: (gnome_wp_xml_load_list): Plug a leak.
|
* gnome-wp-xml.c: (gnome_wp_xml_load_list): Plug a leak.
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
#include <glib/gi18n.h>
|
||||||
#include <gconf/gconf-client.h>
|
#include <gconf/gconf-client.h>
|
||||||
#include <gnome.h>
|
#include <gnome.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -337,7 +338,17 @@ void gnome_wp_item_update_description (GnomeWPItem * item) {
|
||||||
} else {
|
} else {
|
||||||
gchar * info;
|
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),
|
gnome_vfs_mime_get_description (item->fileinfo->mime_type),
|
||||||
item->width,
|
item->width,
|
||||||
ngettext ("pixel", "pixels", item->width),
|
ngettext ("pixel", "pixels", item->width),
|
||||||
|
|
Loading…
Add table
Reference in a new issue