Debian Codegraph @

friendly_traceback/locales/it/LC_MESSAGES/friendly_tb_it.po

raw
1 msgid ""
2 msgstr ""
3 "Project-Id-Version: friendly-traceback\n"
4 "POT-Creation-Date: 2022-10-24 10:58-0300\n"
5 "PO-Revision-Date: \n"
6 "Last-Translator: \n"
7 "Language-Team: \n"
8 "Language: it\n"
9 "MIME-Version: 1.0\n"
10 "Content-Type: text/plain; charset=UTF-8\n"
11 "Content-Transfer-Encoding: 8bit\n"
12 "X-Generator: Poedit 3.1.1\n"
13
14 #: __init__.py:284 __main__.py:171
15 msgid "The file {filename} does not exist."
16 msgstr "Il file {filename} non esiste."
17
18 #: __init__.py:367
19 msgid "The available languages are:"
20 msgstr ""
21
22 #: __init__.py:395
23 msgid "{include}: Unrecognized value."
24 msgstr ""
25
26 #: __init__.py:396
27 msgid "The allowed values are:"
28 msgstr ""
29
30 #: about_warnings.py:88
31 msgid "Warning issued on line `{line}` of code block {filename}."
32 msgstr ""
33 "Eccezione rilevata alla linea `{line}` della porzione di codice {filename}."
34
35 #: about_warnings.py:92
36 msgid "Warning issued on line `{line}` of file '{filename}'."
37 msgstr "Eccezione rilevata alla linea `{line}` del file '{filename}'."
38
39 #: about_warnings.py:137
40 msgid ""
41 "The source is unavailable.\n"
42 "If you used `exec`, consider using `friendly_exec` instead."
43 msgstr ""
44
45 #: base_formatters.py:192 base_formatters.py:198
46 msgid "I have no suggestion to offer."
47 msgstr "Non ho suggerimenti da proporre."
48
49 #: base_formatters.py:196
50 msgid "I have no suggestion to offer; try `why()`."
51 msgstr "Non ho suggerimenti da proporre; prova a digitare `why()`."
52
53 #: config.py:42
54 msgid ""
55 "Are you using a regular Python console instead of a Friendly console?\n"
56 "If so, to continue, try: `start_console(local_vars=locals())`.\n"
57 "You will need to import `start_console` if you have not already done so.\n"
58 msgstr ""
59 "Stai ancora utilizzando la console standard di Python invece che una console "
60 "Friendly? Se è così, allora per continuare prova: "
61 "`start_console(local_vars=locals())`.\n"
62 "Se non l’hai ancora fatto, dovrai importare il modulo `start_console`.\n"
63
64 #: config.py:76 config.py:194 console_helpers.py:43
65 msgid "Nothing to show: no exception recorded."
66 msgstr "Non c'è nulla da mostrare: non sono state rilevate eccezioni."
67
68 #: config.py:81 console_helpers.py:306
69 msgid "Invalid index value."
70 msgstr ""
71
72 #: config.py:320
73 msgid ""
74 "An exception occurred before friendly-traceback was imported.\n"
75 "Some information is available."
76 msgstr ""
77 "Una eccezione è stata sollevata prima che il friendly-traceback fosse "
78 "importata. Sono disponibili delle informazioni."
79
80 #: console_helpers.py:49
81 msgid "Friendly-traceback is already disabled."
82 msgstr ""
83
84 #: console_helpers.py:59
85 msgid "Friendly-traceback is already enabled."
86 msgstr ""
87
88 #: console_helpers.py:109 functions_help.py:15
89 msgid "Shows a list of recorded traceback messages."
90 msgstr "Mostra una lista di messaggi traceback registrati."
91
92 #: console_helpers.py:111 functions_help.py:17
93 msgid "You can also use `history.clear()` and `history.pop()`."
94 msgstr ""
95
96 #: console_helpers.py:121
97 #, fuzzy
98 #| msgid "Nothing to show: no exception recorded."
99 msgid "Nothing to delete: no exception recorded."
100 msgstr "Non c'è nulla da mostrare: non sono state rilevate eccezioni."
101
102 #: console_helpers.py:128
103 msgid "There is no such history item."
104 msgstr ""
105
106 #: console_helpers.py:172 console_helpers.py:176
107 msgid "{exception} is not an exception."
108 msgstr "{exception} non è una eccezione."
109
110 #: console_helpers.py:270
111 msgid "The default web browser cannot be used for searching."
112 msgstr "Il browser di default non può essere utilizzato per la ricerca."
113
114 #: console_helpers.py:280
115 #, fuzzy
116 #| msgid ""
117 #| "Invalid argument for `www()`.\n"
118 #| "Valid arguments include `None` or one of `{sites}`.\n"
119 msgid ""
120 "Invalid argument for `www()`.\n"
121 "Valid arguments are integer values or one of `{sites}`.\n"
122 msgstr ""
123 "Parametro di input non valido per la funzione `www()`. Parametri di input "
124 "validi sono `None` oppure uno tra `{sites}`.\n"
125
126 #: console_helpers.py:478
127 msgid ""
128 "The following methods of the Friendly object should also be available as "
129 "functions."
130 msgstr ""
131 "I seguenti metodi dell'oggetto Friendly dovrebbero essere resi disponibili "
132 "anche come funzioni."
133
134 #: core.py:125
135 msgid "More lines not shown."
136 msgstr "Ci sono altre linee non visibili."
137
138 #: core.py:127 core.py:166
139 msgid "Python exception:"
140 msgstr "Eccezione Python:"
141
142 #: core.py:180
143 msgid "The exception includes the following note:\n"
144 msgstr ""
145
146 #: core.py:184
147 msgid "The exception includes the following notes:\n"
148 msgstr ""
149
150 #: core.py:204
151 msgid ""
152 "Warning: improperly formed exception.\n"
153 "I suspect that a custom exception has been raised\n"
154 "with a non-string value used as a message.\n"
155 "This can occur if a `__repr__` or a `__str__` method\n"
156 "raises an exception or does not return a string.\n"
157 msgstr ""
158 "Warning: eccezione impropriamente sollevata. \n"
159 "Sospetto che una eccezione custom sia stata sollevata utilizzando come "
160 "messaggio un valore non di tipo \"stringa\". \n"
161 "Questo può accadere se un metodo `__repr__` oppure `__str__` solleva una "
162 "eccezione e non viene restituito un valore non di tipo \"stringa\". \n"
163
164 #: core.py:255
165 msgid "The encoding of the file was not valid.\n"
166 msgstr "L'encoding del file non è valido.\n"
167
168 #: core.py:335 core.py:356
169 msgid ""
170 "{filename} is not a regular Python file whose contents can be analyzed.\n"
171 msgstr ""
172 "{filename} non è un file in formato Python. Il contenuto non può essere "
173 "analizzato\n"
174
175 #: core.py:339
176 msgid "If you used `exec`, consider using `friendly_exec` instead.\n"
177 msgstr ""
178
179 #: core.py:344
180 msgid "Exception raised on line `{linenumber}` of code block {filename}.\n"
181 msgstr ""
182 "Eccezione rilevata alla linea `{linenumber}` della porzione di codice "
183 "{filename}.\n"
184
185 #: core.py:348
186 msgid "Exception raised on line `{linenumber}` of file '{filename}'.\n"
187 msgstr "Eccezione rilevata alla linea `{linenumber}` del file '{filename}'.\n"
188
189 #: core.py:384
190 msgid "Execution stopped on line `{linenumber}` of code block {filename}.\n"
191 msgstr ""
192 "L'esecuzione si è arrestata alla linea `{linenumber}` della porzione di "
193 "codice {filename}.\n"
194
195 #: core.py:388
196 msgid "Execution stopped on line `{linenumber}` of file '{filename}'.\n"
197 msgstr ""
198 "L'esecuzione si è arrestata alla linea `{linenumber}` del file "
199 "'{filename}'.\n"
200
201 #: core.py:412
202 msgid "Code block {filename}, line `{line}`"
203 msgstr "File {filename}, linea `{line}`"
204
205 #: core.py:416
206 msgid "File '{filename}', line `{line}`"
207 msgstr "File '{filename}', linea `{line}`"
208
209 #: core.py:430
210 msgid "The entire content of `{filename}` is not available.\n"
211 msgstr "L'intero contenuto di `{filename}` non è disponibile.\n"
212
213 #: core.py:444
214 msgid "Python could not understand the code in the code block {filename}\n"
215 msgstr "L'interprete Python non comprende la porzione di codice {filename}.\n"
216
217 #: core.py:448
218 msgid ""
219 "Python could not understand the code in the file\n"
220 "'{filename}'\n"
221 msgstr ""
222 "Python non riesce ad interpretare il codice contenuto nel file '{filename}'\n"
223
224 #: core.py:453
225 msgid "at the location indicated.\n"
226 msgstr "nella posizione indicata.\n"
227
228 #: core.py:689
229 msgid ""
230 "Unfortunately, no additional information is available:\n"
231 "the content of file '<stdin>' is not accessible.\n"
232 msgstr ""
233 "Ci dispiace, ma non sono disponibili informazioni aggiuntive:\n"
234 "il contenuto del file '<stdin>' non è accessibile.\n"
235
236 #: debug_helper.py:41
237 msgid "Fatal error - aborting"
238 msgstr ""
239
240 #: debug_helper.py:42
241 msgid "Please report this issue."
242 msgstr ""
243
244 #: frame_info.py:85
245 msgid "Problem: source of `{filename}` is not available\n"
246 msgstr "Problema: il codice sorgente del file `{filename}` non è disponibile\n"
247
248 #: ft_console.py:30
249 msgid "Use exit() or Ctrl-Z plus Return to exit."
250 msgstr ""
251
252 #: ft_console.py:32
253 msgid "Use exit() or Ctrl-D to exit."
254 msgstr ""
255
256 #: ft_console.py:33
257 msgid "Type 'Friendly' for help on special functions/methods."
258 msgstr "Digita 'Friendly' per supporto su funzioni o metodi speciali."
259
260 #: ft_gettext.py:82
261 msgid ""
262 "Please report this example to\n"
263 "https://github.com/friendly-traceback/friendly-traceback/issues/new\n"
264 "If you are using a REPL, use `www('bug')` to do so.\n"
265 "\n"
266 msgstr ""
267 "Cortesemente riporta questo esempio su https://github.com/friendly-traceback/"
268 "friendly-traceback/issues/new\n"
269 "Se stai usando REPL, usa il comando `www('bug')` per farlo.\n"
270
271 #: ft_gettext.py:90
272 msgid "Friendly-traceback does not know the cause of this error.\n"
273 msgstr "Friendly-traceback non conosce la causa di questo errore. \n"
274
275 #: ft_gettext.py:96
276 msgid "No information is known about this exception.\n"
277 msgstr "Non ci sono informazioni disponibili per questa eccezione.\n"
278
279 #: ft_gettext.py:98
280 msgid ""
281 "If you are using the Friendly console, use `www()` to\n"
282 "do an Internet search for this particular case.\n"
283 msgstr ""
284 "Se stai usando la console Friendly, usa `www()` per effettuare una ricerca "
285 "su internet per questo caso particolare.\n"
286
287 #: ft_gettext.py:107
288 msgid "Internal error for Friendly.\n"
289 msgstr "Errore interno per Friendly.\n"
290
291 #: functions_help.py:10
292 msgid "Disable friendly-traceback and restore previous exception hook."
293 msgstr ""
294
295 #: functions_help.py:13
296 msgid "Enable friendly-traceback as an exception hook"
297 msgstr ""
298
299 #: functions_help.py:14
300 msgid "Shows all the information about the last traceback."
301 msgstr "Mostra tutte le informazioni riguardo l'ultimo traceback."
302
303 #: functions_help.py:18
304 msgid "Sets the language to be used."
305 msgstr "Imposta la lingua da utilizzare."
306
307 #: functions_help.py:19
308 msgid "Shows the paths corresponding to synonyms used."
309 msgstr "Mostra i percorsi corrispondenti ai sinonimi utilizzati."
310
311 #: functions_help.py:20
312 msgid "Shows the generic meaning of a given exception."
313 msgstr "Mostra il significato generale di una eccezione."
314
315 #: functions_help.py:21
316 msgid "Shows where an exception was raised."
317 msgstr "Mostra il punto in cui è stata sollevata una eccezione."
318
319 #: functions_help.py:22
320 msgid "Shows the likely cause of the exception."
321 msgstr "Mostra la probabile causa dell'eccezione."
322
323 #: functions_help.py:23
324 msgid "Opens a web browser at a useful location."
325 msgstr "Apre un browser web ad un indirizzo utile."
326
327 #: functions_help.py:24
328 msgid "Suggestion sometimes added to a friendly traceback."
329 msgstr ""
330
331 #: functions_help.py:25
332 msgid "Shows a normal Python traceback."
333 msgstr "Mostra un traceback Python standard."
334
335 #: functions_help.py:26
336 msgid "Shows a simplified Python traceback."
337 msgstr "Mostra un traceback Python semplificato."
338
339 #: functions_help.py:27
340 msgid "Returns the current value used for items to include by default."
341 msgstr ""
342 "Restituisce l'attuale valore utilizzato per gli elementi da includere da "
343 "standard."
344
345 #: functions_help.py:30
346 msgid "Sets the items to show by default when an exception is raised."
347 msgstr ""
348 "Imposta gli elementi da mostrare da standard quando viene sollevata una "
349 "eccezione."
350
351 #: functions_help.py:33
352 msgid "Returns the language currently used."
353 msgstr "Restituisce la lingua utilizzata."
354
355 #: functions_help.py:34
356 msgid "Sets the formatter to use for display."
357 msgstr "Imposta il formatter da utilizzare per mostrare l'output."
358
359 #: functions_help.py:35
360 msgid "Use True (default) or False to enable debugging methods."
361 msgstr "Usa True (predefinito) o False per abilitare i metodi di debug."
362
363 #: info_generic.py:43
364 #, fuzzy
365 #| msgid "An exception of type `{name}` is a subclass of `{parent}`.\n"
366 msgid "A warning of type `{name}` is a subclass of `{parent}`.\n"
367 msgstr "Un'eccezione di tipo `{name}` è una sottoclasse di `{parent}`.\n"
368
369 #: info_generic.py:47
370 msgid "An exception of type `{name}` is a subclass of `{parent}`.\n"
371 msgstr "Un'eccezione di tipo `{name}` è una sottoclasse di `{parent}`.\n"
372
373 #: info_generic.py:50
374 msgid "Nothing more specific is known about `{name}`."
375 msgstr ""
376
377 #: info_generic.py:54
378 msgid ""
379 "The inheritance is as follows:\n"
380 "\n"
381 " {tree}\n"
382 msgstr ""
383
384 #: info_generic.py:97
385 msgid ""
386 "All built-in exceptions defined by Python are derived from `Exception`.\n"
387 "All user-defined exceptions should also be derived from this class.\n"
388 msgstr ""
389
390 #: info_generic.py:105
391 msgid ""
392 "`BaseException` is the base class for all built-in exceptions.\n"
393 "It is not meant to be directly inherited by user-defined classes.\n"
394 msgstr ""
395
396 #: info_generic.py:113
397 msgid ""
398 "`ArithmeticError` is the base class for those built-in exceptions\n"
399 "that are raised for various arithmetic errors.\n"
400 msgstr ""
401
402 #: info_generic.py:121
403 msgid ""
404 "In Python, the keyword `assert` is used in statements of the form\n"
405 "`assert condition`, to confirm that `condition` is not `False`,\n"
406 "nor equivalent to `False` such as an empty list, etc.\n"
407 "\n"
408 "If `condition` is `False` or equivalent, an `AssertionError` is raised.\n"
409 msgstr ""
410
411 #: info_generic.py:131
412 msgid ""
413 "An `AttributeError` occurs when the code contains something like\n"
414 " `object.x`\n"
415 "and `x` is not a method or attribute (variable) belonging to `object`.\n"
416 msgstr ""
417
418 #: info_generic.py:140
419 msgid ""
420 "An `EOFError` is raised when the `input()` function hits\n"
421 "an end-of-file condition (EOF) without reading any data.\n"
422 msgstr ""
423
424 #: info_generic.py:148
425 msgid ""
426 "A `FileNotFoundError` exception indicates that you\n"
427 "are trying to open a file that cannot be found by Python.\n"
428 "This could be because you misspelled the name of the file.\n"
429 msgstr ""
430 "Una eccezione di tipo `FileNotFoundError` indica che si sta cercando di "
431 "aprire un file che non viene trovato da Python. Ciò può avvenire perché hai "
432 "magari digitato male il nome del file.\n"
433
434 #: info_generic.py:157
435 msgid ""
436 "An `ImportError` exception indicates that a certain object could not\n"
437 "be imported from a module or package. Most often, this is\n"
438 "because the name of the object is not spelled correctly.\n"
439 msgstr ""
440
441 #: info_generic.py:166
442 msgid ""
443 "An `IndentationError` occurs when a given line of code is\n"
444 "not indented (aligned vertically with other lines) as expected.\n"
445 msgstr ""
446
447 #: info_generic.py:174
448 msgid ""
449 "An `IndexError` occurs when you try to get an item from a list,\n"
450 "a tuple, or a similar object (sequence), and use an index which\n"
451 "does not exist; typically, this happens because the index you give\n"
452 "is greater than the length of the sequence.\n"
453 msgstr ""
454
455 #: info_generic.py:184
456 msgid ""
457 "A `KeyError` is raised when a value is not found as a\n"
458 "key in a Python dict or in a similar object.\n"
459 msgstr ""
460 "Un errore del tipo `KeyError` viene sollevato quando un valore non è trovato "
461 "in un oggetto di tipo dizionario Python oppure in un oggetto simile. \n"
462
463 #: info_generic.py:192
464 msgid ""
465 "`LookupError` is the base class for the exceptions that are raised\n"
466 "when a key or index used on a mapping or sequence is invalid.\n"
467 "It can also be raised directly by codecs.lookup().\n"
468 msgstr ""
469
470 #: info_generic.py:201
471 msgid ""
472 "Like the name indicates, a `MemoryError` occurs when Python\n"
473 "runs out of memory. This can happen if you create an object\n"
474 "that is too big, like a list with too many items.\n"
475 msgstr ""
476
477 #: info_generic.py:210
478 msgid ""
479 "A `ModuleNotFoundError` exception indicates that you\n"
480 "are trying to import a module that cannot be found by Python.\n"
481 "This could be because you misspelled the name of the module\n"
482 "or because it is not installed on your computer.\n"
483 msgstr ""
484
485 #: info_generic.py:220
486 msgid ""
487 "A `NameError` exception indicates that a variable or\n"
488 "function name is not known to Python.\n"
489 "Most often, this is because there is a spelling mistake.\n"
490 "However, sometimes it is because the name is used\n"
491 "before being defined or given a value.\n"
492 msgstr ""
493
494 #: info_generic.py:231
495 msgid ""
496 "An `OSError` exception is usually raised by the Operating System\n"
497 "to indicate that an operation is not allowed or that\n"
498 "a resource is not available.\n"
499 msgstr ""
500
501 #: info_generic.py:240
502 msgid ""
503 "An `OverflowError` is raised when the result of an arithmetic operation\n"
504 "is too large to be handled by the computer's processor.\n"
505 msgstr ""
506
507 #: info_generic.py:248
508 msgid ""
509 "A `RecursionError` is raised when a function calls itself,\n"
510 "directly or indirectly, too many times.\n"
511 "It almost always indicates that you made an error in your code\n"
512 "and that your program would never stop.\n"
513 msgstr ""
514
515 #: info_generic.py:258
516 msgid ""
517 "A `RuntimeError` is raised when an error is detected that doesn't fall in "
518 "any\n"
519 "of the more specific exception types defined by Python.\n"
520 msgstr ""
521
522 #: info_generic.py:266
523 msgid ""
524 "`StopIteration` is raised to indicate that an iterator has no more\n"
525 "item to provide when its `__next__` method is called by\n"
526 "the `next()` builtin function.\n"
527 msgstr ""
528
529 #: info_generic.py:275
530 msgid "A `SyntaxError` occurs when Python cannot understand your code.\n"
531 msgstr ""
532 "Un errore di tipo `SyntaxError` accade quando Python non riesce ad "
533 "interpretare il tuo codice.\n"
534
535 #: info_generic.py:280
536 msgid ""
537 "A `TabError` indicates that you have used both spaces\n"
538 "and tab characters to indent your code.\n"
539 "This is not allowed in Python.\n"
540 "Indenting your code means to have block of codes aligned vertically\n"
541 "by inserting either spaces or tab characters at the beginning of lines.\n"
542 "Python's recommendation is to always use spaces to indent your code.\n"
543 msgstr ""
544
545 #: info_generic.py:292
546 msgid ""
547 "A `TypeError` is usually caused by trying\n"
548 "to combine two incompatible types of objects,\n"
549 "by calling a function with the wrong type of object,\n"
550 "or by trying to do an operation not allowed on a given type of object.\n"
551 msgstr ""
552
553 #: info_generic.py:302
554 msgid ""
555 "A `ValueError` indicates that a function or an operation\n"
556 "received an argument of the right type, but an inappropriate value.\n"
557 msgstr ""
558
559 #: info_generic.py:310
560 msgid ""
561 "In Python, variables that are used inside a function are known as \n"
562 "local variables. Before they are used, they must be assigned a value.\n"
563 "A variable that is used before it is assigned a value is assumed to\n"
564 "be defined outside that function; it is known as a `global`\n"
565 "(or sometimes `nonlocal`) variable. You cannot assign a value to such\n"
566 "a global variable inside a function without first indicating to\n"
567 "Python that this is a global variable, otherwise you will see\n"
568 "an `UnboundLocalError`.\n"
569 msgstr ""
570
571 #: info_generic.py:324
572 msgid ""
573 "A `ZeroDivisionError` occurs when you are attempting to divide a value\n"
574 "by zero either directly or by using some other mathematical operation.\n"
575 msgstr ""
576 "Un `ZeroDivisionError` viene riscontrato quando si sta tentando di dividere "
577 "un valore per zero, sia direttamente sia mediante l'utilizzo di una funzione "
578 "matematica. \n"
579
580 #: info_generic.py:332
581 msgid "`UserWarning` is the default class for `warnings.warn()`.\n"
582 msgstr ""
583
584 #: info_generic.py:337
585 msgid ""
586 "`SyntaxWarning` often indicates that your code will likely not give the "
587 "result you expect.\n"
588 msgstr ""
589
590 #: info_generic.py:344
591 msgid ""
592 "`DeprecationWarning` indicates that some feature will not be available in a "
593 "future version.\n"
594 msgstr ""
595
596 #: info_generic.py:351
597 msgid ""
598 "`RuntimeWarning` often indicates some not recommended runtime features.\n"
599 msgstr ""
600
601 #: info_generic.py:358
602 msgid ""
603 "`FutureWarning` is the base category for features that will likely be "
604 "deprecated\n"
605 "in future Python versions.\n"
606 msgstr ""
607
608 #: info_generic.py:366
609 msgid ""
610 "`UnicodeWarning` is the base category for warnings related to unicode.\n"
611 msgstr ""
612
613 #: info_generic.py:371
614 msgid ""
615 "`BytesWarning` is the base category for warnings related to bytes and "
616 "bytearray.\n"
617 msgstr ""
618
619 #: info_generic.py:378
620 msgid "`Warning` is the base class of all warning category classes.\n"
621 msgstr ""
622
623 #: info_variables.py:69
624 msgid "a complex number"
625 msgstr "un numero complesso"
626
627 #: info_variables.py:70
628 msgid "a dictionary (`dict`)"
629 msgstr "un tipo dizionario (`dict`)"
630
631 #: info_variables.py:71
632 msgid "a number (`float`)"
633 msgstr "un numero (`float`)"
634
635 #: info_variables.py:72
636 msgid "a `frozenset`"
637 msgstr "un `frozenset`"
638
639 #: info_variables.py:73
640 msgid "an integer (`int`)"
641 msgstr "un intero (`int`)"
642
643 #: info_variables.py:74
644 msgid "a `list`"
645 msgstr "una `list`"
646
647 #: info_variables.py:75
648 msgid "a variable equal to `None` (`NoneType`)"
649 msgstr "una variabile uguale a `None` (`NoneType`)"
650
651 #: info_variables.py:76
652 msgid "a `set`"
653 msgstr "un `set`"
654
655 #: info_variables.py:77 info_variables.py:78
656 msgid "a string (`str`)"
657 msgstr "una stringa (`str`)"
658
659 #: info_variables.py:79
660 msgid "a `tuple`"
661 msgstr "una `tuple`"
662
663 #: info_variables.py:357
664 msgid "Friendly warning: you have redefined the python builtin `{name}`.\n"
665 msgstr ""
666
667 #: info_variables.py:531
668 msgid "Object too large to be processed by Python."
669 msgstr ""
670
671 #: info_variables.py:535
672 msgid "Unable to compute."
673 msgstr ""
674
675 #: info_variables.py:592
676 msgid ""
677 "A type hint found for `{name}` in the {scope} scope.\n"
678 "Perhaps you had used a colon instead of an equal sign and wrote\n"
679 "\n"
680 " {name} : {hint}\n"
681 "\n"
682 "instead of\n"
683 "\n"
684 " {name} = {hint}\n"
685 msgstr ""
686
687 #: path_info.py:213
688 msgid "The default directory is {dirname}."
689 msgstr "La cartella standard è {dirname}."
690
691 #: runtime_errors\attribute_error.py:32 runtime_errors\attribute_error.py:79
692 #: runtime_errors\attribute_error.py:117
693 msgid "Did you give your program the same name as a Python module?\n"
694 msgstr "Hai dato al tuo programma lo stesso nome di un modulo Python?\n"
695
696 #: runtime_errors\attribute_error.py:33 runtime_errors\attribute_error.py:80
697 msgid ""
698 "I suspect that you used the name `{module}.py` for your program\n"
699 "and that you also wanted to import a module with the same name\n"
700 "from Python's standard library.\n"
701 "If so, you should use a different name for your program.\n"
702 msgstr ""
703
704 #: runtime_errors\attribute_error.py:42 runtime_errors\import_error.py:63
705 msgid "You have a circular import.\n"
706 msgstr "Hai una referenza circolare.\n"
707
708 #: runtime_errors\attribute_error.py:46 runtime_errors\attribute_error.py:88
709 msgid "You likely have a circular import.\n"
710 msgstr "Probabilmente c'è una referenza circolare.\n"
711
712 #: runtime_errors\attribute_error.py:47
713 msgid "Python indicated that the module `{module}` was not fully imported.\n"
714 msgstr ""
715 "Python rileva che il modulo `{module}` non è stato importato completamente.\n"
716
717 #: runtime_errors\attribute_error.py:48 runtime_errors\attribute_error.py:89
718 msgid ""
719 "This can occur if, during the execution of the code in module `{module}`\n"
720 "an attempt is made to import the same module again.\n"
721 msgstr ""
722
723 #: runtime_errors\attribute_error.py:72
724 msgid ""
725 "This should not happen:\n"
726 "Python tells us that module `{module}` does not have an attribute named "
727 "`{attribute}`.\n"
728 "However, it does not appear that module `{module}` was imported.\n"
729 msgstr ""
730
731 #: runtime_errors\attribute_error.py:98 runtime_errors\attribute_error.py:106
732 #: runtime_errors\attribute_error.py:139 runtime_errors\attribute_error.py:405
733 #: runtime_errors\import_error.py:106 runtime_errors\key_error.py:184
734 #: runtime_errors\key_error.py:191 runtime_errors\module_not_found_error.py:121
735 #: runtime_errors\name_error.py:111 runtime_errors\unbound_local_error.py:54
736 #: syntax_errors\message_analyzer.py:459 syntax_errors\message_analyzer.py:1151
737 #: syntax_errors\statement_analyzer.py:1389
738 msgid "Did you mean `{name}`?\n"
739 msgstr "Intendevi `{name}`?\n"
740
741 #: runtime_errors\attribute_error.py:99
742 msgid ""
743 "Perhaps you meant to write `{module}.{correct}` instead of `{module}.{typo}"
744 "`\n"
745 msgstr ""
746 "Forse intendevi scrivere `{module}.{correct}` invece di `{module}.{typo}`\n"
747
748 #: runtime_errors\attribute_error.py:107
749 msgid ""
750 "Instead of writing `{module}.{typo}`, perhaps you meant to write one of \n"
751 "the following names which are attributes of module `{module}`:\n"
752 "`{names}`\n"
753 msgstr ""
754
755 #: runtime_errors\attribute_error.py:118
756 msgid ""
757 "You imported a module named `{module}` from `{mod_path}`.\n"
758 "There is also a module named `{module}` in Python's standard library.\n"
759 "Perhaps you need to rename your module.\n"
760 msgstr ""
761
762 #: runtime_errors\attribute_error.py:140
763 msgid ""
764 "Perhaps you meant to use the attribute `{attribute}` of \n"
765 "module `{mod_name}` instead of module `{module}`.\n"
766 msgstr ""
767
768 #: runtime_errors\attribute_error.py:146
769 msgid "Did you mean one of the following modules: `{names}`?"
770 msgstr "Intendevi uno dei seguenti moduli `{names}`?"
771
772 #: runtime_errors\attribute_error.py:149
773 msgid ""
774 "Instead of the module `{module}`, perhaps you wanted to use\n"
775 "the attribute `{attribute}` of one of the following modules:\n"
776 "`{names}`.\n"
777 msgstr ""
778
779 #: runtime_errors\attribute_error.py:158
780 msgid ""
781 "Python tells us that no object with name `{attribute}` is\n"
782 "found in module `{module}`.\n"
783 msgstr ""
784
785 #: runtime_errors\attribute_error.py:179
786 msgid "`add_note()` is only allowed for Python version 3.11 and newer.\n"
787 msgstr ""
788
789 #: runtime_errors\attribute_error.py:180
790 msgid "You are using Python version {version}.\n"
791 msgstr ""
792
793 #: runtime_errors\attribute_error.py:197
794 msgid ""
795 "You are attempting to access the attribute `{attr}`\n"
796 "for a variable whose value is `None`."
797 msgstr ""
798
799 #: runtime_errors\attribute_error.py:222
800 msgid ""
801 "The value of attribute `{attribute}` of objects of type `{obj_type}`\n"
802 "cannot be changed.\n"
803 "I have no further information.\n"
804 msgstr ""
805
806 #: runtime_errors\attribute_error.py:241
807 msgid ""
808 "Object `{name}` uses an empty `__slots__` to prevent the modification\n"
809 "of any of its attributes.\n"
810 msgstr ""
811
812 #: runtime_errors\attribute_error.py:247
813 msgid ""
814 "Object `{name}` uses `__slots__` to specify which attributes can\n"
815 "be changed. The value of attribute `{name}.{attribute}` cannot be changed.\n"
816 msgstr ""
817
818 #: runtime_errors\attribute_error.py:272
819 msgid ""
820 "`{obj_name}` is a function. Perhaps you meant to write\n"
821 "`{obj_name}({attribute})`\n"
822 msgstr ""
823
824 #: runtime_errors\attribute_error.py:276
825 msgid "Did you mean `{obj_name}({attribute})`?\n"
826 msgstr "Intendevi `{obj_name}({attribute})`?\n"
827
828 #: runtime_errors\attribute_error.py:281
829 msgid ""
830 "`{obj_name}` is a Python built-in function or method\n"
831 "which does not have an attribute named `{attribute}.`\n"
832 msgstr ""
833
834 #: runtime_errors\attribute_error.py:300
835 msgid ""
836 "An object of type `{obj_type}` has no attribute named `{attr}`.\n"
837 "Unfortunately I cannot find such an object on the line where\n"
838 "the problem occurs.\n"
839 msgstr ""
840
841 #: runtime_errors\attribute_error.py:328
842 msgid ""
843 "An object of type `{obj_type}` has no attribute named `{attr}`.\n"
844 "\n"
845 "I cannot give additional information:\n"
846 "I found one object of this type in the current scope\n"
847 "but it does not appear to be the object causing the problem.\n"
848 msgstr ""
849
850 #: runtime_errors\attribute_error.py:337
851 msgid ""
852 "An object of type `{obj_type}` has no attribute named `{attr}`.\n"
853 "\n"
854 "The following objects might be the cause of the problem: \n"
855 "{names}.\n"
856 msgstr ""
857
858 #: runtime_errors\attribute_error.py:377
859 msgid "The object `{obj}` has no attribute named `{attr}`.\n"
860 msgstr ""
861
862 #: runtime_errors\attribute_error.py:381
863 msgid ""
864 "Note that object `{obj}` uses `__slots__` which prevents\n"
865 "the creation of new attributes.\n"
866 msgstr ""
867
868 #: runtime_errors\attribute_error.py:389
869 msgid ""
870 "The following are some of its known attributes:\n"
871 "`{names}`."
872 msgstr ""
873
874 #: runtime_errors\attribute_error.py:401
875 msgid "The object `{obj_name}` has no attribute named `{attribute}`.\n"
876 msgstr ""
877
878 #: runtime_errors\attribute_error.py:406
879 msgid ""
880 "Perhaps you meant to write `{obj}.{correct}` instead of `{obj}.{typo}`\n"
881 msgstr ""
882
883 #: runtime_errors\attribute_error.py:412 runtime_errors\import_error.py:113
884 msgid "Did you mean one of the following: `{names}`?\n"
885 msgstr ""
886
887 #: runtime_errors\attribute_error.py:413
888 msgid ""
889 "Instead of writing `{obj}.{typo}`, perhaps you meant to write one of \n"
890 "the following names which are attributes of object `{obj}`:\n"
891 "`{names}`\n"
892 msgstr ""
893
894 #: runtime_errors\attribute_error.py:438 syntax_errors\message_analyzer.py:1817
895 #: syntax_errors\message_analyzer.py:1830
896 msgid "Did you write a comma by mistake?\n"
897 msgstr ""
898
899 #: runtime_errors\attribute_error.py:439
900 msgid ""
901 "`{obj_name}` is a tuple that contains a single item\n"
902 "which does have `'{attribute}'` as an attribute.\n"
903 "Perhaps you added a trailing comma by mistake at the end of the line\n"
904 "where you defined `{obj_name}`.\n"
905 msgstr ""
906
907 #: runtime_errors\attribute_error.py:452
908 msgid "Did you mean `{str_content}.join({obj_name})`?\n"
909 msgstr ""
910
911 #: runtime_errors\attribute_error.py:453
912 msgid ""
913 "The object `{obj_name}` has no attribute named `join`.\n"
914 "Perhaps you wanted something like `{str_content}.join({obj_name})`.\n"
915 msgstr ""
916
917 #: runtime_errors\attribute_error.py:476
918 msgid "Did you mean `{known_builtin}({obj_name})`?\n"
919 msgstr ""
920
921 #: runtime_errors\attribute_error.py:479
922 msgid ""
923 "The object `{obj_name}` has no attribute named `{attribute}`.\n"
924 "Perhaps you can use the Python builtin function `{known_builtin}` instead:\n"
925 "`{known_builtin}({obj_name})`."
926 msgstr ""
927
928 #: runtime_errors\attribute_error.py:508
929 msgid "Did you mean `{attr}`?\n"
930 msgstr ""
931
932 #: runtime_errors\attribute_error.py:509
933 msgid "The object `{name}` has no attribute named `{attribute}`.\n"
934 msgstr ""
935
936 #: runtime_errors\attribute_error.py:513
937 msgid "However, `{attr}` is an attribute of `{name}` with a similar meaning.\n"
938 msgstr ""
939
940 #: runtime_errors\attribute_error.py:517
941 msgid ""
942 "However, `{name}` has the following attributes with similar meanings:\n"
943 "`{attributes}`.\n"
944 msgstr ""
945
946 #: runtime_errors\attribute_error.py:526
947 msgid "Did you mean to separate object names by a comma?\n"
948 msgstr ""
949
950 #: runtime_errors\attribute_error.py:528
951 msgid ""
952 "`{second}` is not an attribute of `{first}`.\n"
953 "However, both `{first}` and `{second}` are known objects.\n"
954 "Perhaps you wrote a period to separate these two objects, \n"
955 "instead of using a comma.\n"
956 msgstr ""
957
958 #: runtime_errors\file_not_found_error.py:25
959 #: runtime_errors\file_not_found_error.py:36
960 msgid ""
961 "In your program, the name of the\n"
962 "file that cannot be found is `{filename}`.\n"
963 msgstr ""
964
965 #: runtime_errors\file_not_found_error.py:32
966 msgid ""
967 "{directory}\n"
968 "is not a valid directory.\n"
969 msgstr ""
970
971 #: runtime_errors\file_not_found_error.py:41
972 msgid ""
973 "It was expected to be found in the\n"
974 "`{directory}` directory.\n"
975 msgstr ""
976
977 #: runtime_errors\file_not_found_error.py:45
978 msgid "Did you mean `{similar}`?\n"
979 msgstr ""
980
981 #: runtime_errors\file_not_found_error.py:47
982 msgid "The file `{similar}` has a similar name.\n"
983 msgstr ""
984
985 #: runtime_errors\file_not_found_error.py:52
986 msgid "Perhaps you meant one of the following files with similar names:\n"
987 msgstr ""
988
989 #: runtime_errors\file_not_found_error.py:59 runtime_errors\name_error.py:131
990 msgid "I have no additional information for you.\n"
991 msgstr ""
992
993 #: runtime_errors\import_error.py:66
994 msgid ""
995 "The object that could not be imported is `{name}`.\n"
996 "The module or package where it was \n"
997 "expected to be found is `{module}`.\n"
998 msgstr ""
999
1000 #: runtime_errors\import_error.py:83
1001 msgid ""
1002 "Python indicated that you have a circular import.\n"
1003 "This can occur if executing the code in module 'A'\n"
1004 "results in executing the code in module 'B' where\n"
1005 "an attempt to import a name from module 'A' is made\n"
1006 "before the execution of the code in module 'A' had been completed.\n"
1007 msgstr ""
1008
1009 #: runtime_errors\import_error.py:95
1010 msgid ""
1011 "Inconsistent state: `'{module}'` was apparently not imported.\n"
1012 "As a result, no further analysis can be done.\n"
1013 msgstr ""
1014
1015 #: runtime_errors\import_error.py:107
1016 msgid ""
1017 "Perhaps you meant to import `{correct}` (from `{module}`) instead of `{typo}"
1018 "`\n"
1019 msgstr ""
1020
1021 #: runtime_errors\import_error.py:116
1022 msgid ""
1023 "Instead of trying to import `{typo}` from `{module}`, \n"
1024 "perhaps you meant to import one of \n"
1025 "the following names which are found in module `{module}`:\n"
1026 "`{candidates}`\n"
1027 msgstr ""
1028
1029 #: runtime_errors\import_error.py:134
1030 msgid "The object that could not be imported is `{name}`.\n"
1031 msgstr ""
1032
1033 #: runtime_errors\import_error.py:186
1034 msgid ""
1035 "The problem was likely caused by what is known as a 'circular import'.\n"
1036 "First, Python imported and started executing the code in file\n"
1037 " '{file}'.\n"
1038 "which imports module `{last_module}`.\n"
1039 "During this process, the code in another file,\n"
1040 " '{last_file}'\n"
1041 "was executed. However in this last file, an attempt was made\n"
1042 "to import the original module `{last_module}`\n"
1043 "a second time, before Python had completed the first import.\n"
1044 msgstr ""
1045
1046 #: runtime_errors\index_error.py:36
1047 msgid ""
1048 "You have tried to assign a value to an item of an object\n"
1049 "of type `{obj_type}` which I cannot identify.\n"
1050 "The index you gave was not an allowed value.\n"
1051 msgstr ""
1052
1053 #: runtime_errors\index_error.py:46
1054 msgid ""
1055 "You have tried to assign a value to index `{index}` of `{name}`,\n"
1056 "{obj_type} of length `{length}`.\n"
1057 msgstr ""
1058
1059 #: runtime_errors\index_error.py:57 runtime_errors\index_error.py:145
1060 msgid ""
1061 "The valid index values of `{name}` are integers ranging from\n"
1062 "`{min}` to `{max}`.\n"
1063 msgstr ""
1064
1065 #: runtime_errors\index_error.py:62 runtime_errors\index_error.py:150
1066 msgid ""
1067 "Remember: the first item of {obj_type} is not at index 1 but at index 0.\n"
1068 msgstr ""
1069
1070 #: runtime_errors\index_error.py:67 runtime_errors\index_error.py:155
1071 msgid "`{name}` contains no item.\n"
1072 msgstr ""
1073
1074 #: runtime_errors\index_error.py:68
1075 msgid ""
1076 "You have tried to assign a value to index `{index}` of `{name}`,\n"
1077 "{obj_type} which contains no item.\n"
1078 msgstr ""
1079
1080 #: runtime_errors\index_error.py:80
1081 msgid ""
1082 "You have tried to get an item of an object\n"
1083 "of type `{obj_type}` which I cannot identify.\n"
1084 "The index you gave was not an allowed value.\n"
1085 msgstr ""
1086
1087 #: runtime_errors\index_error.py:125
1088 msgid ""
1089 "You have tried to get an item from `{name}`,\n"
1090 "{obj_type} of length `{length}`, by using a value for the index\n"
1091 "that I cannot determine but which is not allowed.\n"
1092 msgstr ""
1093
1094 #: runtime_errors\index_error.py:134
1095 msgid ""
1096 "You have tried to get the item with index `{index}` of `{name}`,\n"
1097 "{obj_type} of length `{length}`.\n"
1098 msgstr ""
1099
1100 #: runtime_errors\index_error.py:156
1101 msgid ""
1102 "You have tried to get the item with index `{index}` of `{name}`,\n"
1103 "{obj_type} which contains no item.\n"
1104 msgstr ""
1105
1106 #: runtime_errors\key_error.py:23
1107 msgid ""
1108 "You tried to retrieve an item from an empty `dict`\n"
1109 "or a similar object which I cannot identify.\n"
1110 msgstr ""
1111
1112 #: runtime_errors\key_error.py:29
1113 msgid "`{name}` is an empty `dict`.\n"
1114 msgstr ""
1115
1116 #: runtime_errors\key_error.py:30
1117 msgid "You tried to retrieve an item from `{name}` which is an empty `dict`.\n"
1118 msgstr ""
1119
1120 #: runtime_errors\key_error.py:49
1121 msgid ""
1122 "You tried to retrieve an item from an empty ChainMap\n"
1123 "or similar object which I cannot identify.\n"
1124 msgstr ""
1125
1126 #: runtime_errors\key_error.py:55
1127 msgid "`{name}` is an empty `ChainMap`.\n"
1128 msgstr ""
1129
1130 #: runtime_errors\key_error.py:56
1131 msgid ""
1132 "You tried to retrieve an item from `{name}` which is an empty `ChainMap`.\n"
1133 msgstr ""
1134
1135 #: runtime_errors\key_error.py:97
1136 msgid "Missing key `{key}` in a `ChainMap` or in a similar object.\n"
1137 msgstr ""
1138
1139 #: runtime_errors\key_error.py:137
1140 msgid ""
1141 "A `dict` or a similar object which I cannot identify\n"
1142 "does not have `{key}` as a key.\n"
1143 msgstr ""
1144
1145 #: runtime_errors\key_error.py:144
1146 msgid "The key `{key}` cannot be found in the dict `{name}`.\n"
1147 msgstr ""
1148
1149 #: runtime_errors\key_error.py:149
1150 msgid ""
1151 "The key `{key}` cannot be found in `{name}`, an object of type `{obj_type}"
1152 "`.\n"
1153 msgstr ""
1154
1155 #: runtime_errors\key_error.py:159
1156 msgid ""
1157 "`{name}` contains a string key which is identical to `str({key})`.\n"
1158 "Perhaps you forgot to convert the key into a string.\n"
1159 msgstr ""
1160
1161 #: runtime_errors\key_error.py:163
1162 msgid "Did you forget to convert `{key}` into a string?\n"
1163 msgstr ""
1164
1165 #: runtime_errors\key_error.py:172
1166 msgid ""
1167 "`{key}` is a string.\n"
1168 "There is a key of `{name}` whose string representation\n"
1169 "is identical to `{key}`.\n"
1170 msgstr ""
1171
1172 #: runtime_errors\key_error.py:177
1173 msgid "Did you convert `{key}` into a string by mistake?\n"
1174 msgstr ""
1175
1176 #: runtime_errors\key_error.py:185
1177 msgid "`{name}` is a key of `{dict_}` which is similar to `{key}`.\n"
1178 msgstr ""
1179
1180 #: runtime_errors\key_error.py:193
1181 msgid ""
1182 "`{name}` has some keys similar to `{key}` including:\n"
1183 "`{names}`.\n"
1184 msgstr ""
1185
1186 #: runtime_errors\module_not_found_error.py:35
1187 msgid ""
1188 "No additional information available since `{name}` cannot be imported.\n"
1189 msgstr ""
1190
1191 #: runtime_errors\module_not_found_error.py:46
1192 msgid "Did you mean `from {name} import {rest}`?\n"
1193 msgstr ""
1194
1195 #: runtime_errors\module_not_found_error.py:49
1196 msgid ""
1197 "`{rest}` is not a separate module but an object that is part of `{name}`.\n"
1198 msgstr ""
1199
1200 #: runtime_errors\module_not_found_error.py:59
1201 msgid "Did you mean `import {name}.{attr}`?\n"
1202 msgstr ""
1203
1204 #: runtime_errors\module_not_found_error.py:62
1205 msgid ""
1206 "Perhaps you meant `import {name}.{attr}`.\n"
1207 "`{attr}` is a name similar to `{rest}` and is a module that\n"
1208 "can be imported from `{name}`.\n"
1209 msgstr ""
1210
1211 #: runtime_errors\module_not_found_error.py:70
1212 msgid "Did you mean `from {name} import {attr}`?\n"
1213 msgstr ""
1214
1215 #: runtime_errors\module_not_found_error.py:73
1216 msgid ""
1217 "Perhaps you meant `from {name} import {attr}`.\n"
1218 "`{attr}` is a name similar to `{rest}` and is an object that\n"
1219 "can be imported from `{name}`.\n"
1220 msgstr ""
1221
1222 #: runtime_errors\module_not_found_error.py:80
1223 msgid ""
1224 "Other objects with similar names that are part of\n"
1225 " `{name}` include `{others}`.\n"
1226 msgstr ""
1227
1228 #: runtime_errors\module_not_found_error.py:86
1229 msgid "`{rest}` cannot be imported from `{name}`.\n"
1230 msgstr ""
1231
1232 #: runtime_errors\module_not_found_error.py:95
1233 msgid "The curses module is rarely installed with Python on Windows.\n"
1234 msgstr ""
1235
1236 #: runtime_errors\module_not_found_error.py:97
1237 msgid "The curses module is often not installed with Python.\n"
1238 msgstr ""
1239
1240 #: runtime_errors\module_not_found_error.py:98
1241 msgid "You have tried to import the curses module.\n"
1242 msgstr ""
1243
1244 #: runtime_errors\module_not_found_error.py:114
1245 msgid ""
1246 "No module named `{name}` can be imported.\n"
1247 "Perhaps you need to install it.\n"
1248 msgstr ""
1249
1250 #: runtime_errors\module_not_found_error.py:123
1251 msgid ""
1252 "The following existing modules have names that are similar \n"
1253 "to the module you tried to import: `{names}`\n"
1254 msgstr ""
1255
1256 #: runtime_errors\module_not_found_error.py:128
1257 msgid "`{name}` is an existing module that has a similar name.\n"
1258 msgstr ""
1259
1260 #: runtime_errors\name_error.py:19
1261 msgid "You are already using Python!"
1262 msgstr ""
1263
1264 #: runtime_errors\name_error.py:34
1265 msgid ""
1266 "`{name}` is a name found in module `{mod}`.\n"
1267 "Perhaps you forgot to write\n"
1268 "\n"
1269 " from {mod} import {name}\n"
1270 msgstr ""
1271
1272 #: runtime_errors\name_error.py:38
1273 msgid ""
1274 "`{name}` is a name found in the following modules:\n"
1275 "{modules}.\n"
1276 "Perhaps you forgot to import `{name}` from one of these modules.\n"
1277 msgstr ""
1278
1279 #: runtime_errors\name_error.py:61
1280 msgid ""
1281 "In your program, `{var_name}` is an unknown name\n"
1282 "that exists in an enclosing scope,\n"
1283 "but has not yet been assigned a value.\n"
1284 msgstr ""
1285
1286 #: runtime_errors\name_error.py:88 runtime_errors\name_error.py:147
1287 msgid "In your program, no object with the name `{var_name}` exists.\n"
1288 msgstr ""
1289
1290 #: runtime_errors\name_error.py:107
1291 #, fuzzy
1292 #| msgid "Did you mean `{name}`?\n"
1293 msgid " Or did you mean `{name}`?\n"
1294 msgstr "Intendevi `{name}`?\n"
1295
1296 #: runtime_errors\name_error.py:113
1297 msgid "Did you use a colon instead of an equal sign?\n"
1298 msgstr ""
1299
1300 #: runtime_errors\name_error.py:146
1301 msgid "Did you mean `1j`?\n"
1302 msgstr ""
1303
1304 #: runtime_errors\name_error.py:150
1305 msgid ""
1306 "However, sometimes `{name}` is intended to represent\n"
1307 "the square root of `-1` which is written as `1j` in Python.\n"
1308 msgstr ""
1309
1310 #: runtime_errors\name_error.py:180
1311 #, fuzzy
1312 #| msgid "Did you mean `{name}`?\n"
1313 msgid "Did you mean `{word}`?\n"
1314 msgstr "Intendevi `{name}`?\n"
1315
1316 #: runtime_errors\name_error.py:181
1317 msgid "I suspect you meant to write the keyword `{word}` and made a typo.\n"
1318 msgstr ""
1319
1320 #: runtime_errors\name_error.py:189
1321 msgid "`__debug__` is a constant.\n"
1322 msgstr ""
1323
1324 #: runtime_errors\name_error.py:190
1325 msgid ""
1326 "`__debug__` is a constant that cannot be deleted.\n"
1327 "In future Python versions, attempting to delete it will be a SyntaxError.\n"
1328 msgstr ""
1329
1330 #: runtime_errors\name_error.py:198
1331 msgid "You must be a fan of PyConAu!\n"
1332 msgstr ""
1333
1334 #: runtime_errors\name_error.py:199
1335 msgid ""
1336 "I am guessing that you tried to use (one of) the flipfloperators\n"
1337 "shown during the second Lightning Talk session of PyConAu 2018,\n"
1338 "but that you forgot to install the module from PyPI.\n"
1339 "\n"
1340 "#### Note that it is still a bad idea.\n"
1341 msgstr ""
1342
1343 #: runtime_errors\name_error.py:214 runtime_errors\name_error.py:238
1344 msgid "Did you forget to import `{name}`?\n"
1345 msgstr ""
1346
1347 #: runtime_errors\name_error.py:217
1348 msgid ""
1349 "The name `{name}` is not defined in your program.\n"
1350 "Perhaps you forgot to import `{lowercase}` which is found\n"
1351 "in Python's standard library.\n"
1352 msgstr ""
1353
1354 #: runtime_errors\name_error.py:226
1355 msgid "Note that the name of the module is `{lowercase}` and not `{name}`.\n"
1356 msgstr ""
1357
1358 #: runtime_errors\name_error.py:241
1359 msgid ""
1360 "The name `{name}` is not defined in your program.\n"
1361 "Perhaps you forgot to import `{name}` which is a known library.\n"
1362 msgstr ""
1363
1364 #: runtime_errors\name_error.py:251
1365 #, fuzzy
1366 #| msgid "Did you mean `{name}`?\n"
1367 msgid "Did you forget to import `{true_name}`?\n"
1368 msgstr "Intendevi `{name}`?\n"
1369
1370 #: runtime_errors\name_error.py:256
1371 msgid ""
1372 "The name `{name}` is not defined in your program.\n"
1373 "Perhaps you forgot to write\n"
1374 "\n"
1375 " import {true_name} as {name}\n"
1376 msgstr ""
1377
1378 #: runtime_errors\name_error.py:275
1379 msgid "The similar name `{name}` was found in the local scope.\n"
1380 msgstr ""
1381
1382 #: runtime_errors\name_error.py:276
1383 msgid "The similar name `{name}` was found in the global scope.\n"
1384 msgstr ""
1385
1386 #: runtime_errors\name_error.py:277
1387 msgid "The Python builtin `{name}` has a similar name.\n"
1388 msgstr ""
1389
1390 #: runtime_errors\name_error.py:286 runtime_errors\unbound_local_error.py:124
1391 msgid "Instead of writing `{name}`, perhaps you meant one of the following:\n"
1392 msgstr ""
1393
1394 #: runtime_errors\name_error.py:291 runtime_errors\unbound_local_error.py:128
1395 msgid "* Local scope: "
1396 msgstr ""
1397
1398 #: runtime_errors\name_error.py:292
1399 msgid "* Global scope: "
1400 msgstr ""
1401
1402 #: runtime_errors\name_error.py:293
1403 msgid "* Python builtins: "
1404 msgstr ""
1405
1406 #: runtime_errors\name_error.py:357
1407 msgid "Did you write `self` at the wrong place?\n"
1408 msgstr ""
1409
1410 #: runtime_errors\name_error.py:358
1411 msgid ""
1412 "The {scope} object `{obj}`\n"
1413 "has an attribute named `{unknown_name}`.\n"
1414 "Perhaps you should have written `self.{unknown_name}(...`\n"
1415 "instead of `{unknown_name}(self, ...`.\n"
1416 msgstr ""
1417
1418 #: runtime_errors\name_error.py:365
1419 msgid "Did you forget to add `self.`?\n"
1420 msgstr ""
1421
1422 #: runtime_errors\name_error.py:366
1423 msgid ""
1424 "A {scope} object, `{obj}`,\n"
1425 "has an attribute named `{unknown_name}`.\n"
1426 "Perhaps you should have written `self.{unknown_name}`\n"
1427 "instead of `{unknown_name}`.\n"
1428 msgstr ""
1429
1430 #: runtime_errors\name_error.py:373
1431 msgid "Did you forget to add `{name}.`?\n"
1432 msgstr ""
1433
1434 #: runtime_errors\name_error.py:374
1435 msgid ""
1436 "The {scope} object `{name}`\n"
1437 "has an attribute named `{unknown_name}`.\n"
1438 "Perhaps you should have written `{name}.{unknown_name}`\n"
1439 "instead of `{unknown_name}`.\n"
1440 msgstr ""
1441
1442 #: runtime_errors\os_error.py:19
1443 msgid ""
1444 "I suspect that you are trying to connect to a server and\n"
1445 "that a connection cannot be made.\n"
1446 "\n"
1447 "If that is the case, check for typos in the URL\n"
1448 "and check your internet connectivity.\n"
1449 msgstr ""
1450
1451 #: runtime_errors\os_error.py:37 syntax_errors\message_analyzer.py:1902
1452 msgid "Perhaps you need to double the backslash characters.\n"
1453 msgstr ""
1454
1455 #: runtime_errors\os_error.py:38
1456 msgid ""
1457 "I suspect that you wrote a filename or path that contains\n"
1458 "at least one backslash character, `\\`.\n"
1459 "Python likely interpreted this as indicating the beginning of\n"
1460 "what is known as an escape sequence.\n"
1461 "To solve the problem, either write a so-called 'raw string'\n"
1462 "by adding the letter `r` as a prefix in\n"
1463 "front of the filename or path, or replace all single backslash\n"
1464 "characters, `\\`, by double ones: `\\\\`.\n"
1465 msgstr ""
1466
1467 #: runtime_errors\runtime_error.py:48
1468 msgid ""
1469 "While you were iterating over the items of `{name}` ({container_type})\n"
1470 "in a `{for_while}` loop, you either tried to add or remove items from it.\n"
1471 "Suggestion: start by making a copy of `{name}` and iterate over the items\n"
1472 "of that copy if you want to change `{name}` inside a loop.\n"
1473 "You might want to do this as follows:\n"
1474 "\n"
1475 " my_{name} = {name}.copy()\n"
1476 " for item in my_{name}:\n"
1477 " # Change {name}\n"
1478 msgstr ""
1479
1480 #: runtime_errors\runtime_error.py:59
1481 msgid ""
1482 "While you were iterating over the items of a container ({container_type})\n"
1483 "in a `{for_while}` loop, you either tried to add or remove items from it.\n"
1484 "Suggestion: start by making a copy of the container and iterate over the "
1485 "items\n"
1486 "of that copy if you want to change that container inside a loop.\n"
1487 msgstr ""
1488
1489 #: runtime_errors\type_error.py:54
1490 msgid "Did you forget to convert the string `{name}` into {number_type}?\n"
1491 msgstr ""
1492
1493 #: runtime_errors\type_error.py:59
1494 msgid "Perhaps you forgot to convert the string `{name}` into {number_type}.\n"
1495 msgstr ""
1496
1497 #: runtime_errors\type_error.py:71
1498 msgid "You cannot use complex numbers with the modulo operator `%`.\n"
1499 msgstr ""
1500
1501 #: runtime_errors\type_error.py:88 runtime_errors\type_error.py:102
1502 msgid ""
1503 "The arguments of `divmod` must be integers (`int`) or real (`float`) "
1504 "numbers.\n"
1505 msgstr ""
1506
1507 #: runtime_errors\type_error.py:93 runtime_errors\type_error.py:106
1508 msgid "At least one of the arguments was a complex number.\n"
1509 msgstr ""
1510
1511 #: runtime_errors\type_error.py:123
1512 msgid "The second argument of the function `getattr()` must be a string.\n"
1513 msgstr ""
1514
1515 #: runtime_errors\type_error.py:128
1516 msgid "The second argument of the function `hasattr()` must be a string.\n"
1517 msgstr ""
1518
1519 #: runtime_errors\type_error.py:131
1520 msgid "Some attribute of a function you called is expected to be a string.\n"
1521 msgstr ""
1522
1523 #: runtime_errors\type_error.py:152 runtime_errors\type_error.py:175
1524 msgid ""
1525 "You tried to concatenate (add) two different types of objects:\n"
1526 "{first} and {second}.\n"
1527 msgstr ""
1528
1529 #: runtime_errors\type_error.py:205
1530 msgid ""
1531 "You tried to add two incompatible types of objects:\n"
1532 "{first} and {second}.\n"
1533 msgstr ""
1534
1535 #: runtime_errors\type_error.py:213
1536 msgid ""
1537 "You tried to subtract two incompatible types of objects:\n"
1538 "{first} and {second}.\n"
1539 msgstr ""
1540
1541 #: runtime_errors\type_error.py:221
1542 msgid ""
1543 "You tried to multiply two incompatible types of objects:\n"
1544 "{first} and {second}.\n"
1545 msgstr ""
1546
1547 #: runtime_errors\type_error.py:229
1548 msgid ""
1549 "You tried to divide two incompatible types of objects:\n"
1550 "{first} and {second}.\n"
1551 msgstr ""
1552
1553 #: runtime_errors\type_error.py:237
1554 msgid ""
1555 "You tried to perform the bitwise operation {operator}\n"
1556 "on two incompatible types of objects:\n"
1557 "{first} and {second}.\n"
1558 msgstr ""
1559
1560 #: runtime_errors\type_error.py:252 runtime_errors\type_error.py:854
1561 #: runtime_errors\type_error.py:962 syntax_errors\statement_analyzer.py:1259
1562 #: syntax_errors\statement_analyzer.py:1535
1563 msgid "Did you mean `{line}`?\n"
1564 msgstr ""
1565
1566 #: runtime_errors\type_error.py:253
1567 msgid "Outside of Python, `^` is often used to indicate exponentiation.\n"
1568 msgstr ""
1569
1570 #: runtime_errors\type_error.py:256 runtime_errors\type_error.py:857
1571 msgid "Perhaps you meant `{line}`.\n"
1572 msgstr ""
1573
1574 #: runtime_errors\type_error.py:259
1575 msgid ""
1576 "You tried to perform the bit shifting operation {operator}\n"
1577 "on two incompatible types of objects:\n"
1578 "{first} and {second}.\n"
1579 msgstr ""
1580
1581 #: runtime_errors\type_error.py:269
1582 msgid ""
1583 "You tried to exponentiate (raise to a power)\n"
1584 "using two incompatible types of objects:\n"
1585 "{first} and {second}.\n"
1586 msgstr ""
1587
1588 #: runtime_errors\type_error.py:278
1589 msgid ""
1590 "You tried to use the operator {operator}\n"
1591 "using two incompatible types of objects:\n"
1592 "{first} and {second}.\n"
1593 "This operator is normally used only\n"
1594 "for multiplication of matrices.\n"
1595 msgstr ""
1596
1597 #: runtime_errors\type_error.py:313
1598 msgid "Complex numbers cannot be ordered.\n"
1599 msgstr ""
1600
1601 #: runtime_errors\type_error.py:314
1602 msgid ""
1603 "You tried to do an order comparison ({operator})\n"
1604 "between two complex numbers.\n"
1605 msgstr ""
1606
1607 #: runtime_errors\type_error.py:320
1608 msgid ""
1609 "You tried to do an order comparison ({operator})\n"
1610 "between two incompatible types of objects:\n"
1611 "{first} and {second}.\n"
1612 msgstr ""
1613
1614 #: runtime_errors\type_error.py:348
1615 msgid ""
1616 "`{iter}` is an iterator. You likely needed to write something like\n"
1617 "\n"
1618 " next({iter}())\n"
1619 "\n"
1620 "or use it in a `for` loop to get a number from it\n"
1621 "before comparing it to {number}.\n"
1622 msgstr ""
1623
1624 #: runtime_errors\type_error.py:380
1625 msgid "Perhaps you meant to write `{operator}=` instead of `={operator}`"
1626 msgstr ""
1627
1628 #: runtime_errors\type_error.py:384
1629 msgid ""
1630 "You tried to use the unary operator '{operator}'\n"
1631 "with the following type of object: {obj}.\n"
1632 "This operation is not defined for this type of object.\n"
1633 msgstr ""
1634
1635 #: runtime_errors\type_error.py:410
1636 msgid ""
1637 "In Python, some objects are known as immutable:\n"
1638 "once defined, their value cannot be changed.\n"
1639 "You tried change part of such an immutable object: {obj},\n"
1640 "most likely by using an indexing operation.\n"
1641 msgstr ""
1642
1643 #: runtime_errors\type_error.py:417
1644 msgid "Did you mean to use a list?\n"
1645 msgstr ""
1646
1647 #: runtime_errors\type_error.py:418
1648 msgid "Perhaps you meant to use a list instead.\n"
1649 msgstr ""
1650
1651 #: runtime_errors\type_error.py:431
1652 msgid ""
1653 "Exceptions must be derived from `BaseException`.\n"
1654 "It is recommended that user-defined exceptions derive from\n"
1655 "`Exception`, a subclass of `BaseException`.\n"
1656 msgstr ""
1657
1658 #: runtime_errors\type_error.py:457
1659 msgid ""
1660 "In an `except` statement, you must only have classes that derive from "
1661 "`BaseException`.\n"
1662 msgstr ""
1663
1664 #: runtime_errors\type_error.py:461
1665 msgid "The following is not a valid classes: `{not_exception}`.\n"
1666 msgstr ""
1667
1668 #: runtime_errors\type_error.py:465
1669 msgid "The following are not valid classes: `{not_exception}`.\n"
1670 msgstr ""
1671
1672 #: runtime_errors\type_error.py:502
1673 msgid ""
1674 "You apparently have called the function `{fn_name}` with\n"
1675 "{nb_given} positional argument(s) while it requires {nb_required}\n"
1676 "such positional argument(s).\n"
1677 msgstr ""
1678
1679 #: runtime_errors\type_error.py:508
1680 msgid "Perhaps you forgot `self` when defining `{fn_name}`.\n"
1681 msgstr ""
1682
1683 #: runtime_errors\type_error.py:528
1684 msgid ""
1685 "You apparently have called the function '{fn_name}' with\n"
1686 "fewer positional arguments than it requires ({nb_required} missing).\n"
1687 msgstr ""
1688
1689 #: runtime_errors\type_error.py:545 runtime_errors\type_error.py:928
1690 #: warning_parsers\syntax_warning.py:21 warning_parsers\syntax_warning.py:69
1691 msgid ""
1692 "\n"
1693 "Note: `NoneType` means that the object has a value of `None`.\n"
1694 msgstr ""
1695
1696 #: runtime_errors\type_error.py:552 warning_parsers\syntax_warning.py:27
1697 msgid ""
1698 "Python indicates that you have an object of type `{obj_type}`,\n"
1699 "followed by something surrounded by parentheses, `(...)`,\n"
1700 "which Python took as an indication of a function call.\n"
1701 "Either the object of type `{obj_type}` was meant to be a function,\n"
1702 "or you forgot a comma before `(...)`.\n"
1703 msgstr ""
1704
1705 #: runtime_errors\type_error.py:574
1706 msgid ""
1707 "The parenthesis `()` following `{obj_name}` are interpreted\n"
1708 "by Python as a function call for `{obj_name}`.\n"
1709 "However, `{obj_name}` is not a function but an object of type `{obj_type}`.\n"
1710 msgstr ""
1711
1712 #: runtime_errors\type_error.py:581
1713 msgid ""
1714 "Because of the surrounding parenthesis, `{fn_call}` \n"
1715 "is interpreted by Python as indicating a function call for \n"
1716 "`{obj_name}`, which is an object of type `{obj_type}`\n"
1717 "which cannot be called.\n"
1718 "\n"
1719 msgstr ""
1720
1721 #: runtime_errors\type_error.py:594
1722 msgid ""
1723 "However, `{fn_call}` is a `tuple`.\n"
1724 "Either the object `{obj_name}` was meant to be a function\n"
1725 "or you have a missing comma between the object `{obj_name}`\n"
1726 "and the tuple `{fn_call}` and meant to write\n"
1727 "`{obj_name}, {fn_call}`.\n"
1728 msgstr ""
1729
1730 #: runtime_errors\type_error.py:601
1731 msgid "Did you forget a comma between `{obj_name}` and `{fn_call}`?\n"
1732 msgstr ""
1733
1734 #: runtime_errors\type_error.py:607
1735 msgid ""
1736 "However, `{obj_name}` is a sequence.\n"
1737 "Perhaps you meant to use `[]` instead of `()` and write\n"
1738 "`{obj_name}[{slice}]`\n"
1739 msgstr ""
1740
1741 #: runtime_errors\type_error.py:612
1742 msgid "Did you mean `{obj_name}[{slice}]`?\n"
1743 msgstr ""
1744
1745 #: runtime_errors\type_error.py:623
1746 msgid ""
1747 "However, both `{obj_name}` and `{fn_call}` are numbers.\n"
1748 "Perhaps you forgot a multiplication operator, `*`,\n"
1749 "and meant to write `{obj_name} * {fn_call}`.\n"
1750 msgstr ""
1751
1752 #: runtime_errors\type_error.py:628
1753 msgid "Did you mean `{obj_name} * {fn_call}`?\n"
1754 msgstr ""
1755
1756 #: runtime_errors\type_error.py:640
1757 msgid "Did you forget to convert `{name}` into an integer?\n"
1758 msgstr ""
1759
1760 #: runtime_errors\type_error.py:641
1761 msgid "Perhaps you forgot to convert `{name}` into an integer.\n"
1762 msgstr ""
1763
1764 #: runtime_errors\type_error.py:653
1765 msgid ""
1766 "You can only multiply sequences, such as list, tuples,\n"
1767 " strings, etc., by integers.\n"
1768 msgstr ""
1769
1770 #: runtime_errors\type_error.py:675
1771 msgid "Did you forget to convert `{name1}` and `{name2}` into integers?\n"
1772 msgstr ""
1773
1774 #: runtime_errors\type_error.py:678
1775 msgid "Perhaps you forgot to convert `{name1}` and `{name2}` into integers.\n"
1776 msgstr ""
1777
1778 #: runtime_errors\type_error.py:714
1779 msgid ""
1780 "You wrote an object whose value is `None` where an integer was expected.\n"
1781 msgstr ""
1782
1783 #: runtime_errors\type_error.py:724
1784 msgid "You wrote an object of type `{obj}` where an integer was expected.\n"
1785 msgstr ""
1786
1787 #: runtime_errors\type_error.py:734
1788 msgid "Did you forget to convert `{names}` into integers?\n"
1789 msgstr ""
1790
1791 #: runtime_errors\type_error.py:737
1792 msgid "Perhaps you forgot to convert `{names}` into integers."
1793 msgstr ""
1794
1795 #: runtime_errors\type_error.py:760
1796 msgid ""
1797 "In the expression `{line}`\n"
1798 "what is included between the square brackets, `[...]`,\n"
1799 "must be either an integer or a slice\n"
1800 "(`start:stop` or `start:stop:step`) \n"
1801 "and you have used {obj_type} instead.\n"
1802 msgstr ""
1803
1804 #: runtime_errors\type_error.py:771
1805 msgid ""
1806 "Note: sometimes this exception is raised because what Python\n"
1807 "interprets as indices was meant to be a separate list, and a comma\n"
1808 "should have been written before the opening `[` of that list.\n"
1809 msgstr ""
1810
1811 #: runtime_errors\type_error.py:776 syntax_errors\statement_analyzer.py:1159
1812 #: syntax_errors\statement_analyzer.py:1531
1813 msgid "Did you forget a comma?\n"
1814 msgstr ""
1815
1816 #: runtime_errors\type_error.py:811
1817 msgid ""
1818 "Perhaps you have forgotten a comma between two identical lists\n"
1819 "`{container}`. The second list had been interpreted as\n"
1820 "the indexation of the first one by the index `{new_index}`\n"
1821 msgstr ""
1822
1823 #: runtime_errors\type_error.py:817
1824 msgid ""
1825 "Perhaps you have forgotten a comma between the object `{container}`\n"
1826 "and the list `{index}`. The list `{index}` had been interpreted as\n"
1827 "the indexation of object `{container}` by the index `{new_index}`\n"
1828 msgstr ""
1829
1830 #: runtime_errors\type_error.py:822
1831 msgid "Did you forget a comma before `{index}`?\n"
1832 msgstr ""
1833
1834 #: runtime_errors\type_error.py:881
1835 msgid ""
1836 "When using a slice to extract a range of elements\n"
1837 "from a sequence, that is something like\n"
1838 "`[start:stop]` or `[start:stop:step]`\n"
1839 "each of `start`, `stop`, `step` must be either an integer, `None`,\n"
1840 "or possibly some other object having an `__index__` method.\n"
1841 msgstr ""
1842
1843 #: runtime_errors\type_error.py:898
1844 msgid ""
1845 "Only hashable objects can be used\n"
1846 "as elements of `set` or keys of `dict`.\n"
1847 "Hashable objects are objects that do not change value\n"
1848 "once they have been created."
1849 msgstr ""
1850
1851 #: runtime_errors\type_error.py:908
1852 msgid "Instead of using {original}, consider using {replacement}.\n"
1853 msgstr ""
1854
1855 #: runtime_errors\type_error.py:934 warning_parsers\syntax_warning.py:75
1856 msgid ""
1857 "Subscriptable objects are typically containers from which\n"
1858 "you can retrieve item using the notation `[...]`.\n"
1859 msgstr ""
1860
1861 #: runtime_errors\type_error.py:946 warning_parsers\syntax_warning.py:79
1862 msgid ""
1863 "Using this notation, you attempted to retrieve an item\n"
1864 "from an object of type `{obj_type}` which is not allowed.\n"
1865 msgstr ""
1866
1867 #: runtime_errors\type_error.py:963
1868 msgid "Perhaps you meant to write `{line}`.\n"
1869 msgstr ""
1870
1871 #: runtime_errors\type_error.py:966
1872 msgid ""
1873 "Using this notation, you attempted to retrieve an item\n"
1874 "from `{name}`, an object of type `{obj_type}`. This is not allowed.\n"
1875 msgstr ""
1876
1877 #: runtime_errors\type_error.py:1000
1878 msgid ""
1879 "An iterable is an object capable of returning its members one at a time.\n"
1880 "Python containers (`list, tuple, dict`, etc.) are iterables.\n"
1881 "'{obj_name}' is not a container. A container is required here.\n"
1882 msgstr ""
1883
1884 #: runtime_errors\type_error.py:1015
1885 msgid ""
1886 "An iterable is an object capable of returning its members one at a time.\n"
1887 "Python containers (`list, tuple, dict`, etc.) are iterables.\n"
1888 "An iterable is required here.\n"
1889 msgstr ""
1890
1891 #: runtime_errors\type_error.py:1030 runtime_errors\value_error.py:25
1892 msgid ""
1893 "Unpacking is a convenient way to assign a name,\n"
1894 "to each item of an iterable.\n"
1895 msgstr ""
1896
1897 #: runtime_errors\type_error.py:1034
1898 msgid ""
1899 "An iterable is an object capable of returning its members one at a time.\n"
1900 "Python containers (`list, tuple, dict`, etc.) are iterables,\n"
1901 "but not objects of type `{obj_type}`.\n"
1902 msgstr ""
1903
1904 #: runtime_errors\type_error.py:1049
1905 msgid ""
1906 "{function} does not accept a sequence as an argument.\n"
1907 "Instead of writing `{line}`\n"
1908 "perhaps you should use the `dict.fromkeys()` method: `{new_line}`.\n"
1909 msgstr ""
1910
1911 #: runtime_errors\type_error.py:1054
1912 msgid "Perhaps you need to use the `dict.fromkeys()` method.\n"
1913 msgstr ""
1914
1915 #: runtime_errors\type_error.py:1092 runtime_errors\type_error.py:1116
1916 msgid "Did you forget to call `{name}`?\n"
1917 msgstr ""
1918
1919 #: runtime_errors\type_error.py:1093 runtime_errors\type_error.py:1117
1920 msgid ""
1921 "I suspect that you forgot to add parentheses to call `{name}`.\n"
1922 "You might have meant to write:\n"
1923 "`{line}`\n"
1924 msgstr ""
1925
1926 #: runtime_errors\type_error.py:1131
1927 msgid ""
1928 "The function `vars` is used to list the content of the\n"
1929 "`__dict__` attribute of an object.\n"
1930 msgstr ""
1931
1932 #: runtime_errors\type_error.py:1140
1933 msgid "Object `{name}` uses `__slots__` instead of `__dict__`.\n"
1934 msgstr ""
1935
1936 #: runtime_errors\type_error.py:1144
1937 msgid ""
1938 "`{name}`, the argument of `vars`, is an object without such an attribute.\n"
1939 msgstr ""
1940
1941 #: runtime_errors\type_error.py:1165
1942 msgid ""
1943 "You have specified the value of argument `{argument}` more than once\n"
1944 "when calling the function named `{function}`.\n"
1945 msgstr ""
1946
1947 #: runtime_errors\type_error.py:1186
1948 msgid "This function has only one argument: `{arguments}`\n"
1949 msgstr ""
1950
1951 #: runtime_errors\type_error.py:1190
1952 msgid ""
1953 "This function has the following arguments:\n"
1954 "`{arguments}`\n"
1955 msgstr ""
1956
1957 #: runtime_errors\type_error.py:1200
1958 msgid ""
1959 "I am guessing that you were trying to count the number of elements\n"
1960 "produced by a generator expression. You first need to capture them\n"
1961 "in a list:\n"
1962 "\n"
1963 msgstr ""
1964
1965 #: runtime_errors\type_error.py:1221
1966 msgid " {new_line}\n"
1967 msgstr ""
1968
1969 #: runtime_errors\type_error.py:1222
1970 msgid "You likely need to build a list first.\n"
1971 msgstr ""
1972 "You likely need to build a list first.\n"
1973 "\n"
1974
1975 #: runtime_errors\unbound_local_error.py:31
1976 msgid ""
1977 "You're trying to use the name `{name}` identified by Python as being\n"
1978 "in the local scope of a function before having assigned it a value.\n"
1979 msgstr ""
1980
1981 #: runtime_errors\unbound_local_error.py:62
1982 msgid ""
1983 "The name `{var_name}` exists in both the global and nonlocal scope.\n"
1984 "This can be rather confusing and is not recommended.\n"
1985 "Depending on which variable you wanted to refer to, you needed to add "
1986 "either\n"
1987 "\n"
1988 " global {var_name}\n"
1989 "\n"
1990 "or\n"
1991 "\n"
1992 " nonlocal {var_name}\n"
1993 "\n"
1994 "as the first line inside your function.\n"
1995 msgstr ""
1996
1997 #: runtime_errors\unbound_local_error.py:72
1998 msgid ""
1999 "Did you forget to add either `global {var_name}` or \n"
2000 "`nonlocal {var_name}`?\n"
2001 msgstr ""
2002
2003 #: runtime_errors\unbound_local_error.py:84
2004 msgid ""
2005 "`{name}` is a Python builtin function.\n"
2006 "You have tried to assign a value to `{name}` inside a function\n"
2007 "while also using its original meaning in the function.\n"
2008 "\n"
2009 "Note that it is generally not a good idea to give a local variable\n"
2010 "the same name as a Python builtin function (like `{name}`).\n"
2011 msgstr ""
2012
2013 #: runtime_errors\unbound_local_error.py:101
2014 msgid ""
2015 "The name `{var_name}` exists in the {scope} scope.\n"
2016 "Perhaps the statement\n"
2017 "\n"
2018 " {scope} {var_name}\n"
2019 "\n"
2020 "should have been included as the first line inside your function.\n"
2021 msgstr ""
2022
2023 #: runtime_errors\unbound_local_error.py:108
2024 msgid "Did you forget to add `{scope} {var_name}`?\n"
2025 msgstr ""
2026
2027 #: runtime_errors\unbound_local_error.py:119
2028 msgid "The similar name `{name}` was found in the local scope. "
2029 msgstr ""
2030
2031 #: runtime_errors\value_error.py:72 runtime_errors\value_error.py:81
2032 msgid ""
2033 "In this instance, there are more names ({nb_names})\n"
2034 "than {length}, the length of the iterable.\n"
2035 msgstr ""
2036
2037 #: runtime_errors\value_error.py:87
2038 msgid ""
2039 "In this instance, there are more names ({nb_names})\n"
2040 "than the length of the iterable, {iter_type} of length {length}.\n"
2041 msgstr ""
2042
2043 #: runtime_errors\value_error.py:105 runtime_errors\value_error.py:115
2044 msgid ""
2045 "In this instance, there are fewer names ({nb_names})\n"
2046 "than the length of the iterable.\n"
2047 msgstr ""
2048
2049 #: runtime_errors\value_error.py:121
2050 msgid ""
2051 "In this instance, there are fewer names ({nb_names})\n"
2052 "than the length of the iterable, {iter_type} of length {length}.\n"
2053 msgstr ""
2054
2055 #: runtime_errors\value_error.py:137
2056 msgid ""
2057 "`int()` expects an argument that looks like a number in base `{base}`\n"
2058 "but you gave it an empty string.\n"
2059 msgstr ""
2060
2061 #: runtime_errors\value_error.py:143
2062 msgid "`{value}` is an invalid argument for `int()` in base `{base}`.\n"
2063 msgstr ""
2064
2065 #: runtime_errors\value_error.py:159
2066 msgid "The following characters are not allowed: `{invalid}`.\n"
2067 msgstr ""
2068
2069 #: runtime_errors\value_error.py:171
2070 msgid ""
2071 "When base `0` is specified, `int()` expects the argument\n"
2072 "to be an integer literal, written in\n"
2073 "base 2 (`0b...`), 8 (`0o...`), 10, or 16 (`0x...`).\n"
2074 msgstr ""
2075
2076 #: runtime_errors\value_error.py:177
2077 msgid ""
2078 "In base `{base}`, `int()` is most often use to convert a string\n"
2079 "containing the digits `0` to `{max_n}` into an integer.\n"
2080 msgstr ""
2081
2082 #: runtime_errors\value_error.py:182
2083 msgid ""
2084 "In base `11`, `int()` is most often use to convert a string\n"
2085 "containing the digits `0` to `9` and the letter `'a'` into an integer.\n"
2086 msgstr ""
2087
2088 #: runtime_errors\value_error.py:187
2089 msgid ""
2090 "In base `base`, `int()` is most often use to convert a string\n"
2091 "containing the digits `0` to `9` and the letters\n"
2092 "from `'a'` to `'{max_n}'` into an integer.\n"
2093 msgstr ""
2094
2095 #: runtime_errors\value_error.py:203
2096 msgid "You need to convert `'{value}'` to a float first.\n"
2097 msgstr ""
2098
2099 #: runtime_errors\value_error.py:204
2100 msgid ""
2101 "The string `'{value}'` needs to be first converted using `float()`\n"
2102 "before the result can be converted into an integer using `int()`.\n"
2103 msgstr ""
2104
2105 #: runtime_errors\value_error.py:216
2106 msgid ""
2107 "The argument `base` of `int()` must be either zero\n"
2108 "or any integer from 2 to 36.\n"
2109 msgstr ""
2110
2111 #: runtime_errors\value_error.py:224
2112 msgid "You wrote {base} which is not allowed.\n"
2113 msgstr ""
2114
2115 #: runtime_errors\value_error.py:235
2116 msgid "Did you specify an invalid month?\n"
2117 msgstr ""
2118
2119 #: runtime_errors\value_error.py:236
2120 msgid ""
2121 "I am guessing that you specify an invalid value for a month\n"
2122 "in a `date` object. Valid values are integers, from 1 to 12.\n"
2123 msgstr ""
2124
2125 #: runtime_errors\value_error.py:253
2126 msgid ""
2127 "The string `{string}` cannot be converted to a `float`\n"
2128 "as it does not represent a number.\n"
2129 msgstr ""
2130
2131 #: runtime_errors\value_error.py:269
2132 msgid ""
2133 "The name `{var}` is used both as the name of a class variable\n"
2134 "and as a string item in the class `__slots__`;\n"
2135 "this is not allowed.\n"
2136 msgstr ""
2137
2138 #: runtime_errors\value_error.py:281
2139 msgid "The third argument of the function `pow()` cannot be zero.\n"
2140 msgstr ""
2141
2142 #: runtime_errors\value_error.py:310
2143 msgid ""
2144 "I do not recognize this error message.\n"
2145 "I am guessing that the problem is with the function `{name}`.\n"
2146 msgstr ""
2147
2148 #: runtime_errors\value_error.py:316
2149 msgid ""
2150 "Its docstring is:\n"
2151 "\n"
2152 "{docstring}\n"
2153 msgstr ""
2154
2155 #: runtime_errors\value_error.py:320
2156 msgid "I have no more information.\n"
2157 msgstr ""
2158
2159 #: runtime_errors\value_error.py:330
2160 msgid ""
2161 "The value you gave for the time is not in the format you specified.\n"
2162 "Make sure to use the same separator between items\n"
2163 "(for example, between day and month) and keep the order the same\n"
2164 "in both the data provided and the format you specified.\n"
2165 "The following table might be useful:\n"
2166 "https://docs.python.org/3/library/time.html#time.strftime\n"
2167 "The following site might also be useful: https://www.strfti.me/\n"
2168 msgstr ""
2169
2170 #: runtime_errors\value_error.py:365
2171 msgid ""
2172 "You have attempted to remove `{item}` from the list `{the_list}`.\n"
2173 "However, `{the_list}` does not contain `{item}`.\n"
2174 msgstr ""
2175
2176 #: runtime_errors\value_error.py:370
2177 msgid ""
2178 "You have attempted to remove an item from the list `{the_list}`.\n"
2179 "However, `{the_list}` does not contain that item.\n"
2180 msgstr ""
2181
2182 #: runtime_errors\value_error.py:375
2183 msgid ""
2184 "You have attempted to remove an item a list that does not contain such an "
2185 "item.\n"
2186 msgstr ""
2187
2188 #: runtime_errors\value_error.py:391
2189 msgid ""
2190 "An explanation of `{exception}` already exists.\n"
2191 "If you think that a better explanation can be given, please file an issue.\n"
2192 msgstr ""
2193
2194 #: runtime_errors\zero_division_error.py:20
2195 msgid "Using the modulo operator, `%`, you are dividing by zero.\n"
2196 msgstr ""
2197
2198 #: runtime_errors\zero_division_error.py:21
2199 msgid "You are dividing by zero.\n"
2200 msgstr ""
2201
2202 #: runtime_errors\zero_division_error.py:41
2203 #: runtime_errors\zero_division_error.py:73
2204 msgid ""
2205 "You are dividing by the following term\n"
2206 "\n"
2207 " {expression}\n"
2208 "\n"
2209 "which is equal to zero.\n"
2210 msgstr ""
2211
2212 #: runtime_errors\zero_division_error.py:53
2213 #: runtime_errors\zero_division_error.py:127
2214 msgid "<'expression not found'>"
2215 msgstr ""
2216
2217 #: runtime_errors\zero_division_error.py:54
2218 msgid ""
2219 "The following mathematical expression includes a division by zero:\n"
2220 "\n"
2221 " {expression}\n"
2222 msgstr ""
2223
2224 #: runtime_errors\zero_division_error.py:85
2225 #: runtime_errors\zero_division_error.py:120
2226 msgid ""
2227 "Using the modulo operator, `%`, you are dividing by the following term\n"
2228 "\n"
2229 " {expression}\n"
2230 "\n"
2231 "which is equal to zero.\n"
2232 msgstr ""
2233
2234 #: runtime_errors\zero_division_error.py:93
2235 msgid "The second argument of the `divmod()` function is zero.\n"
2236 msgstr ""
2237
2238 #: runtime_errors\zero_division_error.py:104
2239 msgid ""
2240 "You are attempting to raise the number 0 to a negative power\n"
2241 "which is equivalent to dividing by zero.\n"
2242 msgstr ""
2243
2244 #: runtime_errors\zero_division_error.py:128
2245 msgid ""
2246 "The following mathematical expression includes a division by zero\n"
2247 "done using the modulo operator:\n"
2248 "\n"
2249 " {expression}\n"
2250 msgstr ""
2251
2252 #: runtime_errors\zero_division_error.py:143
2253 msgid "The second argument of the `divmod()` function is equal to zero.\n"
2254 msgstr ""
2255
2256 #: syntax_errors\analyze_syntax.py:29
2257 msgid ""
2258 "Currently, I cannot guess the likely cause of this error.\n"
2259 "Try to examine closely the line indicated as well as the line\n"
2260 "immediately above to see if you can identify some misspelled\n"
2261 "word, or missing symbols, like (, ), [, ], :, etc.\n"
2262 "\n"
2263 "Unless your code uses type annotations, which are beyond our scope,\n"
2264 "if you think that this is something which should be handled\n"
2265 "by friendly, please report this case to\n"
2266 "https://github.com/friendly-traceback/friendly-traceback/issues\n"
2267 "\n"
2268 msgstr ""
2269
2270 #: syntax_errors\analyze_syntax.py:72
2271 msgid ""
2272 "Python told us that it expected a colon at the position indicated.\n"
2273 "However, adding a colon or replacing something else by a colon\n"
2274 "would not fix the problem.\n"
2275 msgstr ""
2276
2277 #: syntax_errors\analyze_syntax.py:86
2278 msgid ""
2279 "Python gave us the following informative message\n"
2280 "about the possible cause of the error:\n"
2281 "\n"
2282 " {message}\n"
2283 "\n"
2284 "However, I do not recognize this information and I have\n"
2285 "to guess what caused the problem, but I might be wrong.\n"
2286 "\n"
2287 msgstr ""
2288
2289 #: syntax_errors\error_in_def.py:19 syntax_errors\statement_analyzer.py:20
2290 msgid ""
2291 "However, making such a change would still not correct\n"
2292 "all the syntax errors in the code you wrote.\n"
2293 msgstr ""
2294
2295 #: syntax_errors\error_in_def.py:28
2296 msgid ""
2297 "The correct syntax is:\n"
2298 "\n"
2299 " {async_}def name ( ... ):"
2300 msgstr ""
2301
2302 #: syntax_errors\error_in_def.py:80
2303 msgid "A function needs a name.\n"
2304 msgstr ""
2305
2306 #: syntax_errors\error_in_def.py:81
2307 msgid "You tried to define a function and did not use the correct syntax.\n"
2308 msgstr ""
2309
2310 #: syntax_errors\error_in_def.py:85
2311 msgid "Functions and methods need a name.\n"
2312 msgstr ""
2313
2314 #: syntax_errors\error_in_def.py:86
2315 msgid ""
2316 "You tried to define a function or method and did not use the correct "
2317 "syntax.\n"
2318 msgstr ""
2319
2320 #: syntax_errors\error_in_def.py:116 syntax_errors\error_in_def.py:147
2321 #: syntax_errors\message_analyzer.py:1111
2322 #: syntax_errors\message_analyzer.py:1649
2323 #: syntax_errors\statement_analyzer.py:1312
2324 #: syntax_errors\statement_analyzer.py:1331
2325 msgid "Did you forget parentheses?\n"
2326 msgstr ""
2327
2328 #: syntax_errors\error_in_def.py:117 syntax_errors\error_in_def.py:148
2329 msgid ""
2330 "Perhaps you forgot to include parentheses.\n"
2331 "You might have meant to write\n"
2332 "\n"
2333 " {line}\n"
2334 msgstr ""
2335
2336 #: syntax_errors\error_in_def.py:175
2337 msgid "A function definition statement must end with a colon.\n"
2338 msgstr ""
2339
2340 #: syntax_errors\error_in_def.py:181 syntax_errors\error_in_def.py:205
2341 msgid "Did you forget to write a colon?\n"
2342 msgstr ""
2343
2344 #: syntax_errors\error_in_def.py:182 syntax_errors\message_analyzer.py:765
2345 msgid "You wrote `{bad}` instead of a colon.\n"
2346 msgstr ""
2347
2348 #: syntax_errors\error_in_def.py:191
2349 msgid "Did you write something by mistake after the colon?\n"
2350 msgstr ""
2351
2352 #: syntax_errors\error_in_def.py:192
2353 msgid "A block of code must come after the colon.\n"
2354 msgstr ""
2355
2356 #: syntax_errors\error_in_def.py:193
2357 msgid "Removing `{bad}`, might fix the problem.\n"
2358 msgstr ""
2359
2360 #: syntax_errors\error_in_def.py:225
2361 msgid "You cannot use a Python keyword as a function name.\n"
2362 msgstr ""
2363
2364 #: syntax_errors\error_in_def.py:226
2365 msgid "You tried to use the Python keyword `{kwd}` as a function name.\n"
2366 msgstr ""
2367
2368 #: syntax_errors\error_in_def.py:234
2369 msgid "There are more syntax errors later in your code.\n"
2370 msgstr ""
2371
2372 #: syntax_errors\error_in_def.py:257
2373 msgid "You wrote an invalid function name.\n"
2374 msgstr ""
2375
2376 #: syntax_errors\error_in_def.py:258
2377 msgid ""
2378 "The name of a function must be a valid Python identifier,\n"
2379 "that is a name that begins with a letter or an underscore character, `_`,\n"
2380 "and which contains only letters, digits or the underscore character.\n"
2381 msgstr ""
2382
2383 #: syntax_errors\error_in_def.py:264
2384 msgid "You attempted to use a string as a function name.\n"
2385 msgstr ""
2386
2387 #: syntax_errors\error_in_def.py:285
2388 msgid "You forgot to name your function.\n"
2389 msgstr ""
2390
2391 #: syntax_errors\error_in_def.py:293
2392 msgid "However, there are some other syntax errors in your code.\n"
2393 msgstr ""
2394
2395 #: syntax_errors\error_in_def.py:314
2396 msgid ""
2397 "I am guessing that you tried to use the Python keyword\n"
2398 "`{kwd}` as an argument in the definition of a function\n"
2399 "where an identifier (variable name) was expected.\n"
2400 msgstr ""
2401
2402 #: syntax_errors\error_in_def.py:329
2403 msgid "You cannot use dotted names as function arguments.\n"
2404 msgstr ""
2405
2406 #: syntax_errors\error_in_def.py:331
2407 msgid "Perhaps you meant to write a comma.\n"
2408 msgstr ""
2409
2410 #: syntax_errors\error_in_def.py:332 syntax_errors\error_in_def.py:524
2411 #: syntax_errors\statement_analyzer.py:827 syntax_errors\syntax_utils.py:119
2412 msgid "Did you mean to write a comma?\n"
2413 msgstr ""
2414
2415 #: syntax_errors\error_in_def.py:336
2416 msgid "You cannot use dots in function names.\n"
2417 msgstr ""
2418
2419 #: syntax_errors\error_in_def.py:345
2420 msgid ""
2421 "`/` indicates that the previous arguments in a function definition\n"
2422 "are positional arguments.\n"
2423 msgstr ""
2424
2425 #: syntax_errors\error_in_def.py:351
2426 msgid ""
2427 "Function definitions cannot include the symbol `/` in this Python version.\n"
2428 msgstr ""
2429
2430 #: syntax_errors\error_in_def.py:354
2431 msgid ""
2432 "This symbol can only be used with Python versions 3.8.0 or newer.\n"
2433 "You are using Python version {version}.\n"
2434 msgstr ""
2435
2436 #: syntax_errors\error_in_def.py:363
2437 msgid ""
2438 "You have unspecified keyword arguments that appear before\n"
2439 "the symbol `/`.\n"
2440 msgstr ""
2441
2442 #: syntax_errors\error_in_def.py:367
2443 msgid "Keyword arguments must appear after the `/` symbol.\n"
2444 msgstr ""
2445
2446 #: syntax_errors\error_in_def.py:372
2447 msgid ""
2448 "However, `*` indicates that the arguments\n"
2449 "that follow must be keyword arguments.\n"
2450 "When they are used together, `/` must appear before `*`.\n"
2451 msgstr ""
2452
2453 #: syntax_errors\error_in_def.py:377
2454 msgid "`*` must appear after `/` in a function definition.\n"
2455 msgstr ""
2456
2457 #: syntax_errors\error_in_def.py:379
2458 msgid "`*{name}` must appear after `/` in a function definition.\n"
2459 msgstr ""
2460
2461 #: syntax_errors\error_in_def.py:386
2462 msgid "You can only use `/` once in a function definition.\n"
2463 msgstr ""
2464
2465 #: syntax_errors\error_in_def.py:400
2466 msgid "You can only use `*` once in a function definition.\n"
2467 msgstr ""
2468
2469 #: syntax_errors\error_in_def.py:406
2470 msgid "You have used it twice, with `*{first}` and `*{second}`.\n"
2471 msgstr ""
2472
2473 #: syntax_errors\error_in_def.py:414
2474 msgid ""
2475 "It must either be used by itself, `*`,\n"
2476 "or in the form `*{args}`, but not both.\n"
2477 msgstr ""
2478
2479 #: syntax_errors\error_in_def.py:423
2480 msgid "`*{args}` must appear before `**{kwargs}`.\n"
2481 msgstr ""
2482
2483 #: syntax_errors\error_in_def.py:427
2484 msgid "`**{kwargs}` must appear after the `*` operator.\n"
2485 msgstr ""
2486
2487 #: syntax_errors\error_in_def.py:441
2488 msgid "You cannot use numbers as function arguments.\n"
2489 msgstr ""
2490
2491 #: syntax_errors\error_in_def.py:442
2492 msgid ""
2493 "You used a number as an argument when defining a function.\n"
2494 "You can only use identifiers (variable names) as function arguments.\n"
2495 msgstr ""
2496
2497 #: syntax_errors\error_in_def.py:454
2498 msgid "You cannot use strings as function arguments.\n"
2499 msgstr ""
2500
2501 #: syntax_errors\error_in_def.py:455
2502 msgid ""
2503 "You used a string as an argument when defining a function.\n"
2504 "You can only use identifiers (variable names) as function arguments.\n"
2505 msgstr ""
2506
2507 #: syntax_errors\error_in_def.py:467
2508 msgid "You cannot have explicit tuples as function arguments.\n"
2509 msgstr ""
2510
2511 #: syntax_errors\error_in_def.py:469
2512 msgid ""
2513 "You can only use identifiers (variable names) as function arguments.\n"
2514 "Assign any tuple to a parameter and unpack it\n"
2515 "within the body of the function.\n"
2516 msgstr ""
2517
2518 #: syntax_errors\error_in_def.py:482
2519 msgid "You cannot have explicit lists as function arguments.\n"
2520 msgstr ""
2521
2522 #: syntax_errors\error_in_def.py:483 syntax_errors\error_in_def.py:495
2523 msgid "You can only use identifiers (variable names) as function arguments.\n"
2524 msgstr ""
2525
2526 #: syntax_errors\error_in_def.py:494
2527 msgid "You cannot have any explicit dict or set as function arguments.\n"
2528 msgstr ""
2529
2530 #: syntax_errors\error_in_def.py:517
2531 msgid "You cannot have operators as function arguments.\n"
2532 msgstr ""
2533
2534 #: syntax_errors\error_in_def.py:525
2535 msgid ""
2536 "I suspect you made a typo and wrote `{op}` instead of a comma.\n"
2537 "The following statement contains no syntax error:\n"
2538 "\n"
2539 " {new_statement}"
2540 msgstr ""
2541
2542 #: syntax_errors\error_in_def.py:537
2543 msgid "Did you mean to write an equal sign?\n"
2544 msgstr ""
2545
2546 #: syntax_errors\error_in_def.py:538
2547 msgid ""
2548 "I suspect you made a typo and wrote `{op}` instead of an equal sign.\n"
2549 "The following statement contains no syntax error:\n"
2550 "\n"
2551 " {new_statement}"
2552 msgstr ""
2553
2554 #: syntax_errors\error_in_def.py:550
2555 msgid "Did you mean to write `{op}`?\n"
2556 msgstr ""
2557
2558 #: syntax_errors\error_in_def.py:551
2559 msgid ""
2560 "I suspect you made a typo and added `{op}` by mistake.\n"
2561 "The following statement contains no syntax error:\n"
2562 "\n"
2563 " {new_statement}"
2564 msgstr ""
2565
2566 #: syntax_errors\error_in_def.py:567
2567 msgid "You cannot use `{op}` as an argument.\n"
2568 msgstr ""
2569
2570 #: syntax_errors\error_in_def.py:571
2571 msgid ""
2572 "I suspect you made a typo and wrote `{op}` by mistake.\n"
2573 "If you replace it by a unique variable name, the result\n"
2574 "will contain no syntax error.\n"
2575 msgstr ""
2576
2577 #: syntax_errors\error_in_def.py:579
2578 msgid ""
2579 "I suspect you made a typo and wrote `{op}` by mistake,\n"
2580 "perhaps instead of writing an identifier (variable name).\n"
2581 msgstr ""
2582
2583 #: syntax_errors\error_in_def.py:588
2584 msgid ""
2585 "The `**` operator needs to be followed by an identifier (variable name).\n"
2586 msgstr ""
2587
2588 #: syntax_errors\error_in_def.py:611
2589 msgid "Positional arguments must come before keyword arguments.\n"
2590 msgstr ""
2591
2592 #: syntax_errors\error_in_def.py:612
2593 msgid ""
2594 "`{arg}` is a positional argument that appears after one or more\n"
2595 "keyword arguments in your function definition.\n"
2596 msgstr ""
2597
2598 #: syntax_errors\indentation_error.py:11
2599 msgid "Line `{number}` identified above is more indented than expected.\n"
2600 msgstr ""
2601
2602 #: syntax_errors\indentation_error.py:15
2603 msgid ""
2604 "Line `{number}` identified above was expected to begin a new indented "
2605 "block.\n"
2606 msgstr ""
2607
2608 #: syntax_errors\indentation_error.py:20
2609 msgid "Line `{number}` identified above is less indented than expected.\n"
2610 msgstr ""
2611
2612 #: syntax_errors\indentation_error.py:32
2613 msgid ""
2614 "However, line {number}, which is identified as having a problem,\n"
2615 "consists of a single string which is also the case\n"
2616 "for the preceding line.\n"
2617 "Perhaps you meant to include a continuation character, `\\`,\n"
2618 "at the end of line {preceding}.\n"
2619 msgstr ""
2620
2621 #: syntax_errors\message_analyzer.py:22
2622 msgid "You can only assign objects to identifiers (variable names).\n"
2623 msgstr ""
2624
2625 #: syntax_errors\message_analyzer.py:26
2626 #: syntax_errors\statement_analyzer.py:1657
2627 msgid ""
2628 "You can only delete names of objects, or items in mutable containers\n"
2629 "such as `list`, `set`, or `dict`.\n"
2630 msgstr ""
2631
2632 #: syntax_errors\message_analyzer.py:54
2633 msgid "of type `int`"
2634 msgstr ""
2635
2636 #: syntax_errors\message_analyzer.py:55
2637 msgid "of type `complex`"
2638 msgstr ""
2639
2640 #: syntax_errors\message_analyzer.py:56
2641 msgid "of type `float`"
2642 msgstr ""
2643
2644 #: syntax_errors\message_analyzer.py:57
2645 msgid "of type `str`"
2646 msgstr ""
2647
2648 #: syntax_errors\message_analyzer.py:58
2649 msgid "of type `dict`"
2650 msgstr ""
2651
2652 #: syntax_errors\message_analyzer.py:59
2653 msgid "of type `list`"
2654 msgstr ""
2655
2656 #: syntax_errors\message_analyzer.py:60
2657 msgid "of type `set`"
2658 msgstr ""
2659
2660 #: syntax_errors\message_analyzer.py:61
2661 msgid "of type `tuple`"
2662 msgstr ""
2663
2664 #: syntax_errors\message_analyzer.py:81 syntax_errors\message_analyzer.py:91
2665 msgid "Did you mean `{num}`?\n"
2666 msgstr ""
2667
2668 #: syntax_errors\message_analyzer.py:82
2669 msgid ""
2670 "Perhaps you meant to write the octal number `{num}`\n"
2671 "and forgot the letter 'o', or perhaps you meant to write\n"
2672 "a decimal integer and did not know that it could not start with zeros.\n"
2673 msgstr ""
2674
2675 #: syntax_errors\message_analyzer.py:92
2676 msgid ""
2677 "Perhaps you meant to write the integer `{num}`\n"
2678 "and did not know that it could not start with zeros.\n"
2679 msgstr ""
2680
2681 #: syntax_errors\message_analyzer.py:131
2682 msgid ""
2683 "On the left-hand side of an equal sign, you have a\n"
2684 "conditional expression instead of the name of a variable.\n"
2685 "A conditional expression has the following form:\n"
2686 "\n"
2687 " variable = object if condition else other_object\n"
2688 msgstr ""
2689
2690 #: syntax_errors\message_analyzer.py:149
2691 msgid ""
2692 "On the left-hand side of an equal sign, you have a\n"
2693 "conditional expression instead of the name of a variable.\n"
2694 " {expression} = ...\n"
2695 " {mark}\n"
2696 msgstr ""
2697
2698 #: syntax_errors\message_analyzer.py:170
2699 msgid ""
2700 "On the left-hand side of an equal sign, you have\n"
2701 "an expression instead of the name of a variable.\n"
2702 msgstr ""
2703
2704 #: syntax_errors\message_analyzer.py:195
2705 msgid ""
2706 "You wrote the expression\n"
2707 "\n"
2708 " {fn_call} = ...\n"
2709 "where `{fn_call}`, on the left-hand side of the equal sign, either is\n"
2710 "or includes a function call and is not simply the name of a variable.\n"
2711 msgstr ""
2712
2713 #: syntax_errors\message_analyzer.py:207
2714 msgid ""
2715 "You wrote the expression\n"
2716 "\n"
2717 " {fn_call} = ...\n"
2718 " {mark}\n"
2719 "where `{fn_call}`, on the left-hand side of the equal sign, either is\n"
2720 "or includes a function call and is not simply the name of a variable.\n"
2721 msgstr ""
2722
2723 #: syntax_errors\message_analyzer.py:228
2724 msgid ""
2725 "On the left-hand side of an equal sign, you have a\n"
2726 "generator expression instead of the name of a variable.\n"
2727 msgstr ""
2728
2729 #: syntax_errors\message_analyzer.py:246 syntax_errors\message_analyzer.py:372
2730 msgid ""
2731 "You wrote an expression that has the f-string `{fstring}`\n"
2732 "on the left-hand side of the equal sign.\n"
2733 "An f-string should only appear on the right-hand side of an equal sign.\n"
2734 msgstr ""
2735
2736 #: syntax_errors\message_analyzer.py:290 syntax_errors\message_analyzer.py:1018
2737 msgid "You cannot assign a value to `{keyword}`.\n"
2738 msgstr ""
2739
2740 #: syntax_errors\message_analyzer.py:293
2741 msgid "You cannot assign a value to the ellipsis symbol [`...`].\n"
2742 msgstr ""
2743
2744 #: syntax_errors\message_analyzer.py:294
2745 msgid ""
2746 "The ellipsis symbol `...` is a constant in Python;you cannot assign it a "
2747 "different value.\n"
2748 msgstr ""
2749
2750 #: syntax_errors\message_analyzer.py:299
2751 msgid ""
2752 "`{keyword}` is a constant in Python; you cannot assign it a different "
2753 "value.\n"
2754 msgstr ""
2755
2756 #: syntax_errors\message_analyzer.py:304
2757 #: syntax_errors\statement_analyzer.py:1021
2758 msgid ""
2759 "You were trying to assign a value to the Python keyword `{keyword}`.\n"
2760 "This is not allowed.\n"
2761 "\n"
2762 msgstr ""
2763
2764 #: syntax_errors\message_analyzer.py:324
2765 msgid ""
2766 "A for loop must have the form:\n"
2767 "\n"
2768 " for ... in sequence:\n"
2769 "\n"
2770 "where `...` must contain only identifiers (variable names)\n"
2771 "and not literals like `{bad_token}`.\n"
2772 msgstr ""
2773
2774 #: syntax_errors\message_analyzer.py:381
2775 msgid "variable_name"
2776 msgstr ""
2777
2778 #: syntax_errors\message_analyzer.py:385
2779 msgid ""
2780 "Perhaps you meant to write:\n"
2781 "\n"
2782 " {name} = {literal}\n"
2783 "\n"
2784 msgstr ""
2785
2786 #: syntax_errors\message_analyzer.py:391
2787 msgid "Perhaps you meant to write `{name} = {literal}`"
2788 msgstr ""
2789
2790 #: syntax_errors\message_analyzer.py:410
2791 msgid ""
2792 "You wrote an expression like\n"
2793 "\n"
2794 " {literal} = {name}\n"
2795 "where `{literal}`, on the left-hand side of the equal sign,\n"
2796 "is or includes an actual object {of_type}\n"
2797 "and is not simply the name of a variable.\n"
2798 msgstr ""
2799
2800 #: syntax_errors\message_analyzer.py:420
2801 msgid ""
2802 "It is possible that you used an equal sign `=` instead of a colon `:`\n"
2803 "to assign values to keys in a dict.\n"
2804 msgstr ""
2805
2806 #: syntax_errors\message_analyzer.py:438
2807 msgid ""
2808 "You wrote an expression that includes some mathematical operations\n"
2809 "on the left-hand side of the equal sign which should be\n"
2810 "only used to assign a value to a variable.\n"
2811 msgstr ""
2812
2813 #: syntax_errors\message_analyzer.py:460
2814 msgid "Perhaps you meant to write `{name}` instead of `{original}`\n"
2815 msgstr ""
2816
2817 #: syntax_errors\message_analyzer.py:465 syntax_errors\message_analyzer.py:603
2818 #: syntax_errors\statement_analyzer.py:607
2819 msgid "Perhaps you needed `==` instead of `=`.\n"
2820 msgstr ""
2821
2822 #: syntax_errors\message_analyzer.py:477
2823 msgid ""
2824 "You wrote an expression that includes the `yield` keyword\n"
2825 "on the left-hand side of the equal sign.\n"
2826 "You cannot assign a value to such an expression.\n"
2827 "Note that, like the keyword `return`,\n"
2828 "`yield` can only be used inside a function.\n"
2829 msgstr ""
2830
2831 #: syntax_errors\message_analyzer.py:496 syntax_errors\message_analyzer.py:518
2832 msgid ""
2833 "You are using the augmented assignment operator `:=` inside\n"
2834 "a comprehension to assign a value to the iteration variable `{var}`.\n"
2835 "This variable is meant to be used only inside the comprehension.\n"
2836 "The augmented assignment operator is normally used to assign a value\n"
2837 "to a variable so that the variable can be reused later.\n"
2838 "This is not possible for variable `{var}`.\n"
2839 msgstr ""
2840
2841 #: syntax_errors\message_analyzer.py:535
2842 msgid ""
2843 "The object named `{name}` is defined with type annotation\n"
2844 "as a local variable. It cannot be declared to be a global variable.\n"
2845 msgstr ""
2846
2847 #: syntax_errors\message_analyzer.py:550
2848 msgid ""
2849 "You cannot use the augmented assignment operator `:=`,\n"
2850 "sometimes called the walrus operator, with literals like `{bad_token}`.\n"
2851 "You can only assign objects to identifiers (variable names).\n"
2852 msgstr ""
2853
2854 #: syntax_errors\message_analyzer.py:561
2855 msgid ""
2856 "You declared `{name}` as being both a global and nonlocal variable.\n"
2857 "A variable can be global, or nonlocal, but not both at the same time.\n"
2858 msgstr ""
2859
2860 #: syntax_errors\message_analyzer.py:576
2861 msgid "Python tells us that the {bracket} was never closed.\n"
2862 msgstr ""
2863
2864 #: syntax_errors\message_analyzer.py:579
2865 msgid "The {bracket} was never closed.\n"
2866 msgstr ""
2867
2868 #: syntax_errors\message_analyzer.py:591
2869 msgid ""
2870 "The Python keyword `break` can only be used inside a `for` loop or inside a "
2871 "`while` loop.\n"
2872 msgstr ""
2873
2874 #: syntax_errors\message_analyzer.py:604
2875 #: syntax_errors\statement_analyzer.py:608
2876 msgid ""
2877 "You likely used an assignment operator `=` instead of an equality operator "
2878 "`==`.\n"
2879 msgstr ""
2880
2881 #: syntax_errors\message_analyzer.py:612
2882 msgid ""
2883 "The following statement would not contain a syntax error:\n"
2884 "\n"
2885 " {new_statement}\n"
2886 msgstr ""
2887
2888 #: syntax_errors\message_analyzer.py:632
2889 msgid "You cannot delete the constant `{constant}`.\n"
2890 msgstr ""
2891
2892 #: syntax_errors\message_analyzer.py:652 syntax_errors\message_analyzer.py:706
2893 msgid "You cannot delete a Python expression.\n"
2894 msgstr ""
2895
2896 #: syntax_errors\message_analyzer.py:655
2897 msgid "You cannot delete the expression `{expression}`.\n"
2898 msgstr ""
2899
2900 #: syntax_errors\message_analyzer.py:672
2901 msgid ""
2902 "You attempted to delete a function call\n"
2903 "\n"
2904 " {line}\n"
2905 "instead of deleting the function's name\n"
2906 "\n"
2907 " {correct}\n"
2908 msgstr ""
2909
2910 #: syntax_errors\message_analyzer.py:690
2911 msgid "You cannot delete the literal `{literal}`.\n"
2912 msgstr ""
2913
2914 #: syntax_errors\message_analyzer.py:709
2915 msgid "You cannot delete the named expression `{expression}`.\n"
2916 msgstr ""
2917
2918 #: syntax_errors\message_analyzer.py:725
2919 msgid ""
2920 "The star operator `*` is interpreted to mean that\n"
2921 "iterable unpacking is to be used to assign a name\n"
2922 "to each item of an iterable, which does not make sense here.\n"
2923 msgstr ""
2924
2925 #: syntax_errors\message_analyzer.py:739
2926 msgid ""
2927 "It looks like you surrounded a starred name by parentheses.\n"
2928 "This was not considered a SyntaxError before Python version 3.9.\n"
2929 msgstr ""
2930
2931 #: syntax_errors\message_analyzer.py:758
2932 msgid "Did you forget a colon?\n"
2933 msgstr ""
2934
2935 #: syntax_errors\message_analyzer.py:759
2936 msgid "Python expected a colon at the position indicated.\n"
2937 msgstr ""
2938
2939 #: syntax_errors\message_analyzer.py:787
2940 msgid ""
2941 "It looks like the error occurred as you were writing a Python dict.\n"
2942 "Perhaps you wrote a dict key without writing the corresponding value.\n"
2943 msgstr ""
2944
2945 #: syntax_errors\message_analyzer.py:791 syntax_errors\message_analyzer.py:1049
2946 #: syntax_errors\statement_analyzer.py:1725
2947 msgid "Did you forget to write a dict value?\n"
2948 msgstr ""
2949
2950 #: syntax_errors\message_analyzer.py:798
2951 msgid ""
2952 "The Python keyword `continue` can only be used inside a `for` loop or inside "
2953 "a `while` loop.\n"
2954 msgstr ""
2955
2956 #: syntax_errors\message_analyzer.py:810
2957 msgid ""
2958 "You have defined a function repeating the argument\n"
2959 "\n"
2960 " {name}\n"
2961 "Each argument should appear only once in a function definition.\n"
2962 msgstr ""
2963
2964 #: syntax_errors\message_analyzer.py:850
2965 msgid "Did you forget to add `else`?\n"
2966 msgstr ""
2967
2968 #: syntax_errors\message_analyzer.py:851
2969 msgid "An `else some_value` clause was expected after the `if` expression.\n"
2970 msgstr ""
2971
2972 #: syntax_errors\message_analyzer.py:863
2973 msgid ""
2974 "You started writing a triple-quoted string but never wrote\n"
2975 "the triple quotes needed to end the string.\n"
2976 msgstr ""
2977
2978 #: syntax_errors\message_analyzer.py:880
2979 msgid "Did you forget a closing quote?\n"
2980 msgstr ""
2981
2982 #: syntax_errors\message_analyzer.py:881
2983 msgid ""
2984 "You started writing a string with a single or double quote\n"
2985 "but never ended the string with another quote on that line.\n"
2986 msgstr ""
2987
2988 #: syntax_errors\message_analyzer.py:894
2989 msgid ""
2990 "Perhaps you meant to write the backslash character, `\\`\n"
2991 "as the last character in the string and forgot that you\n"
2992 "needed to escape it by writing two `\\` in a row.\n"
2993 msgstr ""
2994
2995 #: syntax_errors\message_analyzer.py:899
2996 msgid "Did you forget to escape a backslash character?\n"
2997 msgstr ""
2998
2999 #: syntax_errors\message_analyzer.py:934
3000 #: syntax_errors\statement_analyzer.py:375
3001 msgid "Perhaps you forgot to escape a quote character.\n"
3002 msgstr ""
3003
3004 #: syntax_errors\message_analyzer.py:935
3005 #: syntax_errors\statement_analyzer.py:376
3006 msgid ""
3007 "I suspect that you were trying to use a quote character inside a string\n"
3008 "that was enclosed in quotes of the same kind.\n"
3009 "Perhaps you should have escaped the inner quote character:\n"
3010 "\n"
3011 " {new_line}\n"
3012 " {mark}\n"
3013 msgstr ""
3014
3015 #: syntax_errors\message_analyzer.py:950
3016 msgid ""
3017 "You wrote a `try` block which did not include an `except` nor a `finally` "
3018 "block.\n"
3019 msgstr ""
3020
3021 #: syntax_errors\message_analyzer.py:965 syntax_errors\message_analyzer.py:982
3022 msgid ""
3023 "Perhaps you meant to write\n"
3024 "\n"
3025 " {new_statement}"
3026 msgstr ""
3027
3028 #: syntax_errors\message_analyzer.py:968 syntax_errors\message_analyzer.py:985
3029 #, fuzzy
3030 #| msgid "Did you mean `{name}`?\n"
3031 msgid "Did you mean `{new_statement}`?"
3032 msgstr "Intendevi `{name}`?\n"
3033
3034 #: syntax_errors\message_analyzer.py:975
3035 msgid ""
3036 "Perhaps you meant to write either\n"
3037 "\n"
3038 " {new_statement}\n"
3039 "\n"
3040 "or\n"
3041 "\n"
3042 " {new_statement2}"
3043 msgstr ""
3044
3045 #: syntax_errors\message_analyzer.py:1020
3046 msgid ""
3047 "You likely called a function using the Python keyword `{keyword}` as an "
3048 "argument:\n"
3049 "\n"
3050 " a_function({keyword}=something) \n"
3051 "\n"
3052 "which Python interpreted as trying to assign a value to a Python keyword.\n"
3053 "\n"
3054 msgstr ""
3055
3056 #: syntax_errors\message_analyzer.py:1031
3057 msgid ""
3058 "You likely called a function with a named argument:\n"
3059 "\n"
3060 " a_function(invalid=something) \n"
3061 "\n"
3062 "where `invalid` is not a valid variable name in Python\n"
3063 "either because it starts with a number, or is a string,\n"
3064 "or contains a period, etc.\n"
3065 msgstr ""
3066
3067 #: syntax_errors\message_analyzer.py:1045
3068 #: syntax_errors\statement_analyzer.py:1716
3069 msgid ""
3070 "It looks like the error occurred as you were writing a Python dict.\n"
3071 "Perhaps you forgot to write a value after a colon.\n"
3072 msgstr ""
3073
3074 #: syntax_errors\message_analyzer.py:1058
3075 msgid ""
3076 "You have written an f-string whose content `{...}`\n"
3077 "includes a backslash; this is not allowed.\n"
3078 "Perhaps you can replace the part that contains a backslash by\n"
3079 "some variable. For example, suppose that you have an f-string like:\n"
3080 "\n"
3081 " f\"{... 'hello\\n' ...}\"\n"
3082 "\n"
3083 "you could write this as\n"
3084 "\n"
3085 " hello = 'hello\\n'\n"
3086 " f\"{... hello ...}\"\n"
3087 msgstr ""
3088
3089 #: syntax_errors\message_analyzer.py:1075
3090 msgid ""
3091 "You have written an f-string which has an unmatched `}`.\n"
3092 "If you want to print a single `}`, you need to write `}}` in the f-string;\n"
3093 "otherwise, you need to add an opening `{`.\n"
3094 msgstr ""
3095
3096 #: syntax_errors\message_analyzer.py:1087
3097 msgid ""
3098 "You have written an f-string which has an unmatched `{`.\n"
3099 "If you want to print a single `{`, you need to write `{{` in the f-string;\n"
3100 "otherwise, you need to add a closing `}`.\n"
3101 msgstr ""
3102
3103 #: syntax_errors\message_analyzer.py:1103
3104 #: syntax_errors\statement_analyzer.py:1284
3105 msgid ""
3106 "I am guessing that you were writing a comprehension or a generator "
3107 "expression\n"
3108 "and forgot to include parentheses around tuples.\n"
3109 "As an example, instead of writing\n"
3110 "\n"
3111 " [i, i**2 for i in range(10)]\n"
3112 "\n"
3113 "you would need to write\n"
3114 "\n"
3115 " [(i, i**2) for i in range(10)]\n"
3116 "\n"
3117 msgstr ""
3118
3119 #: syntax_errors\message_analyzer.py:1120
3120 msgid ""
3121 "A `from __future__ import` statement changes the way Python\n"
3122 "interprets the code in a file.\n"
3123 "It must appear at the beginning of the file."
3124 msgstr ""
3125
3126 #: syntax_errors\message_analyzer.py:1136
3127 msgid "The available features are `{names}`.\n"
3128 msgstr ""
3129
3130 #: syntax_errors\message_analyzer.py:1141
3131 msgid ""
3132 "When using a `from __future__ import` statement,\n"
3133 "you must import specific named features.\n"
3134 msgstr ""
3135
3136 #: syntax_errors\message_analyzer.py:1152
3137 msgid "Instead of `{feature}`, perhaps you meant to import `{name}`.\n"
3138 msgstr ""
3139
3140 #: syntax_errors\message_analyzer.py:1157
3141 msgid "`{feature}` is not a valid feature of module `__future__`.\n"
3142 msgstr ""
3143
3144 #: syntax_errors\message_analyzer.py:1182
3145 msgid ""
3146 "You are using a generator expression, something of the form\n"
3147 "\n"
3148 " x for x in thing\n"
3149 "\n"
3150 "You must add parentheses enclosing that expression.\n"
3151 msgstr ""
3152
3153 #: syntax_errors\message_analyzer.py:1195
3154 msgid ""
3155 "I suspect you wrote `from __future__ import braces` following\n"
3156 "someone else's suggestion. This will never work.\n"
3157 "\n"
3158 "Unlike other programming languages, Python's code block are defined by\n"
3159 "their indentation level, and not by using some curly braces, like `{...}`.\n"
3160 msgstr ""
3161
3162 #: syntax_errors\message_analyzer.py:1210
3163 #: syntax_errors\statement_analyzer.py:190
3164 msgid "Did you use copy-paste?\n"
3165 msgstr ""
3166
3167 #: syntax_errors\message_analyzer.py:1211
3168 msgid ""
3169 "Python indicates that you used the unicode character `{bad_character}`\n"
3170 "which is not allowed.\n"
3171 msgstr ""
3172
3173 #: syntax_errors\message_analyzer.py:1237
3174 msgid "Python tells us that you have written an invalid number."
3175 msgstr ""
3176
3177 #: syntax_errors\message_analyzer.py:1238
3178 msgid "However, I think that the problem might be the following."
3179 msgstr ""
3180
3181 #: syntax_errors\message_analyzer.py:1272
3182 msgid "I have no suggestion to offer to fix this problem.\n"
3183 msgstr ""
3184
3185 #: syntax_errors\message_analyzer.py:1281
3186 #: syntax_errors\statement_analyzer.py:740
3187 msgid ""
3188 "The double star operator `**` is likely interpreted to mean that\n"
3189 "dict unpacking is to be used which is not allowed or does not make sense "
3190 "here.\n"
3191 msgstr ""
3192
3193 #: syntax_errors\message_analyzer.py:1339
3194 msgid ""
3195 "You cannot use the `*` operator to unpack the iteration variable\n"
3196 "in a comprehension.\n"
3197 msgstr ""
3198
3199 #: syntax_errors\message_analyzer.py:1351
3200 #: syntax_errors\message_analyzer.py:1741
3201 #: syntax_errors\statement_analyzer.py:524
3202 msgid ""
3203 "The following statement has no syntax error:\n"
3204 "\n"
3205 " {statement}\n"
3206 msgstr ""
3207
3208 #: syntax_errors\message_analyzer.py:1372
3209 msgid ""
3210 "You have called a function repeating the same keyword argument (`{arg}`).\n"
3211 "Each keyword argument should appear only once in a function call.\n"
3212 msgstr ""
3213
3214 #: syntax_errors\message_analyzer.py:1435
3215 msgid ""
3216 "Python tells us that the closing `{closing}` on the last line shown\n"
3217 "does not match the opening `{opening}` on line {lineno}.\n"
3218 "\n"
3219 msgstr ""
3220
3221 #: syntax_errors\message_analyzer.py:1440
3222 msgid ""
3223 "Python tells us that the closing `{closing}` on the last line shown\n"
3224 "does not match the opening `{opening}`.\n"
3225 "\n"
3226 msgstr ""
3227
3228 #: syntax_errors\message_analyzer.py:1454
3229 msgid "Did you forget something after `*`?\n"
3230 msgstr ""
3231
3232 #: syntax_errors\message_analyzer.py:1455
3233 msgid ""
3234 "Assuming you were defining a function, you need\n"
3235 "to replace `*` by either `*arguments` or\n"
3236 "by `*, named_argument=value`.\n"
3237 msgstr ""
3238
3239 #: syntax_errors\message_analyzer.py:1470
3240 msgid ""
3241 "You assigned a value to the variable `{name}`\n"
3242 "before declaring it as a global variable.\n"
3243 msgstr ""
3244
3245 #: syntax_errors\message_analyzer.py:1494
3246 msgid "Did you forget to add `nonlocal`?\n"
3247 msgstr ""
3248
3249 #: syntax_errors\message_analyzer.py:1495
3250 msgid ""
3251 "You assigned a value to the variable `{name}`\n"
3252 "before declaring it as a nonlocal variable.\n"
3253 msgstr ""
3254
3255 #: syntax_errors\message_analyzer.py:1526
3256 msgid ""
3257 "You are including the statement\n"
3258 "\n"
3259 " {newline}\n"
3260 "\n"
3261 "indicating that `{name}` is a variable defined outside a function.\n"
3262 "You are also using the same `{name}` as an argument for that\n"
3263 "function, thus indicating that it should be variable known only\n"
3264 "inside that function, which is the contrary of what `global` implied.\n"
3265 msgstr ""
3266
3267 #: syntax_errors\message_analyzer.py:1543
3268 msgid ""
3269 "You used `{name}` as a parameter for a function\n"
3270 "before declaring it also as a nonlocal variable:\n"
3271 "`{name}` cannot be both at the same time.\n"
3272 msgstr ""
3273
3274 #: syntax_errors\message_analyzer.py:1558
3275 msgid ""
3276 "You used the variable `{name}`\n"
3277 "before declaring it as a global variable.\n"
3278 msgstr ""
3279
3280 #: syntax_errors\message_analyzer.py:1581
3281 msgid "Did you forget to write `nonlocal` first?\n"
3282 msgstr ""
3283
3284 #: syntax_errors\message_analyzer.py:1583
3285 msgid ""
3286 "You used the variable `{name}`\n"
3287 "before declaring it as a nonlocal variable.\n"
3288 msgstr ""
3289
3290 #: syntax_errors\message_analyzer.py:1607
3291 msgid ""
3292 "You declared the variable `{name}` as being a\n"
3293 "nonlocal variable but it cannot be found.\n"
3294 msgstr ""
3295
3296 #: syntax_errors\message_analyzer.py:1618
3297 msgid ""
3298 "You used the nonlocal keyword at a module level.\n"
3299 "The nonlocal keyword refers to a variable inside a function\n"
3300 "given a value outside that function."
3301 msgstr ""
3302
3303 #: syntax_errors\message_analyzer.py:1630
3304 msgid ""
3305 "In Python, you can define functions with only positional arguments\n"
3306 "\n"
3307 " def test(a, b, c): ...\n"
3308 "\n"
3309 "or only keyword arguments\n"
3310 "\n"
3311 " def test(a=1, b=2, c=3): ...\n"
3312 "\n"
3313 "or a combination of the two\n"
3314 "\n"
3315 " def test(a, b, c=3): ...\n"
3316 "\n"
3317 "but with the keyword arguments appearing after all the positional ones.\n"
3318 "According to Python, you used positional arguments after keyword ones.\n"
3319 msgstr ""
3320
3321 #: syntax_errors\message_analyzer.py:1650
3322 #: syntax_errors\statement_analyzer.py:1332
3323 msgid ""
3324 "I am guessing that you wanted to use an `except` statement\n"
3325 "with multiple exception types. If that is the case, you must\n"
3326 "surround them with parentheses.\n"
3327 msgstr ""
3328
3329 #: syntax_errors\message_analyzer.py:1662
3330 msgid ""
3331 "In Python, you can call functions with only positional arguments\n"
3332 "\n"
3333 " test(1, 2, 3)\n"
3334 "\n"
3335 "or only keyword arguments\n"
3336 "\n"
3337 " test(a=1, b=2, c=3)\n"
3338 "\n"
3339 "or a combination of the two\n"
3340 "\n"
3341 " test(1, 2, c=3)\n"
3342 "\n"
3343 "but with the keyword arguments appearing after all the positional ones.\n"
3344 "According to Python, you used positional arguments after keyword ones.\n"
3345 msgstr ""
3346
3347 #: syntax_errors\message_analyzer.py:1689
3348 #: syntax_errors\statement_analyzer.py:658
3349 msgid ""
3350 "Perhaps you need to type\n"
3351 "\n"
3352 " print({message})\n"
3353 "\n"
3354 "In older version of Python, `print` was a keyword.\n"
3355 "Now, `print` is a function; you need to use parentheses to call it.\n"
3356 msgstr ""
3357
3358 #: syntax_errors\message_analyzer.py:1696
3359 #: syntax_errors\statement_analyzer.py:665
3360 msgid "Note that arguments of `print` must be separated by commas.\n"
3361 msgstr ""
3362
3363 #: syntax_errors\message_analyzer.py:1697
3364 #: syntax_errors\statement_analyzer.py:666
3365 msgid "Did you mean `print({message})`?\n"
3366 msgstr ""
3367
3368 #: syntax_errors\message_analyzer.py:1706
3369 msgid "You can only use a `return` statement inside a function or method.\n"
3370 msgstr ""
3371
3372 #: syntax_errors\message_analyzer.py:1715
3373 msgid ""
3374 "A star assignment must be of the form:\n"
3375 "\n"
3376 " ... *name = list_or_tuple\n"
3377 "\n"
3378 msgstr ""
3379
3380 #: syntax_errors\message_analyzer.py:1725
3381 msgid ""
3382 "It looks like you tried to use a starred expression as a dict value;\n"
3383 "this is not allowed.\n"
3384 msgstr ""
3385
3386 #: syntax_errors\message_analyzer.py:1752
3387 msgid ""
3388 "Your code is too complex for Python:\n"
3389 "you need to reduce the number of indented code blocks\n"
3390 "contained inside other code blocks.\n"
3391 msgstr ""
3392
3393 #: syntax_errors\message_analyzer.py:1765
3394 msgid ""
3395 "Your code is too complex for Python:\n"
3396 "you need to reduce the number of parentheses\n"
3397 "contained inside other parentheses.\n"
3398 msgstr ""
3399
3400 #: syntax_errors\message_analyzer.py:1780
3401 msgid ""
3402 "Python indicates that you need to surround an expression\n"
3403 "ending with a comma by parentheses.\n"
3404 msgstr ""
3405
3406 #: syntax_errors\message_analyzer.py:1784
3407 msgid ""
3408 "I have no additional suggestion to offer.\n"
3409 "Please feel free to report this case.\n"
3410 msgstr ""
3411
3412 #: syntax_errors\message_analyzer.py:1794
3413 msgid ""
3414 "Perhaps you meant to write\n"
3415 "\n"
3416 "`{new_statement}`\n"
3417 msgstr ""
3418
3419 #: syntax_errors\message_analyzer.py:1802
3420 msgid "However, I suspect that you wrote the keyword `{boolean}` by mistake.\n"
3421 msgstr ""
3422
3423 #: syntax_errors\message_analyzer.py:1806
3424 msgid ""
3425 "The Python keyword `{boolean}` can only be used for boolean expressions.\n"
3426 msgstr ""
3427
3428 #: syntax_errors\message_analyzer.py:1818
3429 #: syntax_errors\message_analyzer.py:1831
3430 msgid "However, if you remove the last comma, there will be no syntax error.\n"
3431 msgstr ""
3432
3433 #: syntax_errors\message_analyzer.py:1846
3434 msgid ""
3435 "You are using the continuation character `\\` outside of a string,\n"
3436 "and it is followed by some other character(s).\n"
3437 msgstr ""
3438
3439 #: syntax_errors\message_analyzer.py:1869
3440 msgid ""
3441 "I am guessing that you wanted to divide by the number {number} \n"
3442 "and wrote \\ instead of /."
3443 msgstr ""
3444
3445 #: syntax_errors\message_analyzer.py:1873
3446 msgid "Did you mean to divide by {number}?\n"
3447 msgstr ""
3448
3449 #: syntax_errors\message_analyzer.py:1876
3450 msgid "I am guessing that you forgot to enclose some content in a string.\n"
3451 msgstr ""
3452
3453 #: syntax_errors\message_analyzer.py:1885
3454 msgid ""
3455 "Python tells us that it reached the end of the file\n"
3456 "and expected more content.\n"
3457 "\n"
3458 msgstr ""
3459
3460 #: syntax_errors\message_analyzer.py:1892
3461 msgid ""
3462 "I will attempt to be give a bit more information.\n"
3463 "\n"
3464 msgstr ""
3465
3466 #: syntax_errors\message_analyzer.py:1903
3467 msgid ""
3468 "I suspect that you wrote a string that contains\n"
3469 "one backslash character, `\\` followed by an uppercase `U`\n"
3470 "and some more characters.\n"
3471 "Python likely interpreted this as indicating the beginning of\n"
3472 "what is known as an escape sequence for special unicode characters.\n"
3473 "To solve the problem, either write a so-called 'raw string'\n"
3474 "by adding the letter `r` as a prefix in\n"
3475 "front of the string, or replace `\\U`, by `\\\\U`.\n"
3476 msgstr ""
3477
3478 #: syntax_errors\message_analyzer.py:1927
3479 #: syntax_errors\statement_analyzer.py:127
3480 msgid "The closing {bracket} on line {linenumber} does not match anything.\n"
3481 msgstr ""
3482
3483 #: syntax_errors\message_analyzer.py:1938
3484 msgid "Perhaps you forgot a closing quote.\n"
3485 msgstr ""
3486
3487 #: syntax_errors\message_analyzer.py:1955
3488 msgid ""
3489 "Inside the f-string `{fstring}`, \n"
3490 "you have another string, which starts with either a\n"
3491 "single quote (') or double quote (\"), without a matching closing one.\n"
3492 msgstr ""
3493
3494 #: syntax_errors\message_analyzer.py:1968
3495 msgid "You can only use a `yield` statement inside a function.\n"
3496 msgstr ""
3497
3498 #: syntax_errors\message_analyzer.py:1977
3499 msgid ""
3500 "This is a message that was added in Python 3.9\n"
3501 "to prevent redefining `__peg_parser__`.\n"
3502 "It should not be present in other versions.\n"
3503 msgstr ""
3504
3505 #: syntax_errors\message_analyzer.py:2039
3506 msgid ""
3507 "Friendly-traceback cannot identify the non-printable character.\n"
3508 "This should not happen. Please report this case"
3509 msgstr ""
3510
3511 #: syntax_errors\message_analyzer.py:2053
3512 #: syntax_errors\statement_analyzer.py:107
3513 msgid "Your code contains the invalid non-printable character {char}.\n"
3514 msgstr ""
3515
3516 #: syntax_errors\statement_analyzer.py:162
3517 msgid ""
3518 "The closing {bracket} on line {close_lineno} does not match the opening "
3519 "{open_bracket} on line {open_lineno}.\n"
3520 msgstr ""
3521
3522 #: syntax_errors\statement_analyzer.py:184
3523 msgid "Did you mean to write `...`?\n"
3524 msgstr ""
3525 "Did you mean to write `...`?\n"
3526 "\n"
3527
3528 #: syntax_errors\statement_analyzer.py:185
3529 msgid ""
3530 "It looks like you meant to write `...` but added an extra `.` by mistake.\n"
3531 msgstr ""
3532
3533 #: syntax_errors\statement_analyzer.py:199
3534 msgid ""
3535 "It looks like you copy-pasted code from an interactive interpreter.\n"
3536 "The Python prompt, `>>>`, should not be included in your code.\n"
3537 msgstr ""
3538
3539 #: syntax_errors\statement_analyzer.py:209
3540 msgid ""
3541 "It looks like you copy-pasted code from an interactive interpreter.\n"
3542 "The Python prompt, `...`, should not be included in your code.\n"
3543 msgstr ""
3544
3545 #: syntax_errors\statement_analyzer.py:223
3546 msgid "You should not use the backquote character.\n"
3547 msgstr ""
3548
3549 #: syntax_errors\statement_analyzer.py:224
3550 msgid ""
3551 "You are using the backquote character.\n"
3552 "Either you meant to write a single quote, ', or copied Python 2 code;\n"
3553 "in this latter case, use the function `repr(x)`."
3554 msgstr ""
3555
3556 #: syntax_errors\statement_analyzer.py:245
3557 msgid "You forgot to add a condition.\n"
3558 msgstr ""
3559
3560 #: syntax_errors\statement_analyzer.py:247
3561 msgid ""
3562 "An `if` statement requires a condition:\n"
3563 "\n"
3564 " if condition:\n"
3565 " ...\n"
3566 "\n"
3567 msgstr ""
3568
3569 #: syntax_errors\statement_analyzer.py:253
3570 msgid ""
3571 "A `while` loop requires a condition:\n"
3572 "\n"
3573 " while condition:\n"
3574 " ...\n"
3575 "\n"
3576 msgstr ""
3577
3578 #: syntax_errors\statement_analyzer.py:259
3579 msgid "A `for` loop requires at least 3 more terms.\n"
3580 msgstr ""
3581
3582 #: syntax_errors\statement_analyzer.py:260
3583 msgid ""
3584 "A `for` loop is an iteration over a sequence:\n"
3585 "\n"
3586 " for element in sequence:\n"
3587 " ...\n"
3588 "\n"
3589 msgstr ""
3590
3591 #: syntax_errors\statement_analyzer.py:266
3592 msgid "A class needs a name.\n"
3593 msgstr ""
3594
3595 #: syntax_errors\statement_analyzer.py:267
3596 msgid ""
3597 "A `class` statement requires a name:\n"
3598 "\n"
3599 " class SomeName:\n"
3600 " ...\n"
3601 "\n"
3602 msgstr ""
3603
3604 #: syntax_errors\statement_analyzer.py:284
3605 msgid ""
3606 "You cannot use the Python keyword `{word}` as an attribute.\n"
3607 "\n"
3608 msgstr ""
3609
3610 #: syntax_errors\statement_analyzer.py:290
3611 msgid "`{word}` cannot be used as an attribute.\n"
3612 msgstr ""
3613
3614 #: syntax_errors\statement_analyzer.py:312
3615 msgid "Perhaps you meant to write `elif`.\n"
3616 msgstr ""
3617
3618 #: syntax_errors\statement_analyzer.py:313
3619 msgid ""
3620 "You likely meant to use Python's `elif` keyword\n"
3621 "but wrote `{name}` instead.\n"
3622 "\n"
3623 msgstr ""
3624
3625 #: syntax_errors\statement_analyzer.py:332
3626 msgid "Did you mean `from {module} import {function}`?\n"
3627 msgstr ""
3628
3629 #: syntax_errors\statement_analyzer.py:335
3630 msgid ""
3631 "You wrote something like\n"
3632 "\n"
3633 " import {function} from {module}\n"
3634 "\n"
3635 "instead of\n"
3636 "\n"
3637 " from {module} import {function}\n"
3638 "\n"
3639 msgstr ""
3640
3641 #: syntax_errors\statement_analyzer.py:406
3642 msgid ""
3643 "The augmented assignment operator is not allowed in Python version "
3644 "{version}.\n"
3645 msgstr ""
3646
3647 #: syntax_errors\statement_analyzer.py:409
3648 msgid ""
3649 "You appear to be using the operator `:=`, sometimes called\n"
3650 "the walrus operator. This operator requires the use of\n"
3651 "Python 3.8 or newer. You are using version {version}.\n"
3652 msgstr ""
3653
3654 #: syntax_errors\statement_analyzer.py:453
3655 msgid "Did you write operators in an incorrect order?\n"
3656 msgstr ""
3657
3658 #: syntax_errors\statement_analyzer.py:454
3659 msgid ""
3660 "It looks like you wrote two operators (`{first}` and `{second}`)\n"
3661 "in the wrong order: `{wrong}` instead of `{correct}`.\n"
3662 msgstr ""
3663
3664 #: syntax_errors\statement_analyzer.py:490
3665 msgid ""
3666 "You wrote three equal signs in a row which is allowed in some\n"
3667 "programming languages, but not in Python. To check if two objects\n"
3668 "are equal, use two equal signs, `==`; to see if two names represent\n"
3669 "the exact same object, use the operator `is`.\n"
3670 msgstr ""
3671
3672 #: syntax_errors\statement_analyzer.py:496
3673 msgid "Did you mean to use `is` instead of `===`?\n"
3674 msgstr ""
3675
3676 #: syntax_errors\statement_analyzer.py:500
3677 msgid ""
3678 "You cannot have write the same operator, `{op}`, twice in a row.\n"
3679 "Perhaps you wrote one of them by mistake\n"
3680 "or forgot to write something between them.\n"
3681 msgstr ""
3682
3683 #: syntax_errors\statement_analyzer.py:511
3684 msgid ""
3685 "You cannot have these two operators, `{first}` and `{second}`,\n"
3686 "following each other.\n"
3687 "It looks like you tried to use a starred expression as a dict value;\n"
3688 "this is not allowed.\n"
3689 msgstr ""
3690
3691 #: syntax_errors\statement_analyzer.py:528
3692 msgid ""
3693 "You cannot have these two operators, `{first}` and `{second}`,\n"
3694 "following each other. Perhaps you wrote one of them by mistake\n"
3695 "or forgot to write something between them.\n"
3696 msgstr ""
3697
3698 #: syntax_errors\statement_analyzer.py:535
3699 msgid ""
3700 "Or perhaps you included a space by mistake between the two operators\n"
3701 "and meant to write `{oper}` as a single operator.\n"
3702 msgstr ""
3703
3704 #: syntax_errors\statement_analyzer.py:570
3705 msgid "Did you mean to use `=`?\n"
3706 msgstr ""
3707
3708 #: syntax_errors\statement_analyzer.py:571
3709 msgid ""
3710 "You use the augmented assignment operator `:=` where\n"
3711 "the normal assignment operator `=` was required.\n"
3712 msgstr ""
3713
3714 #: syntax_errors\statement_analyzer.py:617
3715 msgid ""
3716 "The following statement would not contain a syntax error:\n"
3717 "\n"
3718 " {new_statement}"
3719 msgstr ""
3720
3721 #: syntax_errors\statement_analyzer.py:623
3722 msgid "Perhaps you needed `==` or `:=` instead of `=`.\n"
3723 msgstr ""
3724
3725 #: syntax_errors\statement_analyzer.py:624
3726 msgid ""
3727 "You used an assignment operator `=`; perhaps you meant to use \n"
3728 "an equality operator, `==`, or the walrus operator `:=`.\n"
3729 msgstr ""
3730
3731 #: syntax_errors\statement_analyzer.py:682
3732 msgid ""
3733 "It looks as if you are attempting to use pip to install a module.\n"
3734 "`pip` is a command that needs to run in a terminal,\n"
3735 "not from a Python interpreter.\n"
3736 msgstr ""
3737
3738 #: syntax_errors\statement_analyzer.py:690
3739 msgid "Pip cannot be used in a Python interpreter.\n"
3740 msgstr ""
3741
3742 #: syntax_errors\statement_analyzer.py:693
3743 msgid ""
3744 "I am guessing that you are attempting to use Python to run a program.\n"
3745 "You must do so from a terminal and not from a Python interpreter.\n"
3746 msgstr ""
3747
3748 #: syntax_errors\statement_analyzer.py:703
3749 msgid "You cannot have a dot `.` followed by `{bracket}`.\n"
3750 msgstr ""
3751
3752 #: syntax_errors\statement_analyzer.py:719
3753 msgid "Perhaps you need to replace the dot by a comma.\n"
3754 msgstr ""
3755
3756 #: syntax_errors\statement_analyzer.py:730
3757 msgid ""
3758 "It looks like you are trying to raise an exception using Python 2 syntax.\n"
3759 msgstr ""
3760
3761 #: syntax_errors\statement_analyzer.py:791
3762 msgid "Did you forget a colon `:`?\n"
3763 msgstr ""
3764
3765 #: syntax_errors\statement_analyzer.py:795
3766 msgid ""
3767 "You wrote a `{for_while}` loop but\n"
3768 "forgot to add a colon `:` at the end\n"
3769 "\n"
3770 msgstr ""
3771
3772 #: syntax_errors\statement_analyzer.py:802
3773 msgid ""
3774 "You wrote a statement beginning with\n"
3775 "`{name}` but forgot to add a colon `:` at the end.\n"
3776 "\n"
3777 msgstr ""
3778
3779 #: syntax_errors\statement_analyzer.py:826
3780 msgid "You wrote a semicolon, `;`, where a comma was expected.\n"
3781 msgstr ""
3782
3783 #: syntax_errors\statement_analyzer.py:846
3784 msgid "You wrote semicolons, `;`, where commas were expected.\n"
3785 msgstr ""
3786
3787 #: syntax_errors\statement_analyzer.py:847
3788 msgid "Did you mean to write commas?\n"
3789 msgstr ""
3790
3791 #: syntax_errors\statement_analyzer.py:867
3792 msgid "You wrote a semicolon, `;`, where a colon was expected.\n"
3793 msgstr ""
3794
3795 #: syntax_errors\statement_analyzer.py:868
3796 msgid "Did you mean to write a colon?\n"
3797 msgstr ""
3798
3799 #: syntax_errors\statement_analyzer.py:886
3800 msgid "Did you made a mistake in writing an hexadecimal integer?\n"
3801 msgstr ""
3802
3803 #: syntax_errors\statement_analyzer.py:887
3804 msgid ""
3805 "It looks like you used an invalid character (`{character}`) in an "
3806 "hexadecimal number.\n"
3807 "\n"
3808 "Hexadecimal numbers are base 16 integers that use the symbols `0` to `9`\n"
3809 "to represent values 0 to 9, and the letters `a` to `f` (or `A` to `F`)\n"
3810 "to represent values 10 to 15.\n"
3811 "In Python, hexadecimal numbers start with either `0x` or `0X`,\n"
3812 "followed by the characters used to represent the value of that integer.\n"
3813 msgstr ""
3814
3815 #: syntax_errors\statement_analyzer.py:906
3816 msgid "Did you made a mistake in writing an octal integer?\n"
3817 msgstr ""
3818
3819 #: syntax_errors\statement_analyzer.py:907
3820 msgid ""
3821 "It looks like you used an invalid character (`{character}`) in an octal "
3822 "number.\n"
3823 "\n"
3824 "Octal numbers are base 8 integers that only use the symbols `0` to `7`\n"
3825 "to represent values.\n"
3826 "In Python, octal numbers start with either `0o` or `0O`,\n"
3827 "(the digit zero followed by the letter `o`)\n"
3828 "followed by the characters used to represent the value of that integer.\n"
3829 msgstr ""
3830
3831 #: syntax_errors\statement_analyzer.py:934
3832 msgid "Valid names cannot begin with a number.\n"
3833 msgstr ""
3834
3835 #: syntax_errors\statement_analyzer.py:941
3836 msgid "Did you mean `{number}j`?\n"
3837 msgstr ""
3838
3839 #: syntax_errors\statement_analyzer.py:942
3840 msgid ""
3841 "Perhaps you thought that `i` could be used to represent\n"
3842 "the square root of `-1`. In Python, the symbol used for this is `j`\n"
3843 "and the complex part is written as `some_number` immediately\n"
3844 "followed by `j`, with no spaces in between.\n"
3845 "Perhaps you meant to write `{number}j`.\n"
3846 msgstr ""
3847
3848 #: syntax_errors\statement_analyzer.py:952
3849 #, fuzzy
3850 #| msgid "Did you mean `{name}`?\n"
3851 msgid "Did you mean `{number}{second}0`?\n"
3852 msgstr "Intendevi `{name}`?\n"
3853
3854 #: syntax_errors\statement_analyzer.py:955
3855 msgid ""
3856 "Perhaps you meant to write `{number}{second}0` in scientific notation\n"
3857 "and forgot the numerical value for the exponent.\n"
3858 msgstr ""
3859
3860 #: syntax_errors\statement_analyzer.py:962
3861 msgid ""
3862 "[Note: `{first} * {second}` would also be valid\n"
3863 "since `{first}` is a complex number.]\n"
3864 msgstr ""
3865
3866 #: syntax_errors\statement_analyzer.py:973
3867 msgid "Perhaps you forgot a multiplication operator, `{first} * {second}`.\n"
3868 msgstr ""
3869
3870 #: syntax_errors\statement_analyzer.py:988
3871 msgid "Your Python version does not support this f-string feature.\n"
3872 msgstr ""
3873
3874 #: syntax_errors\statement_analyzer.py:989
3875 msgid ""
3876 "You are likely using a 'debug' syntax of f-strings introduced\n"
3877 "in Python version 3.8. You are using version {version}.\n"
3878 msgstr ""
3879
3880 #: syntax_errors\statement_analyzer.py:995
3881 msgid ""
3882 "You are likely trying to assign a value within an f-string.\n"
3883 "This is not allowed.\n"
3884 msgstr ""
3885
3886 #: syntax_errors\statement_analyzer.py:1010
3887 msgid ""
3888 "The content of your f-string is invalid. Please consult the documentation:\n"
3889 "https://docs.python.org/3/reference/lexical_analysis.html#f-strings\n"
3890 msgstr ""
3891
3892 #: syntax_errors\statement_analyzer.py:1020
3893 msgid "Python keywords cannot be used as identifiers (variable names).\n"
3894 msgstr ""
3895
3896 #: syntax_errors\statement_analyzer.py:1044
3897 msgid ""
3898 "`lambda` does not allow parentheses around its arguments.\n"
3899 "This was allowed in Python 2 but it not allowed in Python 3.\n"
3900 msgstr ""
3901
3902 #: syntax_errors\statement_analyzer.py:1061
3903 msgid ""
3904 "You cannot have explicit tuples as arguments.\n"
3905 "Assign any tuple to a parameter and unpack it\n"
3906 "within the body of the function.\n"
3907 msgstr ""
3908
3909 #: syntax_errors\statement_analyzer.py:1099
3910 msgid "If you remove `{type_decl}`, you will have a valid Python statement.\n"
3911 msgstr ""
3912
3913 #: syntax_errors\statement_analyzer.py:1103
3914 msgid ""
3915 "However, even if you remove `{type_decl}`, there would still be some\n"
3916 "some syntax errors.\n"
3917 msgstr ""
3918
3919 #: syntax_errors\statement_analyzer.py:1108
3920 msgid "You do not need to declare variables in Python.\n"
3921 msgstr ""
3922
3923 #: syntax_errors\statement_analyzer.py:1109
3924 msgid ""
3925 "It looks like you were trying to declare that `{var}` was\n"
3926 "a variable using the word `{type_decl}`.\n"
3927 msgstr ""
3928
3929 #: syntax_errors\statement_analyzer.py:1146
3930 msgid ""
3931 "I am guessing that you forgot a comma between two strings\n"
3932 "when defining a dict.\n"
3933 "\n"
3934 msgstr ""
3935
3936 #: syntax_errors\statement_analyzer.py:1198
3937 msgid "Did you forget to write `in`?\n"
3938 msgstr ""
3939
3940 #: syntax_errors\statement_analyzer.py:1199
3941 msgid ""
3942 "It looks as though you forgot to use the keyword `in`\n"
3943 "as part of a `for` statement. Perhaps you meant:\n"
3944 "\n"
3945 " {new_statement}\n"
3946 "\n"
3947 msgstr ""
3948
3949 #: syntax_errors\statement_analyzer.py:1227
3950 msgid "Did you forget to write parenthesis?\n"
3951 msgstr ""
3952
3953 #: syntax_errors\statement_analyzer.py:1228
3954 msgid ""
3955 "It looks as though you forgot to use to use parenthesis with `range`.\n"
3956 "Perhaps you meant:\n"
3957 "\n"
3958 " {new_statement}\n"
3959 "\n"
3960 msgstr ""
3961
3962 #: syntax_errors\statement_analyzer.py:1260
3963 msgid ""
3964 "Perhaps you meant to write `{keyword}` and made a typo.\n"
3965 "The correct line might be `{line}`\n"
3966 msgstr ""
3967
3968 #: syntax_errors\statement_analyzer.py:1273
3969 msgid ""
3970 "I am guessing that you were writing a comprehension or a generator "
3971 "expression\n"
3972 "and use the wrong order for a condition.\n"
3973 "The correct order depends if there is an `else` clause or not.\n"
3974 "For example, the correct order for a list comprehensions with\n"
3975 "condition can be either\n"
3976 "\n"
3977 " [f(x) if condition else other for x in sequence] # 'if' before 'for'\n"
3978 "\n"
3979 "or, if there is no `else`\n"
3980 "\n"
3981 " [f(x) for x in sequence if condition] # 'if' after 'for'\n"
3982 "\n"
3983 msgstr ""
3984
3985 #: syntax_errors\statement_analyzer.py:1385
3986 msgid ""
3987 "You cannot have spaces in identifiers (variable names).\n"
3988 "Perhaps you meant `{name}`?\n"
3989 msgstr ""
3990
3991 #: syntax_errors\statement_analyzer.py:1407
3992 msgid "`bf` is an illegal string prefix.\n"
3993 msgstr ""
3994
3995 #: syntax_errors\statement_analyzer.py:1408
3996 msgid ""
3997 "I am guessing that you wanted a binary f-string;\n"
3998 "this is not allowed.\n"
3999 msgstr ""
4000
4001 #: syntax_errors\statement_analyzer.py:1432
4002 msgid ""
4003 "It is possible that you forgot a comma between items in a tuple, \n"
4004 "or between function arguments, \n"
4005 "at the position indicated by ^.\n"
4006 msgstr ""
4007
4008 #: syntax_errors\statement_analyzer.py:1440
4009 msgid ""
4010 "It is possible that you forgot a comma between items in a list\n"
4011 "at the position indicated by ^.\n"
4012 msgstr ""
4013
4014 #: syntax_errors\statement_analyzer.py:1446
4015 msgid ""
4016 "It is possible that you forgot a comma between items in a set or dict\n"
4017 "at the position indicated by ^.\n"
4018 msgstr ""
4019
4020 #: syntax_errors\statement_analyzer.py:1476
4021 msgid ""
4022 "Python indicates that the error is caused by `{second}` written immediately "
4023 "after `{first}`.\n"
4024 msgstr ""
4025
4026 #: syntax_errors\statement_analyzer.py:1533
4027 msgid "Perhaps you meant{line}"
4028 msgstr ""
4029
4030 #: syntax_errors\statement_analyzer.py:1540
4031 msgid "Did you forget something between `{first}` and `{second}`?\n"
4032 msgstr ""
4033
4034 #: syntax_errors\statement_analyzer.py:1555
4035 msgid ""
4036 "Perhaps you meant to insert an operator like `{operators}`\n"
4037 "between `{first}` and `{second}`.\n"
4038 "The following lines of code would not cause any `SyntaxError`:\n"
4039 "\n"
4040 msgstr ""
4041
4042 #: syntax_errors\statement_analyzer.py:1564
4043 msgid ""
4044 "Note: these are just some of the possible choices and that\n"
4045 "some of them might raise other types of exceptions.\n"
4046 msgstr ""
4047
4048 #: syntax_errors\statement_analyzer.py:1571
4049 msgid "There is an additional possibility.\n"
4050 msgstr ""
4051
4052 #: syntax_errors\statement_analyzer.py:1586
4053 msgid ""
4054 "It is possible that you used an equal sign `=` instead of a colon `:`\n"
4055 "to assign values to keys in a dict\n"
4056 "before or at the position indicated by ^.\n"
4057 msgstr ""
4058
4059 #: syntax_errors\statement_analyzer.py:1609
4060 msgid ""
4061 "The Python keyword `{boolean}` can only be used for boolean expressions.\n"
4062 "Perhaps you meant to write\n"
4063 "\n"
4064 "`{new_statement}`\n"
4065 msgstr ""
4066
4067 #: syntax_errors\statement_analyzer.py:1639
4068 msgid ""
4069 "I am guessing that you are trying to import at least one object\n"
4070 "from module `{module}` and rename it using the Python keyword `as`;\n"
4071 "this keyword can only be used to rename one object at a time\n"
4072 "using a well defined syntax.\n"
4073 "I suggest that you split up any such import statement with each object\n"
4074 "renamed on a separate line as follows:\n"
4075 "\n"
4076 " from {module} import object_1 as name_1\n"
4077 " from {module} import object_2 as name_2 # if needed\n"
4078 msgstr ""
4079
4080 #: syntax_errors\statement_analyzer.py:1669
4081 msgid ""
4082 "I am guessing that you wrote {bad_token} twice in a row by mistake.\n"
4083 "If that is the case, you need to remove the second one.\n"
4084 msgstr ""
4085
4086 #: syntax_errors\statement_analyzer.py:1673
4087 msgid "Did you write {bad_token} twice by mistake?\n"
4088 msgstr ""
4089
4090 #: syntax_errors\statement_analyzer.py:1700
4091 msgid ""
4092 "I am guessing that you wrote {bad_token} by mistake.\n"
4093 "Removing it and writing `{line}` seems to fix the error.\n"
4094 msgstr ""
4095
4096 #: syntax_errors\statement_analyzer.py:1704
4097 msgid "Did you write {bad_token} by mistake?\n"
4098 msgstr ""
4099
4100 #: syntax_errors\statement_analyzer.py:1721
4101 msgid ""
4102 "It looks like the error occurred as you were writing a Python dict.\n"
4103 "Perhaps wrote a dict key without writing the corresponding value.\n"
4104 msgstr ""
4105
4106 #: syntax_errors\statement_analyzer.py:1737
4107 msgid ""
4108 "The `else` keyword does not begin a code block that matches\n"
4109 "a valid code block, possibly because `else` is not indented correctly.\n"
4110 msgstr ""
4111
4112 #: syntax_errors\statement_analyzer.py:1749
4113 msgid ""
4114 "The `elif` keyword does not begin a code block that matches\n"
4115 "an `if` block, possibly because `elif` is not indented correctly.\n"
4116 msgstr ""
4117
4118 #: syntax_errors\statement_analyzer.py:1762
4119 msgid ""
4120 "The `except` keyword does not begin a code block that matches\n"
4121 "a `try` block, possibly because `except` is not indented correctly.\n"
4122 msgstr ""
4123
4124 #: syntax_errors\statement_analyzer.py:1775
4125 msgid ""
4126 "The `finally` keyword does not begin a code block that matches\n"
4127 "a `try` block, possibly because `finally` is not indented correctly.\n"
4128 msgstr ""
4129
4130 #: syntax_errors\statement_analyzer.py:1814
4131 msgid "You used square brackets, `[...]` instead of parentheses.\n"
4132 msgstr ""
4133
4134 #: syntax_errors\statement_analyzer.py:1818
4135 msgid ""
4136 "Write the following instead:\n"
4137 "\n"
4138 "{new_statement}"
4139 msgstr ""
4140
4141 #: syntax_errors\statement_analyzer.py:1862
4142 msgid "The opening {bracket} on line {linenumber} is not closed.\n"
4143 msgstr ""
4144
4145 #: syntax_errors\statement_analyzer.py:1876
4146 msgid "If this is incorrect, please report this case.\n"
4147 msgstr ""
4148
4149 #: syntax_errors\statement_analyzer.py:1888
4150 msgid ""
4151 "Perhaps you wrote a statement beginning a code block\n"
4152 "intended to be part of a generator expression.\n"
4153 "You cannot have separate code blocks inside generator expressions.\n"
4154 msgstr ""
4155
4156 #: syntax_errors\statement_analyzer.py:1894
4157 msgid ""
4158 "Perhaps you wrote a statement beginning a code block\n"
4159 "intended to be part of a list comprehension.\n"
4160 "You cannot have separate code blocks inside list comprehensions.\n"
4161 msgstr ""
4162
4163 #: syntax_errors\statement_analyzer.py:1900
4164 msgid ""
4165 "Perhaps you wrote a statement beginning a code block\n"
4166 "intended to be part of a dict or set comprehension.\n"
4167 "You cannot have separate code blocks inside dict or set comprehensions.\n"
4168 msgstr ""
4169
4170 #: syntax_errors\statement_analyzer.py:1906
4171 msgid "If this explanation is incorrect, please report this case.\n"
4172 msgstr ""
4173
4174 #: syntax_errors\syntax_utils.py:22
4175 msgid "parenthesis `(`"
4176 msgstr ""
4177
4178 #: syntax_errors\syntax_utils.py:23
4179 msgid "parenthesis `)`"
4180 msgstr ""
4181
4182 #: syntax_errors\syntax_utils.py:24
4183 msgid "square bracket `[`"
4184 msgstr ""
4185
4186 #: syntax_errors\syntax_utils.py:25
4187 msgid "square bracket `]`"
4188 msgstr ""
4189
4190 #: syntax_errors\syntax_utils.py:26
4191 msgid "curly bracket `{`"
4192 msgstr ""
4193
4194 #: syntax_errors\syntax_utils.py:27
4195 msgid "curly bracket `}`"
4196 msgstr ""
4197
4198 #: syntax_errors\syntax_utils.py:60
4199 msgid "Did you mean to use a normal quote character, `'` or `\"`?\n"
4200 msgstr ""
4201
4202 #: syntax_errors\syntax_utils.py:61
4203 msgid ""
4204 "I suspect that you used a fancy unicode quotation mark\n"
4205 "whose name is {name}\n"
4206 "instead of a normal single or double quote for a string.\n"
4207 msgstr ""
4208
4209 #: syntax_errors\syntax_utils.py:76
4210 msgid "Or perhaps, you meant to write a less than sign, `<`.\n"
4211 msgstr ""
4212
4213 #: syntax_errors\syntax_utils.py:78
4214 msgid "Or perhaps, you meant to write a greater than sign, `>`.\n"
4215 msgstr ""
4216
4217 #: syntax_errors\syntax_utils.py:80
4218 msgid "Or perhaps, you meant to write a comma.\n"
4219 msgstr ""
4220
4221 #: syntax_errors\syntax_utils.py:97
4222 msgid ""
4223 "I suspect that you used a fancy unicode quotation mark\n"
4224 "whose name is {name}.\n"
4225 "\n"
4226 msgstr ""
4227
4228 #: syntax_errors\syntax_utils.py:112
4229 msgid "Perhaps, you meant to write a less than sign, `<`.\n"
4230 msgstr ""
4231
4232 #: syntax_errors\syntax_utils.py:113
4233 msgid "Did you mean to write a less than sign, `<`?\n"
4234 msgstr ""
4235
4236 #: syntax_errors\syntax_utils.py:115
4237 msgid "Perhaps, you meant to write a greater than sign, `>`.\n"
4238 msgstr ""
4239
4240 #: syntax_errors\syntax_utils.py:116
4241 msgid "Did you mean to write a greater than sign, `>`?\n"
4242 msgstr ""
4243
4244 #: syntax_errors\syntax_utils.py:118
4245 msgid "Perhaps, you meant to write a comma.\n"
4246 msgstr ""
4247
4248 #: syntax_errors\syntax_utils.py:136
4249 msgid ""
4250 "I suspect that you used the unicode character known as\n"
4251 "'FRACTION SLASH', which looks similar to\n"
4252 "but is different from the division operator `/`.\n"
4253 msgstr ""
4254
4255 #: syntax_errors\syntax_utils.py:143
4256 msgid "Did you use a unicode fraction?\n"
4257 msgstr ""
4258
4259 #: syntax_errors\syntax_utils.py:144
4260 msgid ""
4261 "I suspect that you used the unicode character `{char}`meant to represent a "
4262 "fraction.\n"
4263 "The name of this unicode character is {name}.\n"
4264 msgstr ""
4265
4266 #: syntax_errors\syntax_utils.py:181
4267 msgid "Did you mean `{num}/{denom}`?\n"
4268 msgstr ""
4269
4270 #: syntax_errors\syntax_utils.py:182
4271 msgid ""
4272 "You used the unicode character {char} which is known as\n"
4273 "{name}\n"
4274 "I suspect that you meant to write the fraction `{num}/{denom}` instead.\n"
4275 msgstr ""
4276
4277 #: warning_parsers\syntax_warning.py:47
4278 msgid ""
4279 "You have {container_type} followed by square brackets, `[...]`.\n"
4280 "What is included between the square brackets, `[...]`,\n"
4281 "must be either an integer or a slice\n"
4282 "(`start:stop` or `start:stop:step`) \n"
4283 "and you have used {obj_type} instead.\n"
4284 msgstr ""
4285
4286 #~ msgid "Changes the prompt style to be used in the Friendly console."
4287 #~ msgstr "Cambia lo stile del prompt da usare nella console di Friendly."
4288
4289 #~ msgid "Nothing to go back to: no exception recorded."
4290 #~ msgstr "Non è possibile tornare indietro: nessuna eccezione rilevata."
4291
4292 #~ msgid "Removes the last recorded traceback item."
4293 #~ msgstr "Rimuove l'ultimo record traceback registrato."
4294
4295 #~ msgid "No information is available about this warning.\n"
4296 #~ msgstr "Non sono disponibili informazioni circa questo \"warning\".\n"
4297
4298 #~ msgid ""
4299 #~ "`{filename}` is not a regular Python file whose contents\n"
4300 #~ "can be analyzed.\n"
4301 #~ msgstr ""
4302 #~ "`{filename}` non è un file in formato Python. Il suo contenuto non può "
4303 #~ "essere analizzato.\n"