aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-27 19:22:35 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-27 19:36:03 +0800
commited67c7eca44a3d9891197aa02a14410e66227a1d (patch)
tree8814cda53483856a7e9fe5c5170469d33f914279
parent7b31c4e8aec4e800fef27bbe25b90a26186f2b20 (diff)
downloadgsoc2013-empathy-ed67c7eca44a3d9891197aa02a14410e66227a1d.tar
gsoc2013-empathy-ed67c7eca44a3d9891197aa02a14410e66227a1d.tar.gz
gsoc2013-empathy-ed67c7eca44a3d9891197aa02a14410e66227a1d.tar.bz2
gsoc2013-empathy-ed67c7eca44a3d9891197aa02a14410e66227a1d.tar.lz
gsoc2013-empathy-ed67c7eca44a3d9891197aa02a14410e66227a1d.tar.xz
gsoc2013-empathy-ed67c7eca44a3d9891197aa02a14410e66227a1d.tar.zst
gsoc2013-empathy-ed67c7eca44a3d9891197aa02a14410e66227a1d.zip
Bug 628062 — Add translator comments
-rw-r--r--libempathy-gtk/empathy-individual-menu.c6
-rw-r--r--libempathy-gtk/empathy-linking-dialog.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 549e026e0..6708e15f0 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 52e0492c0..d323e84f4 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);