cleaning more translations

This commit is contained in:
Xu 2023-10-02 16:15:25 +02:00 committed by Igor Scheller
parent fc58d55274
commit 6195692d3d
26 changed files with 84 additions and 263 deletions

View File

@ -10,7 +10,7 @@ function mail_user_delete($user)
{ {
return engelsystem_email_to_user( return engelsystem_email_to_user(
$user, $user,
__('Your account has been deleted'), __('Your account has been deleted.'),
__( __(
'Your %s account has been deleted. If you have any questions regarding your account deletion, please contact heaven.', 'Your %s account has been deleted. If you have any questions regarding your account deletion, please contact heaven.',
[config('app_name')] [config('app_name')]

View File

@ -328,18 +328,18 @@ function admin_active()
form([ form([
form_text('search', __('Search angel:'), $search), form_text('search', __('Search angel:'), $search),
form_checkbox('show_all_shifts', __('Show all shifts'), $show_all_shifts), form_checkbox('show_all_shifts', __('Show all shifts'), $show_all_shifts),
form_submit('submit', __('Search')), form_submit('submit', __('form.search')),
], page_link_to('admin_active')), ], page_link_to('admin_active')),
$set_active == '' ? form([ $set_active == '' ? form([
form_text('count', __('How much angels should be active?'), $count ?: $forced_count), form_text('count', __('How much angels should be active?'), $count ?: $forced_count),
form_submit('set_active', __('Preview')), form_submit('set_active', __('form.preview')),
]) : $set_active, ]) : $set_active,
$msg . msg(), $msg . msg(),
table( table(
array_merge( array_merge(
[ [
'no' => __('No.'), 'no' => __('No.'),
'nick' => __('Name'), 'nick' => __('general.name'),
], ],
($goodie_tshirt ? ['shirt_size' => __('Size')] : []), ($goodie_tshirt ? ['shirt_size' => __('Size')] : []),
[ [

View File

@ -113,7 +113,7 @@ function admin_arrive()
form_hidden('user', $usr->id), form_hidden('user', $usr->id),
form_submit( form_submit(
'submit', 'submit',
$usr->state->arrived ? __('reset') : __('arrived'), $usr->state->arrived ? __('reset') : __('user.arrived'),
'btn-sm', 'btn-sm',
true, true,
$usr->state->arrived ? 'secondary' : 'primary' $usr->state->arrived ? 'secondary' : 'primary'
@ -196,11 +196,11 @@ function admin_arrive()
return page_with_title(admin_arrive_title(), [ return page_with_title(admin_arrive_title(), [
$msg . msg(), $msg . msg(),
form([ form([
form_text('search', __('Search'), $search), form_text('search', __('form.search'), $search),
form_submit('submit', __('Search')), form_submit('submit', __('form.search')),
], page_link_to('admin_arrive')), ], page_link_to('admin_arrive')),
table([ table([
'name' => __('Name'), 'name' => __('general.name'),
'rendered_planned_arrival_date' => __('Planned arrival'), 'rendered_planned_arrival_date' => __('Planned arrival'),
'arrived' => __('Arrived?'), 'arrived' => __('Arrived?'),
'rendered_arrival_date' => __('Arrival date'), 'rendered_arrival_date' => __('Arrival date'),
@ -211,7 +211,7 @@ function admin_arrive()
div('col-md-4', [ div('col-md-4', [
heading(__('Planned arrival statistics'), 3), heading(__('Planned arrival statistics'), 3),
BarChart::render([ BarChart::render([
'count' => __('arrived'), 'count' => __('user.arrived'),
'sum' => __('arrived sum'), 'sum' => __('arrived sum'),
], [ ], [
'count' => '#090', 'count' => '#090',
@ -226,7 +226,7 @@ function admin_arrive()
div('col-md-4', [ div('col-md-4', [
heading(__('Arrival statistics'), 3), heading(__('Arrival statistics'), 3),
BarChart::render([ BarChart::render([
'count' => __('arrived'), 'count' => __('user.arrived'),
'sum' => __('arrived sum'), 'sum' => __('arrived sum'),
], [ ], [
'count' => '#090', 'count' => '#090',
@ -241,7 +241,7 @@ function admin_arrive()
div('col-md-4', [ div('col-md-4', [
heading(__('Planned departure statistics'), 3), heading(__('Planned departure statistics'), 3),
BarChart::render([ BarChart::render([
'count' => __('arrived'), 'count' => __('user.arrived'),
'sum' => __('arrived sum'), 'sum' => __('arrived sum'),
], [ ], [
'count' => '#090', 'count' => '#090',

View File

@ -115,18 +115,18 @@ function admin_free()
div('row', [ div('row', [
div('col-md-12 form-inline', [ div('col-md-12 form-inline', [
div('row', [ div('row', [
form_text('search', __('Search'), $search, null, null, null, 'col'), form_text('search', __('form.search'), $search, null, null, null, 'col'),
form_select('angeltype', __('Angeltype'), $angel_types, $angelType, '', 'col'), form_select('angeltype', __('Angeltype'), $angel_types, $angelType, '', 'col'),
form_submit('submit', __('Search')), form_submit('submit', __('form.search')),
]), ]),
]), ]),
]), ]),
]), ]),
table([ table([
'name' => __('Name'), 'name' => __('general.name'),
'shift_state' => __('Next shift'), 'shift_state' => __('Next shift'),
'last_shift' => __('Last shift'), 'last_shift' => __('Last shift'),
'dect' => __('DECT'), 'dect' => __('general.dect'),
'email' => __('settings.profile.email'), 'email' => __('settings.profile.email'),
'actions' => '', 'actions' => '',
], $free_users_table), ], $free_users_table),

View File

@ -50,7 +50,7 @@ function admin_groups()
return page_with_title(admin_groups_title(), [ return page_with_title(admin_groups_title(), [
table([ table([
'name' => __('Name'), 'name' => __('general.name'),
'privileges' => __('Privileges'), 'privileges' => __('Privileges'),
'actions' => '', 'actions' => '',
], $groups_table), ], $groups_table),

View File

@ -361,7 +361,7 @@ function admin_shifts()
$shiftsCreationHint = '<span class="text-danger">' . $shiftsCreationHint . '</span>'; $shiftsCreationHint = '<span class="text-danger">' . $shiftsCreationHint . '</span>';
} }
return page_with_title(__('Preview'), [ return page_with_title(__('form.preview'), [
form([ form([
$hidden_types, $hidden_types,
form_hidden('shifttype_id', $shifttype_id), form_hidden('shifttype_id', $shifttype_id),
@ -559,7 +559,7 @@ function admin_shifts()
]), ]),
]), ]),
]), ]),
form_submit('preview', icon('search') . __('Preview')), form_submit('preview', icon('search') . __('form.preview')),
]), ]),
] ]
); );

View File

@ -57,7 +57,7 @@ function admin_user()
$html .= '<input type="hidden" name="Type" value="Normal">' . "\n"; $html .= '<input type="hidden" name="Type" value="Normal">' . "\n";
$html .= '<tr><td>' . "\n"; $html .= '<tr><td>' . "\n";
$html .= '<table>' . "\n"; $html .= '<table>' . "\n";
$html .= ' <tr><td>' . __('Nickname') . '</td><td>' . '<input size="40" name="eNick" value="' . $user_source->name . '" class="form-control" maxlength="24"></td></tr>' . "\n"; $html .= ' <tr><td>' . __('nick.nick') . '</td><td>' . '<input size="40" name="eNick" value="' . $user_source->name . '" class="form-control" maxlength="24"></td></tr>' . "\n";
$html .= ' <tr><td>' . __('Last login') . '</td><td><p class="help-block">' $html .= ' <tr><td>' . __('Last login') . '</td><td><p class="help-block">'
. ($user_source->last_login_at ? $user_source->last_login_at->format(__('Y-m-d H:i')) : '-') . ($user_source->last_login_at ? $user_source->last_login_at->format(__('Y-m-d H:i')) : '-')
. '</p></td></tr>' . "\n"; . '</p></td></tr>' . "\n";
@ -67,7 +67,7 @@ function admin_user()
} }
$html .= ' <tr><td>' . __('Mobile') . '</td><td>' . '<input type= "tel" size="40" name="eHandy" value="' . $user_source->contact->mobile . '" class="form-control" maxlength="40"></td></tr>' . "\n"; $html .= ' <tr><td>' . __('Mobile') . '</td><td>' . '<input type= "tel" size="40" name="eHandy" value="' . $user_source->contact->mobile . '" class="form-control" maxlength="40"></td></tr>' . "\n";
if (config('enable_dect')) { if (config('enable_dect')) {
$html .= ' <tr><td>' . __('DECT') . '</td><td>' . '<input size="40" name="eDECT" value="' . $user_source->contact->dect . '" class="form-control" maxlength="40"></td></tr>' . "\n"; $html .= ' <tr><td>' . __('general.dect') . '</td><td>' . '<input size="40" name="eDECT" value="' . $user_source->contact->dect . '" class="form-control" maxlength="40"></td></tr>' . "\n";
} }
if ($user_source->settings->email_human) { if ($user_source->settings->email_human) {
$html .= ' <tr><td>' . __('settings.profile.email') . '</td><td>' . '<input type="email" size="40" name="eemail" value="' . $user_source->email . '" class="form-control" maxlength="254"></td></tr>' . "\n"; $html .= ' <tr><td>' . __('settings.profile.email') . '</td><td>' . '<input type="email" size="40" name="eemail" value="' . $user_source->email . '" class="form-control" maxlength="254"></td></tr>' . "\n";

View File

@ -87,8 +87,8 @@ function AngelType_edit_view(AngelType $angeltype, bool $supporter_mode)
msg(), msg(),
form([ form([
$supporter_mode $supporter_mode
? form_info(__('Name'), $angeltype->name) ? form_info(__('general.name'), $angeltype->name)
: form_text('name', __('Name'), $angeltype->name), : form_text('name', __('general.name'), $angeltype->name),
$supporter_mode $supporter_mode
? form_info(__('angeltypes.restricted'), $angeltype->restricted ? __('Yes') : __('No')) ? form_info(__('angeltypes.restricted'), $angeltype->restricted ? __('Yes') : __('No'))
: form_checkbox( : form_checkbox(
@ -146,15 +146,15 @@ function AngelType_edit_view(AngelType $angeltype, bool $supporter_mode)
__('angeltypes.hide_on_shift_view.info') . '"></span>', __('angeltypes.hide_on_shift_view.info') . '"></span>',
$angeltype->hide_on_shift_view $angeltype->hide_on_shift_view
), ),
form_textarea('description', __('Description'), $angeltype->description), form_textarea('description', __('general.description'), $angeltype->description),
form_info('', __('Please use markdown for the description.')), form_info('', __('Please use markdown for the description.')),
heading(__('Contact'), 3), heading(__('Contact'), 3),
form_info( form_info(
'', '',
__('Primary contact person/desk for user questions.') __('Primary contact person/desk for user questions.')
), ),
form_text('contact_name', __('Name'), $angeltype->contact_name), form_text('contact_name', __('general.name'), $angeltype->contact_name),
config('enable_dect') ? form_text('contact_dect', __('DECT'), $angeltype->contact_dect) : '', config('enable_dect') ? form_text('contact_dect', __('general.dect'), $angeltype->contact_dect) : '',
form_text('contact_email', __('settings.profile.email'), $angeltype->contact_email), form_text('contact_email', __('settings.profile.email'), $angeltype->contact_email),
form_submit('submit', __('form.save')), form_submit('submit', __('form.save')),
]), ]),
@ -362,11 +362,11 @@ function AngelType_view_members(AngelType $angeltype, $members, $admin_user_ange
function AngelType_view_table_headers(AngelType $angeltype, $supporter, $admin_angeltypes) function AngelType_view_table_headers(AngelType $angeltype, $supporter, $admin_angeltypes)
{ {
$headers = [ $headers = [
'name' => __('Nick'), 'name' => __('nick.nick'),
]; ];
if (config('enable_dect')) { if (config('enable_dect')) {
$headers['dect'] = __('DECT'); $headers['dect'] = __('general.dect');
} }
if ($angeltype->requires_driver_license && ($supporter || $admin_angeltypes)) { if ($angeltype->requires_driver_license && ($supporter || $admin_angeltypes)) {
@ -479,7 +479,7 @@ function AngelType_view_info(
$info[] = AngelTypes_render_contact_info($angeltype); $info[] = AngelTypes_render_contact_info($angeltype);
} }
$info[] = '<h3>' . __('Description') . '</h3>'; $info[] = '<h3>' . __('general.description') . '</h3>';
$parsedown = new Parsedown(); $parsedown = new Parsedown();
if ($angeltype->description != '') { if ($angeltype->description != '') {
$info[] = $parsedown->parse($angeltype->description); $info[] = $parsedown->parse($angeltype->description);
@ -556,8 +556,8 @@ function AngelType_view_info(
function AngelTypes_render_contact_info(AngelType $angeltype) function AngelTypes_render_contact_info(AngelType $angeltype)
{ {
$info = [ $info = [
__('Name') => [$angeltype->contact_name, $angeltype->contact_name], __('general.name') => [$angeltype->contact_name, $angeltype->contact_name],
__('DECT') => config('enable_dect') ? [sprintf('<a href="tel:%s">%1$s</a>', $angeltype->contact_dect), $angeltype->contact_dect] : null, __('general.dect') => config('enable_dect') ? [sprintf('<a href="tel:%s">%1$s</a>', $angeltype->contact_dect), $angeltype->contact_dect] : null,
__('settings.profile.email') => [sprintf('<a href="mailto:%s">%1$s</a>', $angeltype->contact_email), $angeltype->contact_email], __('settings.profile.email') => [sprintf('<a href="mailto:%s">%1$s</a>', $angeltype->contact_email), $angeltype->contact_email],
]; ];
$contactInfo = []; $contactInfo = [];
@ -588,7 +588,7 @@ function AngelTypes_list_view($angeltypes, bool $admin_angeltypes)
button(url('/angeltypes/about'), __('angeltypes.about')), button(url('/angeltypes/about'), __('angeltypes.about')),
]), ]),
table([ table([
'name' => __('Name'), 'name' => __('general.name'),
'is_restricted' => icon('mortarboard-fill') . __('angeltypes.restricted'), 'is_restricted' => icon('mortarboard-fill') . __('angeltypes.restricted'),
'shift_self_signup_allowed' => icon('pencil-square') . __('shift.self_signup.allowed'), 'shift_self_signup_allowed' => icon('pencil-square') . __('shift.self_signup.allowed'),
'membership' => __('Membership'), 'membership' => __('Membership'),

View File

@ -22,7 +22,7 @@ function Room_view(Room $room, ShiftsFilterRenderer $shiftsFilterRenderer, Shift
$description = ''; $description = '';
if ($room->description) { if ($room->description) {
$description = '<h3>' . __('Description') . '</h3>'; $description = '<h3>' . __('general.description') . '</h3>';
$parsedown = new Parsedown(); $parsedown = new Parsedown();
$description .= $parsedown->parse($room->description); $description .= $parsedown->parse($room->description);
} }
@ -30,12 +30,12 @@ function Room_view(Room $room, ShiftsFilterRenderer $shiftsFilterRenderer, Shift
$dect = ''; $dect = '';
if (config('enable_dect') && $room->dect) { if (config('enable_dect') && $room->dect) {
$dect = heading(__('Contact'), 3) $dect = heading(__('Contact'), 3)
. description([__('DECT') => sprintf('<a href="tel:%s">%1$s</a>', $room->dect)]); . description([__('general.dect') => sprintf('<a href="tel:%s">%1$s</a>', $room->dect)]);
} }
$tabs = []; $tabs = [];
if ($room->map_url) { if ($room->map_url) {
$tabs[__('Map')] = sprintf( $tabs[__('room.map_url')] = sprintf(
'<div class="map">' '<div class="map">'
. '<iframe style="width: 100%%; min-height: 400px; border: 0 none;" src="%s"></iframe>' . '<iframe style="width: 100%%; min-height: 400px; border: 0 none;" src="%s"></iframe>'
. '</div>', . '</div>',

View File

@ -51,8 +51,8 @@ function ShiftType_edit_view($name, $description, $shifttype_id)
button(page_link_to('shifttypes'), shifttypes_title(), 'back'), button(page_link_to('shifttypes'), shifttypes_title(), 'back'),
]), ]),
form([ form([
form_text('name', __('Name'), $name), form_text('name', __('general.name'), $name),
form_textarea('description', __('Description'), $description), form_textarea('description', __('general.description'), $description),
form_info('', __('Please use markdown for the description.')), form_info('', __('Please use markdown for the description.')),
form_submit('submit', __('form.save')), form_submit('submit', __('form.save')),
]), ]),
@ -80,7 +80,7 @@ function ShiftType_view(ShiftType $shifttype)
icon('trash') . __('delete'), icon('trash') . __('delete'),
), ),
]), ]),
heading(__('Description'), 2), heading(__('general.description'), 2),
$parsedown->parse($shifttype->description), $parsedown->parse($shifttype->description),
], true); ], true);
} }
@ -120,7 +120,7 @@ function ShiftTypes_list_view($shifttypes)
button(page_link_to('shifttypes', ['action' => 'edit']), __('New shifttype'), 'add'), button(page_link_to('shifttypes', ['action' => 'edit']), __('New shifttype'), 'add'),
]), ]),
table([ table([
'name' => __('Name'), 'name' => __('general.name'),
'actions' => '', 'actions' => '',
], $shifttypes), ], $shifttypes),
], true); ], true);

View File

@ -187,7 +187,7 @@ function Shift_view(Shift $shift, ShiftType $shifttype, Room $room, $angeltypes_
'<div class="list-group">' . $needed_angels . '</div>', '<div class="list-group">' . $needed_angels . '</div>',
]), ]),
div('col-sm-6', [ div('col-sm-6', [
'<h2>' . __('Description') . '</h2>', '<h2>' . __('general.description') . '</h2>',
$parsedown->parse($shifttype->description), $parsedown->parse($shifttype->description),
$parsedown->parse($shift->description), $parsedown->parse($shift->description),
]), ]),

View File

@ -132,14 +132,14 @@ function Users_view(
$user_table_headers = []; $user_table_headers = [];
if (!config('display_full_name')) { if (!config('display_full_name')) {
$user_table_headers['name'] = Users_table_header_link('name', __('Nick'), $order_by); $user_table_headers['name'] = Users_table_header_link('name', __('nick.nick'), $order_by);
} }
if (config('enable_user_name')) { if (config('enable_user_name')) {
$user_table_headers['first_name'] = Users_table_header_link('first_name', __('Prename'), $order_by); $user_table_headers['first_name'] = Users_table_header_link('first_name', __('Prename'), $order_by);
$user_table_headers['last_name'] = Users_table_header_link('last_name', __('Name'), $order_by); $user_table_headers['last_name'] = Users_table_header_link('last_name', __('general.name'), $order_by);
} }
if (config('enable_dect')) { if (config('enable_dect')) {
$user_table_headers['dect'] = Users_table_header_link('dect', __('DECT'), $order_by); $user_table_headers['dect'] = Users_table_header_link('dect', __('general.dect'), $order_by);
} }
$user_table_headers['arrived'] = Users_table_header_link('arrived', __('Arrived'), $order_by); $user_table_headers['arrived'] = Users_table_header_link('arrived', __('Arrived'), $order_by);
if (config('enable_voucher')) { if (config('enable_voucher')) {
@ -570,7 +570,7 @@ function User_view(
form([ form([
form_hidden('action', 'arrived'), form_hidden('action', 'arrived'),
form_hidden('user', $user_source->id), form_hidden('user', $user_source->id),
form_submit('submit', __('arrived'), '', false), form_submit('submit', __('user.arrived'), '', false),
], page_link_to('admin_arrive'), true) : '', ], page_link_to('admin_arrive'), true) : '',
($admin_user_privilege || $auth->can('voucher.edit')) && config('enable_voucher') ? ($admin_user_privilege || $auth->can('voucher.edit')) && config('enable_voucher') ?
button( button(

View File

@ -79,7 +79,7 @@ msgstr "Credits"
msgid "Register" msgid "Register"
msgstr "Registrieren" msgstr "Registrieren"
msgid "login.login" msgid "general.login"
msgstr "Login" msgstr "Login"
msgid "page.403.login" msgid "page.403.login"
@ -470,9 +470,6 @@ msgstr "Bitte gib eine korrekte Anzahl von Gutscheinen ein."
msgid "Saved the number of vouchers." msgid "Saved the number of vouchers."
msgstr "Anzahl der Gutscheine gespeichert." msgstr "Anzahl der Gutscheine gespeichert."
msgid "%s's vouchers"
msgstr "Gutschein von %s"
msgid "User not found." msgid "User not found."
msgstr "Benutzer nicht gefunden." msgstr "Benutzer nicht gefunden."
@ -513,19 +510,6 @@ msgstr "Die aktualisierte Schicht:"
msgid "Your Shift has changed" msgid "Your Shift has changed"
msgstr "Deine Schicht hat sich geändert" msgstr "Deine Schicht hat sich geändert"
msgid "A Shift you are registered on was deleted:"
msgstr "Eine deiner Schichten wurde gelöscht:"
msgid ""
"Since the deleted shift was already done, we added a worklog entry instead, "
"to keep your work hours correct."
msgstr ""
"Da die gelöschte Schicht bereits vergangen ist, haben wir einen "
"entsprechenden Arbeitseinsatz hinzugefügt."
msgid "Your Shift was deleted"
msgstr "Deine Schicht wurde gelöscht"
msgid "You have been assigned to a Shift:" msgid "You have been assigned to a Shift:"
msgstr "Du wurdest in eine Schicht eingetragen:" msgstr "Du wurdest in eine Schicht eingetragen:"
@ -538,7 +522,7 @@ msgstr "Du wurdest aus einer Schicht ausgetragen:"
msgid "Removed from Shift" msgid "Removed from Shift"
msgstr "Von Schicht ausgetragen" msgstr "Von Schicht ausgetragen"
msgid "Your account has been deleted" msgid "Your account has been deleted."
msgstr "Dein Konto wurde gelöscht." msgstr "Dein Konto wurde gelöscht."
msgid "" msgid ""
@ -609,18 +593,9 @@ msgstr "Suche Engel:"
msgid "Show all shifts" msgid "Show all shifts"
msgstr "Alle Schichten anzeigen" msgstr "Alle Schichten anzeigen"
msgid "Search"
msgstr "Suche"
msgid "How much angels should be active?" msgid "How much angels should be active?"
msgstr "Wie viele Engel sollten aktiv sein?" msgstr "Wie viele Engel sollten aktiv sein?"
msgid "Preview"
msgstr "Vorschau"
msgid "Nickname"
msgstr "Nick"
msgid "Size" msgid "Size"
msgstr "Größe" msgstr "Größe"
@ -660,9 +635,6 @@ msgstr "Engel wurde als angekommen markiert."
msgid "reset" msgid "reset"
msgstr "zurücksetzen" msgstr "zurücksetzen"
msgid "arrived"
msgstr "angekommen"
msgid "Planned arrival" msgid "Planned arrival"
msgstr "Geplanter Ankunftstag" msgstr "Geplanter Ankunftstag"
@ -696,28 +668,22 @@ msgstr "Geplante Abreise-Statistik"
msgid "Free angels" msgid "Free angels"
msgstr "Freie Engel" msgstr "Freie Engel"
msgid "Alle"
msgstr "All"
msgid "Angeltype" msgid "Angeltype"
msgstr "Engeltyp" msgstr "Engeltyp"
msgid "Nick"
msgstr "Nick"
msgid "Next shift" msgid "Next shift"
msgstr "Nächste Schicht" msgstr "Nächste Schicht"
msgid "Last shift" msgid "Last shift"
msgstr "Letzte Schicht" msgstr "Letzte Schicht"
msgid "DECT" msgid "general.dect"
msgstr "DECT" msgstr "DECT"
msgid "Grouprights" msgid "Grouprights"
msgstr "Gruppenrechte" msgstr "Gruppenrechte"
msgid "Name" msgid "general.name"
msgstr "Name" msgstr "Name"
msgid "Privileges" msgid "Privileges"
@ -726,82 +692,18 @@ msgstr "Privilegien"
msgid "Edit group" msgid "Edit group"
msgstr "Gruppe bearbeiten" msgstr "Gruppe bearbeiten"
msgid "Frab import"
msgstr "Frab Import"
msgid "Webserver has no write-permission on import directory."
msgstr "Der Webserver hat keine Schreibrechte für das Verzeichnis import."
msgid "Please select a shift type." msgid "Please select a shift type."
msgstr "Bitte einen Schichttyp wählen." msgstr "Bitte einen Schichttyp wählen."
msgid "Please enter an amount of minutes to add to a talk's begin."
msgstr ""
"Bitte gib eine Anzahl Minuten ein, die vor dem Talk-Beginn hinzugefügt "
"werden sollen."
msgid "Please enter an amount of minutes to add to a talk's end."
msgstr ""
"Bitte gib eine Anzahl Minuten ein, die nach dem Talk-Ende hinzugefügt werden "
"sollen."
msgid "No valid xml/xcal file provided."
msgstr "Keine valide xml/xcal Datei hochgeladen."
msgid "File upload went wrong."
msgstr "Das Hochladen der Datei ist schiefgegangen."
msgid "Please provide some data."
msgstr "Bitte lade eine Datei hoch."
msgid "File Upload"
msgstr "Datei hochladen"
msgid "Validation"
msgstr "Überprüfen"
msgid "Import"
msgstr "Importieren"
msgid "Add minutes to start"
msgstr "Minuten vor Talk-Beginn hinzufügen"
msgid "Add minutes to end"
msgstr "Minuten nach Talk-Ende hinzufügen"
msgid "xcal-File (.xcal)"
msgstr "xcal-Datei (.xcal)"
msgid "Missing import file."
msgstr "Import-Datei nicht vorhanden."
msgid "Shifts to create"
msgstr "Anzulegende Schichten"
msgid "Day"
msgstr "Tag"
msgid "Start" msgid "Start"
msgstr "Beginn" msgstr "Beginn"
msgid "End" msgid "End"
msgstr "Ende" msgstr "Ende"
msgid "Shift type"
msgstr "Schichttyp"
msgid "Location" msgid "Location"
msgstr "Ort" msgstr "Ort"
msgid "Shifts to update"
msgstr "Zu aktualisierende Schichten"
msgid "Shifts to delete"
msgstr "Zu löschende Schichten"
msgid "It's done!"
msgstr "Erledigt!"
msgid "Delete" msgid "Delete"
msgstr "löschen" msgstr "löschen"
@ -811,40 +713,10 @@ msgstr "Fragen beantworten"
msgid "There are unanswered questions!" msgid "There are unanswered questions!"
msgstr "Es gibt unbeantwortete Fragen!" msgstr "Es gibt unbeantwortete Fragen!"
msgid "Unanswered questions"
msgstr "Unbeantwortete Fragen"
msgid "From"
msgstr "Von"
msgid "Question"
msgstr "Frage"
msgid "Answer"
msgstr "Antwort"
msgid "Answered questions"
msgstr "Beantwortete Fragen"
msgid "Answered by"
msgstr "Antwort von"
msgid "Answered at"
msgstr "Beantwortet am"
msgid "Asked at"
msgstr "Gefragt am"
msgid "Locations" msgid "Locations"
msgstr "Orte" msgstr "Orte"
msgid "This name is already in use." msgid "general.description"
msgstr "Dieser Name ist bereits vergeben."
msgid "Please enter needed angels for type %s."
msgstr "Bitte gib die Anzahl der benötigten Engel vom Typ %s an."
msgid "Description"
msgstr "Beschreibung" msgstr "Beschreibung"
msgid "Please use markdown for the description." msgid "Please use markdown for the description."
@ -853,12 +725,6 @@ msgstr "Bitte benutze Markdown für die Beschreibung."
msgid "Needed angels:" msgid "Needed angels:"
msgstr "Benötigte Engel:" msgstr "Benötigte Engel:"
msgid "add"
msgstr "Neu"
msgid "Map"
msgstr "Karte"
msgid "Create shifts" msgid "Create shifts"
msgstr "Schichten erstellen" msgstr "Schichten erstellen"
@ -923,7 +789,7 @@ msgid "Shift change hours"
msgstr "Schichtwechsel-Stunden" msgstr "Schichtwechsel-Stunden"
msgid "Create a shift over midnight." msgid "Create a shift over midnight."
msgstr "" msgstr "Erstelle Schichten über Mitternacht"
msgid "Take needed angels from location settings" msgid "Take needed angels from location settings"
msgstr "Übernehme benötigte Engel von den Ort-Einstellungen" msgstr "Übernehme benötigte Engel von den Ort-Einstellungen"
@ -1944,9 +1810,6 @@ msgstr "Zu aktualisierende Schichten"
msgid "schedule.import.shifts.delete" msgid "schedule.import.shifts.delete"
msgstr "Zu löschende Schichten" msgstr "Zu löschende Schichten"
msgid "schedule.import.rooms.name"
msgstr "Name"
msgid "schedule.import.shift.dates" msgid "schedule.import.shift.dates"
msgstr "Zeit" msgstr "Zeit"
@ -2031,7 +1894,7 @@ msgstr "Einstellungen"
msgid "settings.profile.entry_required" msgid "settings.profile.entry_required"
msgstr "Pflichtfeld" msgstr "Pflichtfeld"
msgid "settings.profile.nick" msgid "nick.nick"
msgstr "Nick" msgstr "Nick"
msgid "settings.profile.nick.already-taken" msgid "settings.profile.nick.already-taken"
@ -2055,9 +1918,6 @@ msgstr "Geplanter Ankunftstag"
msgid "settings.profile.planned_departure_date" msgid "settings.profile.planned_departure_date"
msgstr "Geplanter Abreisetag" msgstr "Geplanter Abreisetag"
msgid "settings.profile.dect"
msgstr "DECT"
msgid "settings.profile.mobile" msgid "settings.profile.mobile"
msgstr "Handy" msgstr "Handy"
@ -2287,9 +2147,6 @@ msgstr "Nachricht"
msgid "angel" msgid "angel"
msgstr "Engel" msgstr "Engel"
msgid "date"
msgstr "Datum"
msgid "worklog.add" msgid "worklog.add"
msgstr "Arbeitseinsatz hinzufügen" msgstr "Arbeitseinsatz hinzufügen"
@ -2327,12 +2184,6 @@ msgstr "Dieser Engeltyp benötigt eine Einweisung bei einem Einführungstreffen.
msgid "angeltypes.can-change-later" msgid "angeltypes.can-change-later"
msgstr "Du kannst Deine Auswahl später in den Einstellungen ändern." msgstr "Du kannst Deine Auswahl später in den Einstellungen ändern."
msgid "angeltypes.name"
msgstr "Name"
msgid "angeltypes.dect"
msgstr "DECT"
msgid "angeltypes.email" msgid "angeltypes.email"
msgstr "E-Mail" msgstr "E-Mail"
@ -2349,18 +2200,9 @@ msgstr "Registrieren"
msgid "room.rooms" msgid "room.rooms"
msgstr "Orte" msgstr "Orte"
msgid "room.name"
msgstr "Name"
msgid "room.dect"
msgstr "DECT"
msgid "room.map_url" msgid "room.map_url"
msgstr "Karte" msgstr "Karte"
msgid "room.description"
msgstr "Beschreibung"
msgid "room.required_angels" msgid "room.required_angels"
msgstr "Benötigte Engel" msgstr "Benötigte Engel"
@ -2385,9 +2227,6 @@ msgstr "Engelregistrierung"
msgid "page.sign-up.login-data" msgid "page.sign-up.login-data"
msgstr "Anmeldedaten" msgstr "Anmeldedaten"
msgid "page.sign-up.name"
msgstr "Name"
msgid "page.sign-up.event-data" msgid "page.sign-up.event-data"
msgstr "Eventdaten" msgstr "Eventdaten"

View File

@ -22,9 +22,18 @@ msgstr "Your password is incorrect. Please try it again."
msgid "form.submit" msgid "form.submit"
msgstr "Submit" msgstr "Submit"
msgid "login.login" msgid "general.login"
msgstr "Login" msgstr "Login"
msgid "general.dect"
msgstr "DECT"
msgid "general.name"
msgstr "Name"
msgid "general.description"
msgstr "Description"
msgid "page.403.login" msgid "page.403.login"
msgstr "Please log in." msgstr "Please log in."
@ -136,9 +145,6 @@ msgstr "Shifts to update"
msgid "schedule.import.shifts.delete" msgid "schedule.import.shifts.delete"
msgstr "Shifts to delete" msgstr "Shifts to delete"
msgid "schedule.import.rooms.name"
msgstr "Name"
msgid "schedule.import.shift.dates" msgid "schedule.import.shift.dates"
msgstr "Times" msgstr "Times"
@ -226,7 +232,7 @@ msgstr "Settings"
msgid "settings.profile.entry_required" msgid "settings.profile.entry_required"
msgstr "Entry required" msgstr "Entry required"
msgid "settings.profile.nick" msgid "nick.nick"
msgstr "Nick" msgstr "Nick"
msgid "settings.profile.nick.already-taken" msgid "settings.profile.nick.already-taken"
@ -250,9 +256,6 @@ msgstr "Planned date of arrival"
msgid "settings.profile.planned_departure_date" msgid "settings.profile.planned_departure_date"
msgstr "Planned date of departure" msgstr "Planned date of departure"
msgid "settings.profile.dect"
msgstr "DECT"
msgid "settings.profile.mobile" msgid "settings.profile.mobile"
msgstr "Mobile" msgstr "Mobile"
@ -482,9 +485,6 @@ msgstr "Message"
msgid "angel" msgid "angel"
msgstr "Angel" msgstr "Angel"
msgid "date"
msgstr "Date"
msgid "worklog.add" msgid "worklog.add"
msgstr "Add work log" msgstr "Add work log"
@ -529,12 +529,6 @@ msgstr "This angeltype requires the attendance at an introduction meeting. "
msgid "angeltypes.can-change-later" msgid "angeltypes.can-change-later"
msgstr "You can change your selection later in the settings." msgstr "You can change your selection later in the settings."
msgid "angeltypes.name"
msgstr "Name"
msgid "angeltypes.dect"
msgstr "DECT"
msgid "angeltypes.email" msgid "angeltypes.email"
msgstr "E-Mail" msgstr "E-Mail"
@ -561,18 +555,9 @@ msgstr "Register"
msgid "room.rooms" msgid "room.rooms"
msgstr "Locations" msgstr "Locations"
msgid "room.name"
msgstr "Name"
msgid "room.dect"
msgstr "DECT"
msgid "room.map_url" msgid "room.map_url"
msgstr "Map" msgstr "Map"
msgid "room.description"
msgstr "Description"
msgid "room.required_angels" msgid "room.required_angels"
msgstr "Required angels" msgstr "Required angels"
@ -597,9 +582,6 @@ msgstr "Angel sign-up"
msgid "page.sign-up.login-data" msgid "page.sign-up.login-data"
msgstr "Login data" msgstr "Login data"
msgid "page.sign-up.name"
msgstr "Name"
msgid "page.sign-up.event-data" msgid "page.sign-up.event-data"
msgstr "Event data" msgstr "Event data"

View File

@ -11,13 +11,13 @@
<div class="row"> <div class="row">
<div class="col-lg-6"> <div class="col-lg-6">
{{ f.input('name', __('room.name'), { {{ f.input('name', __('general.name'), {
'required': true, 'required': true,
'required_icon': true, 'required_icon': true,
'value': f.formData('room', room ? room.name : ''), 'value': f.formData('room', room ? general.name : ''),
}) }} }) }}
{{ f.input('dect', __('room.dect'), { {{ f.input('dect', __('general.dect'), {
'value': f.formData('dect', room ? room.dect : ''), 'value': f.formData('dect', room ? room.dect : ''),
}) }} }) }}
{{ f.input('map_url', __('room.map_url'), { {{ f.input('map_url', __('room.map_url'), {
@ -26,7 +26,7 @@
'info': __('room.map_url.info'), 'info': __('room.map_url.info'),
}) }} }) }}
{{ f.textarea('description', __('room.description'), { {{ f.textarea('description', __('general.description'), {
'value': f.formData('description', room ? room.description : ''), 'value': f.formData('description', room ? room.description : ''),
'rows': 5, 'rows': 5,
'info': __('form.markdown') 'info': __('form.markdown')

View File

@ -24,8 +24,8 @@
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>{{ __('room.name') }}</th> <th>{{ __('general.name') }}</th>
<th>{{ __('room.dect') }}</th> <th>{{ __('general.dect') }}</th>
<th>{{ __('room.map_url') }}</th> <th>{{ __('room.map_url') }}</th>
<th></th> <th></th>
</tr> </tr>
@ -37,7 +37,7 @@
<td> <td>
{{ m.icon('pin-map-fill') }} {{ m.icon('pin-map-fill') }}
<a href="{{ url('/rooms', {'action': 'view', 'room_id': room.id}) }}"> <a href="{{ url('/rooms', {'action': 'view', 'room_id': room.id}) }}">
{{ room.name }} {{ general.name }}
</a> </a>
</td> </td>

View File

@ -33,14 +33,14 @@
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>{{ __('schedule.import.rooms.name') }}</th> <th>{{ __('general.name') }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for room in rooms %} {% for room in rooms %}
<tr> <tr>
<td>{{ room.name }}</td> <td>{{ general.name }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
@ -66,7 +66,7 @@
<td>{{ shift.date.format(__('Y-m-d H:i')) }} - {{ shift.endDate.format(__('H:i')) }}</td> <td>{{ shift.date.format(__('Y-m-d H:i')) }} - {{ shift.endDate.format(__('H:i')) }}</td>
<td>{{ shift.type }}</td> <td>{{ shift.type }}</td>
<td>{{ shift.title }}{% if shift.subtitle %}<br><small>{{ shift.subtitle }}</small>{% endif %}</td> <td>{{ shift.title }}{% if shift.subtitle %}<br><small>{{ shift.subtitle }}</small>{% endif %}</td>
<td>{{ shift.room.name }}</td> <td>{{ shift.general.name }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View File

@ -13,7 +13,7 @@ DTEND:{{ entry.shift.end.utc().format(dateFormat) }}
STATUS:CONFIRMED STATUS:CONFIRMED
TRANSP:OPAQUE TRANSP:OPAQUE
SUMMARY:{{ (entry.shift.shiftType.name ~ ' (' ~ entry.shift.title ~ ')') | replace(replacement) | raw }} SUMMARY:{{ (entry.shift.shiftType.name ~ ' (' ~ entry.shift.title ~ ')') | replace(replacement) | raw }}
LOCATION:{{ entry.shift.room.name | replace(replacement) | raw }} LOCATION:{{ entry.shift.general.name | replace(replacement) | raw }}
DESCRIPTION:{{ DESCRIPTION:{{
( (
entry.shift.shiftType.description entry.shift.shiftType.description

View File

@ -8,7 +8,7 @@
{{ name }} {{ name }}
{{ title }} {{ title }}
{{ start.format(__('Y-m-d H:i')) }} - {{ end.format(__('Y-m-d H:i')) }} {{ start.format(__('Y-m-d H:i')) }} - {{ end.format(__('Y-m-d H:i')) }}
{{ room.name }} {{ general.name }}
{% if start <= date() and not freeloaded %} {% if start <= date() and not freeloaded %}
{{ __('notification.shift.deleted.worklog') }} {{ __('notification.shift.deleted.worklog') }}

View File

@ -10,6 +10,6 @@
{% do session_set('previous_page', request.url) %} {% do session_set('previous_page', request.url) %}
<p>{{ __('page.403.login') }}</p> <p>{{ __('page.403.login') }}</p>
<p>{{ m.button(__('login.login'), url('login')) }}</p> <p>{{ m.button(__('general.login'), url('login')) }}</p>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -63,7 +63,7 @@
{% endif %} {% endif %}
{% if has_permission_to('login') %} {% if has_permission_to('login') %}
{{ _self.toolbar_item(__('login.login'), url('login'), 'login', 'box-arrow-in-right') }} {{ _self.toolbar_item(__('general.login'), url('login'), 'login', 'box-arrow-in-right') }}
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -20,7 +20,7 @@
</a> </a>
{% endif %} {% endif %}
<a href="{{ url('/login') }}" class="btn btn-secondary back"> <a href="{{ url('/login') }}" class="btn btn-secondary back">
{{ __('login.login') }} {{ __('general.login') }}
</a> </a>
{% endif %} {% endif %}
@ -74,8 +74,8 @@
{% if angeltype.hasContactInfo() %} {% if angeltype.hasContactInfo() %}
<dl class="row card-text"> <dl class="row card-text">
{% for type, info in { {% for type, info in {
'contact_name': {'name': __('angeltypes.name')}, 'contact_name': {'name': __('general.name')},
'contact_dect': {'name': __('angeltypes.dect'), 'url': 'tel'}, 'contact_dect': {'name': __('general.dect'), 'url': 'tel'},
'contact_email': {'name': __('angeltypes.email'), 'url': 'mailto'}, 'contact_email': {'name': __('angeltypes.email'), 'url': 'mailto'},
} %} } %}
{% if angeltype[type] and (type != 'contact_dect' or config('enable_dect')) %} {% if angeltype[type] and (type != 'contact_dect' or config('enable_dect')) %}

View File

@ -1,7 +1,7 @@
{% extends "layouts/app.twig" %} {% extends "layouts/app.twig" %}
{% import 'macros/base.twig' as m %} {% import 'macros/base.twig' as m %}
{% block title %}{{ __('login.login') }}{% endblock %} {% block title %}{{ __('general.login') }}{% endblock %}
{% block content %} {% block content %}
<div class="col-md-12"> <div class="col-md-12">
@ -51,7 +51,7 @@
type="text" type="text"
name="login" name="login"
value="" value=""
placeholder="{{ __('Nick') }}" placeholder="{{ __('nick.nick') }}"
autofocus> autofocus>
</div> </div>
</div> </div>
@ -70,7 +70,7 @@
<div class="mb-3 text-center"> <div class="mb-3 text-center">
<button class="btn btn-primary btn-lg btn-block" type="submit" name="submit"> <button class="btn btn-primary btn-lg btn-block" type="submit" name="submit">
{{ __('login.login') }} {{ __('general.login') }}
</button> </button>
</div> </div>

View File

@ -32,7 +32,7 @@
<tr> <tr>
<th>{{ __('angel') }}</th> <th>{{ __('angel') }}</th>
<th>{{ __('message.message') }}</th> <th>{{ __('message.message') }}</th>
<th>{{ __('date') }}</th> <th>{{ __('Date') }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

View File

@ -79,7 +79,7 @@
<div class="row g-4"> <div class="row g-4">
{% if config('enable_dect') %} {% if config('enable_dect') %}
<div class="col-md-6"> <div class="col-md-6">
{{ f.input('dect', __('settings.profile.dect'), { {{ f.input('dect', __('general.dect'), {
'value': user.contact.dect, 'value': user.contact.dect,
'max_length': 40, 'max_length': 40,
}) }} }) }}

View File

@ -147,7 +147,7 @@
{% if isFullNameEnabled %} {% if isFullNameEnabled %}
<div class="mb-5"> <div class="mb-5">
<h2>{{ __('page.sign-up.name') }}</h2> <h2>{{ __('general.name') }}</h2>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
{{ f.input( {{ f.input(