Commit 544d9b4a authored by Germán Poo-Caamaño's avatar Germán Poo-Caamaño

Add contextual information for translators. Fixes #693095

parent a386b4c7
......@@ -1129,8 +1129,13 @@ pdf_document_fonts_fill_model (EvDocumentFonts *document_fonts,
}
encoding = poppler_fonts_iter_get_encoding (iter);
if (!encoding)
if (!encoding) {
/* translators: When a font type does not have
encoding information or it is unknown. Example:
Encoding: None
*/
encoding = _("None");
}
type = poppler_fonts_iter_get_font_type (iter);
type_str = font_type_to_string (type);
......
......@@ -1318,6 +1318,7 @@ 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);
......@@ -1902,6 +1903,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"));
......
......@@ -294,6 +294,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) }
......
......@@ -184,6 +184,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment