aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorKarsten Bräckelmann <kbrae@src.gnome.org>2006-08-08 00:26:57 +0800
committerKarsten Bräckelmann <kbrae@src.gnome.org>2006-08-08 00:26:57 +0800
commitf1998a46e102908be459a273d65b34dec65cd5ba (patch)
tree9d303509a3a9239b70583d18ddd927c9a0e94d81 /mail
parente836c82d7ade8862c7d93459ab55eefe9898315d (diff)
downloadgsoc2013-evolution-f1998a46e102908be459a273d65b34dec65cd5ba.tar
gsoc2013-evolution-f1998a46e102908be459a273d65b34dec65cd5ba.tar.gz
gsoc2013-evolution-f1998a46e102908be459a273d65b34dec65cd5ba.tar.bz2
gsoc2013-evolution-f1998a46e102908be459a273d65b34dec65cd5ba.tar.lz
gsoc2013-evolution-f1998a46e102908be459a273d65b34dec65cd5ba.tar.xz
gsoc2013-evolution-f1998a46e102908be459a273d65b34dec65cd5ba.tar.zst
gsoc2013-evolution-f1998a46e102908be459a273d65b34dec65cd5ba.zip
Marking vFolder names in the folder tree localizable.
svn path=/trunk/; revision=32492
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-folder-tree.c17
2 files changed, 21 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9c07b96ed5..935ace72d6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -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
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 687e4206fc..28fcf8c96d 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -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;