Skip to content

Commit a875de9

Browse files
author
lafricain79
committed
New strings for the ppd files
1 parent e59d253 commit a875de9

1 file changed

Lines changed: 70 additions & 62 deletions

File tree

ppdippstr.py

Lines changed: 70 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def init ():
9393
ppd = TranslationDict ({
9494
"General": _("General"),
9595

96-
#HP
96+
#HP et foo2zjs
9797
"Print Quality": _("Print Quality"),
9898
"Automatic": _("Automatic"),
9999

@@ -155,6 +155,7 @@ def init ():
155155
"Medium (3)": _("Medium (3)"),
156156
"Dark (4)": _("Dark (4)"),
157157
"Extra Dark (5)": _("Extra Dark (5)"),
158+
"Duplex Printing": _("Duplex Printing"),
158159
"Copies": _("Copies"),
159160

160161
"Adjustment": _("Adjustment"),
@@ -170,10 +171,14 @@ def init ():
170171
"Output Mode": _("Output Mode"),
171172
"Grayscale": _("Grayscale"),
172173

173-
#Brother
174+
#Brother
175+
"Toner save mode": _("Toner save mode"),
176+
"Tray1": _("Tray1"),
177+
"Tray2": _("Tray2"),
178+
"Tray3": _("Tray3"),
174179
"Two-Sided": _("Two-Sided"),
175180
"Print Settings": _("Print Settings"),
176-
"Print Settings (Advanced)": _("Print Settings (Advanced)"),
181+
"Print Settings (Advanced)": _("Print Settings (Advanced)"),
177182
"Color Settings": _("Color Settings"),
178183
"Color Settings (Advanced)": _("Color Settings (Advanced)"),
179184
"Brightness": _("Brightness"),
@@ -189,6 +194,24 @@ def init ():
189194
"_Contrast": _("_Contrast"),
190195
"_Saturation": _("_Saturation"),
191196
"On": _("On"),
197+
198+
#Gutenprint
199+
"2-Sided Printing": _("2-Sided Printing"),
200+
"Shrink Page If Necessary to Fit Borders": _("Shrink Page If Necessary to Fit Borders"),
201+
"Shrink (print the whole page)": _("Shrink (print the whole page)"),
202+
"Crop (preserve dimensions)": _("Crop (preserve dimensions)"),
203+
"Expand (use maximum page area)": _("Expand (use maximum page area)"),
204+
"Borderless": _("Borderless"),
205+
"No": _("No"),
206+
"Yes": _("Yes"),
207+
"Output Control Common": _("Output Control Common"),
208+
"Color Correction": _("Color Correction"),
209+
"Brightness Fine Adjustment": _("Brightness Fine Adjustment"),
210+
"Contrast Fine Adjustment": _("Contrast Fine Adjustment"),
211+
"Saturation Fine Adjustment": _("Saturation Fine Adjustment"),
212+
"Image Type": _("Image Type"),
213+
#Foomatic
214+
"Bidirectional printing": _("Bidirectional printing"),
192215
# Options
193216
"Installable Options": _("Installable Options"),
194217
"Duplexer Installed": _("Duplexer Installed"),
@@ -201,22 +224,28 @@ def init ():
201224
"CD Hub Size": _("CD Hub Size"),
202225
"Ink Type": _("Ink Type"),
203226
"Toner Save ": _("Toner Save "),
204-
"ON": _("ON"),
205-
"Toner Density": _("Toner Density"),
227+
"ON": _("ON"),
228+
"Toner Density ": _("Toner Density "),
206229
"Media Type ": _("Media Type "),
207230
"Collate ": _("Collate "),
208231
"Image Refinement ": _("Image Refinement "),
232+
"Image Refinement": _("Image Refinement"),
209233
"Halftones ": _("Halftones "),
210234
"Duplex": _("Duplex"),
211235
"OFF": _("OFF"),
212236
"ON (Long-edged Binding)": _("ON (Long-edged Binding)"),
213237
"ON (Short-edged Binding)": _("ON (Short-edged Binding)"),
238+
"High Quality": _("High Quality"),
239+
"High Quality Grayscale": _("High Quality Grayscale"),
240+
"Controlled by 'Print Quality'": _("Controlled by 'Print Quality'"),
241+
"Paper Destination": _("Paper Destination"),
242+
214243
#Samsung
215244
"Paper Size": _("Paper Size"),
216245
"Paper Type": _("Paper Type"),
217246
"Thin": _("Thin"),
218247
"Thick": _("Thick"),
219-
"Thicker": _("Thicker") ,
248+
"Thicker": _("Thicker") ,
220249
"Edge Enhance": _("Edge Enhance"),
221250
"Skip Blank Pages": _("Skip Blank Pages"),
222251
"Double-sided Printing": _("Double-sided Printing"),
@@ -227,12 +256,13 @@ def init ():
227256
"Two-sided": _("Two-sided"),
228257
"Long Edge": _("Long Edge"),
229258
"Short Edge": _("Short Edge"),
259+
"Toner Save": _("Toner Save"),
230260

231261
#Ricoh
232262
"Finisher": _("Finisher"),
233263
"Option Tray": _("Option Tray"),
234264
"External Tray": _("External Tray"),
235-
"Internal Tray": _("Internal Tray"),
265+
"Internal Tray 1": _("Internal Tray 1"),
236266
"Internal Tray 2": _("Internal Tray 2"),
237267
"Internal Shift Tray": _("Internal Shift Tray"),
238268
"Not Installed": _("Not Installed"),
@@ -241,10 +271,11 @@ def init ():
241271
"InputSlot": _("InputSlot"),
242272
"Tray 2": _("Tray 2"),
243273
"Tray 3": _("Tray 3"),
244-
"Tray 4": _("Tray 4"),
245-
"Bypass Tray": _("Bypass Tray"),
274+
"Tray 4": _("Tray 4"),
275+
"Bypass Tray": _("Bypass Tray"),
276+
"Collate": _("Collate"),
246277
"Destination": _("Destination"),
247-
"Staple": _("Staple"),
278+
"Staple": _("Staple"),
248279
"Punch": _("Punch"),
249280
"Toner Saving": _("Toner Saving"),
250281
"Gradation": _("Gradation"),
@@ -255,7 +286,7 @@ def init ():
255286
"Draft (auto-detect paper type)":
256287
_("Draft (auto-detect-paper type)"),
257288
"Draft (Color cartridge)":
258-
_("Draft (Color cartridge)"),
289+
_("Draft (Color cartridge)"),
259290
"Draft Grayscale (Black cartridge)":
260291
_("Draft grayscale (Black cartridge)"),
261292
"Draft Grayscale (auto-detect paper type)":
@@ -278,21 +309,20 @@ def init ():
278309
_("High quality grayscale (Black cartridge)"),
279310
"Photo (on photo paper)": _("Photo (on photo paper)"),
280311
"Photo (Color cartridge, on photo paper)": _("Photo (Color cartridge, on photo paper)"),
281-
"Best Quality (color on photo paper)":
282-
_("Best quality (color on photo paper)"),
283-
"Normal Quality (color on photo paper)":
284-
_("Normal quality (color on photo paper)"),
312+
"Best Quality (color on photo paper)": _("Best quality (color on photo paper)"),
313+
"Normal Quality (color on photo paper)": _("Normal quality (color on photo paper)"),
285314

286315
"Media Source": _("Media source"),
287-
"Printer default": _("Printer default"),
316+
"Printer Default": _("Printer Default"),
288317
"Photo Tray": _("Photo tray"),
289318
"Upper Tray": _("Upper tray"),
290319
"Lower Tray": _("Lower tray"),
291320
"CD or DVD Tray": _("CD or DVD tray"),
292321
"Envelope Feeder": _("Envelope feeder"),
293322
"Large Capacity Tray": _("Large capacity tray"),
294323
"Manual Feeder": _("Manual feeder"),
295-
"Multi Purpose Tray ": _("Multi-purpose tray "),
324+
"Multi-purpose Tray ": _("Multi-purpose tray "),
325+
"Multipurpose Tray": _("Multipurpose tray"),
296326

297327
"Page Size": _("Page size"),
298328
"Custom": _("Custom"),
@@ -306,59 +336,37 @@ def init ():
306336
"CD or DVD 80 mm": _("CD or DVD 80mm"),
307337
"CD or DVD 120 mm": _("CD or DVD 120mm"),
308338

309-
"Double-Sided Printing": _("Double-sided printing"),
339+
"Double-Sided Printing": _("Double-sided Printing"),
310340
"Long Edge (Standard)": _("Long edge (standard)"),
311341
"Short Edge (Flip)": _("Short edge (flip)"),
312342
"Off": _("Off"),
313343

314-
"Resolution, Quality, Ink Type, Media Type":
315-
_("Resolution, quality, ink type, media type"),
344+
"Resolution, Quality, Ink Type, Media Type": _("Resolution, quality, ink type, media type"),
316345
"Controlled by 'Printout Mode'": _("Controlled by 'Printout mode'"),
317-
"300 dpi, Color, Color Cartr.":
318-
_("300 dpi, Color, Color Cartr."),
319-
"300 dpi, Color, Black + Color Cartr.":
320-
_("300 dpi, color, black + color cartridge"),
321-
"300 dpi, Draft, Color, Color Cartr.":
322-
_("300 dpi, Draft, Color, Color Cartr."),
323-
"300 dpi, Draft, Color, Black + Color Cartr.":
324-
_("300 dpi, draft, color, black + color cartridge"),
325-
"300 dpi, Draft, Grayscale, Black Cartr.":
326-
_("300 dpi, Draft, Grayscale, Black Cartr."),
327-
"300 dpi, Grayscale, Black Cartr.":
328-
_("300 dpi, Grayscale, Black Cartr."),
329-
"300 dpi, Draft, Grayscale, Black + Color Cartr.":
330-
_("300 dpi, draft, grayscale, black + color cartridge"),
331-
"300 dpi, Grayscale, Black + Color Cartr.":
332-
_("300 dpi, grayscale, black + color cartridge"),
333-
"600 dpi, Color, Black + Color Cartr.":
334-
_("600 dpi, color, black + color cartridge"),
335-
"600 dpi, Grayscale, Black + Color Cartr.":
336-
_("600 dpi, grayscale, black + color cartridge"),
337-
"600 dpi, Photo, Black + Color Cartr., Photo Paper":
338-
_("600 dpi, photo, black + color cartridge, photo paper"),
339-
"600 dpi, Color, Black + Color Cartr., Photo Paper, Normal":
340-
_("600 dpi, color, black + color cartridge, photo paper, normal"),
341-
"1200 dpi, Photo, Black + Color Cartr., Photo Paper":
342-
_("1200 dpi, photo, black + color cartridge, photo paper"),
346+
"300 dpi, Color, Color Cartr.": _("300 dpi, Color, Color Cartr."),
347+
"300 dpi, Color, Black + Color Cartr.": _("300 dpi, color, black + color cartridge"),
348+
"300 dpi, Draft, Color, Color Cartr.": _("300 dpi, Draft, Color, Color Cartr."),
349+
"300 dpi, Draft, Color, Black + Color Cartr.": _("300 dpi, draft, color, black + color cartridge"),
350+
"300 dpi, Draft, Grayscale, Black Cartr.": _("300 dpi, Draft, Grayscale, Black Cartr."),
351+
"300 dpi, Grayscale, Black Cartr.": _("300 dpi, Grayscale, Black Cartr."),
352+
"300 dpi, Draft, Grayscale, Black + Color Cartr.": _("300 dpi, draft, grayscale, black + color cartridge"),
353+
"300 dpi, Grayscale, Black + Color Cartr.": _("300 dpi, grayscale, black + color cartridge"),
354+
"600 dpi, Color, Black + Color Cartr.": _("600 dpi, color, black + color cartridge"),
355+
"600 dpi, Grayscale, Black + Color Cartr.": _("600 dpi, grayscale, black + color cartridge"),
356+
"600 dpi, Photo, Black + Color Cartr., Photo Paper": _("600 dpi, photo, black + color cartridge, photo paper"),
357+
"600 dpi, Color, Black + Color Cartr., Photo Paper, Normal": _("600 dpi, color, black + color cartridge, photo paper, normal"),
358+
"1200 dpi, Photo, Black + Color Cartr., Photo Paper": _("1200 dpi, photo, black + color cartridge, photo paper"),
343359
})
344360

