Skip to content

Commit

Permalink
Fehlermeldung Domainformat angepasst
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingo Winter committed Nov 15, 2019
1 parent d881e11 commit 3ee2121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lang/de_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ iwcc_text_edit = Text bearbeiten
iwcc_domains = Domains
iwcc_domain = Domain
iwcc_domain_empty_msg = Domain ist ein Pflichtfeld
iwcc_domain_malformed_msg = Domain bitte im Format <code>meinedomain.de</code> eingeben, ohne Protokoll oder Pfade - zb
iwcc_domain_malformed_msg = Domain bitte im Format <code>meinedomain.de</code> eingeben
iwcc_domain_add = Domain hinzufügen
iwcc_domain_edit = Domain bearbeiten
iwcc_domain_privacy_policy = Datenschutzerklärung
Expand Down
2 changes: 1 addition & 1 deletion pages/domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
$field = $form->addTextField('uid');
$field->setLabel($this->i18n('iwcc_domain'));
$field->getValidator()->add('notEmpty', $this->i18n('iwcc_domain_empty_msg'));
$field->getValidator()->add('custom', $this->i18n('iwcc_domain_malformed_msg') . ' <code>' . $_SERVER['HTTP_HOST'] . '</code>', 'iwcc_rex_form::validateHostname');
$field->getValidator()->add('custom', $this->i18n('iwcc_domain_malformed_msg'), 'iwcc_rex_form::validateHostname');

$field = $form->addLinkmapField('privacy_policy');
$field->setLabel($this->i18n('iwcc_domain_privacy_policy'));
Expand Down

0 comments on commit 3ee2121

Please sign in to comment.