diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-04-15 17:58:39 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-04-18 17:13:41 +0800 |
commit | 5d64d93d3b713a474b56610f38c4fcbb9612c02e (patch) | |
tree | 85904c892c28091cfc1ddaa7a621fd1b1c8c3a75 | |
parent | 75895a624190789b42a96b68051258cf837a0de6 (diff) | |
download | gsoc2013-empathy-5d64d93d3b713a474b56610f38c4fcbb9612c02e.tar gsoc2013-empathy-5d64d93d3b713a474b56610f38c4fcbb9612c02e.tar.gz gsoc2013-empathy-5d64d93d3b713a474b56610f38c4fcbb9612c02e.tar.bz2 gsoc2013-empathy-5d64d93d3b713a474b56610f38c4fcbb9612c02e.tar.lz gsoc2013-empathy-5d64d93d3b713a474b56610f38c4fcbb9612c02e.tar.xz gsoc2013-empathy-5d64d93d3b713a474b56610f38c4fcbb9612c02e.tar.zst gsoc2013-empathy-5d64d93d3b713a474b56610f38c4fcbb9612c02e.zip |
Add translation context on some strings (#646131)
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-utils.c | 2 | ||||
-rw-r--r-- | src/empathy-streamed-media-window.c | 12 |
3 files changed, 10 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index b562cf13d..f711f2028 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -2003,7 +2003,7 @@ add_enable_checkbox (EmpathyAccountWidget *self, priv->enabled_checkbox = /* translators: this is the label of a checkbox used to enable/disable IM * accounts */ - gtk_check_button_new_with_mnemonic (_("_Enabled")); + gtk_check_button_new_with_mnemonic (C_("account", "_Enabled")); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->enabled_checkbox), is_enabled); diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c index ae4209b49..f8220ac31 100644 --- a/libempathy/empathy-utils.c +++ b/libempathy/empathy-utils.c @@ -313,7 +313,7 @@ empathy_presence_get_default_message (TpConnectionPresenceType presence) return _("Offline"); case TP_CONNECTION_PRESENCE_TYPE_UNKNOWN: /* translators: presence type is unknown */ - return _("Unknown"); + return C_("presence", "Unknown"); case TP_CONNECTION_PRESENCE_TYPE_UNSET: case TP_CONNECTION_PRESENCE_TYPE_ERROR: default: diff --git a/src/empathy-streamed-media-window.c b/src/empathy-streamed-media-window.c index bb6df685c..50d3f8ace 100644 --- a/src/empathy-streamed-media-window.c +++ b/src/empathy-streamed-media-window.c @@ -1902,13 +1902,17 @@ reset_details_pane (EmpathyStreamedMediaWindow *self) EmpathyStreamedMediaWindowPriv *priv = GET_PRIV (self); /* translators: encoding video codec is unknown */ - gtk_label_set_text (GTK_LABEL (priv->vcodec_encoding_label), _("Unknown")); + gtk_label_set_text (GTK_LABEL (priv->vcodec_encoding_label), + C_("encoding video codec", "Unknown")); /* translators: encoding audio codec is unknown */ - gtk_label_set_text (GTK_LABEL (priv->acodec_encoding_label), _("Unknown")); + gtk_label_set_text (GTK_LABEL (priv->acodec_encoding_label), + C_("encoding audio codec", "Unknown")); /* translators: decoding video codec is unknown */ - gtk_label_set_text (GTK_LABEL (priv->vcodec_decoding_label), _("Unknown")); + gtk_label_set_text (GTK_LABEL (priv->vcodec_decoding_label), + C_("decoding video codec", "Unknown")); /* translators: decoding audio codec is unknown */ - gtk_label_set_text (GTK_LABEL (priv->acodec_decoding_label), _("Unknown")); + gtk_label_set_text (GTK_LABEL (priv->acodec_decoding_label), + C_("decoding audio codec", "Unknown")); } static gboolean |