summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-07-28 15:14:29 +0300
committermonsta <[email protected]>2016-07-28 15:14:29 +0300
commit921ee4b7690bd476d97b816f93339eda213342f0 (patch)
tree85720e76c6eefa88473cee7d97d6f7311c396938
parentaba1bb9eb39c38d7b7159943e8d16d4fb169824c (diff)
downloadatril-921ee4b7690bd476d97b816f93339eda213342f0.tar.bz2
atril-921ee4b7690bd476d97b816f93339eda213342f0.tar.xz
add some missing contextual information for translators
ported from: https://git.gnome.org/browse/evince/commit/?id=544d9b4a73011c1e5a7b1d37b05a94f761d0dc03
-rw-r--r--libview/ev-print-operation.c4
-rw-r--r--previewer/ev-previewer-window.c1
-rw-r--r--properties/ev-properties-view.c5
3 files changed, 9 insertions, 1 deletions
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 ("<i>%s</i>", _("None"));
gtk_label_set_markup (GTK_LABEL (label), markup);
g_free (markup);