[empathy] Use Unicode in translatable strings
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Use Unicode in translatable strings
- Date: Thu, 10 Nov 2016 19:04:57 +0000 (UTC)
commit 2d92c7a780553b47a99830475d807e0815735237
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Nov 10 16:52:46 2016 +0100
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=774216
data/org.gnome.Empathy.gschema.xml | 18 ++++++++--------
libempathy-gtk/empathy-call-utils.c | 4 +-
libempathy-gtk/empathy-chat.c | 14 ++++++------
libempathy-gtk/empathy-contact-search-dialog.c | 2 +-
libempathy-gtk/empathy-individual-dialogs.c | 2 +-
libempathy-gtk/empathy-individual-menu.c | 6 ++--
libempathy-gtk/empathy-individual-view.c | 2 +-
libempathy-gtk/empathy-new-message-dialog.c | 2 +-
libempathy-gtk/empathy-subscription-dialog.c | 2 +-
libempathy-gtk/empathy-tls-dialog.c | 4 +-
libempathy/empathy-utils.c | 2 +-
src/empathy-accounts.c | 6 ++--
src/empathy-auth-client.c | 2 +-
src/empathy-call-window.c | 16 +++++++-------
src/empathy-call.c | 2 +-
src/empathy-chat.c | 2 +-
src/empathy-debug-window.c | 4 +-
src/empathy-debugger.c | 2 +-
src/empathy-ft-manager.c | 26 ++++++++++++------------
src/empathy-new-chatroom-dialog.ui | 4 +-
src/empathy-preferences.c | 2 +-
src/empathy-roster-window.c | 2 +-
src/empathy.c | 6 ++--
23 files changed, 66 insertions(+), 66 deletions(-)
---
diff --git a/data/org.gnome.Empathy.gschema.xml b/data/org.gnome.Empathy.gschema.xml
index 2d91c32..7cffb94 100644
--- a/data/org.gnome.Empathy.gschema.xml
+++ b/data/org.gnome.Empathy.gschema.xml
@@ -145,7 +145,7 @@ present them to the user immediately.</description>
</key>
<key name="notifications-focus" type="b">
<default>true</default>
- <summary>Pop up notifications if the chat isn't focused</summary>
+ <summary>Pop up notifications if the chat isn’t focused</summary>
<description>Whether to show a popup notification when receiving a new message even if the chat is
already opened, but not focused.</description>
</key>
<key name="notifications-contact-signin" type="b">
@@ -193,7 +193,7 @@ present them to the user immediately.</description>
<key name="send-chat-states" type="b">
<default>true</default>
<summary>Inform other users when you are typing to them</summary>
- <description>Whether to send the 'composing' or 'paused' chat states. Does not currently affect the
'gone' state.</description>
+ <description>Whether to send the “composing” or “paused” chat states. Does not currently affect the
“gone” state.</description>
</key>
<key name="theme-chat-room" type="b">
<default>true</default>
@@ -203,7 +203,7 @@ present them to the user immediately.</description>
<key name="spell-checker-languages" type="s">
<default>'en'</default>
<summary>Spell checking languages</summary>
- <description>Comma-separated list of spell checker languages to use (e.g. "en, fr, nl").</description>
+ <description>Comma-separated list of spell checker languages to use (e.g. “en, fr, nl”).</description>
</key>
<key name="spell-checker-enabled" type="b">
<default>true</default>
@@ -240,26 +240,26 @@ present them to the user immediately.</description>
<key name="echo-cancellation" type="b">
<default>true</default>
<summary>Echo cancellation support</summary>
- <description>Whether to enable Pulseaudio's echo cancellation filter.</description>
+ <description>Whether to enable PulseAudio’s echo cancellation filter.</description>
</key>
</schema>
<schema id="org.gnome.Empathy.hints" path="/org/gnome/empathy/hints/">
<key name="close-main-window" type="b">
<default>true</default>
<summary>Show hint about closing the main window</summary>
- <description>Whether to show the message dialog about closing the main window with the 'x' button in
the title bar.</description>
+ <description>Whether to show the message dialog about closing the main window with the “x” button in
the title bar.</description>
</key>
</schema>
<schema id="org.gnome.Empathy.location" path="/org/gnome/empathy/location/">
<key name="publish" type="b">
<default>false</default>
- <summary>Empathy can publish the user's location</summary>
- <description>Whether Empathy can publish the user's location to their contacts.</description>
+ <summary>Empathy can publish the user’s location</summary>
+ <description>Whether Empathy can publish the user’s location to their contacts.</description>
</key>
<key name="reduce-accuracy" type="b">
<default>true</default>
- <summary>Empathy should reduce the location's accuracy</summary>
- <description>Whether Empathy should reduce the location's accuracy for privacy reasons.</description>
+ <summary>Empathy should reduce the location’s accuracy</summary>
+ <description>Whether Empathy should reduce the location’s accuracy for privacy reasons.</description>
</key>
</schema>
</schemalist>
diff --git a/libempathy-gtk/empathy-call-utils.c b/libempathy-gtk/empathy-call-utils.c
index c6380ba..aa4c3b0 100644
--- a/libempathy-gtk/empathy-call-utils.c
+++ b/libempathy-gtk/empathy-call-utils.c
@@ -41,7 +41,7 @@ get_error_display_message (GError *error)
case TP_ERROR_NETWORK_ERROR:
return _("Network error");
case TP_ERROR_NOT_CAPABLE:
- return _("The specified contact doesn't support calls");
+ return _("The specified contact doesn’t support calls");
case TP_ERROR_OFFLINE:
return _("The specified contact is offline");
case TP_ERROR_INVALID_HANDLE:
@@ -49,7 +49,7 @@ get_error_display_message (GError *error)
case TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED:
return _("Emergency calls are not supported on this protocol");
case TP_ERROR_INSUFFICIENT_BALANCE:
- return _("You don't have enough credit in order to place this call");
+ return _("You don’t have enough credit in order to place this call");
}
return _("There was an error starting the call");
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 028f5ab..f9dd496 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1078,8 +1078,8 @@ static ChatCommandItem commands[] = {
{"say", 2, 2, chat_command_say, NULL,
N_("/say <message>: send <message> to the current conversation. "
- "This is used to send a message starting with a '/'. For example: "
- "\"/say /join is used to join a new chat room\"")},
+ "This is used to send a message starting with a “/”. For example: "
+ "“/say /join is used to join a new chat room”")},
{"whois", 2, 2, chat_command_whois, NULL,
N_("/whois <contact ID>: display information about a contact")},
@@ -1534,7 +1534,7 @@ append_balance_error (EmpathyChat *chat,
gchar *str, *str_markup = NULL;
if (message_body != NULL) {
- str = g_strdup_printf (_("Error sending message '%s': %s"), message_body, error);
+ str = g_strdup_printf (_("Error sending message “%s”: %s"), message_body, error);
} else {
str = g_strdup_printf (_("Error sending message: %s"), error);
}
@@ -1548,7 +1548,7 @@ append_balance_error (EmpathyChat *chat,
if (message_body != NULL) {
gchar *escaped_body = g_markup_escape_text (message_body, -1);
- str_markup = g_strdup_printf (_("Error sending message '%s': %s"),
+ str_markup = g_strdup_printf (_("Error sending message “%s”: %s"),
escaped_body, markup_error);
g_free (escaped_body);
@@ -1611,7 +1611,7 @@ chat_send_error_cb (EmpathyTpChat *tp_chat,
}
if (message_body != NULL) {
- str = g_strdup_printf (_("Error sending message '%s': %s"),
+ str = g_strdup_printf (_("Error sending message “%s”: %s"),
message_body, error);
}
else {
@@ -2280,7 +2280,7 @@ chat_spelling_build_add_to_dictionary_item (EmpathyChatSpell *chat_spell)
g_assert (codes != NULL);
if (g_list_length (codes) > 1) {
/* translators: %s is the selected word */
- label = g_strdup_printf (_("Add '%s' to Dictionary"),
+ label = g_strdup_printf (_("Add “%s” to Dictionary"),
chat_spell->word);
item = gtk_image_menu_item_new_with_mnemonic (label);
g_free (label);
@@ -2317,7 +2317,7 @@ chat_spelling_build_add_to_dictionary_item (EmpathyChatSpell *chat_spell)
g_assert (name != NULL);
/* translators: first %s is the selected word,
* second %s is the language name of the target dictionary */
- label = g_strdup_printf (_("Add '%s' to %s Dictionary"),
+ label = g_strdup_printf (_("Add “%s” to %s Dictionary"),
chat_spell->word, name);
item = gtk_image_menu_item_new_with_mnemonic (label);
g_free (label);
diff --git a/libempathy-gtk/empathy-contact-search-dialog.c b/libempathy-gtk/empathy-contact-search-dialog.c
index e581059..7d507c7 100644
--- a/libempathy-gtk/empathy-contact-search-dialog.c
+++ b/libempathy-gtk/empathy-contact-search-dialog.c
@@ -671,7 +671,7 @@ empathy_contact_search_dialog_init (EmpathyContactSearchDialog *self)
GTK_WRAP_WORD_CHAR);
gtk_text_buffer_set_text (
gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->message)),
- _("Please let me see when you're online. Thanks!"), -1);
+ _("Please let me see when you’re online. Thanks!"), -1);
priv->message_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (
diff --git a/libempathy-gtk/empathy-individual-dialogs.c b/libempathy-gtk/empathy-individual-dialogs.c
index 2e388bd..eedd1e7 100644
--- a/libempathy-gtk/empathy-individual-dialogs.c
+++ b/libempathy-gtk/empathy-individual-dialogs.c
@@ -236,7 +236,7 @@ while_finish:
g_clear_object (&iter);
g_string_append_printf (text,
- _("Are you sure you want to block '%s' from contacting you again?"),
+ _("Are you sure you want to block “%s” from contacting you again?"),
folks_alias_details_get_alias (FOLKS_ALIAS_DETAILS (individual)));
if (npersonas_blocked > 0)
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 1165397..2c0364d 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -726,7 +726,7 @@ remove_dialog_show (const gchar *message,
if (show_remove_from_group)
{
GtkWidget *button;
- gchar *button_text = g_strdup_printf (_("Remove from _Group \'%s\'"),
+ gchar *button_text = g_strdup_printf (_("Remove from _Group “%s”"),
active_group);
/* gtk_dialog_add_button() doesn't allow us to pass a string with a
@@ -835,7 +835,7 @@ remove_got_avatar (GObject *source_object,
/* Not a meta-contact */
text =
g_strdup_printf (
- _("Do you really want to remove the contact '%s'?"),
+ _("Do you really want to remove the contact “%s”?"),
folks_alias_details_get_alias (
FOLKS_ALIAS_DETAILS (individual)));
}
@@ -844,7 +844,7 @@ remove_got_avatar (GObject *source_object,
/* Meta-contact */
text =
g_strdup_printf (
- _("Do you really want to remove the linked contact '%s'? "
+ _("Do you really want to remove the linked contact “%s”? "
"Note that this will remove all the contacts which make up "
"this linked contact."),
folks_alias_details_get_alias (
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index b8ef8d1..2945c3d 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -2364,7 +2364,7 @@ individual_view_group_remove_activate_cb (GtkMenuItem *menuitem,
GtkWindow *parent;
text =
- g_strdup_printf (_("Do you really want to remove the group '%s'?"),
+ g_strdup_printf (_("Do you really want to remove the group “%s”?"),
group);
parent = tpaw_get_toplevel_window (GTK_WIDGET (view));
if (individual_view_remove_dialog_show (parent, _("Removing group"),
diff --git a/libempathy-gtk/empathy-new-message-dialog.c b/libempathy-gtk/empathy-new-message-dialog.c
index 3661472..2aca107 100644
--- a/libempathy-gtk/empathy-new-message-dialog.c
+++ b/libempathy-gtk/empathy-new-message-dialog.c
@@ -89,7 +89,7 @@ get_error_display_message (GError *error)
case TP_ERROR_CHANNEL_INVITE_ONLY:
return _("You must be invited to join this channel");
case TP_ERROR_DISCONNECTED:
- return _("Can't proceed while disconnected");
+ return _("Can’t proceed while disconnected");
case TP_ERROR_PERMISSION_DENIED:
return _("Permission denied");
default:
diff --git a/libempathy-gtk/empathy-subscription-dialog.c b/libempathy-gtk/empathy-subscription-dialog.c
index d7e70bf..e08002e 100644
--- a/libempathy-gtk/empathy-subscription-dialog.c
+++ b/libempathy-gtk/empathy-subscription-dialog.c
@@ -122,7 +122,7 @@ block_contact_dialog_show (GtkWindow *parent,
empathy_contact_get_alias (contact));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- _("Are you sure you want to block '%s' from contacting you again?"),
+ _("Are you sure you want to block “%s” from contacting you again?"),
empathy_contact_get_alias (contact));
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
diff --git a/libempathy-gtk/empathy-tls-dialog.c b/libempathy-gtk/empathy-tls-dialog.c
index df47c50..9747137 100644
--- a/libempathy-gtk/empathy-tls-dialog.c
+++ b/libempathy-gtk/empathy-tls-dialog.c
@@ -158,13 +158,13 @@ reason_to_string (EmpathyTLSDialog *self)
reason_str = _("The certificate has expired.");
break;
case TP_TLS_CERTIFICATE_REJECT_REASON_NOT_ACTIVATED:
- reason_str = _("The certificate hasn't yet been activated.");
+ reason_str = _("The certificate hasn’t yet been activated.");
break;
case TP_TLS_CERTIFICATE_REJECT_REASON_FINGERPRINT_MISMATCH:
reason_str = _("The certificate does not have the expected fingerprint.");
break;
case TP_TLS_CERTIFICATE_REJECT_REASON_HOSTNAME_MISMATCH:
- reason_str = _("The hostname verified by the certificate doesn't match "
+ reason_str = _("The hostname verified by the certificate doesn’t match "
"the server name.");
break;
case TP_TLS_CERTIFICATE_REJECT_REASON_SELF_SIGNED:
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index e834937..7adb6b5 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -295,7 +295,7 @@ create_errors_to_message_hash (void)
g_hash_table_insert (errors, TP_ERROR_STR_CONNECTION_REFUSED,
_("Connection has been refused"));
g_hash_table_insert (errors, TP_ERROR_STR_CONNECTION_FAILED,
- _("Connection can't be established"));
+ _("Connection can’t be established"));
g_hash_table_insert (errors, TP_ERROR_STR_CONNECTION_LOST,
_("Connection has been lost"));
g_hash_table_insert (errors, TP_ERROR_STR_ALREADY_CONNECTED,
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c
index f0db551..fc0a206 100644
--- a/src/empathy-accounts.c
+++ b/src/empathy-accounts.c
@@ -168,11 +168,11 @@ local_cmdline (GApplication *app,
GOptionEntry options[] = {
{ "hidden", 'h',
0, G_OPTION_ARG_NONE, &hidden,
- N_("Don't display any dialogs; do any work (eg, importing) and exit"),
+ N_("Don’t display any dialogs; do any work (e.g. importing) and exit"),
NULL },
{ "if-needed", 'n',
0, G_OPTION_ARG_NONE, &only_if_needed,
- N_("Don't display any dialogs unless there are only \"People Nearby\" accounts"),
+ N_("Don’t display any dialogs unless there are only “People Nearby” accounts"),
NULL },
{ "select-account", 's',
G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_STRING, &selected_account_name,
@@ -183,7 +183,7 @@ local_cmdline (GApplication *app,
{ NULL }
};
- optcontext = g_option_context_new (N_("- Empathy Accounts"));
+ optcontext = g_option_context_new (N_("— Empathy Accounts"));
g_option_context_add_group (optcontext, gtk_get_option_group (FALSE));
g_option_context_add_main_entries (optcontext, options, GETTEXT_PACKAGE);
g_option_context_set_translation_domain (optcontext, GETTEXT_PACKAGE);
diff --git a/src/empathy-auth-client.c b/src/empathy-auth-client.c
index 3ee478d..90075f4 100644
--- a/src/empathy-auth-client.c
+++ b/src/empathy-auth-client.c
@@ -282,7 +282,7 @@ main (int argc,
TpSimpleClientFactory *tp_factory;
TpDBusDaemon *dbus;
- context = g_option_context_new (N_(" - Empathy authentication client"));
+ context = g_option_context_new (N_(" — Empathy authentication client"));
g_option_context_add_group (context, gtk_get_option_group (TRUE));
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 2931c3d..5ab8a9a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2970,8 +2970,8 @@ empathy_call_window_update_timer (gpointer user_data)
else
status = _("Duration");
- /* Translators: 'status - minutes:seconds' the caller has been connected */
- str = g_strdup_printf (_("%s — %d:%02dm"),
+ /* Translators: 'status — minutes∶seconds' the caller has been connected */
+ str = g_strdup_printf (_("%s — %d∶%02dm"),
status,
(int) time_ / 60, (int) time_ % 60);
empathy_call_window_status_message (self, str);
@@ -3106,18 +3106,18 @@ media_stream_error_to_txt (EmpathyCallWindow *self,
case TP_MEDIA_STREAM_ERROR_CODEC_NEGOTIATION_FAILED:
if (audio)
return g_strdup_printf (
- _("%s's software does not understand any of the audio formats "
+ _("%s’s software does not understand any of the audio formats "
"supported by your computer"),
empathy_contact_get_alias (priv->contact));
else
return g_strdup_printf (
- _("%s's software does not understand any of the video formats "
+ _("%s’s software does not understand any of the video formats "
"supported by your computer"),
empathy_contact_get_alias (priv->contact));
case TP_MEDIA_STREAM_ERROR_CONNECTION_FAILED:
return g_strdup_printf (
- _("Can't establish a connection to %s. "
+ _("Can’t establish a connection to %s. "
"One of you might be on a network that does not allow "
"direct connections."),
empathy_contact_get_alias (priv->contact));
@@ -3144,7 +3144,7 @@ media_stream_error_to_txt (EmpathyCallWindow *self,
result = g_strdup_printf (
_("Something unexpected happened in a Telepathy component. "
"Please <a href=\"%s\">report this bug</a> and attach "
- "logs gathered from the 'Debug' window in the Help menu."), url);
+ "logs gathered from the “Debug” window in the Help menu."), url);
g_free (url);
g_free (cm);
@@ -3194,7 +3194,7 @@ empathy_call_window_audio_stream_error (TpCallChannel *call,
EmpathyCallWindow *self)
{
empathy_call_window_stream_error (self, call, TRUE, code, msg,
- "gnome-stock-mic", _("Can't establish audio stream"));
+ "gnome-stock-mic", _("Can’t establish audio stream"));
}
static void
@@ -3204,7 +3204,7 @@ empathy_call_window_video_stream_error (TpCallChannel *call,
EmpathyCallWindow *self)
{
empathy_call_window_stream_error (self, call, FALSE, code, msg,
- "camera-web", _("Can't establish video stream"));
+ "camera-web", _("Can’t establish video stream"));
}
#endif
diff --git a/src/empathy-call.c b/src/empathy-call.c
index 1ac8a79..8fe07eb 100644
--- a/src/empathy-call.c
+++ b/src/empathy-call.c
@@ -220,7 +220,7 @@ main (int argc,
XInitThreads ();
#endif
- optcontext = g_option_context_new (N_("- Empathy Audio/Video Client"));
+ optcontext = g_option_context_new (N_("— Empathy Audio/Video Client"));
g_option_context_add_group (optcontext, gst_init_get_option_group ());
g_option_context_add_group (optcontext, gtk_get_option_group (TRUE));
g_option_context_add_group (optcontext, cogl_get_option_group ());
diff --git a/src/empathy-chat.c b/src/empathy-chat.c
index e0bcd81..0a32adb 100644
--- a/src/empathy-chat.c
+++ b/src/empathy-chat.c
@@ -97,7 +97,7 @@ main (int argc,
EmpathyThemeManager *theme_mgr;
gint retval;
- optcontext = g_option_context_new (N_("- Empathy Chat Client"));
+ optcontext = g_option_context_new (N_("— Empathy Chat Client"));
g_option_context_add_group (optcontext, gtk_get_option_group (FALSE));
g_option_context_add_main_entries (optcontext, options, GETTEXT_PACKAGE);
g_option_context_set_translation_domain (optcontext, GETTEXT_PACKAGE);
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index 8469e63..0db7915 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -1992,9 +1992,9 @@ am_prepared_cb (GObject *am,
gtk_info_bar_set_message_type (GTK_INFO_BAR (infobar), GTK_MESSAGE_INFO);
label = gtk_label_new (
- _("Even if they don't display passwords, logs can contain sensitive "
+ _("Even if they don’t display passwords, logs can contain sensitive "
"information such as your list of contacts or the messages you "
- "recently sent or received.\nIf you don't want to see such "
+ "recently sent or received.\nIf you don’t want to see such "
"information available in a public bug report, you "
"can choose to limit the visibility of your bug to "
"Empathy developers when reporting it by displaying "
diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c
index 36819ba..340b14c 100644
--- a/src/empathy-debugger.c
+++ b/src/empathy-debugger.c
@@ -78,7 +78,7 @@ local_cmdline (GApplication *app,
{ NULL }
};
- optcontext = g_option_context_new (N_("- Empathy Debugger"));
+ optcontext = g_option_context_new (N_("— Empathy Debugger"));
g_option_context_add_group (optcontext, gtk_get_option_group (FALSE));
g_option_context_add_main_entries (optcontext, options, GETTEXT_PACKAGE);
g_option_context_set_translation_domain (optcontext, GETTEXT_PACKAGE);
diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c
index 4321969..d07871f 100644
--- a/src/empathy-ft-manager.c
+++ b/src/empathy-ft-manager.c
@@ -91,7 +91,7 @@ ft_manager_format_interval (guint interval)
if (hours > 0)
/* Translators: time left, when it is more than one hour */
- return g_strdup_printf (_("%u:%02u.%02u"), hours, mins, secs);
+ return g_strdup_printf (_("%u∶%02u.%02u"), hours, mins, secs);
else
/* Translators: time left, when is is less than one hour */
return g_strdup_printf (_("%02u.%02u"), mins, secs);
@@ -297,10 +297,10 @@ ft_manager_format_contact_info (EmpathyFTHandler *handler)
if (incoming)
/* translators: first %s is filename, second %s is the contact name */
- first_line_format = _("Receiving \"%s\" from %s");
+ first_line_format = _("Receiving “%s” from %s");
else
/* translators: first %s is filename, second %s is the contact name */
- first_line_format = _("Sending \"%s\" to %s");
+ first_line_format = _("Sending “%s” to %s");
retval = g_strdup_printf (first_line_format, filename, contact_name);
@@ -330,7 +330,7 @@ ft_manager_format_error_message (EmpathyFTHandler *handler,
if (filename && contact_name)
/* translators: first %s is filename, second %s
* is the contact name */
- first_line = g_strdup_printf (_("Error receiving \"%s\" from %s"), filename,
+ first_line = g_strdup_printf (_("Error receiving “%s” from %s"), filename,
contact_name);
else
first_line = g_strdup (_("Error receiving a file"));
@@ -338,7 +338,7 @@ ft_manager_format_error_message (EmpathyFTHandler *handler,
/* translators: first %s is filename, second %s
* is the contact name */
if (filename && contact_name)
- first_line = g_strdup_printf (_("Error sending \"%s\" to %s"), filename,
+ first_line = g_strdup_printf (_("Error sending “%s” to %s"), filename,
contact_name);
else
first_line = g_strdup (_("Error sending a file"));
@@ -480,12 +480,12 @@ do_real_transfer_done (EmpathyFTManager *manager,
if (incoming)
/* translators: first %s is filename, second %s
* is the contact name */
- first_line = g_strdup_printf (_("\"%s\" received from %s"), filename,
+ first_line = g_strdup_printf (_("“%s” received from %s"), filename,
contact_name);
else
/* translators: first %s is filename, second %s
* is the contact name */
- first_line = g_strdup_printf (_("\"%s\" sent to %s"), filename,
+ first_line = g_strdup_printf (_("“%s” sent to %s"), filename,
contact_name);
second_line = g_strdup (_("File transfer completed"));
@@ -607,7 +607,7 @@ ft_handler_hashing_done_cb (EmpathyFTHandler *handler,
g_return_if_fail (row_ref != NULL);
first_line = ft_manager_format_contact_info (handler);
- second_line = g_strdup (_("Waiting for the other participant's response"));
+ second_line = g_strdup (_("Waiting for the other participant’s response"));
message = g_strdup_printf ("%s\n%s", first_line, second_line);
ft_manager_update_handler_message (manager, row_ref, message);
@@ -633,10 +633,10 @@ ft_handler_hashing_progress_cb (EmpathyFTHandler *handler,
g_return_if_fail (row_ref != NULL);
if (empathy_ft_handler_is_incoming (handler))
- first_line = g_strdup_printf (_("Checking integrity of \"%s\""),
+ first_line = g_strdup_printf (_("Checking integrity of “%s”"),
empathy_ft_handler_get_filename (handler));
else
- first_line = g_strdup_printf (_("Hashing \"%s\""),
+ first_line = g_strdup_printf (_("Hashing “%s”"),
empathy_ft_handler_get_filename (handler));
second_line = ft_manager_format_progress_bytes_and_percentage
@@ -671,10 +671,10 @@ ft_handler_hashing_started_cb (EmpathyFTHandler *handler,
first_line = ft_manager_format_contact_info (handler);
if (empathy_ft_handler_is_incoming (handler))
- second_line = g_strdup_printf (_("Checking integrity of \"%s\""),
+ second_line = g_strdup_printf (_("Checking integrity of “%s”"),
empathy_ft_handler_get_filename (handler));
else
- second_line = g_strdup_printf (_("Hashing \"%s\""),
+ second_line = g_strdup_printf (_("Hashing “%s”"),
empathy_ft_handler_get_filename (handler));
message = g_strdup_printf ("%s\n%s", first_line, second_line);
@@ -771,7 +771,7 @@ ft_manager_add_handler_to_list (EmpathyFTManager *manager,
if (empathy_ft_handler_is_incoming (handler) ||
!empathy_ft_handler_get_use_hash (handler)) {
first_line = ft_manager_format_contact_info (handler);
- second_line = _("Waiting for the other participant's response");
+ second_line = _("Waiting for the other participant’s response");
message = g_strdup_printf ("%s\n%s", first_line, second_line);
ft_manager_update_handler_message (manager, row_ref, message);
diff --git a/src/empathy-new-chatroom-dialog.ui b/src/empathy-new-chatroom-dialog.ui
index ee2d74b..4bbcdfc 100644
--- a/src/empathy-new-chatroom-dialog.ui
+++ b/src/empathy-new-chatroom-dialog.ui
@@ -51,7 +51,7 @@
<property name="can_focus">True</property>
<property name="has_tooltip">True</property>
<property name="tooltip_markup" translatable="yes">Enter the server which hosts the room, or
leave it empty if the room is on the current account&apos;s server</property>
- <property name="tooltip_text" translatable="yes">Enter the server which hosts the room, or leave
it empty if the room is on the current account's server</property>
+ <property name="tooltip_text" translatable="yes">Enter the server which hosts the room, or leave
it empty if the room is on the current account’s server</property>
<property name="width_chars">25</property>
</object>
<packing>
@@ -135,7 +135,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="xpad">10</property>
- <property name="label" translatable="yes">Couldn't load room list</property>
+ <property name="label" translatable="yes">Couldn’t load room list</property>
</object>
<packing>
<property name="expand">True</property>
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index b7b1a7b..42335d5 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -640,7 +640,7 @@ preferences_preview_theme_changed_cb (EmpathyThemeManager *manager,
juliet, romeo, _("Or if thou wilt not, be but sworn my love"), FALSE);
preferences_preview_theme_append_message (priv->chat_theme_preview,
/* translators: Quote from Romeo & Julier, for chat theme preview */
- juliet, romeo, _("And I'll no longer be a Capulet."), FALSE);
+ juliet, romeo, _("And I’ll no longer be a Capulet."), FALSE);
preferences_preview_theme_append_message (priv->chat_theme_preview,
/* translators: Quote from Romeo & Julier, for chat theme preview */
romeo, juliet, _("Shall I hear more, or shall I speak at this?"), FALSE);
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index b953e0e..323d923 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -1725,7 +1725,7 @@ set_notebook_page (EmpathyRosterWindow *self)
{
if (g_settings_get_boolean (self->priv->gsettings_ui,
EMPATHY_PREFS_UI_SHOW_OFFLINE))
- display_page_message (self, _("You haven't added any contacts yet"),
+ display_page_message (self, _("You haven’t added any contacts yet"),
PAGE_MESSAGE_FLAG_ADD_CONTACT);
else
display_page_message (self, _("No online contacts"),
diff --git a/src/empathy.c b/src/empathy.c
index 0ee4219..840408d 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -398,11 +398,11 @@ empathy_app_local_command_line (GApplication *app,
GOptionEntry options[] = {
{ "no-connect", 'n',
0, G_OPTION_ARG_NONE, &no_connect,
- N_("Don't connect on startup"),
+ N_("Don’t connect on startup"),
NULL },
{ "start-hidden", 'h',
0, G_OPTION_ARG_NONE, &start_hidden,
- N_("Don't display the contact list or any other dialogs on startup"),
+ N_("Don’t display the contact list or any other dialogs on startup"),
NULL },
{ "show-preferences", 'p',
G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, &preferences_cb,
@@ -431,7 +431,7 @@ empathy_app_local_command_line (GApplication *app,
g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
g_option_group_add_entries (group, options);
- optcontext = g_option_context_new (N_("- Empathy IM Client"));
+ optcontext = g_option_context_new (N_("— Empathy IM Client"));
g_option_context_add_group (optcontext, gtk_get_option_group (FALSE));
g_option_context_set_main_group (optcontext, group);
g_option_context_set_translation_domain (optcontext, GETTEXT_PACKAGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]