aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-07-30 22:39:46 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-07-30 22:39:46 +0800
commit68eb730d00eb673038eb8dac9c48991afa584b69 (patch)
tree4d510383abd3cd041fec9979a6a7cc4812ba9203 /plugins/exchange-operations
parent442fe9209a578c60c755a369e796c6ff78eb2135 (diff)
downloadgsoc2013-evolution-68eb730d00eb673038eb8dac9c48991afa584b69.tar.gz
gsoc2013-evolution-68eb730d00eb673038eb8dac9c48991afa584b69.tar.zst
gsoc2013-evolution-68eb730d00eb673038eb8dac9c48991afa584b69.zip
Added translator comments.
svn path=/trunk/; revision=33904
Diffstat (limited to 'plugins/exchange-operations')
-rw-r--r--plugins/exchange-operations/ChangeLog7
-rw-r--r--plugins/exchange-operations/exchange-delegates-user.c26
2 files changed, 25 insertions, 8 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index 8b34338b39..56328df752 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-30 Chenthill Palanisamy <pchenthill@novell.com>
+
+ * exchange-delegates-user.c: (map_to_full_role_name),
+ (exchange_delegates_user_edit): Added the translation comments
+
+ Committing on behalf of Bharath Acharya <abharath@novell.com>
+
2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fix for bug #458511
diff --git a/plugins/exchange-operations/exchange-delegates-user.c b/plugins/exchange-operations/exchange-delegates-user.c
index f74979615d..cba0cb386d 100644
--- a/plugins/exchange-operations/exchange-delegates-user.c
+++ b/plugins/exchange-operations/exchange-delegates-user.c
@@ -76,8 +76,11 @@ const char *exchange_delegates_user_folder_names[] = {
"calendar", "tasks", "inbox", "contacts"
};
+/* To translators: The folder names to be displayed in the message being
+ sent to the delegatee.
+*/
const char *folder_names_for_display[] = {
- "Calendar", "Tasks ", "Inbox ", "Contacts"
+ N_("Calendar"), N_("Tasks "), N_("Inbox "), N_("Contacts")
};
static const char *widget_names[] = {
@@ -177,6 +180,10 @@ map_to_full_role_name (E2kPermissionsRole role_nam)
{
const char *role_name;
+ /* To translators: The following are the various types of permissions that can
+ assigned by an user to his folders.
+ */
+
switch (role_nam)
{
case E2K_PERMISSIONS_ROLE_EDITOR: role_name = g_strdup (
@@ -296,7 +303,7 @@ exchange_delegates_user_edit (ExchangeAccount *account,
/* The following piece of code is used to construct a mail message to be sent to a Delegate
- summarizing all the permissions set for him on the various user's folders.
+ summarizing all the permissions set for him on the user's various folders.
*/
check_delegate = glade_xml_get_widget (xml, "delegate_mail");
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (check_delegate)) == TRUE) {
@@ -335,6 +342,9 @@ exchange_delegates_user_edit (ExchangeAccount *account,
camel_content_type_unref (type);
stream = camel_stream_mem_new ();
+ /* To translators: The content of the message being sent to the delegatee
+ summarizing the permissions assigned to him.
+ */
camel_stream_printf (stream,
_("This message was sent automatically by Evolution "
"to inform you that you have been designated as a "
@@ -353,12 +363,12 @@ exchange_delegates_user_edit (ExchangeAccount *account,
camel_stream_printf (stream, "%s", role_name_final);
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (check)) == TRUE) {
- camel_stream_printf (stream, _("\nYou are also permitted \
- to see my private items."));
+ camel_stream_printf (stream, _("\nYou are also permitted "
+ "to see my private items."));
}
else
- camel_stream_printf (stream, _("\nHowever you are not permitted\
- to see my private items."));
+ camel_stream_printf (stream, _("\nHowever you are not permitted "
+ "to see my private items."));
camel_data_wrapper_construct_from_stream (delegate_mail_text, stream);
g_free (role_name);
g_free (role_name_final);
@@ -389,8 +399,8 @@ exchange_delegates_user_edit (ExchangeAccount *account,
camel_medium_set_content_object (CAMEL_MEDIUM (delegate_mail), CAMEL_DATA_WRAPPER (body));
camel_object_unref (body);
- delegate_mail_subject = g_strdup_printf (_("You have been designated \
- as a delegate for %s"), exchange_account_get_username (account));
+ delegate_mail_subject = g_strdup_printf (_("You have been designated "
+ "as a delegate for %s"), exchange_account_get_username (account));
camel_mime_message_set_subject (delegate_mail, delegate_mail_subject);
g_free (delegate_mail_subject);