Difference between revisions of "File module_errors.txt"
Jump to navigation
Jump to search
(→Example of a module_errors.txt file) |
(→Example of a module_errors.txt file) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
[E205]:Bitte geben Sie eine Emailadresse an. | [E205]:Bitte geben Sie eine Emailadresse an. | ||
[E205]:[setup]Die Angabe einer Emailadresse ist erforderlich. | [E205]:[setup]Die Angabe einer Emailadresse ist erforderlich. | ||
| − | [ | + | [E701]:[username]Der angegebene Benutzername ist zu kurz. |
| − | [ | + | [E701]:[username]Wählen Sie einen Benutzernamen der mindestens 5 Zeichen lang ist. |
| − | [ | + | [E701]:[password]Das angegebene Passwort ist zu kurz. |
== Syntax == | == 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. | ||
Latest revision as of 09:58, 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. [E701]:[username]Der angegebene Benutzername ist zu kurz. [E701]:[username]Wählen Sie einen Benutzernamen der mindestens 5 Zeichen lang ist. [E701]:[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.