mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 21:20:09 +00:00
printing: Add context to some strings
The job priority strings need context to disambiguate them from similar short strings elsewhere.
This commit is contained in:
parent
345d23898d
commit
ade1aaa8be
@ -538,7 +538,12 @@ cpdb_printer_get_options (GtkPrinter *printer,
|
|||||||
{
|
{
|
||||||
/* job-priority is represented as a number from 1-100 */
|
/* job-priority is represented as a number from 1-100 */
|
||||||
const char *prio[] = {"100", "80", "50", "30"};
|
const char *prio[] = {"100", "80", "50", "30"};
|
||||||
const char *prio_display[] = {N_("Urgent"), N_("High"), N_("Medium"), N_("Low")};
|
const char *prio_display[] = {
|
||||||
|
NC_("Print job priority", "Urgent"),
|
||||||
|
NC_("Print job priority", "High"),
|
||||||
|
NC_("Print job priority", "Medium"),
|
||||||
|
NC_("Print job priority", "Low")
|
||||||
|
};
|
||||||
|
|
||||||
for (int i = 0; i < G_N_ELEMENTS(prio_display); i++)
|
for (int i = 0; i < G_N_ELEMENTS(prio_display); i++)
|
||||||
prio_display[i] = _(prio_display[i]);
|
prio_display[i] = _(prio_display[i]);
|
||||||
|
@ -5664,7 +5664,12 @@ cups_printer_get_options (GtkPrinter *printer,
|
|||||||
/* Translators: These strings name the possible values of the
|
/* Translators: These strings name the possible values of the
|
||||||
* job priority option in the print dialog
|
* job priority option in the print dialog
|
||||||
*/
|
*/
|
||||||
const char *prio_display[] = {N_("Urgent"), N_("High"), N_("Medium"), N_("Low") };
|
const char *prio_display[] = {
|
||||||
|
NC_("Print job priority", "Urgent"),
|
||||||
|
NC_("Print job priority", "High"),
|
||||||
|
NC_("Print job priority", "Medium"),
|
||||||
|
NC_("Print job priority", "Low")
|
||||||
|
};
|
||||||
const char *n_up_layout[] = { "lrtb", "lrbt", "rltb", "rlbt", "tblr", "tbrl", "btlr", "btrl" };
|
const char *n_up_layout[] = { "lrtb", "lrbt", "rltb", "rlbt", "tblr", "tbrl", "btlr", "btrl" };
|
||||||
/* Translators: These strings name the possible arrangements of
|
/* Translators: These strings name the possible arrangements of
|
||||||
* multiple pages on a sheet when printing
|
* multiple pages on a sheet when printing
|
||||||
|
Loading…
Reference in New Issue
Block a user