summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-11-28 22:00:49 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-11-28 22:00:49 +0100
commit8a5915594ffbbf529c827b2ce31a64590b0d1b14 (patch)
tree87246907267636de1cf2188dd11ff08fabdb9695 /includes/view
parent7d3239f3fe18e920d77e7179ca58af618149fc51 (diff)
gettext for admin active
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/Questions_view.php4
-rw-r--r--includes/view/User_view.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/view/Questions_view.php b/includes/view/Questions_view.php
index 02cec393..be2375bb 100644
--- a/includes/view/Questions_view.php
+++ b/includes/view/Questions_view.php
@@ -2,14 +2,14 @@
function Questions_view($open_questions, $answered_questions, $ask_action) {
foreach ($open_questions as &$question) {
- $question['actions'] = '<a href="' . page_link_to("user_questions") . '&action=delete&id=' . $question['QID'] . '">Löschen</a>';
+ $question['actions'] = '<a href="' . page_link_to("user_questions") . '&action=delete&id=' . $question['QID'] . '">' . _("delete") . '</a>';
$question['Question'] = str_replace("\n", '<br />', $question['Question']);
}
foreach ($answered_questions as &$question) {
$question['Question'] = str_replace("\n", '<br />', $question['Question']);
$question['Answer'] = str_replace("\n", '<br />', $question['Answer']);
- $question['actions'] = '<a href="' . page_link_to("user_questions") . '&action=delete&id=' . $question['QID'] . '">Löschen</a>';
+ $question['actions'] = '<a href="' . page_link_to("user_questions") . '&action=delete&id=' . $question['QID'] . '">' . _("delete") . '</a>';
}
return page(array(
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index eb69b8c4..ef4f9831 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -4,7 +4,7 @@
* Available T-Shirt sizes
*/
$tshirt_sizes = array (
- '' => "Please select...",
+ '' => _("Please select..."),
'S' => "S",
'M' => "M",
'L' => "L",