~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to base/strings.py

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-12-14 20:08:44 UTC
  • mfrom: (2.1.118 lucid)
  • Revision ID: james.westby@ubuntu.com-20091214200844-z8qhqwgppbu3t7ze
Tags: 3.9.10-4
KBSD patch from KiBi (Closes: #560796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#
10
10
# This program is distributed in the hope that it will be useful,
11
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
13
# GNU General Public License for more details.
14
14
#
15
15
# You should have received a copy of the GNU General Public License
16
16
# along with this program; if not, write to the Free Software
17
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
#
19
19
# Author: Don Welch
20
20
#
22
22
# string_table := { 'string_id' : 'short', 'long' ), ... }
23
23
 
24
24
# string_id's for error codes are the string form of the error code
25
 
# Strings that need localization use  (self.__tr'string' ) form.
 
25
# Strings that need localization use (self.__tr'string' ) form.
26
26
# Strings that refer to other strings, use '%reference%' form.
27
27
# Blank strings use '' form.
28
28
 
30
30
    def __init__(self):
31
31
 
32
32
        self.string_table = {
33
 
 
34
 
            '0' :               (self.__tr('Unknown'),
35
 
                                 ''),
36
 
 
37
 
            'unknown'   :       (self.__tr('Unknown'),
38
 
                                 ''),
39
 
 
40
 
            'try_again' :       ('',
41
 
                                 self.__tr('Please correct the problem and try again')),
42
 
 
43
 
            'press_continue' :  ('',
44
 
                                 self.__tr('Please correct the problem and press continue on the printer')),
45
 
 
46
 
            '500' :             (self.__tr('Started a print job'),
47
 
                                 ''),
48
 
 
49
 
            '501' :             (self.__tr('Print job has completed'),
50
 
                                 ''),
51
 
 
52
 
            '502' :             (self.__tr("Print job failed - required plug-in not found"),
53
 
                                 self.__tr("Please run hp-plugin (as root) to install the required plug-in")),
54
 
 
55
 
            '600' :             (self.__tr('Started a fax job'),
56
 
                                 ''),
57
 
 
58
 
            '601' :             (self.__tr('Fax job is ready for send'),
59
 
                                 ''),
60
 
 
61
 
            '700' :             (self.__tr('Printer queue stopped'),
62
 
                                 ''),
63
 
 
64
 
            '701' :             (self.__tr('Printer queue started'),
65
 
                                 ''),
66
 
 
67
 
            '702' :             (self.__tr('Printer is rejecting jobs'),
68
 
                                 ''),
69
 
 
70
 
            '703' :             (self.__tr('Printer is accepting jobs'),
71
 
                                 ''),
72
 
 
73
 
            '704' :             (self.__tr('Printer set as default'),
74
 
                                 ''),
75
 
 
76
 
            '800' :             (self.__tr('Fax queue stopped'),
77
 
                                 ''),
78
 
 
79
 
            '801' :             (self.__tr('Fax queue started'),
80
 
                                 ''),
81
 
 
82
 
            '802' :             (self.__tr('Fax is rejecting jobs'),
83
 
                                 ''),
84
 
 
85
 
            '803' :             (self.__tr('Fax is accepting jobs'),
86
 
                                 ''),
87
 
 
88
 
            '804' :             (self.__tr('Fax set as default'),
89
 
                                 ''),
90
 
 
91
 
            '805' :             (self.__tr("Fax job failed - required plug-in not found"),
92
 
                                 '%502%'),
93
 
 
94
 
            '1000' :            (self.__tr('Idle'),
95
 
                                  ''),
96
 
 
97
 
            '1001' :            (self.__tr('Busy'),
98
 
                                 ''),
99
 
 
100
 
            '1002' :            (self.__tr('Print job is continuing'),
101
 
                                  ''),
102
 
 
103
 
            '1003' :            (self.__tr('Turning off'),
104
 
                                  ''),
105
 
 
106
 
            '1004' :            (self.__tr('Report printing'),
107
 
                                  ''),
108
 
 
109
 
            '1005' :            (self.__tr('Canceling'),
110
 
                                  ''),
111
 
 
112
 
            '1006' :            ('%5002%',
113
 
                                '%try_again%'),
114
 
 
115
 
            '1007' :            (self.__tr('Waiting for ink to dry'),
116
 
                                 ''),
117
 
 
118
 
            '1008' :            (self.__tr('Pen change'),
119
 
                                 ''),
120
 
 
121
 
            '1009' :            (self.__tr('The printer is out of paper'),
122
 
                                 self.__tr('Please load more paper and follow the instructions on the front panel (if any) to continue printing')),
123
 
 
124
 
            '1010' :            (self.__tr('Banner eject needed'),
125
 
                                 ''),
126
 
 
127
 
            '1011' :            (self.__tr('Banner mismatch'),
128
 
                                 '%try_again%'),
129
 
 
130
 
            '1012' :            (self.__tr('Photo mismatch'),
131
 
                                 '%try_again%'),
132
 
 
133
 
            '1013' :            (self.__tr('Duplex mismatch'),
134
 
                                 '%try_again'),
135
 
 
136
 
            '1014' :            (self.__tr('Paper or cartridge carriage jammed'),
137
 
                                 self.__tr('Please clear the jam and press continue on the printer')),
138
 
 
139
 
            '1015' :            ('%1014%',
140
 
                                 '%1014%'),
141
 
 
142
 
            '1016' :            ('%1014%',
143
 
                                 '%1014%'),
144
 
 
145
 
            '1017' :            (self.__tr('There is a problem with a print cartridge'),
146
 
                                 '%press_continue%'),
147
 
 
148
 
            '1018' :            ('%unknown_error%',
149
 
                                  '%try_again%'),
150
 
 
151
 
            '1019' :            (self.__tr('Powering down'),
152
 
                                 ''),
153
 
 
154
 
            '1020' :            (self.__tr('Front panel test'),
155
 
                                 ''),
156
 
 
157
 
            '1021' :            (self.__tr('Clean out tray missing'),
158
 
                                 '%try_again%'),
159
 
 
160
 
            '1022' :            (self.__tr('Output bin full'),
161
 
                                 '%try_again%'),
162
 
 
163
 
            '1023' :            (self.__tr('Media size mismatch'),
164
 
                                 '%try_again%'),
165
 
 
166
 
            '1024' :            (self.__tr('Duplexer is jammed'),
167
 
                                 '%1014%'),
168
 
 
169
 
            '1025' :            ('%1014%',
170
 
                                 '%1014%'),
171
 
 
172
 
            '1026' :            (self.__tr('An ink cartridge is out of ink'),
173
 
                                 '%try_again%'),
174
 
 
175
 
            '1027' :            (self.__tr('Internal device error'),
176
 
                                 '%try_again%'),
177
 
 
178
 
            '1028' :            ('%1014%',
179
 
                                 '%1014%'),
180
 
 
181
 
            '1029' :            (self.__tr('Second tray missing'),
182
 
                                 '%try_again%'),
183
 
 
184
 
            '1030' :            (self.__tr('Duplexer missing'),
185
 
                                 '%try_again%'),
186
 
 
187
 
            '1031' :            (self.__tr('Rear tray missing'),
188
 
                                 '%try_again%'),
189
 
 
190
 
            '1032' :            (self.__tr('Cartridge not latched'),
191
 
                                 '%try_again%'),
192
 
 
193
 
            '1033' :            (self.__tr('Battery very low'),
194
 
                                 '%try_again%'),
195
 
 
196
 
            '1034' :            ('%1017%',
197
 
                                 '%try_again%'),
198
 
 
199
 
            '1035' :            (self.__tr('Output tray closed'),
200
 
                                 '%try_again%'),
201
 
 
202
 
            '1036' :            (self.__tr('Manual feed blocked'),
203
 
                                 '%1014%'),
204
 
 
205
 
            '1037' :            (self.__tr('Rear feed blocked'),
206
 
                                 '%1014%'),
207
 
 
208
 
            '1038' :            (self.__tr('Second tray out of paper'),
209
 
                                 '%1009%'),
210
 
 
211
 
            '1039' :            (self.__tr('Input tray locked'),
212
 
                                 '%try_again%'),
213
 
 
214
 
            '1040' :            (self.__tr('Non-HP ink'),
215
 
                                 '%try_again%'),
216
 
 
217
 
            '1041' :            (self.__tr('Pen calibration needs resume'),
218
 
                                 '%press_continue%'),
219
 
 
220
 
            '1042' :            (self.__tr('Media type mismatch'),
221
 
                                 '%try_again%'),
222
 
 
223
 
            '1043' :            (self.__tr('Custom media mismatch'),
224
 
                                 '%try_again%'),
225
 
 
226
 
            '1044' :            (self.__tr('Pen cleaning in progress'),
227
 
                                 ''),
228
 
 
229
 
            '1045' :            (self.__tr('Pen checking in progress'),
230
 
                                 ''),
231
 
 
232
 
            '1501' :            (self.__tr('Black cartridge is low on ink'),
233
 
                                 ''),
234
 
 
235
 
            '1502' :            (self.__tr('Tri-color cartridge is low on ink'),
236
 
                                 ''),
237
 
 
238
 
            '1503' :            (self.__tr('Photo cartridge is low on ink'),
239
 
                                 ''),
240
 
 
241
 
            '1504' :            (self.__tr('Cyan cartridge is low on ink'),
242
 
                                 ''),
243
 
 
244
 
            '1505' :            (self.__tr('Magenta cartridge is low on ink'),
245
 
                                 ''),
246
 
 
247
 
            '1506' :            (self.__tr('Yellow cartridge is low on ink'),
248
 
                                 ''),
249
 
 
250
 
            '1507' :            (self.__tr('Photo cyan cartridge is low on ink'),
251
 
                                 ''),
252
 
 
253
 
            '1508' :            (self.__tr('Photo magenta cartridge is low on ink'),
254
 
                                 ''),
255
 
 
256
 
            '1509' :            (self.__tr('Photo yellow cartridge is low on ink'),
257
 
                                 ''),
258
 
 
259
 
            '1510' :            (self.__tr('Photo gray cartridge is low on ink'),
260
 
                                 ''),
261
 
 
262
 
            '1511' :            (self.__tr('Photo blue cartridge is low on ink'),
263
 
                                 ''),
264
 
 
265
 
            '1601' :            (self.__tr('Black cartridge is low on toner'),
266
 
                                 ''),
267
 
 
268
 
            '1604' :            (self.__tr('Cyan cartridge is low on toner'),
269
 
                                 ''),
270
 
 
271
 
            '1605' :            (self.__tr('Magenta cartridge is low on toner'),
272
 
                                 ''),
273
 
 
274
 
            '1606' :            (self.__tr('Yellow cartridge is low on toner'),
275
 
                                 ''),
276
 
 
277
 
            '1800' :            (self.__tr('Warming up'),
278
 
                                 ''),
279
 
 
280
 
            '1801' :            (self.__tr('Low paper'),
281
 
                                 ''),
282
 
 
283
 
            '1802' :            (self.__tr('Door open'),
284
 
                                 '%try_again%'),
285
 
 
286
 
            '1803' :            (self.__tr('Offline'),
287
 
                                 ''),
288
 
 
289
 
            '1804' :            (self.__tr('Low toner'),
290
 
                                 ''),
291
 
 
292
 
            '1805' :            (self.__tr('No toner'),
293
 
                                 '%try_again%'),
294
 
 
295
 
            '1806' :            (self.__tr('Service request'),
296
 
                                 '%try_again%'),
297
 
 
298
 
            '1807' :            (self.__tr('Fuser error'),
299
 
                                 '%try_again%'),
300
 
 
301
 
            '1900' :            (self.__tr('Unsupported printer model'),
302
 
                                 ''),
303
 
 
304
 
            '2000' :            (self.__tr('Scan job started'),
305
 
                                 ''),
306
 
 
307
 
            '2001' :            (self.__tr('Scan job completed'),
308
 
                                 ''),
309
 
 
310
 
            '2002' :            (self.__tr('Scan job failed'),
311
 
                                 '%try_again%'),
312
 
 
313
 
            '2003' :            (self.__tr("Scan job failed - Required plug-in not found"),
314
 
                                 '%502%'),
315
 
 
316
 
            '3000' :            (self.__tr('Fax job started'),
317
 
                                 ''),
318
 
 
319
 
            '3001' :            (self.__tr('Fax job complete'),
320
 
                                 ''),
321
 
 
322
 
            '3002' :            (self.__tr('Fax job failed'),
323
 
                                 '%try_again%'),
324
 
 
325
 
            '3003' :            (self.__tr('Fax job canceled'),
326
 
                                 ''),
327
 
 
328
 
            '3004' :            (self.__tr('Fax send job continuing'),
329
 
                                 ''),
330
 
 
331
 
            '3005' :            (self.__tr('Fax receive job continuing'),
332
 
                                 ''),
333
 
 
334
 
            '4000' :            (self.__tr('Copy job started'),
335
 
                                 ''),
336
 
 
337
 
            '4001' :            (self.__tr('Copy job complete'),
338
 
                                 ''),
339
 
 
340
 
            '4002' :            (self.__tr('Copy job failed'),
341
 
                                 '%try_again%'),
342
 
 
343
 
            '4003' :            (self.__tr('Copy job canceled'),
344
 
                                 ''),
345
 
 
346
 
            '5002' :            (self.__tr('Device is busy, powered down, or unplugged'),
347
 
                                 '%5012%'),
348
 
 
349
 
            '5004' :            (self.__tr('Invalid device URI'),
350
 
                                 '%5012%'),
351
 
 
352
 
            '5012' :            (self.__tr('Device communication error'),
353
 
                                 '%try_again%'),
354
 
 
355
 
            '5021' :            (self.__tr('Device is busy'),
356
 
                                 ''),
357
 
 
358
 
            '5026' :            (self.__tr("Device status not available"),
359
 
                                 ''),
360
 
 
361
 
            '5031' :            ('%5021%',
362
 
                                 ''),
363
 
 
364
 
            '5034' :            (self.__tr('Device does not support requested operation'),
365
 
                                 '%try_again%'),
366
 
 
367
 
            '6000' :            (self.__tr('Photocard unload started'),
368
 
                                 ''),
369
 
 
370
 
            '6001' :            (self.__tr('Photocard unload ended'),
371
 
                                 ''),
372
 
 
373
 
            '6002' :            (self.__tr('Photocard unload failed'),
374
 
                                 self.__tr('Make sure photocard is inserted properly and try again')),
375
 
 
376
 
            '6003' :            (self.__tr('Unable to mount photocard on device'),
377
 
                                 '%6002%'),
378
 
 
379
 
            '6004' :            (self.__tr('Photocard unloaded successfully'),
380
 
                                 ''),
381
 
 
382
 
            'unknown_error' :   (self.__tr('Unknown error'),
383
 
                                 ''),
384
 
 
385
 
            'print' :           (self.__tr('Print'),
386
 
                                 ''),
387
 
 
388
 
            'scan' :            (self.__tr('Scan'),
389
 
                                 ''),
390
 
 
391
 
            'send_fax' :        (self.__tr('Send fax'),
392
 
                                 ''),
393
 
 
394
 
            'make_copies' :     (self.__tr('Make copies'),
395
 
                                 ''),
396
 
 
397
 
            'access_photo_cards' :    (self.__tr('Access photo cards'),
398
 
                                       ''),
399
 
 
400
 
            'agent_invalid_invalid' : (self.__tr('Invalid/missing'),
401
 
                                       ''),
402
 
 
403
 
            'agent_invalid_supply' :  (self.__tr('Invalid/missing ink cartridge'),
404
 
                                       ''),
405
 
 
406
 
            'agent_invalid_cartridge':(self.__tr('Invalid/missing cartridge'),
407
 
                                       ''),
408
 
 
409
 
            'agent_invalid_head' :    (self.__tr('Invalid/missing print head'),
410
 
                                       ''),
411
 
 
412
 
            'agent_unknown_unknown' : ('%unknown%',
413
 
                                       ''),
414
 
 
415
 
            'agent_unspecified_battery' : ('Battery',
416
 
                                           ''),
417
 
 
418
 
            'agent_black_head' :      (self.__tr('Black print head'),
419
 
                                       ''),
420
 
 
421
 
            'agent_black_supply' :    (self.__tr('Black ink cartridge'),
422
 
                                       ''),
423
 
 
424
 
            'agent_black_cartridge' : (self.__tr('Black cartridge'),
425
 
                                       ''),
426
 
 
427
 
            'agent_cmy_head' :        (self.__tr('Tri-color print head'),
428
 
                                       ''),
429
 
 
430
 
            'agent_cmy_supply' :      (self.__tr('Tri-color ink cartridge'),
431
 
                                       ''),
432
 
 
433
 
            'agent_cmy_cartridge' :   (self.__tr('Tri-color cartridge'),
434
 
                                       ''),
435
 
 
436
 
            'agent_kcm_head' :        (self.__tr('Photo print head'),
437
 
                                       ''),
438
 
 
439
 
            'agent_kcm_supply' :      (self.__tr('Photo ink cartridge'),
440
 
                                       ''),
441
 
 
442
 
            'agent_kcm_cartridge' :   (self.__tr('Photo cartridge'),
443
 
                                       ''),
444
 
 
445
 
            'agent_cyan_head' :       (self.__tr('Cyan print head'),
446
 
                                       ''),
447
 
 
448
 
            'agent_cyan_supply' :     (self.__tr('Cyan ink cartridge'),
449
 
                                       ''),
450
 
 
451
 
            'agent_cyan_cartridge' :  (self.__tr('Cyan cartridge'),
452
 
                                       ''),
453
 
 
454
 
            'agent_magenta_head' :    (self.__tr('Magenta print head'),
455
 
                                       ''),
456
 
 
457
 
            'agent_magenta_supply' :  (self.__tr('Magenta ink cartridge'),
458
 
                                       ''),
459
 
 
460
 
            'agent_magenta_cartridge':(self.__tr('Magenta cartridge'),
461
 
                                       ''),
462
 
 
463
 
            'agent_yellow_head' :     (self.__tr('Yellow print head'),
464
 
                                       ''),
465
 
 
466
 
            'agent_yellow_supply' :   (self.__tr('Yellow ink cartridge'),
467
 
                                       ''),
468
 
 
469
 
            'agent_yellow_cartridge': (self.__tr('Yellow cartridge'),
470
 
                                       ''),
471
 
 
472
 
            'agent_photo_cyan_head' :       (self.__tr('Photo cyan print head'),
473
 
                                             ''),
474
 
 
475
 
            'agent_photo_cyan_supply' :     (self.__tr('Photo cyan ink cartridge'),
476
 
                                             ''),
477
 
 
478
 
            'agent_photo_cyan_cartridge' :  (self.__tr('Photo cyan cartridge'),
479
 
                                             ''),
480
 
 
481
 
            'agent_photo_magenta_head' :    (self.__tr('Photo magenta print head'),
482
 
                                             ''),
483
 
 
484
 
            'agent_photo_magenta_supply' :  (self.__tr('Photo magenta ink cartridge'),
485
 
                                             ''),
486
 
 
487
 
            'agent_photo_magenta_cartridge':(self.__tr('Photo magenta cartridge'),
488
 
                                             ''),
489
 
 
490
 
            'agent_photo_yellow_head' :     (self.__tr('Photo yellow print head'),
491
 
                                             ''),
492
 
 
493
 
            'agent_photo_yellow_supply' :   (self.__tr('Photo yellow ink cartridge'),
494
 
                                             ''),
495
 
 
496
 
            'agent_photo_yellow_cartridge': (self.__tr('Photo yellow cartridge'),
497
 
                                             ''),
498
 
 
499
 
            'agent_photo_gray_head' :       (self.__tr('Photo gray print head'),
500
 
                                             ''),
501
 
 
502
 
            'agent_photo_gray_supply' :     (self.__tr('Photo gray ink cartridge'),
503
 
                                             ''),
504
 
 
505
 
            'agent_photo_gray_cartridge' :  (self.__tr('Photo gray cartridge'),
506
 
                                             ''),
507
 
 
508
 
            'agent_photo_blue_head' :       (self.__tr('Photo blue print head'),
509
 
                                             ''),
510
 
 
511
 
            'agent_photo_blue_supply' :     (self.__tr('Photo blue ink cartridge'),
512
 
                                             ''),
513
 
 
514
 
            'agent_photo_blue_cartridge' :  (self.__tr('Photo blue cartridge'),
515
 
                                             ''),
516
 
 
517
 
            'agent_kcmy_cm_head' :          (self.__tr('Print head'),
518
 
                                             ''),
519
 
 
520
 
            'agent_photo_cyan_and_photo_magenta_head' : (self.__tr('Photo magenta and photo cyan print head'),
521
 
                                                         ''),
522
 
 
523
 
            'agent_yellow_and_magenta_head' :           (self.__tr('Magenta and yellow print head'),
524
 
                                                         '' ),
525
 
 
526
 
            'agent_cyan_and_black_head' :               (self.__tr('Black and cyan print head'),
527
 
                                                         '' ),
528
 
 
529
 
            'agent_light_gray_and_photo_black_head' :    (self.__tr('Light gray and photo black print head'),
530
 
                                                          '' ),
531
 
 
532
 
            'agent_light_gray_supply' :                 (self.__tr('Light gray ink cartridge'), # LG
533
 
                                                         '' ),
534
 
 
535
 
            'agent_medium_gray_supply' :                (self.__tr('Medium gray ink cartridge'),
536
 
                                                         '' ),
537
 
 
538
 
            'agent_photo_gray_supply' :                 (self.__tr('Photo black ink cartridge'), # PK
539
 
                                                         '' ),
540
 
 
541
 
            'agent_cyan_and_magenta_head' :             (self.__tr('Cyan and magenta print head'),
542
 
                                                          ''),
543
 
 
544
 
            'agent_black_and_yellow_head' :             (self.__tr('Black and yellow print head'),
545
 
                                                          ''),
546
 
 
547
 
            'agent_black_toner' :           (self.__tr('Black toner cartridge'),
548
 
                                             ''),
549
 
 
550
 
            'agent_cyan_toner' :            (self.__tr('Cyan toner cartridge'),
551
 
                                             ''),
552
 
 
553
 
            'agent_magenta_toner' :         (self.__tr('Magenta toner cartridge'),
554
 
                                             ''),
555
 
 
556
 
            'agent_yellow_toner' :          (self.__tr('Yellow toner cartridge'),
557
 
                                             ''),
558
 
 
559
 
            'agent_unspecified_maint_kit' : (self.__tr('Maintenance kit (fuser)'),
560
 
                                             ''),
561
 
 
562
 
            'agent_unspecified_adf_kit'   : (self.__tr('Document feeder (ADF) kit'),
563
 
                                             ''),
564
 
 
565
 
            'agent_unspecified_drum_kit'   : (self.__tr('Drum maintenance kit'),
566
 
                                              ''),
567
 
 
568
 
            'agent_unspecified_transfer_kit'   : (self.__tr('Image transfer kit'),
569
 
                                                  ''),
570
 
 
571
 
            'agent_health_unknown'     : ('Unknown',
572
 
                                          ''),
573
 
 
574
 
            'agent_health_ok'          : (self.__tr('Good/OK'),
575
 
                                           ''),
576
 
 
577
 
            'agent_health_fair_moderate' : (self.__tr('Fair/Moderate'),
578
 
                                            ''),
579
 
 
580
 
            'agent_health_misinstalled': (self.__tr('Not installed'),
581
 
                                          ''),
582
 
 
583
 
            'agent_health_incorrect'   : (self.__tr('Incorrect'),
584
 
                                          ''),
585
 
 
586
 
            'agent_health_failed'      : (self.__tr('Failed'),
587
 
                                          ''),
588
 
 
589
 
            'agent_health_overtemp'      : (self.__tr('Overheated'),
590
 
                                            ''),
591
 
 
592
 
            'agent_health_discharging'      : (self.__tr('Discharging'),
593
 
                                               ''),
594
 
 
595
 
            'agent_health_charging'      : (self.__tr('Charging'),
596
 
                                            ''),
597
 
 
598
 
            'agent_level_unknown'      : ('%unknown%',
599
 
                                          ''),
600
 
 
601
 
            'agent_level_low'          : (self.__tr('Low'),
602
 
                                          ''),
603
 
 
604
 
            'agent_level_out'          : (self.__tr('Very low'),
605
 
                                          ''),
606
 
 
 
33
            '0' : (self.__tr('Unknown'), ''),
 
34
            'unknown' : (self.__tr('Unknown'), ''),
 
35
            'try_again' : ('', self.__tr('Please correct the problem and try again')),
 
36
            'press_continue' : ('',self.__tr('Please correct the problem and press continue on the printer')),
 
37
            '500' : (self.__tr('Started a print job'), ''),
 
38
            '501' : (self.__tr('Print job has completed'), ''),
 
39
            '502' : (self.__tr("Print job failed - required plug-in not found"), self.__tr("Please run hp-plugin (as root) to install the required plug-in")),
 
40
            '600' : (self.__tr('Started a fax job'), ''),
 
41
            '601' : (self.__tr('Fax job is ready for send'), ''),
 
42
            '700' : (self.__tr('Printer queue stopped'), ''),
 
43
            '701' : (self.__tr('Printer queue started'), ''),
 
44
            '702' : (self.__tr('Printer is rejecting jobs'), ''),
 
45
            '703' : (self.__tr('Printer is accepting jobs'), ''),
 
46
            '704' : (self.__tr('Printer set as default'), ''),
 
47
            '800' : (self.__tr('Fax queue stopped'), ''),
 
48
            '801' : (self.__tr('Fax queue started'), ''),
 
49
            '802' : (self.__tr('Fax is rejecting jobs'), ''),
 
50
            '803' : (self.__tr('Fax is accepting jobs'), ''),
 
51
            '804' : (self.__tr('Fax set as default'), ''),
 
52
            '805' : (self.__tr("Fax job failed - required plug-in not found"), '%502%'),
 
53
            '1000' : (self.__tr('Idle'), ''),
 
54
            '1001' : (self.__tr('Busy'), ''),
 
55
            '1002' : (self.__tr('Print job is continuing'), ''),
 
56
            '1003' : (self.__tr('Turning off'), ''),
 
57
            '1004' : (self.__tr('Report printing'), ''),
 
58
            '1005' : (self.__tr('Canceling'), ''),
 
59
            '1006' : ('%5002%', '%try_again%'),
 
60
            '1007' : (self.__tr('Waiting for ink to dry'), ''),
 
61
            '1008' : (self.__tr('Pen change'), ''),
 
62
            '1009' : (self.__tr('The printer is out of paper'), self.__tr('Please load more paper and follow the instructions on the front panel (if any) to continue printing')),
 
63
            '1010' : (self.__tr('Banner eject needed'), ''),
 
64
            '1011' : (self.__tr('Banner mismatch'), '%try_again%'),
 
65
            '1012' : (self.__tr('Photo mismatch'), '%try_again%'),
 
66
            '1013' : (self.__tr('Duplex mismatch'), '%try_again'),
 
67
            '1014' : (self.__tr('Paper or cartridge carriage jammed'), self.__tr('Please clear the jam and press continue on the printer')),
 
68
            '1015' : ('%1014%', '%1014%'),
 
69
            '1016' : ('%1014%', '%1014%'),
 
70
            '1017' : (self.__tr('There is a problem with a print cartridge'), '%press_continue%'),
 
71
            '1018' : ('%unknown_error%', '%try_again%'),
 
72
            '1019' : (self.__tr('Powering down'), ''),
 
73
            '1020' : (self.__tr('Front panel test'), ''),
 
74
            '1021' : (self.__tr('Clean out tray missing'), '%try_again%'),
 
75
            '1022' : (self.__tr('Output bin full'), '%try_again%'),
 
76
            '1023' : (self.__tr('Media size mismatch'), '%try_again%'),
 
77
            '1024' : (self.__tr('Duplexer is jammed'), '%1014%'),
 
78
            '1025' : ('%1014%', '%1014%'),
 
79
            '1026' : (self.__tr('An ink cartridge is out of ink'), '%try_again%'),
 
80
            '1027' : (self.__tr('Internal device error'), '%try_again%'),
 
81
            '1028' : ('%1014%', '%1014%'),
 
82
            '1029' : (self.__tr('Second tray missing'), '%try_again%'),
 
83
            '1030' : (self.__tr('Duplexer missing'), '%try_again%'),
 
84
            '1031' : (self.__tr('Rear tray missing'), '%try_again%'),
 
85
            '1032' : (self.__tr('Cartridge not latched'), '%try_again%'),
 
86
            '1033' : (self.__tr('Battery very low'), '%try_again%'),
 
87
            '1034' : ('%1017%', '%try_again%'),
 
88
            '1035' : (self.__tr('Output tray closed'), '%try_again%'),
 
89
            '1036' : (self.__tr('Manual feed blocked'), '%1014%'),
 
90
            '1037' : (self.__tr('Rear feed blocked'), '%1014%'),
 
91
            '1038' : (self.__tr('Second tray out of paper'), '%1009%'),
 
92
            '1039' : (self.__tr('Input tray locked'), '%try_again%'),
 
93
            '1040' : (self.__tr('Non-HP ink'), '%try_again%'),
 
94
            '1041' : (self.__tr('Pen calibration needs resume'), '%press_continue%'),
 
95
            '1042' : (self.__tr('Media type mismatch'), '%try_again%'),
 
96
            '1043' : (self.__tr('Custom media mismatch'), '%try_again%'),
 
97
            '1044' : (self.__tr('Pen cleaning in progress'), ''),
 
98
            '1045' : (self.__tr('Pen checking in progress'), ''),
 
99
            '1501' : (self.__tr('Black cartridge is low on ink'), ''),
 
100
            '1502' : (self.__tr('Tri-color cartridge is low on ink'), ''),
 
101
            '1503' : (self.__tr('Photo cartridge is low on ink'), ''),
 
102
            '1504' : (self.__tr('Cyan cartridge is low on ink'), ''),
 
103
            '1505' : (self.__tr('Magenta cartridge is low on ink'), ''),
 
104
            '1506' : (self.__tr('Yellow cartridge is low on ink'), ''),
 
105
            '1507' : (self.__tr('Photo cyan cartridge is low on ink'), ''),
 
106
            '1508' : (self.__tr('Photo magenta cartridge is low on ink'), ''),
 
107
            '1509' : (self.__tr('Photo yellow cartridge is low on ink'), ''),
 
108
            '1510' : (self.__tr('Photo gray cartridge is low on ink'), ''),
 
109
            '1511' : (self.__tr('Photo blue cartridge is low on ink'), ''),
 
110
            '1601' : (self.__tr('Black cartridge is low on toner'), ''),
 
111
            '1604' : (self.__tr('Cyan cartridge is low on toner'), ''),
 
112
            '1605' : (self.__tr('Magenta cartridge is low on toner'), ''),
 
113
            '1606' : (self.__tr('Yellow cartridge is low on toner'), ''),
 
114
            '1800' : (self.__tr('Warming up'), ''),
 
115
            '1801' : (self.__tr('Low paper'), ''),
 
116
            '1802' : (self.__tr('Door open'), '%try_again%'),
 
117
            '1803' : (self.__tr('Offline'), ''),
 
118
            '1804' : (self.__tr('Low toner'), ''),
 
119
            '1805' : (self.__tr('No toner'), '%try_again%'),
 
120
            '1806' : (self.__tr('Service request'), '%try_again%'),
 
121
            '1807' : (self.__tr('Fuser error'), '%try_again%'),
 
122
            '1900' : (self.__tr('Unsupported printer model'), ''),
 
123
            '2000' : (self.__tr('Scan job started'), ''),
 
124
            '2001' : (self.__tr('Scan job completed'), ''),
 
125
            '2002' : (self.__tr('Scan job failed'), '%try_again%'),
 
126
            '2003' : (self.__tr("Scan job failed - Required plug-in not found"), '%502%'),
 
127
            '3000' : (self.__tr('Fax job started'), ''),
 
128
            '3001' : (self.__tr('Fax job complete'), ''),
 
129
            '3002' : (self.__tr('Fax job failed'), '%try_again%'),
 
130
            '3003' : (self.__tr('Fax job canceled'), ''),
 
131
            '3004' : (self.__tr('Fax send job continuing'), ''),
 
132
            '3005' : (self.__tr('Fax receive job continuing'), ''),
 
133
            '4000' : (self.__tr('Copy job started'), ''),
 
134
            '4001' : (self.__tr('Copy job complete'), ''),
 
135
            '4002' : (self.__tr('Copy job failed'), '%try_again%'),
 
136
            '4003' : (self.__tr('Copy job canceled'), ''),
 
137
            '5002' : (self.__tr('Device is busy, powered down, or unplugged'), '%5012%'),
 
138
            '5004' : (self.__tr('Invalid device URI'), '%5012%'),
 
139
            '5012' : (self.__tr('Device communication error'), '%try_again%'),
 
140
            '5021' : (self.__tr('Device is busy'), ''),
 
141
            '5026' : (self.__tr("Device status not available"), ''),
 
142
            '5031' : ('%5021%', ''),
 
143
            '5034' : (self.__tr('Device does not support requested operation'), '%try_again%'),
 
144
            '6000' : (self.__tr('Photocard unload started'), ''),
 
145
            '6001' : (self.__tr('Photocard unload ended'), ''),
 
146
            '6002' : (self.__tr('Photocard unload failed'), self.__tr('Make sure photocard is inserted properly and try again')),
 
147
            '6003' : (self.__tr('Unable to mount photocard on device'), '%6002%'),
 
148
            '6004' : (self.__tr('Photocard unloaded successfully'), ''),
 
149
            'unknown_error' : (self.__tr('Unknown error'), ''),
 
150
            'print' : (self.__tr('Print'), ''),
 
151
            'scan' : (self.__tr('Scan'), ''),
 
152
            'send_fax' : (self.__tr('Send fax'), ''),
 
153
            'make_copies' : (self.__tr('Make copies'), ''),
 
154
            'access_photo_cards' : (self.__tr('Access photo cards'), ''),
 
155
            'agent_invalid_invalid' : (self.__tr('Invalid/missing'), ''),
 
156
            'agent_invalid_supply' : (self.__tr('Invalid/missing ink cartridge'), ''),
 
157
            'agent_invalid_cartridge':(self.__tr('Invalid/missing cartridge'), ''),
 
158
            'agent_invalid_head' : (self.__tr('Invalid/missing print head'), ''),
 
159
            'agent_unknown_unknown' : ('%unknown%', ''),
 
160
            'agent_unspecified_battery' : ('Battery', ''),
 
161
            'agent_black_head' : (self.__tr('Black print head'), ''),
 
162
            'agent_black_supply' : (self.__tr('Black ink cartridge'), ''),
 
163
            'agent_black_cartridge' : (self.__tr('Black cartridge'), ''),
 
164
            'agent_cmy_head' : (self.__tr('Tri-color print head'), ''),
 
165
            'agent_cmy_supply' : (self.__tr('Tri-color ink cartridge'), ''),
 
166
            'agent_cmy_cartridge' : (self.__tr('Tri-color cartridge'), ''),
 
167
            'agent_kcm_head' : (self.__tr('Photo print head'), ''),
 
168
            'agent_kcm_supply' : (self.__tr('Photo ink cartridge'), ''),
 
169
            'agent_kcm_cartridge' : (self.__tr('Photo cartridge'), ''),
 
170
            'agent_cyan_head' : (self.__tr('Cyan print head'), ''),
 
171
            'agent_cyan_supply' : (self.__tr('Cyan ink cartridge'), ''),
 
172
            'agent_cyan_cartridge' : (self.__tr('Cyan cartridge'), ''),
 
173
            'agent_magenta_head' : (self.__tr('Magenta print head'), ''),
 
174
            'agent_magenta_supply' : (self.__tr('Magenta ink cartridge'), ''),
 
175
            'agent_magenta_cartridge':(self.__tr('Magenta cartridge'), ''),
 
176
            'agent_yellow_head' : (self.__tr('Yellow print head'), ''),
 
177
            'agent_yellow_supply' : (self.__tr('Yellow ink cartridge'), ''),
 
178
            'agent_yellow_cartridge': (self.__tr('Yellow cartridge'), ''),
 
179
            'agent_photo_cyan_head' : (self.__tr('Photo cyan print head'), ''),
 
180
            'agent_photo_cyan_supply' : (self.__tr('Photo cyan ink cartridge'), ''),
 
181
            'agent_photo_cyan_cartridge' : (self.__tr('Photo cyan cartridge'), ''),
 
182
            'agent_photo_magenta_head' : (self.__tr('Photo magenta print head'), ''),
 
183
            'agent_photo_magenta_supply' : (self.__tr('Photo magenta ink cartridge'), ''),
 
184
            'agent_photo_magenta_cartridge':(self.__tr('Photo magenta cartridge'), ''),
 
185
            'agent_photo_yellow_head' : (self.__tr('Photo yellow print head'), ''),
 
186
            'agent_photo_yellow_supply' : (self.__tr('Photo yellow ink cartridge'), ''),
 
187
            'agent_photo_yellow_cartridge': (self.__tr('Photo yellow cartridge'), ''),
 
188
            'agent_photo_gray_head' : (self.__tr('Photo gray print head'), ''),
 
189
            'agent_photo_gray_supply' : (self.__tr('Photo gray ink cartridge'), ''),
 
190
            'agent_photo_gray_cartridge' : (self.__tr('Photo gray cartridge'), ''),
 
191
            'agent_photo_blue_head' : (self.__tr('Photo blue print head'), ''),
 
192
            'agent_photo_blue_supply' : (self.__tr('Photo blue ink cartridge'), ''),
 
193
            'agent_photo_blue_cartridge' : (self.__tr('Photo blue cartridge'), ''),
 
194
            'agent_kcmy_cm_head' : (self.__tr('Print head'), ''),
 
195
            'agent_photo_cyan_and_photo_magenta_head' : (self.__tr('Photo magenta and photo cyan print head'), ''),
 
196
            'agent_yellow_and_magenta_head' : (self.__tr('Magenta and yellow print head'), '' ),
 
197
            'agent_cyan_and_black_head' : (self.__tr('Black and cyan print head'), '' ),
 
198
            'agent_light_gray_and_photo_black_head' : (self.__tr('Light gray and photo black print head'), '' ),
 
199
            'agent_light_gray_supply' : (self.__tr('Light gray ink cartridge'), '' ),
 
200
            'agent_medium_gray_supply' : (self.__tr('Medium gray ink cartridge'), '' ),
 
201
            'agent_photo_gray_supply' : (self.__tr('Photo black ink cartridge'), '' ),
 
202
            'agent_cyan_and_magenta_head' : (self.__tr('Cyan and magenta print head'), ''),
 
203
            'agent_black_and_yellow_head' : (self.__tr('Black and yellow print head'), ''),
 
204
            'agent_black_toner' : (self.__tr('Black toner cartridge'), ''),
 
205
            'agent_cyan_toner' : (self.__tr('Cyan toner cartridge'), ''),
 
206
            'agent_magenta_toner' : (self.__tr('Magenta toner cartridge'), ''),
 
207
            'agent_yellow_toner' : (self.__tr('Yellow toner cartridge'), ''),
 
208
            'agent_unspecified_maint_kit' : (self.__tr('Maintenance kit (fuser)'), ''),
 
209
            'agent_unspecified_adf_kit' : (self.__tr('Document feeder (ADF) kit'), ''),
 
210
            'agent_unspecified_drum_kit' : (self.__tr('Drum maintenance kit'), ''),
 
211
            'agent_unspecified_transfer_kit' : (self.__tr('Image transfer kit'), ''),
 
212
            'agent_health_unknown' : ('Unknown', ''),
 
213
            'agent_health_ok' : (self.__tr('Good/OK'), ''),
 
214
            'agent_health_fair_moderate' : (self.__tr('Fair/Moderate'), ''),
 
215
            'agent_health_misinstalled': (self.__tr('Not installed'), ''),
 
216
            'agent_health_incorrect' : (self.__tr('Incorrect'), ''),
 
217
            'agent_health_failed' : (self.__tr('Failed'),''),
 
218
            'agent_health_overtemp' : (self.__tr('Overheated'),''),
 
219
            'agent_health_discharging' : (self.__tr('Discharging'), ''),
 
220
            'agent_health_charging' : (self.__tr('Charging'), ''),
 
221
            'agent_level_unknown' : ('%unknown%', ''),
 
222
            'agent_level_low' : (self.__tr('Low'), ''),
 
223
            'agent_level_out' : (self.__tr('Very low'),''),
 
224
            'vsa_000' : (self.__tr("The Ethernet cable is plugged in which will prevent you from connecting to a wireless network. To connect wirelessly, remove the cable and try again. (VSA000)"), ''),
 
225
            'vsa_001' : (self.__tr("A wireless network was found that matches what you have configured. However, the Ethernet cable is plugged in which will prevent you from connecting to it. To connect wirelessly, remove the cable and try again. (VSA001)"), ''),
 
226
            'vsa_002' : (self.__tr("The wireless adaptor on your printer is not enabled. You cannot connect to a wireless network until this is turned on. (VSA002)"), ''),
 
227
            'vsa_003' : (self.__tr("Your Access Point (AP) is not broadcasting its SSID. This feature is probably disabled. (VSA003)"), ''),
 
228
            'vsa_004' : (self.__tr("The wireless adaptor on your printer is not functioning properly. There may be a problem with the hardware. (VSA004)"), ''),
 
229
            'vsa_100' : (self.__tr("Check if MAC address filtering or IP address filtering is being used by your Access Point. If it is, then refer to your troubleshooting documentation that came with your HP device and make any necessary corrections. (VSA100)"), ''),
 
230
            'vsa_101' : (self.__tr("The access point you are trying to connect to has settings that are NOT consistent with the ones in the printer. (VSA101)"), ''),
 
231
            'vsa_102' : (self.__tr("Unknown (VSA102)"), ''),
 
232
            'vsa_200' : (self.__tr("Your printer is configured to connect to an Access Point (AP) with the manufacturer's default (SSID) name. You should consider changing the AP name to avoid connecting to the wrong access point. (VSA200)"), ''),
 
233
            'vsa_201' : (self.__tr("The network that you are trying to connect to cannot be found. Please make sure your access point is powered on. (VSA201)"), ''),
 
234
            'vsa_202' : (self.__tr("You are trying to connect to an ad hoc network, and no other devices with that SSID can be found. (VSA202)"), ''),
 
235
            'vsa_203' : (self.__tr("Check that your HP device (SSID) name matches your Access Point (SSID) name exactly (SSID names are case sensitive). (VSA203)"), ''),
 
236
            'vsa_204' : (self.__tr("The SSID that you have configured is empty. In order to connect wirelessly you must enter a valid, non-blank SSID. (VSA204)"), ''),
 
237
            'vsa_300' : (self.__tr("The printer is configured to connect to an ad hoc wireless network in 802.11g mode. This can cause compatibility issues with older 802.11b devices. (VSA300)"), ''),
 
238
            'vsa_301' : (self.__tr("The printer is configured so that it shows that it is connected to an ad hoc network even if no other devices are present. This setting should only be used to connect to non-compliant 802.11 devices. WiFi certified devices won't have this issue. (VSA301)"), ''),
 
239
            'vsa_302' : (self.__tr("The printer is configured to show that it isn't connected to an ad hoc network when no other devices are present. This setting should only be used to connect to compliant/WiFi certified 802.11 devices. (VSA302)"), ''),
 
240
            'vsa_303' : (self.__tr("The printer is configured to connect to the wireless network in 802.11b mode. This setting should only be used to connect to a non-compliant 802.11 device. WiFi certified devices don't have this issue. (VSA303)"), ''),
 
241
            'vsa_400' : (self.__tr("The signal strength for your wireless network too low (below -85dBm) which may result in your network becoming unstable. (VSA400)"), ''),
 
242
            'vsa_401' : (self.__tr("You are not currently associated with a wireless network. However, a network that is consistent with your settings has been detected, but its signal strength is below -85dBm which could be preventing association. (VSA401)"), ''),
 
243
            'vsa_500' : (self.__tr("There were multiple access points (or wireless repeaters) with your configured found in the area. The printer will connect to the one with the strongest signal. If you have setup a network with multiple APs, this is normal and this message is for information purposes only. (VSA500)"), ''),
 
244
            'vsa_501' : (self.__tr("There were multiple access points (or wireless repeaters) with your configured found in the area. Some of these networks have settings that are inconsistent with your printer's wireless settings. (VSA501)"), '' ),
 
245
            'vsa_600' : (self.__tr("Your wireless network requires a WEP key. The key you have provided does not match what is expected. Click <i>&lt; Back</i> to re-enter the key. (VSA600)"), ''),
 
246
            'vsa_601' : (self.__tr("Your wireless network requires a WEP key. However, no data has been received to decrypt. Please try again in a few seconds. (VSA601)"), ''),
 
247
            'vsa_602' : (self.__tr("The WEP key index on your HP device does not match that of your Access Point. Refer to the documentation that came with your HP device regarding changing the WEP key index. (VSA602)"), ''),
 
248
            'vsa_603' : (self.__tr("Your Access Point (AP) requires a WPA pass phrase. The pass phrase you entered for your HP device does not match exactly your AP pass phrase. Click <i>&lt; Back</i> to re-enter the pass phase. (VSA603)"), ''),
 
249
            'vsa_604' : (self.__tr("The HP printer is configured to connect to a WEP wireless network and the authentication method has been changed from the default setting. (VSA604)"), ''),
 
250
            'vsa_605' : (self.__tr("The HP printer is configured to connect using WPA-PSK authentication. However, the encryption method you have chosen is not the default. (VSA605)"), ''),
 
251
            'vsa_606' : (self.__tr("The HP printer is configured to connect using WPA-PSK authentication. However, the authentication method you have chosen is not the default. (VSA606)"), ''),
607
252
        }
608
253
 
609
254
    def __tr(self,s,c = None):
610
255
        return s
611
 
 
612
 
 
613
 
 
614