]> git.0d.be Git - empathy.git/commitdiff
Tooltip text marked as translatable
authorLaurent <lcontzen@gmail.com>
Tue, 3 Apr 2012 07:31:39 +0000 (09:31 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 3 Apr 2012 09:29:48 +0000 (11:29 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=673410

libempathy-gtk/empathy-presence-chooser.c

index 2eba9a5ea7787b71250989cc8f39638c10560724..e93573ed1b3221df94c87e9d20d82cfd018ae706 100644 (file)
@@ -384,8 +384,9 @@ presence_chooser_set_status_editing (EmpathyPresenceChooser *self,
                priv->editing_status = TRUE;
 
                get_state_and_status (self, &status);
                priv->editing_status = TRUE;
 
                get_state_and_status (self, &status);
-               tooltip_text = g_strdup_printf ("<b>Current message: %s</b>\n"
-                   "<small><i>Press Enter to set the new message or Esc to cancel.</i></small>",
+               /* Translators: %s is a status message like 'At the pub' for example */
+               tooltip_text = g_strdup_printf (_("<b>Current message: %s</b>\n"
+                       "<small><i>Press Enter to set the new message or Esc to cancel.</i></small>"),
                    status);
                gtk_widget_set_tooltip_markup (entry, tooltip_text);
                gtk_entry_set_icon_from_stock (GTK_ENTRY (entry),
                    status);
                gtk_widget_set_tooltip_markup (entry, tooltip_text);
                gtk_entry_set_icon_from_stock (GTK_ENTRY (entry),