From 697b756c4ea5925ebb23e31b08ff851d024ae26d Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Wed, 12 Dec 2012 00:58:44 +0100 Subject: more translations and fixes --- db/update.d/18_translations.php | 17 +++++++++++++++++ includes/pages/user_shifts.php | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 db/update.d/18_translations.php diff --git a/db/update.d/18_translations.php b/db/update.d/18_translations.php new file mode 100644 index 00000000..995a2450 --- /dev/null +++ b/db/update.d/18_translations.php @@ -0,0 +1,17 @@ + 0; + +// more translations +$res = mysql_query("INSERT IGNORE INTO `Sprache` (`TextID`, `Sprache`, `Text`) VALUES +('occupied', 'DE', 'belegt'), +('occupied', 'EN', 'occupied'), +('free', 'DE', 'frei'), +('free', 'EN', 'free');"); + +$applied |= mysql_affected_rows() > 0; diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index d5751756..785fc8ab 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -273,11 +273,11 @@ function view_user_shifts() { $filled = array ( array ( 'id' => '1', - 'name' => 'Volle' + 'name' => Get_Text('occupied') ), array ( 'id' => '0', - 'name' => 'Freie' + 'name' => Get_Text('free') ) ); -- cgit v1.2.3-70-g09d2