Difference between revisions of "File module_errors.txt"
Jump to navigation
Jump to search
(→Example of a module_errors.txt file) |
(→Syntax) |
||
| Line 14: | Line 14: | ||
* ''error-code'' - The error code. | * ''error-code'' - The error code. | ||
| − | * ''error-token'' - Optional string, which specifies the error. If ''error-token'' is given, the ''error-description'' of this line is only shown, when ''error-token'' matches with the error token of the current error instance. | + | * ''error-token'' - Optional string, which specifies an additional property of the error. If ''error-token'' is given, the ''error-description'' of this line is only shown, when ''error-token'' matches with the error token of the current error instance. |
* ''error-description'' - Description of the error. | * ''error-description'' - Description of the error. | ||
Revision as of 09:34, 22 September 2019
Example of a module_errors.txt file
[E201]:Das angegebene Passwort ist falsch. [E205]:Bitte geben Sie eine Emailadresse an. [E205]:[setup]Die Angabe einer Emailadresse ist erforderlich. [E401]:[username]Der angegebene Benutzername ist zu kurz. [E401]:[username]Wählen Sie einen Benutzernamen der mindestens 5 Zeichen lang ist. [E401]:[password]Das angegebene Passwort ist zu kurz.
Syntax
\[Eerror-code\]:[\[error-token\]]error-description[\n...]
- error-code - The error code.
- error-token - Optional string, which specifies an additional property of the error. If error-token is given, the error-description of this line is only shown, when error-token matches with the error token of the current error instance.
- error-description - Description of the error.