user list rewritten

This commit is contained in:
Philip Häusler 2014-09-28 14:50:08 +02:00
parent 0f77edc4fb
commit 1d9e1c467c
8 changed files with 309 additions and 227 deletions

View File

@ -225,7 +225,7 @@ function angeltypes_list_controller() {
$angeltype['restricted'] = $angeltype['restricted'] ? '<img src="pic/icons/lock.png" alt="' . _("Restricted") . '" title="' . _("Restricted") . '">' : ''; $angeltype['restricted'] = $angeltype['restricted'] ? '<img src="pic/icons/lock.png" alt="' . _("Restricted") . '" title="' . _("Restricted") . '">' : '';
$angeltype['name'] = '<a href="' . page_link_to('angeltypes') . '&action=view&angeltype_id=' . $angeltype['id'] . '">' . $angeltype['name'] . '</a>'; $angeltype['name'] = '<a href="' . page_link_to('angeltypes') . '&action=view&angeltype_id=' . $angeltype['id'] . '">' . $angeltype['name'] . '</a>';
$angeltype['actions'] = buttons($actions); $angeltype['actions'] = table_buttons($actions);
} }
return array( return array(

View File

@ -55,7 +55,46 @@ function user_controller() {
} }
function users_list_controller() { function users_list_controller() {
redirect(page_link_to('admin_user')); global $privileges;
if (! in_array('admin_user', $privileges))
redirect(page_link_to(''));
$order_by = 'Nick';
if (isset($_REQUEST['OrderBy']) && in_array($_REQUEST['OrderBy'], array(
'Nick',
'Name',
'Vorname',
'Alter',
'DECT',
'email',
'Size',
'Gekommen',
'Aktiv',
'force_active',
'Tshirt',
'lastLogIn'
)))
$order_by = $_REQUEST['OrderBy'];
$users = Users($order_by);
if ($users === false)
engelsystem_error('Unable to load users.');
foreach ($users as &$user) {
$user['freeloads'] = sql_select_single_cell("SELECT COUNT(*) FROM `ShiftEntry` WHERE `freeloaded` = 1 AND `UID` = " . sql_escape($user['UID']));
}
$arrived_count = sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `Gekommen` = 1");
$active_count = sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `Aktiv` = 1");
$force_active_count = sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `force_active` = 1");
$freeloads_count = sql_select_single_cell("SELECT COUNT(*) FROM `ShiftEntry` WHERE `freeloaded` = 1");
$tshirts_count = sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `Tshirt` = 1");
return array(
_('All users'),
Users_view($users, $order_by, $arrived_count, $active_count, $force_active_count, $freeloads_count, $tshirts_count)
);
} }
/** /**

View File

@ -1,8 +1,18 @@
<?php <?php
/** /**
* User model * User model
*/ */
/**
* Get all users, ordered by Nick by default or by given param.
*
* @param string $order_by
*/
function Users($order_by = 'Nick') {
return sql_select("SELECT * FROM `User` ORDER BY `" . sql_escape($order_by) . "` ASC");
}
/** /**
* Returns true if user is freeloader * Returns true if user is freeloader
* *

View File

@ -12,7 +12,6 @@ function admin_user() {
if (isset($_REQUEST['id']) && preg_match("/^[0-9]{1,}$/", $_REQUEST['id']) && sql_num_query("SELECT * FROM `User` WHERE `UID`=" . sql_escape($_REQUEST['id'])) > 0) { if (isset($_REQUEST['id']) && preg_match("/^[0-9]{1,}$/", $_REQUEST['id']) && sql_num_query("SELECT * FROM `User` WHERE `UID`=" . sql_escape($_REQUEST['id'])) > 0) {
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
if (! isset($_REQUEST['action'])) { if (! isset($_REQUEST['action'])) {
$html .= '<h1>' . _('Edit user') . '</h1>';
$html .= "Hallo,<br />" . "hier kannst du den Eintrag &auml;ndern. Unter dem Punkt 'Gekommen' " . "wird der Engel als anwesend markiert, ein Ja bei Aktiv bedeutet, " . "dass der Engel aktiv war und damit ein Anspruch auf ein T-Shirt hat. " . "Wenn T-Shirt ein 'Ja' enth&auml;lt, bedeutet dies, dass der Engel " . "bereits sein T-Shirt erhalten hat.<br /><br />\n"; $html .= "Hallo,<br />" . "hier kannst du den Eintrag &auml;ndern. Unter dem Punkt 'Gekommen' " . "wird der Engel als anwesend markiert, ein Ja bei Aktiv bedeutet, " . "dass der Engel aktiv war und damit ein Anspruch auf ein T-Shirt hat. " . "Wenn T-Shirt ein 'Ja' enth&auml;lt, bedeutet dies, dass der Engel " . "bereits sein T-Shirt erhalten hat.<br /><br />\n";
$html .= "<form action=\"" . page_link_to("admin_user") . "&action=save&id=$id\" method=\"post\">\n"; $html .= "<form action=\"" . page_link_to("admin_user") . "&action=save&id=$id\" method=\"post\">\n";
@ -265,90 +264,11 @@ function admin_user() {
} }
} }
} else { } else {
// Userliste, keine UID uebergeben... redirect(page_link_to('users'));
$html .= '<h1>' . _('All users') . '</h1>';
$html .= "<a href=\"" . page_link_to("register") . "\">Neuen Engel eintragen &raquo;</a><br /><br />\n";
if (! isset($_GET["OrderBy"]))
$_GET["OrderBy"] = "Nick";
$SQL = "SELECT * FROM `User` ORDER BY `" . sql_escape($_GET["OrderBy"]) . "` ASC";
$angels = sql_select($SQL);
function prepare_angel_table($angel) {
global $privileges;
$groups = sql_select_single_col("SELECT `Name` FROM `UserGroups` JOIN `Groups` ON (`Groups`.`UID` = `UserGroups`.`group_id`) WHERE `UserGroups`.`uid`=" . sql_escape($angel["UID"]) . " ORDER BY `Groups`.`Name`");
$angeltypes = sql_select_single_col("
SELECT `AngelTypes`.`name`
FROM `UserAngelTypes`
JOIN `AngelTypes` ON (`UserAngelTypes`.`angeltype_id`=`AngelTypes`.`id`)
WHERE `user_id`=" . sql_escape($angel['UID']));
$popup = '<div class="hidden">';
$popup .= _("Angeltypes") . ': ' . implode(', ', $angeltypes);
$popup .= '<br />' . _("Groups") . ': ' . implode(', ', $groups);
if (strlen($angel["Telefon"]) > 0)
$popup .= "<br>Tel: " . $angel["Telefon"];
if (strlen($angel["Handy"]) > 0)
$popup .= "<br>Handy: " . $angel["Handy"];
if (strlen($angel["DECT"]) > 0)
$popup .= "<br>DECT: " . $angel["DECT"];
if (strlen($angel["Hometown"]) > 0)
$popup .= "<br>Hometown: " . $angel["Hometown"];
if (strlen($angel["CreateDate"]) > 0)
$popup .= "<br>Registered: " . $angel["CreateDate"];
if (strlen($angel["Art"]) > 0)
$popup .= "<br>Type: " . $angel["Art"];
if (strlen($angel["ICQ"]) > 0)
$popup .= "<br>ICQ: " . $angel["ICQ"];
if (strlen($angel["jabber"]) > 0)
$popup .= "<br>Jabber: " . $angel["jabber"];
return array(
'Nick' => User_Nick_render($angel),
'Name' => htmlspecialchars($angel['Vorname'] . ' ' . $angel['Name']) . $popup,
'DECT' => htmlspecialchars($angel['DECT']),
'Gekommen' => '<img src="pic/icons/' . ($angel['Gekommen'] == 1 ? 'tick' : 'cross') . '.png" alt="' . $angel['Gekommen'] . '">',
'freeloads' => sql_select_single_cell("SELECT COUNT(*) FROM `ShiftEntry` WHERE `freeloaded` = 1 AND `UID` = " . sql_escape($angel['UID'])),
'Aktiv' => '<img src="pic/icons/' . ($angel['Aktiv'] == 1 ? 'tick' : 'cross') . '.png" alt="' . $angel['Aktiv'] . '">',
'force_active' => '<img src="pic/icons/' . ($angel['force_active'] == 1 ? 'tick' : 'cross') . '.png" alt="' . $angel['force_active'] . '">',
'Tshirt' => '<img src="pic/icons/' . ($angel['Tshirt'] == 1 ? 'tick' : 'cross') . '.png" alt="' . $angel['Tshirt'] . '">',
'Size' => $angel['Size'],
'lastLogIn' => date('d.m.&\n\b\s\p;H:i', $angel['lastLogIn']),
'edit' => img_button(page_link_to('admin_user') . '&id=' . $angel['UID'], 'pencil', _("edit"))
);
}
$angels = array_map('prepare_angel_table', $angels);
$Gekommen = sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `Gekommen` = 1");
$Active = sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `Aktiv` = 1");
$force_active_count = sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `force_active` = 1");
$freeloads_count = sql_select_single_cell("SELECT COUNT(*) FROM `ShiftEntry` WHERE `freeloaded` = 1");
$Tshirt = sql_select_single_cell("SELECT COUNT(*) FROM `User` WHERE `Tshirt` = 1");
$angels[] = array(
'Nick' => '<strong>Summe</strong>',
'Gekommen' => $Gekommen,
'Aktiv' => $Active,
'force_active' => $force_active_count,
'freeloads' => $freeloads_count,
'Tshirt' => $Tshirt ,
'edit' => '<strong>' . count($angels) . '</strong>'
);
$html .= table(array(
'Nick' => '<a href="' . page_link_to("admin_user") . '&amp;OrderBy=Nick">Nick</a>',
'Name' => '<a href="' . page_link_to("admin_user") . '&amp;OrderBy=Vorname">Vorname</a> <a href="' . page_link_to("admin_user") . '&amp;OrderBy=Name">Name</a>',
'DECT' => '<a href="' . page_link_to("admin_user") . '&amp;OrderBy=DECT">DECT</a>',
'Gekommen' => '<div class="rotate"><a href="' . page_link_to("admin_user") . '&amp;OrderBy=Gekommen">Gekommen</a></div>',
'freeloads' => '<div class="rotate">' . _("Freeloads") . '</div>',
'Aktiv' => '<div class="rotate"><a href="' . page_link_to("admin_user") . '&amp;OrderBy=Aktiv">Aktiv</a></div>',
'force_active' => '<div class="rotate"><a href="' . page_link_to("admin_user") . '&amp;OrderBy=force_active">' . _("Forced") . '</a></div>',
'Tshirt' => '<div class="rotate"><a href="' . page_link_to("admin_user") . '&amp;OrderBy=Tshirt">T-Shirt</a></div>',
'Size' => '<div class="rotate"><a href="' . page_link_to("admin_user") . '&amp;OrderBy=Size">Gr&ouml;&szlig;e</a></div>',
'lastLogIn' => '<a href="' . page_link_to("admin_user") . '&amp;OrderBy=lastLogIn">Last login</a>',
'edit' => ''
), $angels);
} }
return page(array(
'<div class="col-md-12">', return page_with_title(_('Edit user'), array(
$html, $html
'</div>'
)); ));
} }
?> ?>

View File

@ -8,6 +8,24 @@ $themes = array(
"1" => "Engelsystem dark" "1" => "Engelsystem dark"
); );
/**
* Render glyphicon
*
* @param string $glyph_name
*/
function glyph($glyph_name) {
return ' <span class="glyphicon glyphicon-' . $glyph_name . '"></span> ';
}
/**
* Renders a tick or a cross by given boolean
*
* @param boolean $boolean
*/
function glyph_bool($boolean) {
return '<span class="text-' . ($boolean ? 'success' : 'danger') . '">' . glyph($boolean ? 'ok' : 'remove') . '</span>';
}
function div($class, $content = array(), $id = "") { function div($class, $content = array(), $id = "") {
$id = $id != '' ? ' id="' . $id . '"' : ''; $id = $id != '' ? ' id="' . $id . '"' : '';
return '<div' . $id . ' class="' . $class . '">' . join("\n", $content) . '</div>'; return '<div' . $id . ' class="' . $class . '">' . join("\n", $content) . '</div>';
@ -292,7 +310,11 @@ function button($href, $label, $class = "") {
* Rendert eine Toolbar mit Knöpfen * Rendert eine Toolbar mit Knöpfen
*/ */
function buttons($buttons = array ()) { function buttons($buttons = array ()) {
return '<div class="form-group"><div class="btn-group">' . join(' ', $buttons) . '</div></div>'; return '<div class="form-group">' . table_buttons($buttons) . '</div>';
}
function table_buttons($buttons = array()) {
return '<div class="btn-group">' . join(' ', $buttons) . '</div>';
} }
// Load and render template // Load and render template

View File

@ -19,6 +19,53 @@ $tshirt_sizes = array(
'XL-G' => "XL Girl" 'XL-G' => "XL Girl"
); );
function Users_view($users, $order_by, $arrived_count, $active_count, $force_active_count, $freeloads_count, $tshirts_count) {
foreach ($users as &$user) {
$user['Gekommen'] = glyph_bool($user['Gekommen']);
$user['Aktiv'] = glyph_bool($user['Aktiv']);
$user['force_active'] = glyph_bool($user['force_active']);
$user['Tshirt'] = glyph_bool($user['Tshirt']);
$user['lastLogIn'] = date(_('m/d/Y h:i a'), $user['lastLogIn']);
$user['actions'] = table_buttons(array(
button(page_link_to('admin_user') . '&id=' . $user['UID'], _('edit'), 'btn-xs')
));
}
$users[] = array(
'Nick' => '<strong>' . _('Sum') . '</strong>',
'Gekommen' => $arrived_count,
'Aktiv' => $active_count,
'force_active' => $force_active_count,
'freeloads' => $freeloads_count,
'Tshirt' => $tshirts_count,
'actions' => '<strong>' . count($users) . '</strong>'
);
return page_with_title(_('All users'), array(
msg(),
buttons(array(
button(page_link_to('register'), glyph('plus') . _('New user'))
)),
table(array(
'Nick' => Users_table_header_link('Nick', _('Nick'), $order_by),
'Vorname' => Users_table_header_link('Vorname', _('Prename'), $order_by),
'Name' => Users_table_header_link('Name', _('Name'), $order_by),
'DECT' => Users_table_header_link('DECT', _('DECT'), $order_by),
'Gekommen' => Users_table_header_link('Gekommen', _('Arrived'), $order_by),
'freeloads' => _('Freeloads'),
'Aktiv' => Users_table_header_link('Aktiv', _('Active'), $order_by),
'force_active' => Users_table_header_link('force_active', _('Forced'), $order_by),
'Tshirt' => Users_table_header_link('Tshirt', _('T-Shirt'), $order_by),
'Size' => Users_table_header_link('Size', _('Size'), $order_by),
'lastLogIn' => Users_table_header_link('lastLogIn', _('Last login'), $order_by),
'actions' => ''
), $users)
));
}
function Users_table_header_link($column, $label, $order_by) {
return '<a href="' . page_link_to('users') . '&OrderBy=' . $column . '">' . $label . ($order_by == $column ? ' <span class="caret"></span>' : '') . '</a>';
}
function User_shift_state_render($user) { function User_shift_state_render($user) {
$upcoming_shifts = ShiftEntries_upcoming_for_user($user); $upcoming_shifts = ShiftEntries_upcoming_for_user($user);
if ($upcoming_shifts === false) if ($upcoming_shifts === false)

View File

@ -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: 2014-08-24 16:47+0100\n" "POT-Creation-Date: 2014-09-28 14:25+0100\n"
"PO-Revision-Date: 2014-08-24 16:47+0100\n" "PO-Revision-Date: 2014-09-28 14:26+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"
@ -17,20 +17,24 @@ msgstr ""
"X-Poedit-SearchPath-0: /Users/msquare/workspace/projects/engelsystem\n" "X-Poedit-SearchPath-0: /Users/msquare/workspace/projects/engelsystem\n"
"X-Poedit-SearchPath-1: .\n" "X-Poedit-SearchPath-1: .\n"
#: /Users/msquare/workspace/projects/engelsystem/includes/sys_template.php:258 #: /Users/msquare/workspace/projects/engelsystem/includes/sys_menu.php:85
msgid "Admin"
msgstr "Admin"
#: /Users/msquare/workspace/projects/engelsystem/includes/sys_template.php:280
msgid "No data found." msgid "No data found."
msgstr "Nichts gefunden." 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/pages/admin_user.php:289 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:112
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:46 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:46
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:62 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:62
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:126 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:160
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:278 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:289
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:161 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:161
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:205 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:205
msgid "Teams/Job description" msgid "Teams/Job description"
@ -68,15 +72,16 @@ msgid "view"
msgstr "ansehen" msgstr "ansehen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:209 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:209
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:141
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:56 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:56
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_groups.php:23 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_groups.php:23
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:17 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:17
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:318
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:56 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:56
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:504 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:504
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:74 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:74
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:88 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:30
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:135 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:122
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:169
msgid "edit" msgid "edit"
msgstr "bearbeiten" msgstr "bearbeiten"
@ -270,54 +275,75 @@ 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:71 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:89
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:94
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:34
msgid "All users"
msgstr "Alle Benutzer"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:113
msgid "Groups"
msgstr "Gruppen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:164
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:44
msgid "Freeloads"
msgstr "Schwänzereien"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:166
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:156
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:46
msgid "Forced"
msgstr "Gezwungen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:189
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:81 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:199
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:90 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:91
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:128 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:128
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:85 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:203
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:126 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:126
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:91 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:209
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:93 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:211
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:130 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:130
msgid "Password saved." msgid "Password saved."
msgstr "Passwort gespeichert." msgstr "Passwort gespeichert."
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:111 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:229
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:115 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:233
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:61 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:62
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:55 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:55
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:119 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:237
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:65 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:66
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:59 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:59
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:126 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:244
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:143 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:261
msgid "Password recovery" msgid "Password recovery"
msgstr "Passwort wiederherstellen" msgstr "Passwort wiederherstellen"
#: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:126 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:244
#, 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:130 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/users_controller.php:248
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."
@ -446,11 +472,13 @@ msgstr "Nick"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:152 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:152
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:162 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:162
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:48
msgid "Size" msgid "Size"
msgstr "Größe" msgstr "Größe"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:153 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:153
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:140 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:3
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:174
msgid "Shifts" msgid "Shifts"
msgstr "Schichten" msgstr "Schichten"
@ -463,11 +491,6 @@ msgstr "Länge"
msgid "Active?" msgid "Active?"
msgstr "Aktiv?" msgstr "Aktiv?"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:156
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:342
msgid "Forced"
msgstr "Gezwungen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:157 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:157
msgid "T-shirt?" msgid "T-shirt?"
msgstr "T-Shirt?" msgstr "T-Shirt?"
@ -506,7 +529,7 @@ msgid "reset"
msgstr "zurücksetzen" msgstr "zurücksetzen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:55 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:55
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:136 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:170
msgid "arrived" msgid "arrived"
msgstr "angekommen" msgstr "angekommen"
@ -528,34 +551,36 @@ msgid "Only confirmed"
msgstr "Nur bestätigte" msgstr "Nur bestätigte"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:77 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:77
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:150 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:151
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:260 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:274
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:173 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:173
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:119 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:119
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:130 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:130
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:142 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:142
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:39
msgid "Nick" msgid "Nick"
msgstr "Nick" msgstr "Nick"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:79 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:79
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:171 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:172
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:178 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:178
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:120 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:120
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:131 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:131
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:143 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:143
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:42
msgid "DECT" msgid "DECT"
msgstr "DECT" msgstr "DECT"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:80 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:80
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:180 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:181
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:182 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:182
msgid "Jabber" msgid "Jabber"
msgstr "Jabber" msgstr "Jabber"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:81 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:81
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:153 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:154
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:180 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:180
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:161 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:195
msgid "E-Mail" msgid "E-Mail"
msgstr "E-Mail" msgstr "E-Mail"
@ -574,6 +599,7 @@ msgstr "Gruppenrechte"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:269 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:269
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:50 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:50
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:164 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:164
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:41
msgid "Name" msgid "Name"
msgstr "Name" msgstr "Name"
@ -586,7 +612,7 @@ msgstr "Privilegien"
#: /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:127 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:127
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:228 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:228
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:129 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:131
#: /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
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:160 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:160
@ -598,7 +624,7 @@ msgstr "Privilegien"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:55 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:55
#: /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/User_view.php:177 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:211
msgid "Save" msgid "Save"
msgstr "Speichern" msgstr "Speichern"
@ -644,7 +670,7 @@ msgstr "Anzulegende Schichten"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:80 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:80
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:88 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:88
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:96 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_import.php:96
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:142 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:176
msgid "Day" msgid "Day"
msgstr "Tag" msgstr "Tag"
@ -778,9 +804,9 @@ msgid "Please enter a name."
msgstr "Gib bitte einen Namen an." msgstr "Gib bitte einen Namen an."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:82 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:82
#, fuzzy, php-format #, php-format
msgid "Please enter needed angels for type %s." msgid "Please enter needed angels for type %s."
msgstr "Bitte prüfe deine Eingabe für benötigte Engel des Typs %s." msgstr "Bitte gib die Anzahl der benötigten Engel vom Typ %s an."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:107 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:107
msgid "Room saved." msgid "Room saved."
@ -859,71 +885,67 @@ msgstr "Übernehme benötigte Engel von den Raum-Einstellungen"
msgid "The following angels are needed" msgid "The following angels are needed"
msgstr "Die folgenden Engel werden benötigt" msgstr "Die folgenden Engel werden benötigt"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:3 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:4
msgid "All Angels" msgid "All Angels"
msgstr "Engelliste" msgstr "Engelliste"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:54 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:15
msgid "Edit user"
msgstr "User bearbeiten"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:56
msgid "Force active" msgid "Force active"
msgstr "Aktiv erzwingen" msgstr "Aktiv erzwingen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:290
msgid "Groups"
msgstr "Gruppen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:340
msgid "Freeloads"
msgstr "Schwänzereien"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_credits.php:3 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_credits.php:3
msgid "Credits" msgid "Credits"
msgstr "Credits" msgstr "Credits"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:3 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:4
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:262 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:276
msgid "Login" msgid "Login"
msgstr "Login" msgstr "Login"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:7 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:8
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:202 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:203
msgid "Register" msgid "Register"
msgstr "Registrieren" msgstr "Registrieren"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:11 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:12
msgid "Logout" msgid "Logout"
msgstr "Logout" msgstr "Logout"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:50 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:51
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:44 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:44
#, php-format #, php-format
msgid "Your nick &quot;%s&quot; already exists." msgid "Your nick &quot;%s&quot; already exists."
msgstr "Der Nick &quot;%s&quot; existiert schon." msgstr "Der Nick &quot;%s&quot; existiert schon."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:54 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:55
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:48 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:48
#, php-format #, php-format
msgid "Your nick &quot;%s&quot; is too short (min. 2 characters)." msgid "Your nick &quot;%s&quot; is too short (min. 2 characters)."
msgstr "Der Nick &quot;%s&quot; ist zu kurz (Mindestens 2 Zeichen)." msgstr "Der Nick &quot;%s&quot; ist zu kurz (Mindestens 2 Zeichen)."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:74 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:75
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:68 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:68
msgid "Please check your jabber account information." msgid "Please check your jabber account information."
msgstr "Bitte überprüfe deine Jabber Account Eingabe." msgstr "Bitte überprüfe deine Jabber Account Eingabe."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:83 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:84
msgid "Please select your shirt size." msgid "Please select your shirt size."
msgstr "Bitte wähle Deine T-Shirt Größe." msgstr "Bitte wähle Deine T-Shirt Größe."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:94 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:95
#, php-format #, php-format
msgid "Your password is too short (please use at least %s characters)." msgid "Your password is too short (please use at least %s characters)."
msgstr "Dein Passwort ist zu kurz (Bitte mindestens %s Zeichen nutzen)." msgstr "Dein Passwort ist zu kurz (Bitte mindestens %s Zeichen nutzen)."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:135 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:136
msgid "Angel registration successful!" msgid "Angel registration successful!"
msgstr "Engel-Registrierung erfolgreich!" msgstr "Engel-Registrierung erfolgreich!"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:142 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:143
msgid "" msgid ""
"By completing this form you're registering as a Chaos-Angel. This script " "By completing this form you're registering as a Chaos-Angel. This script "
"will create you an account in the angel task sheduler." "will create you an account in the angel task sheduler."
@ -931,33 +953,33 @@ msgstr ""
"Mit diesem Formular registrierst Du Dich als Engel. Du bekommst ein Konto in " "Mit diesem Formular registrierst Du Dich als Engel. Du bekommst ein Konto in "
"der Engel-Aufgabenverwaltung." "der Engel-Aufgabenverwaltung."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:156 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:157
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:184 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:184
msgid "Shirt size" msgid "Shirt size"
msgstr "T-Shirt Größe" msgstr "T-Shirt Größe"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:159 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:160
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:261 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:275
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:175 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:209
msgid "Password" msgid "Password"
msgstr "Passwort" msgstr "Passwort"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:162 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:163
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:176 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:210
msgid "Confirm password" msgid "Confirm password"
msgstr "Passwort wiederholen" msgstr "Passwort wiederholen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:165 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:166
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:185 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:185
msgid "What do you want to do?" msgid "What do you want to do?"
msgstr "Was möchtest Du machen?" msgstr "Was möchtest Du machen?"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:165 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:166
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:185 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:185
msgid "Description of job types" msgid "Description of job types"
msgstr "Beschreibung der Aufgaben" msgstr "Beschreibung der Aufgaben"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:166 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:167
msgid "" msgid ""
"Restricted angel types need will be confirmed later by an archangel. You can " "Restricted angel types need will be confirmed later by an archangel. You can "
"change your selection in the options section." "change your selection in the options section."
@ -965,49 +987,49 @@ msgstr ""
"Beschränkte Engeltypen müssen später von einem Erzengel freigeschaltet " "Beschränkte Engeltypen müssen später von einem Erzengel freigeschaltet "
"werden. Du kannst Deine Auswahl später in den Einstellungen ändern." "werden. Du kannst Deine Auswahl später in den Einstellungen ändern."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:174 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:175
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:179 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:179
msgid "Mobile" msgid "Mobile"
msgstr "Handy" msgstr "Handy"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:177 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:178
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:177 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:177
msgid "Phone" msgid "Phone"
msgstr "Telefon" msgstr "Telefon"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:183 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:184
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:175 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:175
msgid "First name" msgid "First name"
msgstr "Vorname" msgstr "Vorname"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:186 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:187
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:174 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:174
msgid "Last name" msgid "Last name"
msgstr "Nachname" msgstr "Nachname"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:191 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:192
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:176 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:176
msgid "Age" msgid "Age"
msgstr "Alter" msgstr "Alter"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:194 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:195
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:183 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_settings.php:183
msgid "Hometown" msgid "Hometown"
msgstr "Wohnort" msgstr "Wohnort"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:197 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:198
msgid "Entry required!" msgid "Entry required!"
msgstr "Pflichtfeld!" msgstr "Pflichtfeld!"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:234 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:235
msgid "Your password is incorrect. Please try it again." msgid "Your password is incorrect. Please try it again."
msgstr "Dein Passwort stimmt nicht. Bitte probiere es nochmal." msgstr "Dein Passwort stimmt nicht. Bitte probiere es nochmal."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:238 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:239
msgid "Please enter a password." msgid "Please enter a password."
msgstr "Gib bitte ein Passwort ein." msgstr "Gib bitte ein Passwort ein."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:242 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:243
msgid "" msgid ""
"No user was found with that Nickname. Please try again. If you are still " "No user was found with that Nickname. Please try again. If you are still "
"having problems, ask an Dispatcher." "having problems, ask an Dispatcher."
@ -1015,27 +1037,31 @@ msgstr ""
"Es wurde kein Engel mit diesem Namen gefunden. Probiere es bitte noch " "Es wurde kein Engel mit diesem Namen gefunden. Probiere es bitte noch "
"einmal. Wenn das Problem weiterhin besteht, frage einen Dispatcher." "einmal. Wenn das Problem weiterhin besteht, frage einen Dispatcher."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:246 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:247
msgid "Please enter a nickname." msgid "Please enter a nickname."
msgstr "Gib bitte einen Nick an." msgstr "Gib bitte einen Nick an."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:264 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:259
msgid "I forgot my password"
msgstr "Passwort vergessen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:266
msgid "Please note: You have to activate cookies!"
msgstr "Hinweis: Cookies müssen aktiviert sein!"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:271
msgid "Please sign up, if you want to help us!" msgid "Please sign up, if you want to help us!"
msgstr "Bitte registriere Dich, wenn Du helfen möchtest!" msgstr "Bitte registriere Dich, wenn Du helfen möchtest!"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:275 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:266
msgid "Registration is disabled."
msgstr "Registrierung ist abgeschaltet."
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:278
msgid "I forgot my password"
msgstr "Passwort vergessen"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:280
msgid "Please note: You have to activate cookies!"
msgstr "Hinweis: Cookies müssen aktiviert sein!"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:286
msgid "What can I do?" msgid "What can I do?"
msgstr "Was kann ich machen?" msgstr "Was kann ich machen?"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:276 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:287
msgid "Please read about the jobs you can do to help us." msgid "Please read about the jobs you can do to help us."
msgstr "" msgstr ""
"Bitte informiere Dich über die Tätigkeiten bei denen Du uns helfen kannst." "Bitte informiere Dich über die Tätigkeiten bei denen Du uns helfen kannst."
@ -1268,10 +1294,6 @@ msgstr "Hier kannst Du Deine Sprache auswählen:"
msgid "Language:" msgid "Language:"
msgstr "Sprache:" msgstr "Sprache:"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:3
msgid "All Shifts"
msgstr "Alle Schichten"
#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:25 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:25
msgid "Shift entry deleted." msgid "Shift entry deleted."
msgstr "Schicht-Eintrag gelöscht." msgstr "Schicht-Eintrag gelöscht."
@ -1355,7 +1377,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:269 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:269
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:119 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:153
msgid "Freeloader" msgid "Freeloader"
msgstr "Schwänzer" msgstr "Schwänzer"
@ -1400,7 +1422,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:724 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:724
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:143 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:177
msgid "Time" msgid "Time"
msgstr "Zeit" msgstr "Zeit"
@ -1589,8 +1611,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:81 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:115
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:83 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:117
msgid "Freeloaded" msgid "Freeloaded"
msgstr "Geschwänzt" msgstr "Geschwänzt"
@ -1631,83 +1653,102 @@ msgid "Please select..."
msgstr "Bitte auswählen..." msgstr "Bitte auswählen..."
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:28 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:28
msgid "m/d/Y h:i a"
msgstr "d.m.Y H:i"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:37
msgid "New user"
msgstr "Neuer User"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:40
msgid "Prename"
msgstr "Vorname"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:43
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:155
msgid "Arrived"
msgstr "Angekommen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:45
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:156
msgid "Active"
msgstr "Aktiv"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:47
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:157
msgid "T-Shirt"
msgstr "T-Shirt"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:49
msgid "Last login"
msgstr "Letzter Login"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:62
msgid "Free" msgid "Free"
msgstr "Frei" msgstr "Frei"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:32 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:66
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:34 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:68
#, 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:39 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:73
#, 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:41 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:75
#, fuzzy, php-format #, fuzzy, 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:90 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:124
msgid "sign off" msgid "sign off"
msgstr "abmelden" msgstr "abmelden"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:100 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:134
msgid "Sum:" msgid "Sum:"
msgstr "Summe:" msgstr "Summe:"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:118 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:152
msgid "User state" msgid "User state"
msgstr "Engel Zustand" msgstr "Engel Zustand"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:121 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:155
msgid "Arrived"
msgstr "Angekommen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:121
msgid "Not arrived" msgid "Not arrived"
msgstr "Nicht angekommen" msgstr "Nicht angekommen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:122 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:164
msgid "Active"
msgstr "Aktiv"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:123
msgid "T-Shirt"
msgstr "T-Shirt"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:130
msgid "Rights" msgid "Rights"
msgstr "Rechte" msgstr "Rechte"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:137 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:171
#, fuzzy #, fuzzy
msgid "iCal Export" msgid "iCal Export"
msgstr "iCal Export" msgstr "iCal Export"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:138 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:172
msgid "JSON Export" msgid "JSON Export"
msgstr "JSON Export" msgstr "JSON Export"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:144 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:178
msgid "Location" msgid "Location"
msgstr "Ort" msgstr "Ort"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:145 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:179
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:146 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:180
msgid "Comment" msgid "Comment"
msgstr "Kommentar" msgstr "Kommentar"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:147 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:181
msgid "Action" msgid "Action"
msgstr "Aktion" msgstr "Aktion"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:149 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:183
#, 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 "
@ -1716,7 +1757,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:159 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:193
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."
@ -1725,11 +1766,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:162 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:196
msgid "Recover" msgid "Recover"
msgstr "Wiederherstellen" msgstr "Wiederherstellen"
#: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:173 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:207
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."
@ -1776,7 +1817,7 @@ msgstr "Möchtest Du wirklich %s zu %s hinzufügen?"
msgid "save" msgid "save"
msgstr "Speichern" msgstr "Speichern"
#: /Users/msquare/workspace/projects/engelsystem/public/index.php:97 #: /Users/msquare/workspace/projects/engelsystem/public/index.php:98
#, php-format #, php-format
msgid "" msgid ""
"You freeloaded at least %s shifts. Shift signup is locked. Please go to " "You freeloaded at least %s shifts. Shift signup is locked. Please go to "
@ -1785,7 +1826,7 @@ msgstr ""
"Du hast mindestens %s Schichten geschwänzt. Schicht-Registrierung ist " "Du hast mindestens %s Schichten geschwänzt. Schicht-Registrierung ist "
"gesperrt. Bitte gehe zum Himmelsschreibtisch um wieder entsperrt zu werden." "gesperrt. Bitte gehe zum Himmelsschreibtisch um wieder entsperrt zu werden."
#: /Users/msquare/workspace/projects/engelsystem/public/index.php:101 #: /Users/msquare/workspace/projects/engelsystem/public/index.php:102
msgid "" msgid ""
"You are not marked as arrived. Please go to heaven's desk, get your angel " "You are not marked as arrived. Please go to heaven's desk, get your angel "
"badge and/or tell them that you arrived already." "badge and/or tell them that you arrived already."
@ -1793,11 +1834,11 @@ msgstr ""
"Du bist nicht als angekommen markiert. Bitte gehe zur Himmelsverwaltung, " "Du bist nicht als angekommen markiert. Bitte gehe zur Himmelsverwaltung, "
"hole Dein Badge ab und/oder erkläre ihnen, dass Du bereits angekommen bist." "hole Dein Badge ab und/oder erkläre ihnen, dass Du bereits angekommen bist."
#: /Users/msquare/workspace/projects/engelsystem/public/index.php:104 #: /Users/msquare/workspace/projects/engelsystem/public/index.php:105
msgid "You need to specify a tshirt size in your settings!" msgid "You need to specify a tshirt size in your settings!"
msgstr "Bitte eine T-Shirt-Größe auswählen" msgstr "Bitte eine T-Shirt-Größe auswählen"
#: /Users/msquare/workspace/projects/engelsystem/public/index.php:107 #: /Users/msquare/workspace/projects/engelsystem/public/index.php:108
msgid "" msgid ""
"You need to specify a DECT phone number in your settings! If you don't have " "You need to specify a DECT phone number in your settings! If you don't have "
"a DECT phone, just enter \"-\"." "a DECT phone, just enter \"-\"."
@ -1805,11 +1846,11 @@ msgstr ""
"Bitte eine DECT-Telefonnummer in den Einstellungen eingeben. Wenn du noch " "Bitte eine DECT-Telefonnummer in den Einstellungen eingeben. Wenn du noch "
"keine Nummer hast, bitte einfach \"-\" angeben." "keine Nummer hast, bitte einfach \"-\" angeben."
#: /Users/msquare/workspace/projects/engelsystem/public/index.php:230 #: /Users/msquare/workspace/projects/engelsystem/public/index.php:231
msgid "No Access" msgid "No Access"
msgstr "Kein Zugriff" msgstr "Kein Zugriff"
#: /Users/msquare/workspace/projects/engelsystem/public/index.php:231 #: /Users/msquare/workspace/projects/engelsystem/public/index.php:232
msgid "" msgid ""
"You don't have permission to view this page. You probably have to sign in or " "You don't have permission to view this page. You probably have to sign in or "
"register in order to gain access!" "register in order to gain access!"
@ -1817,6 +1858,9 @@ 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 "All Shifts"
#~ msgstr "Alle Schichten"
#~ msgid "Exports" #~ msgid "Exports"
#~ msgstr "Exporte" #~ msgstr "Exporte"