From: Matthias Clasen Date: Thu, 14 Aug 2008 03:12:58 +0000 (+0000) Subject: Add translator hints X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=a50b2ee48fb950f9459dccbd2e49fd5d136be7c5;p=~andy%2Fgtk Add translator hints svn path=/trunk/; revision=21113 --- diff --git a/ChangeLog b/ChangeLog index 9ad68f34a..2afb383b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-08-13 Matthias Clasen + + Bug 547516 – Add comments for translators in gtkprintbackendcups.c + + * modules/printbackends/cups/gtkprintbackendcups.c: Add translator + hints. Patch by Leonardo Ferreira Fontenelle + 2008-08-13 Michael Natterer * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c index 1a3ebae8a..e2c3326f1 100644 --- a/modules/printbackends/cups/gtkprintbackendcups.c +++ b/modules/printbackends/cups/gtkprintbackendcups.c @@ -1368,10 +1368,13 @@ cups_request_printer_list_cb (GtkPrintBackendCups *cups_backend, if (state_msg != NULL && strlen (state_msg) == 0) { if (is_paused && !is_accepting_jobs) + /* Translators: this is a printer status. */ tmp_msg2 = g_strdup ( N_("Paused ; Rejecting Jobs")); if (is_paused && is_accepting_jobs) + /* Translators: this is a printer status. */ tmp_msg2 = g_strdup ( N_("Paused")); if (!is_paused && !is_accepting_jobs) + /* Translators: this is a printer status. */ tmp_msg2 = g_strdup ( N_("Rejecting Jobs")); if (tmp_msg2 != NULL) @@ -2006,11 +2009,17 @@ static const struct { const char *translation; } cups_choice_translations[] = { { "Duplex", "None", N_("One Sided") }, + /* Translators: this is an option of "Paper Source" */ { "InputSlot", "Auto", N_("Auto Select") }, + /* Translators: this is an option of "Paper Source" */ { "InputSlot", "AutoSelect", N_("Auto Select") }, + /* Translators: this is an option of "Paper Source" */ { "InputSlot", "Default", N_("Printer Default") }, + /* Translators: this is an option of "Paper Source" */ { "InputSlot", "None", N_("Printer Default") }, + /* Translators: this is an option of "Paper Source" */ { "InputSlot", "PrinterDefault", N_("Printer Default") }, + /* Translators: this is an option of "Paper Source" */ { "InputSlot", "Unspecified", N_("Auto Select") }, };