From 921ee4b7690bd476d97b816f93339eda213342f0 Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 28 Jul 2016 15:14:29 +0300 Subject: add some missing contextual information for translators ported from: https://git.gnome.org/browse/evince/commit/?id=544d9b4a73011c1e5a7b1d37b05a94f761d0dc03 --- libview/ev-print-operation.c | 4 +++- previewer/ev-previewer-window.c | 1 + properties/ev-properties-view.c | 5 +++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c index bd6ef328..822d1a84 100644 --- a/libview/ev-print-operation.c +++ b/libview/ev-print-operation.c @@ -1309,7 +1309,8 @@ ev_print_operation_export_run (EvPrintOperation *op, export->parent_window = parent; export->error = NULL; - + + /* translators: Title of the print dialog */ dialog = gtk_print_unix_dialog_new (_("Print"), parent); gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); @@ -1908,6 +1909,7 @@ ev_print_operation_print_create_custom_widget (EvPrintOperationPrint *print, gtk_widget_show (label); print->scale_combo = gtk_combo_box_text_new (); + /* translators: Value for 'Page Scaling:' to not scale the document pages on printing */ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (print->scale_combo), _("None")); gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (print->scale_combo), _("Shrink to Printable Area")); gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (print->scale_combo), _("Fit to Printable Area")); diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c index 7347441a..c039d4e5 100644 --- a/previewer/ev-previewer-window.c +++ b/previewer/ev-previewer-window.c @@ -298,6 +298,7 @@ static const GtkActionEntry action_entries[] = { N_("Shrink the document"), G_CALLBACK (ev_previewer_window_zoom_out) }, #if GTKUNIXPRINT_ENABLED + /* translators: Print document currently shown in the Print Preview window */ { "PreviewPrint", GTK_STOCK_PRINT, N_("Print"), NULL, N_("Print this document"), G_CALLBACK (ev_previewer_window_print) } diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c index a38846eb..e1a283bf 100644 --- a/properties/ev-properties-view.c +++ b/properties/ev-properties-view.c @@ -197,6 +197,11 @@ set_property (EvPropertiesView *properties, } if (text == NULL || text[0] == '\000') { + /* translators: This is used when a document property does + not have a value. Examples: + Author: None + Keywords: None + */ markup = g_markup_printf_escaped ("%s", _("None")); gtk_label_set_markup (GTK_LABEL (label), markup); g_free (markup); -- cgit v1.2.1