]> git.0d.be Git - empathy.git/commitdiff
Bug 628062 — Add translator comments
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 27 Aug 2010 11:22:35 +0000 (12:22 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 27 Aug 2010 11:36:03 +0000 (12:36 +0100)
libempathy-gtk/empathy-individual-menu.c
libempathy-gtk/empathy-linking-dialog.c

index 549e026e0ac02763567d53304d882913f6ff775c..6708e15f02b7ef76351d15f5ac2b690a085b9816 100644 (file)
@@ -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);
index 52e0492c0e852b328220e8e1c8f9d21482bd1c00..d323e84f4a837cccdda754bead9c128969953ca9 100644 (file)
@@ -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);