aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 22:03:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 22:13:42 +0800
commit906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc (patch)
tree56fc78a8c7b7305a25aeae6a1d8b282f914dbbad /src
parent367020d3ffc220ced07c93c3cc13841ed2a383ab (diff)
downloadgsoc2013-empathy-906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc.tar
gsoc2013-empathy-906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc.tar.gz
gsoc2013-empathy-906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc.tar.bz2
gsoc2013-empathy-906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc.tar.lz
gsoc2013-empathy-906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc.tar.xz
gsoc2013-empathy-906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc.tar.zst
gsoc2013-empathy-906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc.zip
split strings to no translate markups
Diffstat (limited to 'src')
-rw-r--r--src/empathy-account-assistant.c23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 24944492c..be7babbd1 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -1049,6 +1049,7 @@ account_assistant_build_salut_page (EmpathyAccountAssistant *self)
EmpathyAccountSettings *settings;
GtkWidget *account_widget;
EmpathyAccountWidget *widget_object;
+ gchar *markup;
main_vbox = gtk_vbox_new (FALSE, 12);
gtk_widget_show (main_vbox);
@@ -1059,14 +1060,16 @@ account_assistant_build_salut_page (EmpathyAccountAssistant *self)
gtk_widget_show (hbox_1);
w = gtk_label_new ("");
- gtk_label_set_markup (GTK_LABEL (w),
+ markup = g_strdup_printf ("%s (<span style=\"italic\">%s</span>).",
_("Empathy can automatically discover and chat with the people "
"connected on the same network as you. "
"If you want to use this feature, please check that the "
"details below are correct. "
"You can easily change these details later or disable this feature "
- "by using the 'Accounts' dialog "
- "(<span style=\"italic\">Edit->Accounts</span>)."));
+ "by using the 'Accounts' dialog"),
+ _("Edit->Accounts"));
+ gtk_label_set_markup (GTK_LABEL (w), markup);
+ g_free (markup);
gtk_misc_set_alignment (GTK_MISC (w), 0, 0.5);
gtk_label_set_line_wrap (GTK_LABEL (w), TRUE);
gtk_box_pack_start (GTK_BOX (hbox_1), w, FALSE, FALSE, 0);
@@ -1112,13 +1115,19 @@ account_assistant_build_salut_page (EmpathyAccountAssistant *self)
static GtkWidget *
account_assistant_build_salut_error_page (EmpathyAccountAssistant *self)
{
- return build_error_vbox (
- _("telepathy-salut not installed"),
+ GtkWidget *vbox;
+ gchar *markup;
+
+ markup = g_strdup_printf ("%s (<span style=\"italic\">%s</span>).",
_("You won't be able to chat with people connected to your local "
"network, as telepathy-salut is not installed.\nIf you want to enable "
"this feature, please install the telepathy-salut package\nand create "
- "a People Nearby account from the Accounts dialog "
- "(<span style=\"italic\">Edit->Accounts</span>)."));
+ "a People Nearby account from the Accounts dialog "),
+ _("Edit->Accounts"));
+
+ vbox = build_error_vbox (_("telepathy-salut not installed"), markup);
+ g_free (markup);
+ return vbox;
}
static void