345361
## Common backend descriptions
346362
global backends
347363
backends = TranslationDict ({
348-
"Internet Printing Protocol (ipp)":
349-
_("Internet Printing Protocol (ipp)"),
350-
"Internet Printing Protocol (http)":
351-
_("Internet Printing Protocol (http)"),
352-
"Internet Printing Protocol (https)":
353-
_("Internet Printing Protocol (https)"),
354-
"LPD/LPR Host or Printer":
355-
_("LPD/LPR Host or Printer"),
356-
"AppSocket/HP JetDirect":
357-
_("AppSocket/HP JetDirect"),
358-
"Serial Port #1":
359-
_("Serial Port #1"),
360-
"LPT #1":
361-
_("LPT #1"),
362-
"Windows Printer via SAMBA":
363-
_("Windows Printer via SAMBA"),
364+
"Internet Printing Protocol (ipp)": _("Internet Printing Protocol (ipp)"),
365+
"Internet Printing Protocol (http)": _("Internet Printing Protocol (http)"),
366+
"Internet Printing Protocol (https)": _("Internet Printing Protocol (https)"),
367+
"LPD/LPR Host or Printer": _("LPD/LPR Host or Printer"),
368+
"AppSocket/HP JetDirect": _("AppSocket/HP JetDirect"),
369+
"Serial Port #1": _("Serial Port #1"),
370+
"LPT #1": _("LPT #1"),
371+
"Windows Printer via SAMBA": _("Windows Printer via SAMBA"),
364372
})

0 commit comments

Comments
 (0)