diff options
author | René Gieling <github@dartcafe.de> | 2017-11-07 21:41:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 21:41:53 +0300 |
commit | dea743b43bfb44ae0ac3df184b627f3195a24b79 (patch) | |
tree | 5f9b5ab9d5f8bdae12366a0e795956ae68986434 /templates | |
parent | 3d5cdbee1f3de0b8e114c7eab199de229569822a (diff) | |
parent | 6e11d77656cbc9387f275d0b71de73fbafda16fa (diff) |
Merge branch 'develop' into votepage-design
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.tmpl.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/main.tmpl.php b/templates/main.tmpl.php index 938debec..0ebb67ca 100644 --- a/templates/main.tmpl.php +++ b/templates/main.tmpl.php @@ -98,12 +98,12 @@ $participated = $_['participations_text']; } $participated_class = 'partic_no'; - $participated_title = 'You did not vote'; + $participated_title = $l->t('You did not vote'); $participated_count = count($participated); $comments = $_['comments']; $commented_class = 'commented_no'; - $commented_title = 'You did not comment'; + $commented_title = $l->t('You did not comment'); $commented_count = count($comments); if ($owner == $userId) { @@ -126,7 +126,7 @@ for ($i = 0; $i < count($participated); $i++) { if ($poll->getId() == intval($participated[$i]->getPollId())) { $participated_class = 'partic_yes'; - $participated_title = 'You voted'; + $participated_title = $l->t('You voted'); array_splice($participated, $i, 1); break; } @@ -135,7 +135,7 @@ for ($i = 0; $i < count($comments); $i++) { if ($poll->getId() == intval($comments[$i]->getPollId())) { $commented_class = 'commented_yes'; - $commented_title = 'You commented'; + $commented_title = $l->t('You commented'); array_splice($comments, $i, 1); break; } |