Skip to content

Commit

Permalink
TASK: strong Tag formatierung für den Hinweistext beim Enddatum Feld …
Browse files Browse the repository at this point in the history
…ergänzt
  • Loading branch information
crydotsnake committed Feb 17, 2025
1 parent 6b2ea6c commit 520c239
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lang/de_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ maintenance_announcement_start_date_label = Startdatum
maintenance_announcement_start_date_notice = Datum, <strong>ab wann die Ankündigung gezeigt werden soll</strong>. Nicht, ab wann die Website in den Wartungsmodus wechseln soll. Aktuelle Serverzeit: <code>{0}</code>.

maintenance_announcement_end_date_label = Enddatum
maintenance_announcement_end_date_notice = Datum, bis wann die Ankündigung gezeigt werden soll. Aktuelle Serverzeit: <code>{0}</code>.
maintenance_announcement_end_date_notice = Datum, <strong>bis wann die Ankündigung gezeigt werden soll</strong>. Aktuelle Serverzeit: <code>{0}</code>.

maintenance_allowed_access_title = Ausnahmen

Expand Down
2 changes: 1 addition & 1 deletion lang/en_gb.lang
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ maintenance_announcement_start_date_label = Start Date
maintenance_announcement_start_date_notice = Date from <strong>when the announcement should be shown</strong>. Not from when the website will switch to maintenance mode. Current server time: <code>{0}</code>.

maintenance_announcement_end_date_label = End Date
maintenance_announcement_end_date_notice = Date until when the announcement should be shown. Current server time: <code>{0}</code>.
maintenance_announcement_end_date_notice = Date <strong>until when the announcement should be shown</strong>. Current server time: <code>{0}</code>.

maintenance_allowed_access_title = Exceptions

Expand Down
2 changes: 1 addition & 1 deletion pages/frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

$field = $form->addTextField('announcement_end_date');
$field->setLabel($addon->i18n('maintenance_announcement_end_date_label'));
$field->setNotice($addon->i18n('maintenance_announcement_end_date_notice', date('Y-m-d H:i:s')));
$field->setNotice(rex_i18n::rawMsg('maintenance_announcement_end_date_notice', date('Y-m-d H:i:s')));
$field->setAttribute('type', 'datetime-local');
}

Expand Down

0 comments on commit 520c239

Please sign in to comment.