aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-08-04 19:15:08 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-08-04 19:15:08 +0800
commitedde6162b4294a97bac8b09dc88ea806b2330a53 (patch)
tree6d9f39c38d4a8a0d13c88df978cd8599401db8e6 /src/empathy-event-manager.c
parent3c90620d3ccfc7a87cc23f1a6f8a391a3424f563 (diff)
downloadgsoc2013-empathy-edde6162b4294a97bac8b09dc88ea806b2330a53.tar
gsoc2013-empathy-edde6162b4294a97bac8b09dc88ea806b2330a53.tar.gz
gsoc2013-empathy-edde6162b4294a97bac8b09dc88ea806b2330a53.tar.bz2
gsoc2013-empathy-edde6162b4294a97bac8b09dc88ea806b2330a53.tar.lz
gsoc2013-empathy-edde6162b4294a97bac8b09dc88ea806b2330a53.tar.xz
gsoc2013-empathy-edde6162b4294a97bac8b09dc88ea806b2330a53.tar.zst
gsoc2013-empathy-edde6162b4294a97bac8b09dc88ea806b2330a53.zip
Fix translators complains about ambigous strings. Fixes bug #546154.
svn path=/trunk/; revision=1291
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 0404f5d70..618706f1c 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -235,6 +235,10 @@ event_manager_dispatch_channel_cb (EmpathyDispatcher *dispatcher,
}
}
+#define TUBE_NO_APP_MESSAGE _("%s is offering you an invitation, but " \
+ "you don't have the needed external " \
+ "application to handle it.")
+
static void
event_tube_process_func (EventPriv *event)
{
@@ -248,9 +252,7 @@ event_tube_process_func (EventPriv *event)
gchar *str;
/* Tell the user that the tube can't be handled */
- str = g_strdup_printf (_("%s offered you an invitation, but "
- "you don't have the needed external "
- "application to handle it."),
+ str = g_strdup_printf (TUBE_NO_APP_MESSAGE,
empathy_contact_get_name (tube->initiator));
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
@@ -289,9 +291,7 @@ event_manager_filter_tube_cb (EmpathyDispatcher *dispatcher,
empathy_contact_get_name (tube->initiator));
} else {
icon_name = GTK_STOCK_DIALOG_ERROR;
- msg = g_strdup_printf (_("%s is offering you an invitation, but "
- "you don't have the needed external "
- "application to handle it."),
+ msg = g_strdup_printf (TUBE_NO_APP_MESSAGE,
empathy_contact_get_name (tube->initiator));
}