[empathy] Bug 628062 — Add translator comments



commit ed67c7eca44a3d9891197aa02a14410e66227a1d
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Aug 27 12:22:35 2010 +0100

    Bug 628062 â?? Add translator comments

 libempathy-gtk/empathy-individual-menu.c |    6 ++++++
 libempathy-gtk/empathy-linking-dialog.c  |    6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 549e026..6708e15 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -105,6 +105,10 @@ individual_menu_add_personas (GtkMenuShell *menu,
 
       store = folks_persona_get_store (FOLKS_PERSONA (persona));
       account = folks_persona_store_get_display_name (store);
+
+      /* Translators: this is used in the context menu for a contact. The first
+       * parameter is a contact ID (e.g. foo jabber org) and the second is one
+       * of the user's account IDs (e.g. me hotmail com). */
       label = g_strdup_printf (_("%s (%s)"),
           folks_persona_get_display_id (FOLKS_PERSONA (persona)), account);
 
@@ -826,6 +830,8 @@ empathy_individual_link_menu_item_new (FolksIndividual *individual)
   g_return_val_if_fail (FOLKS_IS_INDIVIDUAL (individual), NULL);
 
   item = gtk_image_menu_item_new_with_mnemonic (
+      /* Translators: this is a verb meaning "to connect two contacts together
+       * to form a meta-contact". */
       C_("Link individual (contextual menu)", "_Linkâ?¦"));
   /* TODO */
   /*image = gtk_image_new_from_icon_name (GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU);
diff --git a/libempathy-gtk/empathy-linking-dialog.c b/libempathy-gtk/empathy-linking-dialog.c
index 52e0492..d323e84 100644
--- a/libempathy-gtk/empathy-linking-dialog.c
+++ b/libempathy-gtk/empathy-linking-dialog.c
@@ -89,6 +89,9 @@ empathy_linking_dialog_init (EmpathyLinkingDialog *self)
   /* Set up dialog */
   gtk_dialog_set_has_separator (dialog, FALSE);
   gtk_window_set_resizable (GTK_WINDOW (self), TRUE);
+  /* Translators: this is the title of the linking dialogue (reached by
+   * right-clicking on a contact and selecting "Linkâ?¦"). "Link" in this title
+   * is a verb. */
   gtk_window_set_title (GTK_WINDOW (self), _("Link Contacts"));
   gtk_widget_set_size_request (GTK_WIDGET (self), 600, 500);
 
@@ -99,6 +102,9 @@ empathy_linking_dialog_init (EmpathyLinkingDialog *self)
   gtk_widget_show (button);
 
   /* Add button */
+  /* Translators: this is an action button in the linking dialogue. "Link" is
+   * used here as a verb meaning "to connect two contacts to form a
+   * meta-contact". */
   button = gtk_button_new_with_mnemonic (_("_Link"));
   gtk_dialog_add_action_widget (dialog, button, GTK_RESPONSE_OK);
   gtk_widget_show (button);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]