make multiple vouchers possible

main
Philip Häusler 9 years ago
parent 681d52fe0f
commit 803c0a552f

@ -1,3 +1,5 @@
/* Enable multiple vouchers */
ALTER TABLE `User` CHANGE `got_voucher` `got_voucher` INT NOT NULL;
/* introduce user arrival date */ /* introduce user arrival date */
ALTER TABLE `User` ADD `arrival_date` INT NULL , ALTER TABLE `User` ADD `arrival_date` INT NULL ,

@ -22,8 +22,8 @@ function users_controller() {
return user_edit_controller(); return user_edit_controller();
case 'delete': case 'delete':
return user_delete_controller(); return user_delete_controller();
case 'got_voucher': case 'edit_vouchers':
return user_got_voucher_controller(); return user_edit_vouchers_controller();
} }
} }
@ -35,7 +35,7 @@ function user_link($user) {
return page_link_to('users') . '&action=view&user_id=' . $user['UID']; return page_link_to('users') . '&action=view&user_id=' . $user['UID'];
} }
function user_got_voucher_controller() { function user_edit_vouchers_controller() {
global $privileges, $user; global $privileges, $user;
if (isset($_REQUEST['user_id'])) { if (isset($_REQUEST['user_id'])) {
@ -43,25 +43,38 @@ function user_got_voucher_controller() {
} else } else
$user_source = $user; $user_source = $user;
$admin_user_privilege = in_array('admin_user', $privileges);
if (! in_array('admin_user', $privileges)) if (! in_array('admin_user', $privileges))
redirect(page_link_to('')); redirect(page_link_to(''));
if (! isset($_REQUEST['got_voucher'])) if (isset($_REQUEST['submit'])) {
redirect(page_link_to('')); $ok = true;
$user_source['got_voucher'] = $_REQUEST['got_voucher'] == 'true'; if (isset($_REQUEST['vouchers']) && test_request_int('vouchers') && trim($_REQUEST['vouchers']) >= 0)
$vouchers = trim($_REQUEST['vouchers']);
else {
$ok = false;
error(_("Please enter a valid number of vouchers."));
}
if ($ok) {
$user_source['got_voucher'] = $vouchers;
$result = User_update($user_source); $result = User_update($user_source);
if ($result === false) if ($result === false)
engelsystem_error('Unable to update user.'); engelsystem_error('Unable to update user.');
success($user_source['got_voucher'] ? _('User got vouchers.') : _('User didnt got vouchers.')); success(_("Saved the number of vouchers."));
engelsystem_log(User_Nick_render($user_source) . ($user_source['got_voucher'] ? ' got vouchers' : ' didnt got vouchers')); engelsystem_log(User_Nick_render($user_source) . ': ' . sprintf("Got %s vouchers", $user_source['got_voucher']));
redirect(user_link($user_source)); redirect(user_link($user_source));
} }
}
return array(
sprintf(_("%s's vouchers"), $user_source['Nick']),
User_edit_vouchers_view($user_source)
);
}
function user_controller() { function user_controller() {
global $privileges, $user; global $privileges, $user;

@ -29,7 +29,7 @@ function User_update($user) {
`color`='" . sql_escape($user['color']) . "', `color`='" . sql_escape($user['color']) . "',
`Sprache`='" . sql_escape($user['Sprache']) . "', `Sprache`='" . sql_escape($user['Sprache']) . "',
`Hometown`='" . sql_escape($user['Hometown']) . "', `Hometown`='" . sql_escape($user['Hometown']) . "',
`got_voucher`=" . sql_bool($user['got_voucher']) . ", `got_voucher`='" . sql_escape($user['got_voucher']) . "',
`arrival_date`='" . sql_escape($user['arrival_date']) . "', `arrival_date`='" . sql_escape($user['arrival_date']) . "',
`planned_arrival_date`='" . sql_escape($user['planned_arrival_date']) . "' `planned_arrival_date`='" . sql_escape($user['planned_arrival_date']) . "'
WHERE `UID`='" . sql_escape($user['UID']) . "'"); WHERE `UID`='" . sql_escape($user['UID']) . "'");
@ -47,7 +47,7 @@ function User_active_count() {
} }
function User_got_voucher_count() { function User_got_voucher_count() {
return sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `got_voucher` = TRUE"); return sql_select_single_cell("SELECT SUM(`got_voucher`) FROM `User`");
} }
function User_arrived_count() { function User_arrived_count() {

@ -19,6 +19,22 @@ $tshirt_sizes = array(
'XL-G' => "XL Girl" 'XL-G' => "XL Girl"
); );
/**
* View for editing the number of given vouchers
*/
function User_edit_vouchers_view($user) {
return page_with_title(sprintf(_("%s's vouchers"), User_Nick_render($user)), [
msg(),
buttons([
button(user_link($user), glyph('chevron-left') . _("back"))
]),
form([
form_spinner('vouchers', _("Number of vouchers"), $user['got_voucher']),
form_submit('submit', _("Save"))
], page_link_to('users') . '&action=edit_vouchers&user_id=' . $user['UID'])
]);
}
function Users_view($users, $order_by, $arrived_count, $active_count, $force_active_count, $freeloads_count, $tshirts_count, $voucher_count) { function Users_view($users, $order_by, $arrived_count, $active_count, $force_active_count, $freeloads_count, $tshirts_count, $voucher_count) {
foreach ($users as &$user) { foreach ($users as &$user) {
$user['Nick'] = User_Nick_render($user); $user['Nick'] = User_Nick_render($user);
@ -171,10 +187,8 @@ function User_view($user_source, $admin_user_privilege, $freeloader, $user_angel
'<h4>' . _("User state") . '</h4>', '<h4>' . _("User state") . '</h4>',
($admin_user_privilege && $freeloader) ? '<span class="text-danger"><span class="glyphicon glyphicon-exclamation-sign"></span> ' . _("Freeloader") . '</span><br />' : '', ($admin_user_privilege && $freeloader) ? '<span class="text-danger"><span class="glyphicon glyphicon-exclamation-sign"></span> ' . _("Freeloader") . '</span><br />' : '',
$user_source['Gekommen'] ? User_shift_state_render($user_source) . '<br />' : '', $user_source['Gekommen'] ? User_shift_state_render($user_source) . '<br />' : '',
$admin_user_privilege || $its_me $admin_user_privilege || $its_me ? ($user_source['Gekommen'] ? '<span class="text-success"><span class="glyphicon glyphicon-home"></span> ' . sprintf(_("Arrived at %s"), date('Y-m-d', $user_source['arrival_date'])) . '</span>' : '<span class="text-danger">' . sprintf(_("Not arrived (Planned: %s)"), date('Y-m-d', $user_source['planned_arrival_date'])) . '</span>') : ($user_source['Gekommen'] ? '<span class="text-success"><span class="glyphicon glyphicon-home"></span> ' . _("Arrived") . '</span>' : '<span class="text-danger">' . _("Not arrived") . '</span>'),
? ($user_source['Gekommen'] ? '<span class="text-success"><span class="glyphicon glyphicon-home"></span> ' . sprintf(_("Arrived at %s"), date('Y-m-d', $user_source['arrival_date'])) . '</span>' : '<span class="text-danger">' . sprintf(_("Not arrived (Planned: %s)"), date('Y-m-d', $user_source['planned_arrival_date'])) . '</span>') $admin_user_privilege ? ($user_source['got_voucher'] > 0 ? '<br /><span class="text-success">' . glyph('cutlery') . sprintf(ngettext("Got %s voucher", "Got %s vouchers", $user_source['got_voucher']), $user_source['got_voucher']) . '</span>' : '<br /><span class="text-danger">' . _("Got no vouchers") . '</span>') : '',
: ($user_source['Gekommen'] ? '<span class="text-success"><span class="glyphicon glyphicon-home"></span> ' . _("Arrived") . '</span>' : '<span class="text-danger">' . _("Not arrived") . '</span>'),
$admin_user_privilege ? ($user_source['got_voucher'] ? '<br /><span class="text-success">' . glyph('cutlery') . _("Got vouchers") . '</span>' : '<br /><span class="text-danger">' . _("Got no vouchers") . '</span>') : '',
($user_source['Gekommen'] && $admin_user_privilege && $user_source['Aktiv']) ? ' <span class="text-success">' . _("Active") . '</span>' : '', ($user_source['Gekommen'] && $admin_user_privilege && $user_source['Aktiv']) ? ' <span class="text-success">' . _("Active") . '</span>' : '',
($user_source['Gekommen'] && $admin_user_privilege && $user_source['Tshirt']) ? ' <span class="text-success">' . _("T-Shirt") . '</span>' : '' ($user_source['Gekommen'] && $admin_user_privilege && $user_source['Tshirt']) ? ' <span class="text-success">' . _("T-Shirt") . '</span>' : ''
)), )),
@ -192,8 +206,7 @@ function User_view($user_source, $admin_user_privilege, $freeloader, $user_angel
buttons(array( buttons(array(
$admin_user_privilege ? button(page_link_to('admin_user') . '&id=' . $user_source['UID'], glyph("edit") . _("edit")) : '', $admin_user_privilege ? button(page_link_to('admin_user') . '&id=' . $user_source['UID'], glyph("edit") . _("edit")) : '',
($admin_user_privilege && ! $user_source['Gekommen']) ? button(page_link_to('admin_arrive') . '&arrived=' . $user_source['UID'], _("arrived")) : '', ($admin_user_privilege && ! $user_source['Gekommen']) ? button(page_link_to('admin_arrive') . '&arrived=' . $user_source['UID'], _("arrived")) : '',
($admin_user_privilege && ! $user_source['got_voucher']) ? button(page_link_to('users') . '&action=got_voucher&user_id=' . $user_source['UID'] . '&got_voucher=true', _('Got vouchers')) : '', $admin_user_privilege ? button(page_link_to('users') . '&action=edit_vouchers&user_id=' . $user_source['UID'], glyph('cutlery') . _('Edit vouchers')) : '',
($admin_user_privilege && $user_source['got_voucher']) ? button(page_link_to('users') . '&action=got_voucher&user_id=' . $user_source['UID'] . '&got_voucher=', _('Remove vouchers')) : '',
$its_me ? button(page_link_to('user_settings'), glyph('list-alt') . _("Settings")) : '', $its_me ? button(page_link_to('user_settings'), glyph('list-alt') . _("Settings")) : '',
$its_me ? button(page_link_to('ical') . '&key=' . $user_source['api_key'], glyph('calendar') . _("iCal Export")) : '', $its_me ? button(page_link_to('ical') . '&key=' . $user_source['api_key'], glyph('calendar') . _("iCal Export")) : '',
$its_me ? button(page_link_to('shifts_json_export') . '&key=' . $user_source['api_key'], glyph('export') . _("JSON Export")) : '', $its_me ? button(page_link_to('shifts_json_export') . '&key=' . $user_source['api_key'], glyph('export') . _("JSON Export")) : '',

@ -1,8 +1,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Engelsystem 2.0\n" "Project-Id-Version: Engelsystem 2.0\n"
"POT-Creation-Date: 2015-07-18 21:34+0100\n" "POT-Creation-Date: 2015-08-12 23:40+0100\n"
"PO-Revision-Date: 2015-07-18 21:35+0100\n" "PO-Revision-Date: 2015-08-12 23:42+0100\n"
"Last-Translator: msquare <msquare@notrademark.de>\n" "Last-Translator: msquare <msquare@notrademark.de>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: de_DE\n" "Language: de_DE\n"
@ -57,14 +57,14 @@ msgstr "Nichts gefunden."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:7 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:7
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:56 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:56
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:72 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:72
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:182 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:196
msgid "Angeltypes" msgid "Angeltypes"
msgstr "Engeltypen" msgstr "Engeltypen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:46 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:46
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:326 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:326
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:186 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:188
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:230 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:232
msgid "Teams/Job description" msgid "Teams/Job description"
msgstr "Team-/Aufgabenbeschreibung" msgstr "Team-/Aufgabenbeschreibung"
@ -90,13 +90,13 @@ msgid "Edit %s"
msgstr "%s bearbeiten" msgstr "%s bearbeiten"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:184 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:184
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:173 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:175
#, php-format #, php-format
msgid "Team %s" msgid "Team %s"
msgstr "Team %s" msgstr "Team %s"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:204 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:204
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:137 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:153
msgid "view" msgid "view"
msgstr "ansehen" msgstr "ansehen"
@ -108,8 +108,8 @@ msgstr "ansehen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/Shifts_view.php:67 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Shifts_view.php:67
#: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:52 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:52
#: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:63 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:63
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:140 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:156
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:193 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:207
msgid "edit" msgid "edit"
msgstr "bearbeiten" msgstr "bearbeiten"
@ -131,13 +131,13 @@ msgstr "löschen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:219 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:219
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:80 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:80
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:217 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:219
msgid "leave" msgid "leave"
msgstr "verlassen" msgstr "verlassen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:221 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:221
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:76 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:76
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:219 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:221
msgid "join" msgid "join"
msgstr "mitmachen" msgstr "mitmachen"
@ -291,13 +291,13 @@ msgid "Removed coordinator rights for %s from %s."
msgstr "%s hat jetzt nicht mehr %s als Koordinator." msgstr "%s hat jetzt nicht mehr %s als Koordinator."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/user_angeltypes_controller.php:284 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/user_angeltypes_controller.php:284
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:120 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:122
#: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:3 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:3
msgid "Add coordinator rights" msgid "Add coordinator rights"
msgstr "Koordinatorrechte geben" msgstr "Koordinatorrechte geben"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/user_angeltypes_controller.php:284 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/user_angeltypes_controller.php:284
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:113 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:114
#: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:3 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:3
msgid "Remove coordinator rights" msgid "Remove coordinator rights"
msgstr "Koordinatorrechte entfernen" msgstr "Koordinatorrechte entfernen"
@ -332,67 +332,81 @@ msgstr "Du bist %s beigetreten."
msgid "Become a %s" msgid "Become a %s"
msgstr "Werde ein %s" msgstr "Werde ein %s"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:60 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:56
msgid "User got vouchers." msgid "Please enter a valid number of vouchers."
msgstr "Engel hat Voucher bekommen." msgstr "Bitte gib eine korrekte Anzahl von Vouchern ein."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:60 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:66
msgid "User didnt got vouchers." msgid "Saved the number of vouchers."
msgstr "Engel hat keine Voucher mehr." msgstr "Anzahl der Voucher gespeichert."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:118 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:67
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:46 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:191
#, php-format
msgid "Got %s voucher"
msgid_plural "Got %s vouchers"
msgstr[0] "Einen Voucher bekommen"
msgstr[1] "%s Voucher bekommen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:74
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:26
#, php-format
msgid "%s's vouchers"
msgstr "Voucher von %s"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:131
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:62
msgid "All users" msgid "All users"
msgstr "Alle Benutzer" msgstr "Alle Benutzer"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:133 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:146
msgid "Token is not correct." msgid "Token is not correct."
msgstr "Der Token ist nicht in Ordnung." msgstr "Der Token ist nicht in Ordnung."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:143 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:156
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:93 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:93
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:111 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:111
msgid "Your passwords don't match." msgid "Your passwords don't match."
msgstr "Deine Passwörter stimmen nicht überein." msgstr "Deine Passwörter stimmen nicht überein."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:147 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:160
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:109 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:109
msgid "Your password is to short (please use at least 6 characters)." msgid "Your password is to short (please use at least 6 characters)."
msgstr "Dein Passwort ist zu kurz (Bitte mindestens 6 Zeichen nutzen)." msgstr "Dein Passwort ist zu kurz (Bitte mindestens 6 Zeichen nutzen)."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:153 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:166
msgid "Password could not be updated." msgid "Password could not be updated."
msgstr "Passwort kann nicht neu gesetzt werden." msgstr "Passwort kann nicht neu gesetzt werden."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:155 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:168
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:113 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:113
msgid "Password saved." msgid "Password saved."
msgstr "Passwort gespeichert." msgstr "Passwort gespeichert."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:173 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:186
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:177 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:190
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:63 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:63
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:36 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:36
msgid "E-mail address is not correct." msgid "E-mail address is not correct."
msgstr "Die E-Mail Adresse ist nicht in Ordnung." msgstr "Die E-Mail Adresse ist nicht in Ordnung."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:181 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:194
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:67 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:67
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:40 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:40
msgid "Please enter your e-mail." msgid "Please enter your e-mail."
msgstr "Bitte gib Deine E-Mail-Adresse ein." msgstr "Bitte gib Deine E-Mail-Adresse ein."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:188 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:201
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:205 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:218
msgid "Password recovery" msgid "Password recovery"
msgstr "Passwort wiederherstellen" msgstr "Passwort wiederherstellen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:188 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:201
#, php-format #, php-format
msgid "Please visit %s to recover your password." msgid "Please visit %s to recover your password."
msgstr "Bitte besuche %s, um Dein Passwort zurückzusetzen" msgstr "Bitte besuche %s, um Dein Passwort zurückzusetzen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:192 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:205
msgid "We sent an email containing your password recovery link." msgid "We sent an email containing your password recovery link."
msgstr "" msgstr ""
"Wir haben eine eMail mit einem Link zum Passwort-zurücksetzen geschickt." "Wir haben eine eMail mit einem Link zum Passwort-zurücksetzen geschickt."
@ -498,9 +512,10 @@ msgid "Marked angels."
msgstr "Engel wurden markiert." msgstr "Engel wurden markiert."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:54 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:54
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:121 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:123
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:156 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:158
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:251 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:251
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:29
#: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:65 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:65
msgid "back" msgid "back"
msgstr "zurück" msgstr "zurück"
@ -550,9 +565,9 @@ msgid "remove t-shirt"
msgstr "entferne t-shirt" msgstr "entferne t-shirt"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:150 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:150
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:137 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:139
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:144 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:146
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:36 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:52
msgid "Sum" msgid "Sum"
msgstr "Summe" msgstr "Summe"
@ -587,13 +602,13 @@ msgstr "Nick"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:166 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:166
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:176 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:176
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:62 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:78
msgid "Size" msgid "Size"
msgstr "Größe" msgstr "Größe"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:167 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:167
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:4 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:4
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:204 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:217
msgid "Shifts" msgid "Shifts"
msgstr "Schichten" msgstr "Schichten"
@ -607,7 +622,7 @@ msgid "Active?"
msgstr "Aktiv?" msgstr "Aktiv?"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:170 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:170
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:60 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:76
msgid "Forced" msgid "Forced"
msgstr "Gezwungen" msgstr "Gezwungen"
@ -651,7 +666,7 @@ msgstr "zurücksetzen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:58 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:58
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:105 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:105
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:120 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:120
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:194 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:208
msgid "arrived" msgid "arrived"
msgstr "angekommen" msgstr "angekommen"
@ -700,20 +715,20 @@ msgstr "Nur bestätigte"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:180 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:180
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:311 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:311
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:156 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:156
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:129 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:131
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:155 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:157
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:167 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:169
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:52 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:68
msgid "Nick" msgid "Nick"
msgstr "Nick" msgstr "Nick"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:87 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:87
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:209 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:209
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:162 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:162
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:130 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:132
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:156 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:158
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:168 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:170
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:55 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:71
msgid "DECT" msgid "DECT"
msgstr "DECT" msgstr "DECT"
@ -726,7 +741,7 @@ msgstr "Jabber"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:89 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:89
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:183 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:183
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:164 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:164
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:225 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:238
msgid "E-Mail" msgid "E-Mail"
msgstr "E-Mail" msgstr "E-Mail"
@ -737,13 +752,13 @@ msgstr "Gruppenrechte"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_groups.php:29 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_groups.php:29
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:109 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:109
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:113 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:113
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:127 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:129
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:172 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:174
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:60 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:60
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:189 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:191
#: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:33 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:33
#: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:74 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:74
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:54 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:70
msgid "Name" msgid "Name"
msgstr "Name" msgstr "Name"
@ -754,7 +769,7 @@ msgstr "Privilegien"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_groups.php:53 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_groups.php:53
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_news.php:32 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_news.php:32
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_questions.php:35 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_questions.php:35
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:141 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:143
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:257 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:257
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_messages.php:62 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_messages.php:62
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:106 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:106
@ -768,7 +783,8 @@ msgstr "Privilegien"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/Questions_view.php:32 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Questions_view.php:32
#: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftEntry_view.php:32 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftEntry_view.php:32
#: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:37 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:37
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:241 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:33
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:254
msgid "Save" msgid "Save"
msgstr "Speichern" msgstr "Speichern"
@ -777,8 +793,8 @@ msgid "Edit group"
msgstr "Gruppe bearbeiten" msgstr "Gruppe bearbeiten"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:4 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:4
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:128 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:130
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:173 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:175
msgid "Frab import" msgid "Frab import"
msgstr "Frab Import" msgstr "Frab Import"
@ -864,7 +880,7 @@ msgstr "Anzulegende Schichten"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:118 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:118
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:127 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:127
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:136 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:136
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:206 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:219
msgid "Day" msgid "Day"
msgstr "Tag" msgstr "Tag"
@ -949,7 +965,7 @@ msgid "Meeting"
msgstr "Treffen" msgstr "Treffen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_news.php:35 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_news.php:35
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:160 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:162
msgid "Delete" msgid "Delete"
msgstr "löschen" msgstr "löschen"
@ -1011,34 +1027,34 @@ msgstr "Räume"
msgid "Please enter needed angels for type %s." msgid "Please enter needed angels for type %s."
msgstr "Bitte gib die Anzahl der benötigten Engel vom Typ %s an." msgstr "Bitte gib die Anzahl der benötigten Engel vom Typ %s an."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:109 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:111
msgid "Room saved." msgid "Room saved."
msgstr "Raum gespeichert." msgstr "Raum gespeichert."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:129 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:131
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:174 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:176
msgid "Public" msgid "Public"
msgstr "Öffentlich" msgstr "Öffentlich"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:130 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:132
msgid "Room number" msgid "Room number"
msgstr "Raumnummer" msgstr "Raumnummer"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:135 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:137
msgid "Needed angels:" msgid "Needed angels:"
msgstr "Benötigte Engel:" msgstr "Benötigte Engel:"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:150 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:152
#, php-format #, php-format
msgid "Room %s deleted." msgid "Room %s deleted."
msgstr "Raum %s gelöscht." msgstr "Raum %s gelöscht."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:158 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:160
#, php-format #, php-format
msgid "Do you want to delete room %s?" msgid "Do you want to delete room %s?"
msgstr "Möchest Du den Raum %s wirklich löschen?" msgstr "Möchest Du den Raum %s wirklich löschen?"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:168 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:170
msgid "add" msgid "add"
msgstr "Neu" msgstr "Neu"
@ -1234,12 +1250,12 @@ msgstr "T-Shirt Größe"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:197 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:197
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:312 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:312
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:239 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:252
msgid "Password" msgid "Password"
msgstr "Passwort" msgstr "Passwort"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:200 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:200
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:240 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:253
msgid "Confirm password" msgid "Confirm password"
msgstr "Passwort wiederholen" msgstr "Passwort wiederholen"
@ -1408,7 +1424,7 @@ msgid "Key changed."
msgstr "Key geändert." msgstr "Key geändert."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_myshifts.php:27 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_myshifts.php:27
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:200 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:213
msgid "Reset API key" msgid "Reset API key"
msgstr "API-Key zurücksetzen" msgstr "API-Key zurücksetzen"
@ -1500,7 +1516,7 @@ msgid "No question found."
msgstr "Keine Frage gefunden." msgstr "Keine Frage gefunden."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:4 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:4
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:197 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:210
msgid "Settings" msgid "Settings"
msgstr "Einstellungen" msgstr "Einstellungen"
@ -1635,7 +1651,7 @@ msgid "You are subscribed. Thank you!"
msgstr "Du bist eingetragen. Danke!" msgstr "Du bist eingetragen. Danke!"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:307 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:307
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:172 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:188
msgid "Freeloader" msgid "Freeloader"
msgstr "Schwänzer" msgstr "Schwänzer"
@ -1693,7 +1709,7 @@ msgid "Add more angels"
msgstr "Neue Engel hinzufügen" msgstr "Neue Engel hinzufügen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:799 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:799
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:207 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:220
msgid "Time" msgid "Time"
msgstr "Zeit" msgstr "Zeit"
@ -1754,7 +1770,7 @@ msgid "None"
msgstr "Keine" msgstr "Keine"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:28 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:28
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:161 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:163
msgid "Unconfirmed" msgid "Unconfirmed"
msgstr "Unbestätigt" msgstr "Unbestätigt"
@ -1785,7 +1801,7 @@ msgid "cancel"
msgstr "abbrechen" msgstr "abbrechen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:61 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:61
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:190 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:192
msgid "Restricted" msgid "Restricted"
msgstr "Beschränkt" msgstr "Beschränkt"
@ -1834,44 +1850,44 @@ msgstr "bestätigen"
msgid "deny" msgid "deny"
msgstr "ablehnen" msgstr "ablehnen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:121 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:123
msgid "remove" msgid "remove"
msgstr "entfernen" msgstr "entfernen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:127 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:129
msgid "Coordinators" msgid "Coordinators"
msgstr "Koordinatoren" msgstr "Koordinatoren"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:149 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:151
msgid "Members" msgid "Members"
msgstr "Mitglieder" msgstr "Mitglieder"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:152 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:154
#: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:70 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:70
msgid "Add" msgid "Add"
msgstr "Hinzufügen" msgstr "Hinzufügen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:163 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:165
msgid "confirm all" msgid "confirm all"
msgstr "Alle bestätigen" msgstr "Alle bestätigen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:164 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:166
msgid "deny all" msgid "deny all"
msgstr "Alle ablehnen" msgstr "Alle ablehnen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:185 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:187
msgid "New angeltype" msgid "New angeltype"
msgstr "Neuer Engeltyp" msgstr "Neuer Engeltyp"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:191 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:193
msgid "Membership" msgid "Membership"
msgstr "Mitgliedschaft" msgstr "Mitgliedschaft"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:205 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:207
msgid "FAQ" msgid "FAQ"
msgstr "FAQ" msgstr "FAQ"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:207 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:209
msgid "" msgid ""
"Here is the list of teams and their tasks. If you have questions, read the " "Here is the list of teams and their tasks. If you have questions, read the "
"FAQ." "FAQ."
@ -1879,7 +1895,7 @@ msgstr ""
"Hier ist die Liste der Teams und ihrer Aufgaben. Wenn Du Fragen hast, schaue " "Hier ist die Liste der Teams und ihrer Aufgaben. Wenn Du Fragen hast, schaue "
"im FAQ nach." "im FAQ nach."
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:224 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:226
msgid "" msgid ""
"This angeltype is restricted by double-opt-in by a team coordinator. Please " "This angeltype is restricted by double-opt-in by a team coordinator. Please "
"show up at the according introduction meetings." "show up at the according introduction meetings."
@ -1896,8 +1912,8 @@ msgid "Your Question:"
msgstr "Deine Frage:" msgstr "Deine Frage:"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftEntry_view.php:17 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftEntry_view.php:17
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:131 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:147
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:133 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:149
msgid "Freeloaded" msgid "Freeloaded"
msgstr "Geschwänzt" msgstr "Geschwänzt"
@ -1942,7 +1958,7 @@ msgid "You are signed up for this shift."
msgstr "Du bist für diese Schicht eingetragen." msgstr "Du bist für diese Schicht eingetragen."
#: /Users/msquare/workspace/projects/engelsystem/includes/view/Shifts_view.php:94 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Shifts_view.php:94
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:208 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:221
msgid "Location" msgid "Location"
msgstr "Ort" msgstr "Ort"
@ -1972,129 +1988,128 @@ msgstr "Neuer Schichttyp"
msgid "Please select..." msgid "Please select..."
msgstr "Bitte auswählen..." msgstr "Bitte auswählen..."
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:30 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:32
msgid "Number of vouchers"
msgstr "Anzahl Voucher"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:46
msgid "m/d/Y h:i a" msgid "m/d/Y h:i a"
msgstr "d.m.Y H:i" msgstr "d.m.Y H:i"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:49 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:65
msgid "New user" msgid "New user"
msgstr "Neuer User" msgstr "Neuer User"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:53 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:69
msgid "Prename" msgid "Prename"
msgstr "Vorname" msgstr "Vorname"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:56 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:72
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:176 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:190
msgid "Arrived" msgid "Arrived"
msgstr "Angekommen" msgstr "Angekommen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:57 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:73
msgid "Voucher" msgid "Voucher"
msgstr "Voucher" msgstr "Voucher"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:58 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:74
msgid "Freeloads" msgid "Freeloads"
msgstr "Schwänzereien" msgstr "Schwänzereien"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:59 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:75
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:178 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:192
msgid "Active" msgid "Active"
msgstr "Aktiv" msgstr "Aktiv"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:61 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:77
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:179 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:193
msgid "T-Shirt" msgid "T-Shirt"
msgstr "T-Shirt" msgstr "T-Shirt"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:63 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:79
msgid "Last login" msgid "Last login"
msgstr "Letzter Login" msgstr "Letzter Login"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:79 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:95
msgid "Free" msgid "Free"
msgstr "Frei" msgstr "Frei"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:83 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:99
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:85 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:101
#, php-format #, php-format
msgid "Next shift %c" msgid "Next shift %c"
msgstr "Nächste Schicht %c" msgstr "Nächste Schicht %c"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:90 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:106
#, php-format #, php-format
msgid "Shift starts %c" msgid "Shift starts %c"
msgstr "Schicht startet %c" msgstr "Schicht startet %c"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:92 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:108
#, php-format #, php-format
msgid "Shift ends %c" msgid "Shift ends %c"
msgstr "Schicht endet %c" msgstr "Schicht endet %c"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:142 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:158
msgid "sign off" msgid "sign off"
msgstr "abmelden" msgstr "abmelden"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:153 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:169
msgid "Sum:" msgid "Sum:"
msgstr "Summe:" msgstr "Summe:"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:171 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:187
msgid "User state" msgid "User state"
msgstr "Engelzustand" msgstr "Engelzustand"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:175 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:190
#, php-format #, php-format
msgid "Arrived at %s" msgid "Arrived at %s"
msgstr "Angekommen am %s" msgstr "Angekommen am %s"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:175 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:190
#, php-format #, php-format
msgid "Not arrived (Planned: %s)" msgid "Not arrived (Planned: %s)"
msgstr "Nicht angekommen (Geplant: %s)" msgstr "Nicht angekommen (Geplant: %s)"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:176 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:190
msgid "Not arrived" msgid "Not arrived"
msgstr "Nicht angekommen" msgstr "Nicht angekommen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:177 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:191
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:195
msgid "Got vouchers"
msgstr "Voucher bekommen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:177
msgid "Got no vouchers" msgid "Got no vouchers"
msgstr "Voucher nicht bekommen" msgstr "Voucher nicht bekommen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:186 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:200
msgid "Rights" msgid "Rights"
msgstr "Rechte" msgstr "Rechte"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:196 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:209
msgid "Remove vouchers" msgid "Edit vouchers"
msgstr "Voucher entfernen" msgstr "Voucher bearbeiten"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:198 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:211
msgid "iCal Export" msgid "iCal Export"
msgstr "iCal Export" msgstr "iCal Export"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:199 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:212
msgid "JSON Export" msgid "JSON Export"
msgstr "JSON Export" msgstr "JSON Export"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:209 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:222
msgid "Name &amp; workmates" msgid "Name &amp; workmates"
msgstr "Name &amp; Kollegen" msgstr "Name &amp; Kollegen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:210 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:223
msgid "Comment" msgid "Comment"
msgstr "Kommentar" msgstr "Kommentar"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:211 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:224
msgid "Action" msgid "Action"
msgstr "Aktion" msgstr "Aktion"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:213 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:226
#, php-format #, php-format
msgid "" msgid ""
"Go to the <a href=\"%s\">shifts table</a> to sign yourself up for some " "Go to the <a href=\"%s\">shifts table</a> to sign yourself up for some "
@ -2103,7 +2118,7 @@ msgstr ""
"Gehe zur <a href=\"%s\">Schicht-Tabelle</a>, um Dich für Schichten " "Gehe zur <a href=\"%s\">Schicht-Tabelle</a>, um Dich für Schichten "
"einzutragen." "einzutragen."
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:223 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:236
msgid "" msgid ""
"We will send you an e-mail with a password recovery link. Please use the " "We will send you an e-mail with a password recovery link. Please use the "
"email address you used for registration." "email address you used for registration."
@ -2112,11 +2127,11 @@ msgstr ""
"zurücksetzen kannst. Bitte benutze die Mailadresse, die du bei der Anmeldung " "zurücksetzen kannst. Bitte benutze die Mailadresse, die du bei der Anmeldung "
"verwendet hast." "verwendet hast."
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:226 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:239
msgid "Recover" msgid "Recover"
msgstr "Wiederherstellen" msgstr "Wiederherstellen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:237 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:250
msgid "Please enter a new password." msgid "Please enter a new password."
msgstr "Gib bitte ein neues Passwort ein." msgstr "Gib bitte ein neues Passwort ein."
@ -2175,6 +2190,12 @@ msgstr ""
"Du hast keinen Zugriff auf diese Seite. Registriere Dich und logge Dich " "Du hast keinen Zugriff auf diese Seite. Registriere Dich und logge Dich "
"bitte ein, um Zugriff zu erhalten!" "bitte ein, um Zugriff zu erhalten!"
#~ msgid "User didnt got vouchers."
#~ msgstr "Engel hat keine Voucher mehr."
#~ msgid "Remove vouchers"
#~ msgstr "Voucher entfernen"
#~ msgid "" #~ msgid ""
#~ "This shift is running now or ended already. Please contact a dispatcher " #~ "This shift is running now or ended already. Please contact a dispatcher "
#~ "to join the shift." #~ "to join the shift."

Loading…
Cancel
Save