From ed67c7eca44a3d9891197aa02a14410e66227a1d Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 27 Aug 2010 12:22:35 +0100 Subject: =?UTF-8?q?Bug=20628062=20=E2=80=94=20Add=20translator=20comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libempathy-gtk/empathy-individual-menu.c | 6 ++++++ libempathy-gtk/empathy-linking-dialog.c | 6 ++++++ 2 files changed, 12 insertions(+) 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); -- cgit v1.2.3