diff options
author | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-03 04:29:42 +0800 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-03 04:29:42 +0800 |
commit | 6b674781defaf52cf8a902357864b3ea793c2352 (patch) | |
tree | fea8827b6e67b7c97dac66c79186f7e8c8d622d0 /camel | |
parent | 9a38f851213392e4e4fefe017029306cba3d6ffe (diff) | |
download | gsoc2013-evolution-6b674781defaf52cf8a902357864b3ea793c2352.tar.gz gsoc2013-evolution-6b674781defaf52cf8a902357864b3ea793c2352.tar.zst gsoc2013-evolution-6b674781defaf52cf8a902357864b3ea793c2352.zip |
marked report status strings for tanslation, fixes #1973
svn path=/trunk/; revision=9099
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-filter-driver.c | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 8c6b76e3ab..637669dc26 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,7 @@ +2001-04-02 Gediminas Paulauskas <menesis@delfi.lt> + + * camel-filter-driver.c: marked missing report status' for translation. + 2001-04-02 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.c (camel_pgp_sign): mutex lock & unlock the context. diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c index 6c650d3c2c..84faf9ae20 100644 --- a/camel/camel-filter-driver.c +++ b/camel/camel-filter-driver.c @@ -531,7 +531,7 @@ close_folder (void *key, void *value, void *data) camel_folder_thaw (folder); camel_object_unref (CAMEL_OBJECT (folder)); - report_status(driver, CAMEL_FILTER_STATUS_PROGRESS, g_hash_table_size(p->folders)* 100 / p->closed, "Syncing folders"); + report_status(driver, CAMEL_FILTER_STATUS_PROGRESS, g_hash_table_size(p->folders)* 100 / p->closed, _("Syncing folders")); } /* flush/close all folders */ @@ -540,7 +540,7 @@ close_folders (CamelFilterDriver *driver) { struct _CamelFilterDriverPrivate *p = _PRIVATE (driver); - report_status(driver, CAMEL_FILTER_STATUS_PROGRESS, 0, "Syncing folders"); + report_status(driver, CAMEL_FILTER_STATUS_PROGRESS, 0, _("Syncing folders")); p->closed = 0; g_hash_table_foreach (p->folders, close_folder, driver); @@ -745,12 +745,12 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folde for (i = 0; i < uids->len; i++) { int pc = (100 * i)/uids->len; - report_status (driver, CAMEL_FILTER_STATUS_START, pc, "Getting message %d of %d", i+1, + report_status (driver, CAMEL_FILTER_STATUS_START, pc, _("Getting message %d of %d"), i+1, uids->len); message = camel_folder_get_message (folder, uids->pdata[i], ex); if (!message || camel_exception_is_set (ex)) { - report_status (driver, CAMEL_FILTER_STATUS_END, 100, "Failed at message %d of %d", + report_status (driver, CAMEL_FILTER_STATUS_END, 100, _("Failed at message %d of %d"), i+1, uids->len); status = -1; break; @@ -768,7 +768,7 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folde camel_folder_free_message_info (folder, info); if (camel_exception_is_set (ex) || status == -1) { - report_status (driver, CAMEL_FILTER_STATUS_END, 100, "Failed at message %d of %d", + report_status (driver, CAMEL_FILTER_STATUS_END, 100, _("Failed at message %d of %d"), i+1, uids->len); status = -1; break; @@ -785,12 +785,12 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folde camel_folder_free_uids (folder, uids); if (p->defaultfolder) { - report_status(driver, CAMEL_FILTER_STATUS_PROGRESS, 100, "Syncing folder"); + report_status(driver, CAMEL_FILTER_STATUS_PROGRESS, 100, _("Syncing folder")); camel_folder_sync (p->defaultfolder, FALSE, ex); } if (i == uids->len) - report_status (driver, CAMEL_FILTER_STATUS_END, 100, "Complete"); + report_status (driver, CAMEL_FILTER_STATUS_END, 100, _("Complete")); g_free (source_url); |