[evince] Use Unicode in translatable strings
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Use Unicode in translatable strings
- Date: Sun, 6 Nov 2016 18:58:56 +0000 (UTC)
commit 52f560582d74824246dccd18f5e9919e5d265e1c
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sun Nov 6 16:02:37 2016 +0100
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=774005
backend/comics/comics-document.c | 2 +-
libdocument/ev-attachment.c | 8 ++++----
libview/ev-print-operation.c | 6 +++---
previewer/ev-previewer-window.c | 2 +-
shell/ev-window.c | 6 +++---
5 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c
index 96ed26e..4c74731 100644
--- a/backend/comics/comics-document.c
+++ b/backend/comics/comics-document.c
@@ -457,7 +457,7 @@ comics_check_decompress_command (gchar *mime_type,
g_set_error_literal (error,
EV_DOCUMENT_ERROR,
EV_DOCUMENT_ERROR_INVALID,
- _("Can't find an appropriate command to "
+ _("Can’t find an appropriate command to "
"decompress this type of comic book"));
return FALSE;
}
diff --git a/libdocument/ev-attachment.c b/libdocument/ev-attachment.c
index dc0d69a..fa9a1c2 100644
--- a/libdocument/ev-attachment.c
+++ b/libdocument/ev-attachment.c
@@ -307,7 +307,7 @@ ev_attachment_save (EvAttachment *attachment,
g_set_error (error,
EV_ATTACHMENT_ERROR,
ioerror->code,
- _("Couldn't save attachment “%s”: %s"),
+ _("Couldn’t save attachment “%s”: %s"),
uri,
ioerror->message);
@@ -328,7 +328,7 @@ ev_attachment_save (EvAttachment *attachment,
g_set_error (error,
EV_ATTACHMENT_ERROR,
ioerror->code,
- _("Couldn't save attachment “%s”: %s"),
+ _("Couldn’t save attachment “%s”: %s"),
uri,
ioerror->message);
@@ -376,7 +376,7 @@ ev_attachment_launch_app (EvAttachment *attachment,
g_set_error (error,
EV_ATTACHMENT_ERROR,
(gint) result,
- _("Couldn't open attachment “%s”: %s"),
+ _("Couldn’t open attachment “%s”: %s"),
attachment->priv->name,
ioerror->message);
@@ -411,7 +411,7 @@ ev_attachment_open (EvAttachment *attachment,
g_set_error (error,
EV_ATTACHMENT_ERROR,
0,
- _("Couldn't open attachment “%s”"),
+ _("Couldn’t open attachment “%s”"),
attachment->priv->name);
return FALSE;
diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c
index 7b84bee..b267c54 100644
--- a/libview/ev-print-operation.c
+++ b/libview/ev-print-operation.c
@@ -1969,12 +1969,12 @@ ev_print_operation_print_create_custom_widget (EvPrintOperationPrint *print,
gtk_widget_set_tooltip_text (print->scale_combo,
_("Scale document pages to fit the selected printer page. Select from one of the following:\n"
"\n"
- "• \"None\": No page scaling is performed.\n"
+ "• “None”: No page scaling is performed.\n"
"\n"
- "• \"Shrink to Printable Area\": Document pages larger than the printable area"
+ "• “Shrink to Printable Area”: Document pages larger than the printable area"
" are reduced to fit the printable area of the printer page.\n"
"\n"
- "• \"Fit to Printable Area\": Document pages are enlarged or reduced as"
+ "• “Fit to Printable Area”: Document pages are enlarged or reduced as"
" required to fit the printable area of the printer page.\n"));
gtk_grid_attach (GTK_GRID (grid), print->scale_combo, 1, 0, 1, 1);
gtk_widget_show (print->scale_combo);
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c
index ff2c42c..c39972c 100644
--- a/previewer/ev-previewer-window.c
+++ b/previewer/ev-previewer-window.c
@@ -220,7 +220,7 @@ ev_previewer_window_enumerate_finished (EvPreviewerWindow *window)
g_set_error (&error,
GTK_PRINT_ERROR,
GTK_PRINT_ERROR_GENERAL,
- _("The selected printer '%s' could not be found"),
+ _("The selected printer “%s” could not be found"),
gtk_print_settings_get_printer (window->print_settings));
ev_previewer_window_error_dialog_run (window, error);
diff --git a/shell/ev-window.c b/shell/ev-window.c
index e384915..11f2fd5 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -3561,7 +3561,7 @@ ev_window_check_document_modified (EvWindow *ev_window,
} else {
text = g_markup_printf_escaped (_("Save a copy of document “%s” before closing?"),
gtk_window_get_title (GTK_WINDOW (ev_window)));
- secondary_text_command = _("If you don't save a copy, changes will be permanently lost.");
+ secondary_text_command = _("If you don’t save a copy, changes will be permanently lost.");
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
_("Close _without Saving"),
GTK_RESPONSE_NO,
@@ -5368,7 +5368,7 @@ ev_window_cmd_view_toggle_caret_navigation (GSimpleAction *action,
"allowing you to move around and select text with your
keyboard. "
"Do you want to enable the caret navigation?"));
- window->priv->ask_caret_navigation_check = gtk_check_button_new_with_label (_("Don't show this
message again"));
+ window->priv->ask_caret_navigation_check = gtk_check_button_new_with_label (_("Don’t show this
message again"));
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (hbox), window->priv->ask_caret_navigation_check,
TRUE, TRUE, 0);
@@ -6159,7 +6159,7 @@ image_save_dialog_response_cb (GtkWidget *fc,
if (format == NULL) {
ev_window_error_message (ev_window, NULL,
"%s",
- _("Couldn't find appropriate format to save image"));
+ _("Couldn’t find appropriate format to save image"));
g_free (uri);
gtk_widget_destroy (fc);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]