Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2017-10-24 15:38:57 +0300
committerdartcafe <github@dartcafe.de>2017-10-24 15:38:57 +0300
commitb17a9445dfb866e231a404d53c2a4c9211a034ea (patch)
tree3ead7fba80b587f02ecc6c85d56dde6e3d5f4beb /templates
parent01e21f5c1fe5a82021869123404f047bc3ccf794 (diff)
make strings translatable
Diffstat (limited to 'templates')
-rw-r--r--templates/main.tmpl.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/main.tmpl.php b/templates/main.tmpl.php
index ba9866a3..a9c19373 100644
--- a/templates/main.tmpl.php
+++ b/templates/main.tmpl.php
@@ -95,12 +95,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) {
@@ -123,7 +123,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;
}
@@ -132,7 +132,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;
}