aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
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')
-rw-r--r--src/empathy-accounts-dialog.glade2
-rw-r--r--src/empathy-call-window.c2
-rw-r--r--src/empathy-call-window.glade104
-rw-r--r--src/empathy-event-manager.c12
-rw-r--r--src/empathy-preferences.glade4
-rw-r--r--src/empathy.c28
6 files changed, 77 insertions, 75 deletions
diff --git a/src/empathy-accounts-dialog.glade b/src/empathy-accounts-dialog.glade
index 4d7b32ed8..0367cf469 100644
--- a/src/empathy-accounts-dialog.glade
+++ b/src/empathy-accounts-dialog.glade
@@ -302,7 +302,7 @@
<child>
<widget class="GtkLabel" id="label_no_account_blurb">
<property name="visible">True</property>
- <property name="label" translatable="yes">To add a new account, you can click on the 'Add' button and a new entry will be created for you to started configuring.
+ <property name="label">To add a new account, you can click on the 'Add' button and a new entry will be created for you to started configuring.
If you do not want to add an account, simply click on the account you want to configure in the list on the left.</property>
<property name="use_markup">True</property>
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 441d698b4..0de46265b 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -376,6 +376,8 @@ call_window_update (EmpathyCallWindow *window)
if (window->status == EMPATHY_TP_CALL_STATUS_READYING)
{
gtk_window_set_title (GTK_WINDOW (window->window), _("Empathy Call"));
+ /* To translators: Readying is the first state of the call, it is
+ * preparing the connection and it does not yet ring. */
gtk_label_set_text (GTK_LABEL (window->status_label), _("Readying"));
gtk_widget_set_sensitive (window->video_button, FALSE);
gtk_widget_set_sensitive (window->output_volume_button, FALSE);
diff --git a/src/empathy-call-window.glade b/src/empathy-call-window.glade
index 684aed3ce..fd48f8793 100644
--- a/src/empathy-call-window.glade
+++ b/src/empathy-call-window.glade
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.2 on Thu May 1 23:37:49 2008 -->
+<!--Generated with glade3 3.4.5 on Mon Aug 4 11:04:43 2008 -->
<glade-interface>
<widget class="GtkWindow" id="window">
<child>
@@ -72,180 +72,180 @@
<property name="n_columns">3</property>
<property name="homogeneous">True</property>
<child>
- <widget class="GtkButton" id="button_1">
+ <widget class="GtkButton" id="button_hash">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">1</property>
+ <property name="label" translatable="yes">#</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_2">
+ <widget class="GtkButton" id="button_0">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">2</property>
+ <property name="label" translatable="yes">0</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_3">
+ <widget class="GtkButton" id="button_asterisk">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">3</property>
+ <property name="label" translatable="yes">*</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_4">
+ <widget class="GtkButton" id="button_9">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">4</property>
+ <property name="label" translatable="yes">9</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_5">
+ <widget class="GtkButton" id="button_8">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">5</property>
+ <property name="label" translatable="yes">8</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_6">
+ <widget class="GtkButton" id="button_7">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">6</property>
+ <property name="label" translatable="yes">7</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_7">
+ <widget class="GtkButton" id="button_6">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">7</property>
+ <property name="label" translatable="yes">6</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_8">
+ <widget class="GtkButton" id="button_5">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">8</property>
+ <property name="label" translatable="yes">5</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_9">
+ <widget class="GtkButton" id="button_4">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">9</property>
+ <property name="label" translatable="yes">4</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_asterisk">
+ <widget class="GtkButton" id="button_3">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">*</property>
+ <property name="label" translatable="yes">3</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_0">
+ <widget class="GtkButton" id="button_2">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">0</property>
+ <property name="label" translatable="yes">2</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkButton" id="button_hash">
+ <widget class="GtkButton" id="button_1">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">#</property>
+ <property name="label" translatable="yes">1</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
@@ -254,7 +254,7 @@
<child>
<widget class="GtkLabel" id="label4">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Keypad&lt;/b&gt;</property>
+ <property name="label" translatable="yes" comments="To translators: The keypad is numbers [0-9], asterisk (*) and hash (#). Presented like on any phone">&lt;b&gt;Keypad&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
<packing>
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));
}
diff --git a/src/empathy-preferences.glade b/src/empathy-preferences.glade
index 11a3a2a7f..784bdef25 100644
--- a/src/empathy-preferences.glade
+++ b/src/empathy-preferences.glade
@@ -309,7 +309,7 @@
<child>
<widget class="GtkLabel" id="label613">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Audio&lt;/b&gt;</property>
+ <property name="label" translatable="yes" comments="To translators: Audio notifications preferences">&lt;b&gt;Audio&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
<packing>
@@ -347,7 +347,7 @@
<child>
<widget class="GtkLabel" id="label614">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Visual&lt;/b&gt;</property>
+ <property name="label" translatable="yes" comments="To translators: Visual notifications preferences, like notify bubbles, etc.">&lt;b&gt;Visual&lt;/b&gt;</property>
<property name="use_markup">True</property>
</widget>
<packing>
diff --git a/src/empathy.c b/src/empathy.c
index 926b6af0b..a14873f32 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -123,46 +123,46 @@ operation_error_cb (MissionControl *mc,
switch (error_code) {
case MC_DISCONNECTED_ERROR:
- message = _("Disconnected");
+ message = "Disconnected";
break;
case MC_INVALID_HANDLE_ERROR:
- message = _("Invalid handle");
+ message = "Invalid handle";
break;
case MC_NO_MATCHING_CONNECTION_ERROR:
- message = _("No matching connection");
+ message = "No matching connection";
break;
case MC_INVALID_ACCOUNT_ERROR:
- message = _("Invalid account");
+ message = "Invalid account";
break;
case MC_PRESENCE_FAILURE_ERROR:
- message = _("Presence failure");
+ message = "Presence failure";
break;
case MC_NO_ACCOUNTS_ERROR:
- message = _("No accounts");
+ message = "No accounts";
break;
case MC_NETWORK_ERROR:
- message = _("Network error");
+ message = "Network error";
break;
case MC_CONTACT_DOES_NOT_SUPPORT_VOICE_ERROR:
- message = _("Contact does not support voice");
+ message = "Contact does not support voice";
break;
case MC_LOWMEM_ERROR:
- message = _("Lowmem");
+ message = "Lowmem";
break;
case MC_CHANNEL_REQUEST_GENERIC_ERROR:
- message = _("Channel request generic error");
+ message = "Channel request generic error";
break;
case MC_CHANNEL_BANNED_ERROR:
- message = _("Channel banned");
+ message = "Channel banned";
break;
case MC_CHANNEL_FULL_ERROR:
- message = _("Channel full");
+ message = "Channel full";
break;
case MC_CHANNEL_INVITE_ONLY_ERROR:
- message = _("Channel invite only");
+ message = "Channel invite only";
break;
default:
- message = _("Unknown error code");
+ message = "Unknown error code";
}
DEBUG ("Error during operation %d: %s", operation_id, message);