[evolution-data-server] Bug #261087 - "Learning junk" in camel difficult to translate
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #261087 - "Learning junk" in camel difficult to translate
- Date: Thu, 1 Apr 2010 16:54:58 +0000 (UTC)
commit 099e3462beabcbe3e9ea7d508a4725554ec858af
Author: Milan Crha <mcrha redhat com>
Date: Thu Apr 1 18:54:06 2010 +0200
Bug #261087 - "Learning junk" in camel difficult to translate
camel/camel-folder.c | 6 +++---
po/POTFILES.in | 3 ---
2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index e9a280b..841264b 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -1941,7 +1941,7 @@ filter_filter(CamelSession *session, CamelSessionThreadMsg *tmsg)
CamelJunkPlugin *csp = ((CamelService *)m->folder->parent_store)->session->junk_plugin;
if (m->junk) {
- camel_operation_start (NULL, _("Learning junk"));
+ camel_operation_start (NULL, ngettext ("Learning new spam message", "Learning new spam messages", m->junk->len));
for (i = 0; i < m->junk->len; i ++) {
CamelMimeMessage *msg = camel_folder_get_message(m->folder, m->junk->pdata[i], &ex);
@@ -1959,7 +1959,7 @@ filter_filter(CamelSession *session, CamelSessionThreadMsg *tmsg)
}
if (m->notjunk) {
- camel_operation_start (NULL, _("Learning non-junk"));
+ camel_operation_start (NULL, ngettext ("Learning new ham message", "Learning new ham messages", m->notjunk->len));
for (i = 0; i < m->notjunk->len; i ++) {
CamelMimeMessage *msg = camel_folder_get_message(m->folder, m->notjunk->pdata[i], &ex);
gint pc = 100 * i / m->notjunk->len;
@@ -1979,7 +1979,7 @@ filter_filter(CamelSession *session, CamelSessionThreadMsg *tmsg)
camel_junk_plugin_commit_reports (csp);
if (m->driver && m->recents) {
- camel_operation_start(NULL, _("Filtering new message(s)"));
+ camel_operation_start(NULL, ngettext ("Filtering new message", "Filtering new messages", m->recents->len));
source_url = camel_service_get_url((CamelService *)m->folder->parent_store);
uri = camel_url_new(source_url, NULL);
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 8427760..19e8f0d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -39,9 +39,6 @@ camel/camel-data-cache.c
camel/camel-data-wrapper.c
camel/camel-db.c
camel/camel-debug.c
-camel/camel-digest-folder.c
-camel/camel-digest-store.c
-camel/camel-digest-summary.c
camel/camel-disco-diary.c
camel/camel-disco-folder.c
camel/camel-disco-store.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]