Marking vFolder names in the folder tree localizable.

svn path=/trunk/; revision=32492
This commit is contained in:
Karsten Bräckelmann
2006-08-07 16:26:57 +00:00
parent e836c82d7a
commit f1998a46e1
2 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-08-07 Karsten Bräckelmann <guenther@rudersport.de>
* em-folder-tree.c (render_display_name): Marking vFolder names in
the folder tree localizable. Fixes bug #330915 (Roozbeh Pournader).
2006-08-04 Johnny Jacob <jjohnny@novell.com>
* em-format-html-display.c : Added mnemonic for "Fi_nd" and

View File

@ -347,7 +347,22 @@ render_display_name (GtkTreeViewColumn *column, GtkCellRenderer *renderer,
}
if (!is_store && unread) {
display = g_strdup_printf ("%s (%u)", name, unread);
/* Translators: This is the string used for displaying the
* folder names in folder trees. "%s" will be replaced by
* the folder's name and "%u" will be replaced with the
* number of unread messages in the folder.
*
* Most languages should translate this as "%s (%u)". The
* languages that use localized digits (like Persian) may
* need to replace "%u" with "%Iu". Right-to-left languages
* (like Arabic and Hebrew) may need to add bidirectional
* formatting codes to take care of the cases the folder
* name appears in either direction.
*
* Do not translate the "folder-display|" part. Remove it
* from your translation.
*/
display = g_strdup_printf (Q_("folder-display|%s (%u)"), name, unread);
g_free (name);
} else
display = name;