Test Failed
Push — dartcafe-patch-1 ( da438f...6205d8 )
by René
02:11
created
templates/goto.tmpl.php 2 patches
Spacing   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -27,18 +27,18 @@  discard block
 block discarded – undo
27 27
     \OCP\Util::addStyle('polls', 'vote');
28 28
     \OCP\Util::addScript('polls', 'vote');
29 29
     
30
-    $userId = $_['userId'];
31
-    $userMgr = $_['userMgr'];
32
-    $urlGenerator = $_['urlGenerator'];
33
-    $avaMgr = $_['avatarManager'];
30
+    $userId = $_[ 'userId' ];
31
+    $userMgr = $_[ 'userMgr' ];
32
+    $urlGenerator = $_[ 'urlGenerator' ];
33
+    $avaMgr = $_[ 'avatarManager' ];
34 34
 
35
-    $poll = $_['poll'];
36
-    $dates = $_['dates'];
37
-    $votes = $_['votes'];
38
-    $comments = $_['comments'];
35
+    $poll = $_[ 'poll' ];
36
+    $dates = $_[ 'dates' ];
37
+    $votes = $_[ 'votes' ];
38
+    $comments = $_[ 'comments' ];
39 39
     $isAnonymous = $poll->getIsAnonymous() && $userId != $poll->getOwner();
40 40
     $hideNames = $poll->getIsAnonymous() && $poll->getFullAnonymous();
41
-    $notification = $_['notification'];
41
+    $notification = $_[ 'notification' ];
42 42
 
43 43
     if ($poll->getExpire() === null) {
44 44
         $expired = false;
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
     }
48 48
 ?>
49 49
 
50
-<?php if($poll->getType() == '0') : ?>
51
-    <?php foreach($dates as $d) : ?>
50
+<?php if ($poll->getType() == '0') : ?>
51
+    <?php foreach ($dates as $d) : ?>
52 52
         <input class="hidden-dates" type="hidden" value="<?php print_unescaped($d->getDt()); ?>" />
53 53
     <?php endforeach ?>
54 54
 <?php endif ?>
@@ -63,13 +63,13 @@  discard block
 block discarded – undo
63 63
 // init array for counting 'yes'-votes for each date
64 64
 $total_y = array();
65 65
 $total_n = array();
66
-for ($i = 0 ; $i < count($dates) ; $i++) {
67
-    $total_y[$i] = 0;
68
-    $total_n[$i] = 0;
66
+for ($i = 0; $i < count($dates); $i++) {
67
+    $total_y[ $i ] = 0;
68
+    $total_n[ $i ] = 0;
69 69
 }
70 70
 $user_voted = array();
71 71
 
72
-$pollUrl = $urlGenerator->linkToRouteAbsolute('polls.page.goto_poll', ['hash' => $poll->getHash()]);
72
+$pollUrl = $urlGenerator->linkToRouteAbsolute('polls.page.goto_poll', [ 'hash' => $poll->getHash() ]);
73 73
 ?>
74 74
 
75 75
 <div id="app">
@@ -121,10 +121,10 @@  discard block
 block discarded – undo
121 121
                                     //group by user
122 122
                                     $others = array();
123 123
                                     foreach ($votes as $vote) {
124
-                                        if (!isset($others[$vote->getUserId()])) {
125
-                                            $others[$vote->getUserId()] = array();
124
+                                        if (!isset($others[ $vote->getUserId() ])) {
125
+                                            $others[ $vote->getUserId() ] = array();
126 126
                                         }
127
-                                        array_push($others[$vote->getUserId()], $vote);
127
+                                        array_push($others[ $vote->getUserId() ], $vote);
128 128
                                     }
129 129
                                     $userCnt = 0;
130 130
                                     foreach (array_keys($others) as $usr) {
@@ -133,24 +133,24 @@  discard block
 block discarded – undo
133 133
                                             // if poll expired, just put current user among the others;
134 134
                                             // otherwise skip here to add current user as last row (to vote)
135 135
                                             if (!$expired) {
136
-                                                $user_voted = $others[$usr];
136
+                                                $user_voted = $others[ $usr ];
137 137
                                                 continue;
138 138
                                             }
139 139
                                         }
140 140
                                         print_unescaped('<tr>');
141 141
                                         print_unescaped('<td class="avatar-cell">');
142 142
                                         if ($userMgr->get($usr) != null && !$isAnonymous && !$hideNames) {
143
-                                            print_unescaped('<div class="poll avatardiv" title="'.($usr).'"></div>');
143
+                                            print_unescaped('<div class="poll avatardiv" title="' . ($usr) . '"></div>');
144 144
                                             print_unescaped('</td>');
145 145
                                             print_unescaped('<td colspan="2" class="name">');
146 146
                                             p($userMgr->get($usr)->getDisplayName());
147 147
                                         } else {
148 148
                                             if ($isAnonymous || $hideNames) {
149
-                                            print_unescaped('<div class="poll avatardiv" title="'.($userCnt).'"></div>');
149
+                                            print_unescaped('<div class="poll avatardiv" title="' . ($userCnt) . '"></div>');
150 150
                                             print_unescaped('</td>');
151 151
                                             print_unescaped('<td colspan="2" class="name">');
152 152
                                             } else {
153
-                                                print_unescaped('<div class="poll avatardiv" title="'.($usr).'"></div>');
153
+                                                print_unescaped('<div class="poll avatardiv" title="' . ($usr) . '"></div>');
154 154
                                                 print_unescaped('</td>');
155 155
                                                 print_unescaped('<td colspan="2" class="name">');
156 156
                                                 p($usr);
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
                                             }
171 171
                                             // look what user voted for this dts
172 172
                                             $found = false;
173
-                                            foreach ($others[$usr] as $vote) {
173
+                                            foreach ($others[ $usr ] as $vote) {
174 174
                                                 $voteVal = null;
175 175
                                                 if ($poll->getType() == '0') {
176 176
                                                     $voteVal = strtotime($vote->getDt());
@@ -180,10 +180,10 @@  discard block
 block discarded – undo
180 180
                                                 if ($date_id === $voteVal) {
181 181
                                                     if ($vote->getType() == '1') {
182 182
                                                         $cl = 'poll-cell yes';
183
-                                                        $total_y[$i_tot]++;
183
+                                                        $total_y[ $i_tot ]++;
184 184
                                                     } else if ($vote->getType() == '0') {
185 185
                                                         $cl = 'poll-cell no';
186
-                                                        $total_n[$i_tot]++;
186
+                                                        $total_n[ $i_tot ]++;
187 187
                                                     } else if ($vote->getType() == '2') {
188 188
                                                         $cl = 'poll-cell maybe';
189 189
                                                     } else {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
                                     print_unescaped('<tr class="current-user">');
212 212
                                     print_unescaped('<td class="avatar-cell">');
213 213
                                     if (User::isLoggedIn()) {
214
-                                        print_unescaped('<div class="poll avatardiv" title="'.($userId).'"></div>');
214
+                                        print_unescaped('<div class="poll avatardiv" title="' . ($userId) . '"></div>');
215 215
                                         print_unescaped('</td>');
216 216
                                         print_unescaped('<td class="name">');
217 217
                                         p($userMgr->get($userId)->getDisplayName());
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
                                         if (isset($user_voted)) {
237 237
                                             foreach ($user_voted as $obj) {
238 238
                                                 $voteVal = null;
239
-                                                if($poll->getType() == '0') {
239
+                                                if ($poll->getType() == '0') {
240 240
                                                     $voteVal = strtotime($obj->getDt());
241 241
                                                 } else {
242 242
                                                     $voteVal = $obj->getText();
@@ -244,11 +244,11 @@  discard block
 block discarded – undo
244 244
                                                 if ($voteVal === $date_id) {
245 245
                                                     if ($obj->getType() == '1') {
246 246
                                                         $cl = 'poll-cell active yes';
247
-                                                        $total_y[$i_tot]++;
247
+                                                        $total_y[ $i_tot ]++;
248 248
                                                     } else if ($obj->getType() == '0') {
249 249
                                                         $cl = 'poll-cell active no';
250
-                                                        $total_n[$i_tot]++;
251
-                                                    } else if($obj->getType() == '2') {
250
+                                                        $total_n[ $i_tot ]++;
251
+                                                    } else if ($obj->getType() == '2') {
252 252
                                                         $cl = 'poll-cell active maybe';
253 253
                                                     }
254 254
                                                     break;
@@ -268,28 +268,28 @@  discard block
 block discarded – undo
268 268
                             <tbody class="summary">
269 269
                                 <?php
270 270
                                     $diff_array = $total_y;
271
-                                    for($i = 0 ; $i < count($diff_array) ; $i++) {
272
-                                        $diff_array[$i] = ($total_y[$i] - $total_n[$i]);
271
+                                    for ($i = 0; $i < count($diff_array); $i++) {
272
+                                        $diff_array[ $i ] = ($total_y[ $i ] - $total_n[ $i ]);
273 273
                                     }
274 274
                                     $max_votes = max($diff_array);
275 275
                                 ?>
276 276
                                 <tr class="total">
277 277
                                     <th colspan="3"><?php p($l->t('Total')); ?></th>
278
-                                    <?php for ($i = 0 ; $i < count($dates) ; $i++) : ?>
278
+                                    <?php for ($i = 0; $i < count($dates); $i++) : ?>
279 279
                                         <td class="total">
280 280
                                             <?php
281
-                                            $classSuffix = "pollid_" . $dates[$i]->getId();
282
-                                            if (isset($total_y[$i])) {
283
-                                                $val = $total_y[$i];
281
+                                            $classSuffix = "pollid_" . $dates[ $i ]->getId();
282
+                                            if (isset($total_y[ $i ])) {
283
+                                                $val = $total_y[ $i ];
284 284
                                             } else {
285 285
                                                 $val = 0;
286 286
                                             }
287 287
                                             ?>
288
-                                            <div id="id_y_<?php p($classSuffix); ?>" class="result-cell yes" data-value=<?php p(isset($total_y_others[$i]) ? $total_y_others[$i] : '0'); ?>>
288
+                                            <div id="id_y_<?php p($classSuffix); ?>" class="result-cell yes" data-value=<?php p(isset($total_y_others[ $i ]) ? $total_y_others[ $i ] : '0'); ?>>
289 289
                                                 <?php p($val); ?>
290 290
                                             </div>
291
-                                            <div id="id_n_<?php p($classSuffix); ?>" class="result-cell no" data-value=<?php p(isset($total_n_others[$i]) ? $total_n_others[$i] : '0'); ?>>
292
-                                                <?php p(isset($total_n[$i]) ? $total_n[$i] : '0'); ?>
291
+                                            <div id="id_n_<?php p($classSuffix); ?>" class="result-cell no" data-value=<?php p(isset($total_n_others[ $i ]) ? $total_n_others[ $i ] : '0'); ?>>
292
+                                                <?php p(isset($total_n[ $i ]) ? $total_n[ $i ] : '0'); ?>
293 293
                                             </div>
294 294
                                         </td>
295 295
                                     <?php endfor; ?>
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
                                     <?php
300 300
                                     for ($i = 0; $i < count($dates); $i++) {
301 301
                                         $check = '';
302
-                                        if ($total_y[$i] - $total_n[$i] === $max_votes) {
302
+                                        if ($total_y[ $i ] - $total_n[ $i ] === $max_votes) {
303 303
                                             $check = 'icon-checkmark';
304 304
                                         }
305 305
                                         print_unescaped('<td class="win_row ' . $check . '" id="id_total_' . $i . '"></td>');
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
                         <div class="input-group-addon">
331 331
                             <span class="icon-share"></span><?php p($l->t('Link')); ?>
332 332
                         </div>
333
-                        <input type="text" value="<?php p($pollUrl);?>" readonly="readonly">
333
+                        <input type="text" value="<?php p($pollUrl); ?>" readonly="readonly">
334 334
                     </div>
335 335
                     <?php if ($expired) : ?>
336 336
                         <div id="expired_info">
Please login to merge, or discard this patch.
Braces   +14 added lines, -5 removed lines patch added patch discarded remove patch
@@ -319,7 +319,10 @@  discard block
 block discarded – undo
319 319
                         </form>
320 320
                         <?php if (User::isLoggedIn()) : ?>
321 321
                         <span class="notification">
322
-                            <input type="checkbox" id="check_notif" class="checkbox" <?php if ($notification !== null) print_unescaped(' checked'); ?> />
322
+                            <input type="checkbox" id="check_notif" class="checkbox" <?php if ($notification !== null) {
323
+    print_unescaped(' checked');
324
+}
325
+?> />
323 326
                             <label for="check_notif"><?php p($l->t('Receive notification email on activity')); ?></label>
324 327
                         </span>
325 328
                         <?php endif; ?>
@@ -351,8 +354,11 @@  discard block
 block discarded – undo
351 354
                                     <a href="<?php p($urlGenerator->linkToRouteAbsolute('core.login.showLoginForm')); ?>"><?php p($l->t('Login')); ?></a>
352 355
                                     <?php p($l->t('or')); ?>
353 356
                                     <?php print_unescaped('<th id="id_ac_detected" class="external current-user"><input type="text" name="user_name_comm" id="user_name_comm" placeholder="' . $l->t('Your name here') . '" /></th>'); ?>
354
-                                <?php else: ?>
355
-                                    <?php p($l->t('Logged in as') . ' ' . $userId); ?>
357
+                                <?php else {
358
+    : ?>
359
+                                    <?php p($l->t('Logged in as') . ' ' . $userId);
360
+}
361
+?>
356 362
                                 <?php endif; ?>
357 363
                                     <textarea id="commentBox" name="commentBox"></textarea>
358 364
                                     <p>
@@ -386,8 +392,11 @@  discard block
 block discarded – undo
386 392
                                     </div>
387 393
                                 </div>
388 394
                             <?php endforeach; ?>
389
-                        <?php else : ?>
390
-                            <?php p($l->t('No comments yet. Be the first.')); ?>
395
+                        <?php else {
396
+    : ?>
397
+                            <?php p($l->t('No comments yet. Be the first.'));
398
+}
399
+?>
391 400
                         <?php endif; ?>
392 401
                     </div>
393 402
                 </div>
Please login to merge, or discard this patch.
l10n/en.php 1 patch
Indentation   +83 added lines, -83 removed lines patch added patch discarded remove patch
@@ -1,96 +1,96 @@
 block discarded – undo
1 1
 <?php
2 2
 $TRANSLATIONS = array(
3
-	"Polls" => "Polls",
3
+    "Polls" => "Polls",
4 4
     "Poll" => "Poll",
5
-	"Summary" => "Summary",
6
-	"No existing polls." => "No existing polls.",
7
-	"Title" => "Title",
8
-	"Description" => "Description",
9
-	"Please select at least one user or group!" => "Please select at least one user or group!",
10
-	"Created" => "Created",
11
-	"Expires" => "Expires",
12
-	"Never" => "Never",
13
-	"By" => "By",
14
-	"Go to" => "Go to",
15
-	"Create new poll" => "Create new poll",
16
-	"Access (click for link)" => "Access (click for link)",
17
-	"Access" => "Access",
18
-	"Registered users only" => "Registered users only",
19
-	"Public access" => "Public access",
20
-	"hidden" => "hidden",
21
-	"public" => "public",
22
-	"registered" => "registered",
5
+    "Summary" => "Summary",
6
+    "No existing polls." => "No existing polls.",
7
+    "Title" => "Title",
8
+    "Description" => "Description",
9
+    "Please select at least one user or group!" => "Please select at least one user or group!",
10
+    "Created" => "Created",
11
+    "Expires" => "Expires",
12
+    "Never" => "Never",
13
+    "By" => "By",
14
+    "Go to" => "Go to",
15
+    "Create new poll" => "Create new poll",
16
+    "Access (click for link)" => "Access (click for link)",
17
+    "Access" => "Access",
18
+    "Registered users only" => "Registered users only",
19
+    "Public access" => "Public access",
20
+    "hidden" => "hidden",
21
+    "public" => "public",
22
+    "registered" => "registered",
23 23
     "expired" => "expired",
24
-	"delete" => "delete",
25
-	"Next" => "Next",
26
-	"Cancel" => "Cancel",
27
-	"User/Group search" => "Search for users and groups",
24
+    "delete" => "delete",
25
+    "Next" => "Next",
26
+    "Cancel" => "Cancel",
27
+    "User/Group search" => "Search for users and groups",
28 28
     "Options" => "Options",
29
-	"Edit poll" => "Edit poll",
30
-	"Click on days to add or remove" => "Click on days to add or remove",
31
-	"Select hour & minute, then click on time" => "Select hour & minute, then click on time",
32
-	"Mon" => "Mon",
33
-	"Tue" => "Tue",
34
-	"Wed" => "Wed",
35
-	"Thu" => "Thu",
36
-	"Fri" => "Fri",
37
-	"Sat" => "Sat",
38
-	"Sun" => "Sun",
39
-	"click to add" => "click to add",
40
-	"date\\time" => "date\\time",
41
-	"Poll URL" => "Poll URL",
42
-	"Link" => "Link",
43
-	"Total" => "Total",
44
-	"Best option" => "Best option",
45
-	"All" => "Alle",
46
-	"No description provided." => "No description provided.",
47
-	"Write new Comment" => "Write new Comment",
48
-	"Comments" => "Comments",
49
-	"No comments yet. Be the first." => "No comments yet. Be the first.",
50
-	"Send!" => "Send!",
51
-	"Vote!" => "Vote!",
52
-	"Polls summary" => "Polls summary",
53
-	"Home" => "Home",
54
-	"Update poll" => "Update poll",
55
-	"Create poll" => "Create poll",
56
-	"participated" => "participated",
57
-	"Yourself" => "Yourself",
29
+    "Edit poll" => "Edit poll",
30
+    "Click on days to add or remove" => "Click on days to add or remove",
31
+    "Select hour & minute, then click on time" => "Select hour & minute, then click on time",
32
+    "Mon" => "Mon",
33
+    "Tue" => "Tue",
34
+    "Wed" => "Wed",
35
+    "Thu" => "Thu",
36
+    "Fri" => "Fri",
37
+    "Sat" => "Sat",
38
+    "Sun" => "Sun",
39
+    "click to add" => "click to add",
40
+    "date\\time" => "date\\time",
41
+    "Poll URL" => "Poll URL",
42
+    "Link" => "Link",
43
+    "Total" => "Total",
44
+    "Best option" => "Best option",
45
+    "All" => "Alle",
46
+    "No description provided." => "No description provided.",
47
+    "Write new Comment" => "Write new Comment",
48
+    "Comments" => "Comments",
49
+    "No comments yet. Be the first." => "No comments yet. Be the first.",
50
+    "Send!" => "Send!",
51
+    "Vote!" => "Vote!",
52
+    "Polls summary" => "Polls summary",
53
+    "Home" => "Home",
54
+    "Update poll" => "Update poll",
55
+    "Create poll" => "Create poll",
56
+    "participated" => "participated",
57
+    "Yourself" => "Yourself",
58 58
     "You did not vote" => "You did not vote",
59 59
     "You voted" => "You voted",
60 60
     "You did not comment" => "You did not comment",
61 61
     "You commented" => "You commented",
62
-	"Select" => "Select",
63
-	"Close" => "Close",
64
-	"Users" => "Users",
65
-	"Groups" => "Groups",
62
+    "Select" => "Select",
63
+    "Close" => "Close",
64
+    "Users" => "Users",
65
+    "Groups" => "Groups",
66 66
     "Do you really want to delete that poll?" => "Do you really want to delete that poll?",
67
-	"You must enter at least a title for the new poll." => "You must enter at least a title for the new poll.",
68
-	"Copy to clipboard: Ctrl+C, Enter" => "Copy to clipboard: Ctrl+C, Enter",
69
-	"Thanks that you've voted. You can close the page now." => "Thanks that you've voted. You can close the page now.",
70
-	"Nothing selected!\nClick on cells to turn them green." => "Nothing selected!\nClick on cells to turn them green.",
71
-	"You are not registered.\nPlease enter your name to vote\n(at least 3 characters!)" => "You are not registered.\nPlease enter your name to vote\n(at least 3 characters!)",
72
-	"You already have an item with the same text" => "You already have an item with the same text",
73
-	"Please choose the groups or users you want to add to your poll." => "Please choose the groups or users you want to add to your poll.",
74
-	"Click to get link" => "Click to get link",
75
-	"Edit access" => "Edit access",
76
-	"Type" => "Type",
77
-	"Event schedule" => "Event schedule",
78
-	"Text based" => "Text based",
79
-	"Text item" => "Text item",
67
+    "You must enter at least a title for the new poll." => "You must enter at least a title for the new poll.",
68
+    "Copy to clipboard: Ctrl+C, Enter" => "Copy to clipboard: Ctrl+C, Enter",
69
+    "Thanks that you've voted. You can close the page now." => "Thanks that you've voted. You can close the page now.",
70
+    "Nothing selected!\nClick on cells to turn them green." => "Nothing selected!\nClick on cells to turn them green.",
71
+    "You are not registered.\nPlease enter your name to vote\n(at least 3 characters!)" => "You are not registered.\nPlease enter your name to vote\n(at least 3 characters!)",
72
+    "You already have an item with the same text" => "You already have an item with the same text",
73
+    "Please choose the groups or users you want to add to your poll." => "Please choose the groups or users you want to add to your poll.",
74
+    "Click to get link" => "Click to get link",
75
+    "Edit access" => "Edit access",
76
+    "Type" => "Type",
77
+    "Event schedule" => "Event schedule",
78
+    "Text based" => "Text based",
79
+    "Text item" => "Text item",
80 80
     "Dates" => "Dates",
81
-	"Description (will be shown as tooltip on the summary page)" => "Description (will be shown as tooltip on the summary page)",
82
-	"Poll expired" => "Poll expired",
83
-	"The poll expired on %s. Voting is disabled, but you can still comment." => "The poll expired on %s. Voting is disabled, but you can still comment.",
84
-	"Access denied" => "Access denied",
85
-	"You are not allowed to view this poll or the poll does not exist." => "You are not allowed to view this poll or the poll does not exist.",
86
-	"Error" => "Error",
87
-	"Hello %s,<br/><br/><strong>%s</strong> shared the poll '%s' with you. To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hello %s,<br/><br/><strong>%s</strong> shared the poll '%s' with you. To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>",
88
-	"Hello %s,<br/><br/><strong>%s</strong> commented on the poll '%s'.<br/><br/><i>%s</i><br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hello %s,<br/><br/><strong>%s</strong> commented on the poll '%s'.<br/><br/><i>%s</i><br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>",
89
-	"Hello %s,<br/><br/><strong>%s</strong> participated in the poll '%s'.<br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hello %s,<br/><br/><strong>%s</strong> participated in the poll '%s'.<br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>",
90
-	"Polls App - New Comment" => "Polls App - New Comment",
91
-	"Polls App - New Participant" => "Polls App - New Participant",
92
-	"Polls App - New Poll" => "Polls App - New Poll",
93
-	"Polls App" => "Polls App",
94
-	"Receive notification email on activity" => "Receive notification email on activity"
81
+    "Description (will be shown as tooltip on the summary page)" => "Description (will be shown as tooltip on the summary page)",
82
+    "Poll expired" => "Poll expired",
83
+    "The poll expired on %s. Voting is disabled, but you can still comment." => "The poll expired on %s. Voting is disabled, but you can still comment.",
84
+    "Access denied" => "Access denied",
85
+    "You are not allowed to view this poll or the poll does not exist." => "You are not allowed to view this poll or the poll does not exist.",
86
+    "Error" => "Error",
87
+    "Hello %s,<br/><br/><strong>%s</strong> shared the poll '%s' with you. To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hello %s,<br/><br/><strong>%s</strong> shared the poll '%s' with you. To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>",
88
+    "Hello %s,<br/><br/><strong>%s</strong> commented on the poll '%s'.<br/><br/><i>%s</i><br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hello %s,<br/><br/><strong>%s</strong> commented on the poll '%s'.<br/><br/><i>%s</i><br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>",
89
+    "Hello %s,<br/><br/><strong>%s</strong> participated in the poll '%s'.<br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hello %s,<br/><br/><strong>%s</strong> participated in the poll '%s'.<br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>",
90
+    "Polls App - New Comment" => "Polls App - New Comment",
91
+    "Polls App - New Participant" => "Polls App - New Participant",
92
+    "Polls App - New Poll" => "Polls App - New Poll",
93
+    "Polls App" => "Polls App",
94
+    "Receive notification email on activity" => "Receive notification email on activity"
95 95
 );
96 96
 $PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
Please login to merge, or discard this patch.
l10n/fr.php 1 patch
Indentation   +82 added lines, -82 removed lines patch added patch discarded remove patch
@@ -1,96 +1,96 @@
 block discarded – undo
1 1
 <?php
2 2
 $TRANSLATIONS = array(
3
-	"Polls" => "Sondages",
3
+    "Polls" => "Sondages",
4 4
     "Poll" => "Sondage",
5
-	"Summary" => "Sommaire",
6
-	"No existing polls." => "Aucun sondages n'existent.",
7
-	"Title" => "Titre",
8
-	"Description" => "Description",
5
+    "Summary" => "Sommaire",
6
+    "No existing polls." => "Aucun sondages n'existent.",
7
+    "Title" => "Titre",
8
+    "Description" => "Description",
9 9
     "Please select at least one user or group!" => "S'il vous plaît, sélectionnez au moins un utilisateur ou un groupe!",
10
-	"Created" => "Créer",
11
-	"Expires" => "Expirer",
12
-	"Never" => "Jamais",
13
-	"By" => "Par",
14
-	"Go to" => "Allez à",
15
-	"Create new poll" => "Créer une nouveau sondage",
16
-	"Access (click for link)" => "Accès (Cliquer pour accèder au lien)",
17
-	"Access" => "Accès",
18
-	"Registered users only" => "Utilisateurs inscrits seulement",
19
-	"Public access" => "Accès publique",
20
-	"hidden" => "caché",
21
-	"public" => "public",
22
-	"registered" => "inscription",
10
+    "Created" => "Créer",
11
+    "Expires" => "Expirer",
12
+    "Never" => "Jamais",
13
+    "By" => "Par",
14
+    "Go to" => "Allez à",
15
+    "Create new poll" => "Créer une nouveau sondage",
16
+    "Access (click for link)" => "Accès (Cliquer pour accèder au lien)",
17
+    "Access" => "Accès",
18
+    "Registered users only" => "Utilisateurs inscrits seulement",
19
+    "Public access" => "Accès publique",
20
+    "hidden" => "caché",
21
+    "public" => "public",
22
+    "registered" => "inscription",
23 23
     "expired" => "expired",
24
-	"delete" => "effacer",
25
-	"Next" => "Suivant",
26
-	"Cancel" => "Annuler",
27
-	"User/Group search" => "Recherche utilisateur ou Groupe",
24
+    "delete" => "effacer",
25
+    "Next" => "Suivant",
26
+    "Cancel" => "Annuler",
27
+    "User/Group search" => "Recherche utilisateur ou Groupe",
28 28
     "Options" => "Options",
29
-	"Edit poll" => "Modifier sondage",
30
-	"Click on days to add or remove" => "Cliquez sur une journée à ajouter ou à supprimer",
31
-	"Select hour & minute, then click on time" => "Selectionnez l'heure et les minutes, et cliquez sur le temps",
32
-	"Mon" => "Lun",
33
-	"Tue" => "Mar",
34
-	"Wed" => "Mer",
35
-	"Thu" => "Jeu",
36
-	"Fri" => "Ven",
37
-	"Sat" => "Sam",
38
-	"Sun" => "Dim",
39
-	"click to add" => "Cliquez pour ajouter",
40
-	"date\\time" => "date\\temps",
41
-	"Poll URL" => "URL du sondage",
42
-	"Link" => "Lien",
43
-	"Total" => "Total",
44
-	"Best option" => "Meilleur option",
45
-	"All" => "Tout",
46
-	"No description provided." => "Pas de description fournis.",
47
-	"Write new Comment" => "Ecrivez un nouveau commentaire",
48
-	"Comments" => "Commentaires",
49
-	"No comments yet. Be the first." => "pas de commentaires maintenant. Soyez le premier.",
50
-	"Send!" => "Envoyez!",
51
-	"Vote!" => "Vote!",
52
-	"Polls summary" => "Résumé des sondages",
53
-	"Update poll" => "Mise à jour des sondages",
54
-	"Create poll" => "Créer un sondage",
55
-	"Home" => "Home",
56
-	"participated" => "participer",
57
-	"Yourself" => "Vous-même",
29
+    "Edit poll" => "Modifier sondage",
30
+    "Click on days to add or remove" => "Cliquez sur une journée à ajouter ou à supprimer",
31
+    "Select hour & minute, then click on time" => "Selectionnez l'heure et les minutes, et cliquez sur le temps",
32
+    "Mon" => "Lun",
33
+    "Tue" => "Mar",
34
+    "Wed" => "Mer",
35
+    "Thu" => "Jeu",
36
+    "Fri" => "Ven",
37
+    "Sat" => "Sam",
38
+    "Sun" => "Dim",
39
+    "click to add" => "Cliquez pour ajouter",
40
+    "date\\time" => "date\\temps",
41
+    "Poll URL" => "URL du sondage",
42
+    "Link" => "Lien",
43
+    "Total" => "Total",
44
+    "Best option" => "Meilleur option",
45
+    "All" => "Tout",
46
+    "No description provided." => "Pas de description fournis.",
47
+    "Write new Comment" => "Ecrivez un nouveau commentaire",
48
+    "Comments" => "Commentaires",
49
+    "No comments yet. Be the first." => "pas de commentaires maintenant. Soyez le premier.",
50
+    "Send!" => "Envoyez!",
51
+    "Vote!" => "Vote!",
52
+    "Polls summary" => "Résumé des sondages",
53
+    "Update poll" => "Mise à jour des sondages",
54
+    "Create poll" => "Créer un sondage",
55
+    "Home" => "Home",
56
+    "participated" => "participer",
57
+    "Yourself" => "Vous-même",
58 58
     "You did not vote" => "You did not vote",
59 59
     "You voted" => "You voted",
60 60
     "You did not comment" => "You did not comment",
61 61
     "You commented" => "You commented",
62
-	"Select" => "Selectionner",
63
-	"Close" => "Fermer",
64
-	"Users" => "Utilisateurs",
65
-	"Groups" => "Groupes",
62
+    "Select" => "Selectionner",
63
+    "Close" => "Fermer",
64
+    "Users" => "Utilisateurs",
65
+    "Groups" => "Groupes",
66 66
     "Do you really want to delete that poll?" => "Voulez vous réellement supprimer ce sondage?",
67
-	"You must enter at least a title for the new poll." => "Vous devez rentrer au moin un titre pour ce nouveau sondage.",
68
-	"Copy to clipboard: Ctrl+C, Enter" => "Copier dans le presse-papier: Ctrl+C, Entrer",
69
-	"Thanks that you've voted. You can close the page now." => "Merci d'avoir voté. Vous pouvez fermer la page maintenant.",
70
-	"Nothing selected!\nClick on cells to turn them green." => "Rien de sélectionner\ncliquez sur une cellule pour l'activer en vert.",
71
-	"You are not registered.\nPlease enter your name to vote\n(at least 3 characters!)" => "Vous n'n'êtes pas inscrits.\nS'il vous plaît entrer votre nom pour voter\n(Au moin trois caractères!)",
72
-	"You already have an item with the same text" => "Vous avez dêja un article avec le même texte",
73
-	"Please choose the groups or users you want to add to your poll." => "Si'l vous plaît, choisissez le groupe ou l'utilisateur a ajouter au sondage.",
74
-	"Click to get link" => "Cliquez pour avoir le lien",
75
-	"Edit access" => "Modifier les accès",
76
-	"Type" => "Type",
77
-	"Event schedule" => "Calendrier des événements",
78
-	"Text based" => "Texte basé",
79
-	"Text item" => "Article de texte",
67
+    "You must enter at least a title for the new poll." => "Vous devez rentrer au moin un titre pour ce nouveau sondage.",
68
+    "Copy to clipboard: Ctrl+C, Enter" => "Copier dans le presse-papier: Ctrl+C, Entrer",
69
+    "Thanks that you've voted. You can close the page now." => "Merci d'avoir voté. Vous pouvez fermer la page maintenant.",
70
+    "Nothing selected!\nClick on cells to turn them green." => "Rien de sélectionner\ncliquez sur une cellule pour l'activer en vert.",
71
+    "You are not registered.\nPlease enter your name to vote\n(at least 3 characters!)" => "Vous n'n'êtes pas inscrits.\nS'il vous plaît entrer votre nom pour voter\n(Au moin trois caractères!)",
72
+    "You already have an item with the same text" => "Vous avez dêja un article avec le même texte",
73
+    "Please choose the groups or users you want to add to your poll." => "Si'l vous plaît, choisissez le groupe ou l'utilisateur a ajouter au sondage.",
74
+    "Click to get link" => "Cliquez pour avoir le lien",
75
+    "Edit access" => "Modifier les accès",
76
+    "Type" => "Type",
77
+    "Event schedule" => "Calendrier des événements",
78
+    "Text based" => "Texte basé",
79
+    "Text item" => "Article de texte",
80 80
     "Dates" => "Dates",
81
-	"Description (will be shown as tooltip on the summary page)" => "Description (Sera affiché comme info-bulle sur la page de synthèse)",
82
-	"Poll expired" => "Sondage expiré",
83
-	"The poll expired on %s. Voting is disabled, but you can still comment." => "Le sondage a expiré sur %s. Le vote est désactivée, mais vous pouvez toujours commenter.",
84
-	"Access denied" => "Accès refuser",
85
-	"You are not allowed to view this poll or the poll does not exist." => "Vous n'êtes pas autorisé à afficher ce sondage ou le sondage n'existe pas.",
86
-	"Error" => "Erreur",
87
-	"Hello %s,<br/><br/><strong>%s</strong> shared the poll '%s' with you. To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Bonjour %s,<br/><br/><strong>%s</strong> a partagé le sondage '%s' avec vous. Pour aller directement au sondage, vous pouvez utiliser ce lien <a href=\"%s\">%s</a>",
88
-	"Hello %s,<br/><br/><strong>%s</strong> commented on the poll '%s'.<br/><br/><i>%s</i><br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Bonjour %s,<br/><br/><strong>%s</strong> a commenté le sondage'%s'.<br/><br/><i>%s</i><br/><br/>Pour aller directement au sondage, vous pouvez utiliser ce lien: <a href=\"%s\">%s</a>",
89
-	"Hello %s,<br/><br/><strong>%s</strong> participated in the poll '%s'.<br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Bonjour %s,<br/><br/><strong>%s</strong> a participer au sondage'%s'.<br/><br/>To Pour aller directement au sondage, vous pouvez utiliser ce lien:<a href=\"%s\">%s</a>",
90
-	"Polls App - New Comment" => "Sondage App - Nouveau commentaire",
91
-	"Polls App - New Participant" => "Sondage App - Nouveau participant",
92
-	"Polls App - New Poll" => "Sondage App - Nouveau sondage",
93
-	"Polls App" => "Sondage App",
94
-	"Receive notification email on activity" => "Recevoir un e-mail de notification sur l'activité"
81
+    "Description (will be shown as tooltip on the summary page)" => "Description (Sera affiché comme info-bulle sur la page de synthèse)",
82
+    "Poll expired" => "Sondage expiré",
83
+    "The poll expired on %s. Voting is disabled, but you can still comment." => "Le sondage a expiré sur %s. Le vote est désactivée, mais vous pouvez toujours commenter.",
84
+    "Access denied" => "Accès refuser",
85
+    "You are not allowed to view this poll or the poll does not exist." => "Vous n'êtes pas autorisé à afficher ce sondage ou le sondage n'existe pas.",
86
+    "Error" => "Erreur",
87
+    "Hello %s,<br/><br/><strong>%s</strong> shared the poll '%s' with you. To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Bonjour %s,<br/><br/><strong>%s</strong> a partagé le sondage '%s' avec vous. Pour aller directement au sondage, vous pouvez utiliser ce lien <a href=\"%s\">%s</a>",
88
+    "Hello %s,<br/><br/><strong>%s</strong> commented on the poll '%s'.<br/><br/><i>%s</i><br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Bonjour %s,<br/><br/><strong>%s</strong> a commenté le sondage'%s'.<br/><br/><i>%s</i><br/><br/>Pour aller directement au sondage, vous pouvez utiliser ce lien: <a href=\"%s\">%s</a>",
89
+    "Hello %s,<br/><br/><strong>%s</strong> participated in the poll '%s'.<br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Bonjour %s,<br/><br/><strong>%s</strong> a participer au sondage'%s'.<br/><br/>To Pour aller directement au sondage, vous pouvez utiliser ce lien:<a href=\"%s\">%s</a>",
90
+    "Polls App - New Comment" => "Sondage App - Nouveau commentaire",
91
+    "Polls App - New Participant" => "Sondage App - Nouveau participant",
92
+    "Polls App - New Poll" => "Sondage App - Nouveau sondage",
93
+    "Polls App" => "Sondage App",
94
+    "Receive notification email on activity" => "Recevoir un e-mail de notification sur l'activité"
95 95
 );
96 96
 $PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
Please login to merge, or discard this patch.
l10n/de.php 1 patch
Indentation   +83 added lines, -83 removed lines patch added patch discarded remove patch
@@ -2,96 +2,96 @@
 block discarded – undo
2 2
 $TRANSLATIONS = array(
3 3
     "Polls" => "Umfragen",
4 4
     "Poll" => "Umfrage",
5
-	"Summary" => "Übersicht",
6
-	"No existing polls." => "Keine Umfragen vorhanden.",
7
-	"Title" => "Name",
8
-	"Description" => "Beschreibung",
5
+    "Summary" => "Übersicht",
6
+    "No existing polls." => "Keine Umfragen vorhanden.",
7
+    "Title" => "Name",
8
+    "Description" => "Beschreibung",
9 9
     "Please select at least one user or group!" => "Bitte wählen Sie mindestens einen Benutzer oder eine Gruppe aus!",
10
-	"Created" => "erstellt",
11
-	"Expires" => "Läuft ab",
12
-	"Never" => "Niemals",
13
-	"By" => "von",
14
-	"Go to" => "Gehe zu",
15
-	"Create new poll" => "Neue Umfrage erstellen",
16
-	"Access (click for link)" => "Zugriff (für Link klicken)",
17
-	"Access" => "Zugriff",
18
-	"Registered users only" => "Nur registrierte Benutzer",
19
-	"Public access" => "Öffentlicher Zugriff",
20
-	"hidden" => "versteckt",
21
-	"public" => "öffentlich",
22
-	"registered" => "für Registrierte",
23
-	"delete" => "löschen",
24
-	"Next" => "Weiter",
25
-	"Cancel" => "Abbrechen",
26
-	"User/Group search" => "Benutzer oder Gruppe suchen",
10
+    "Created" => "erstellt",
11
+    "Expires" => "Läuft ab",
12
+    "Never" => "Niemals",
13
+    "By" => "von",
14
+    "Go to" => "Gehe zu",
15
+    "Create new poll" => "Neue Umfrage erstellen",
16
+    "Access (click for link)" => "Zugriff (für Link klicken)",
17
+    "Access" => "Zugriff",
18
+    "Registered users only" => "Nur registrierte Benutzer",
19
+    "Public access" => "Öffentlicher Zugriff",
20
+    "hidden" => "versteckt",
21
+    "public" => "öffentlich",
22
+    "registered" => "für Registrierte",
23
+    "delete" => "löschen",
24
+    "Next" => "Weiter",
25
+    "Cancel" => "Abbrechen",
26
+    "User/Group search" => "Benutzer oder Gruppe suchen",
27 27
     "Options" => "Optionen",
28
-	"Edit poll" => "Umfrage bearbeiten",
29
-	"Click on days to add or remove" => "Klicke auf die Tage um sie hinzuzufügen oder zu löschen",
30
-	"Select hour & minute, then click on time" => "Wähle Stunden und Minuten, dann klicke auf die Zeit",
31
-	"Mon" => "Mo",
32
-	"Tue" => "Di",
33
-	"Wed" => "Mi",
34
-	"Thu" => "Do",
35
-	"Fri" => "Fr",
36
-	"Sat" => "Sa",
37
-	"Sun" => "So",
38
-	"click to add" => "Klicke zum Hinzufügen",
39
-	"date\\time" => "Datum/Zeit",
40
-	"poll URL" => "Umfrage-Link",
41
-	"Link" => "Link",
42
-	"Total" => "Gesamt",
43
-	"Best option" => "Bestes Ergebnis",
44
-	"All" => "Alle",
45
-	"No description provided." => "Keine Beschreibung angegeben.",
46
-	"Write new Comment" => "Neuer Kommentar",
47
-	"Comments" => "Kommentare",
48
-	"No comments yet. Be the first." => "Bisher keine Kommentare. Sei der Erste.",
49
-	"Send!" => "Abschicken!",
50
-	"Vote!" => "Abstimmen!",
51
-	"Polls summary" => "Umfrage-Übersicht",
52
-	"Home" => "Startseite",
53
-	"Update poll" => "Umfrage aktualisieren",
54
-	"Create poll" => "Umfrage erstellen",
55
-	"participated" => "abgestimmt",
56
-	"Yourself" => "Dir",
28
+    "Edit poll" => "Umfrage bearbeiten",
29
+    "Click on days to add or remove" => "Klicke auf die Tage um sie hinzuzufügen oder zu löschen",
30
+    "Select hour & minute, then click on time" => "Wähle Stunden und Minuten, dann klicke auf die Zeit",
31
+    "Mon" => "Mo",
32
+    "Tue" => "Di",
33
+    "Wed" => "Mi",
34
+    "Thu" => "Do",
35
+    "Fri" => "Fr",
36
+    "Sat" => "Sa",
37
+    "Sun" => "So",
38
+    "click to add" => "Klicke zum Hinzufügen",
39
+    "date\\time" => "Datum/Zeit",
40
+    "poll URL" => "Umfrage-Link",
41
+    "Link" => "Link",
42
+    "Total" => "Gesamt",
43
+    "Best option" => "Bestes Ergebnis",
44
+    "All" => "Alle",
45
+    "No description provided." => "Keine Beschreibung angegeben.",
46
+    "Write new Comment" => "Neuer Kommentar",
47
+    "Comments" => "Kommentare",
48
+    "No comments yet. Be the first." => "Bisher keine Kommentare. Sei der Erste.",
49
+    "Send!" => "Abschicken!",
50
+    "Vote!" => "Abstimmen!",
51
+    "Polls summary" => "Umfrage-Übersicht",
52
+    "Home" => "Startseite",
53
+    "Update poll" => "Umfrage aktualisieren",
54
+    "Create poll" => "Umfrage erstellen",
55
+    "participated" => "abgestimmt",
56
+    "Yourself" => "Dir",
57 57
     "You did not vote" => "Du hast nicht abgestimmt",
58 58
     "You voted" => "Du hast abgestimmt",
59 59
     "You did not comment" => "Du hast nicht kommentiert",
60 60
     "You commented" => "Du hast kommentiert",
61
-	"Select" => "Wählen",
62
-	"Close" => "Schließen",
63
-	"Users" => "Benutzer",
64
-	"Groups" => "Gruppen",
61
+    "Select" => "Wählen",
62
+    "Close" => "Schließen",
63
+    "Users" => "Benutzer",
64
+    "Groups" => "Gruppen",
65 65
     "Do you really want to delete that poll?" => "Sind Sie sicher, dass sie diese Umfrage löschen möchten?",
66
-	"You must enter at least a title for the new poll." => "Sie müssen zumindest einen Namen für die Umfrage angeben.",
67
-	"Copy to clipboard: Ctrl+C, Enter" => "In die Zwischenablage kopieren: Strg+C, Enter",
68
-	"Thanks that you've voted. You can close the page now." => "Danke, dass sie abgestimmt haben. Sie können die Seite jetzt schließen.",
69
-	"Nothing selected!\nClick on cells to turn them green." => "Nichts ausgewählt!\nKlicke auf die Elemente um sie auszuwählen (grün).",
70
-	"You are not registered.\nPlease enter your name to vote\n(at least 3 characters!)" => "Sie sind nicht registriert.\nBitte geben Sie ihren Namen ein um abzustimmen\n(mindestens 3 Zeichen!)",
71
-	"You already have an item with the same text" => "Sie haben bereits ein Element mit dem gleichen Text.",
72
-	"Please choose the groups or users you want to add to your poll." => "Bitte wählen Sie die Gruppen oder Benutzer aus, die Sie zu ihrer Umfrage hinzufügen möchten.",
73
-	"Click to get link" => "Klicken Sie um den Link zu erhalten",
74
-	"Edit access" => "Zugriff ändern",
75
-	"Type" => "Art",
76
-	"Event schedule" => "Datumsangabe",
77
-	"Text based" => "Eigene Texte",
78
-	"Text item" => "Text",
66
+    "You must enter at least a title for the new poll." => "Sie müssen zumindest einen Namen für die Umfrage angeben.",
67
+    "Copy to clipboard: Ctrl+C, Enter" => "In die Zwischenablage kopieren: Strg+C, Enter",
68
+    "Thanks that you've voted. You can close the page now." => "Danke, dass sie abgestimmt haben. Sie können die Seite jetzt schließen.",
69
+    "Nothing selected!\nClick on cells to turn them green." => "Nichts ausgewählt!\nKlicke auf die Elemente um sie auszuwählen (grün).",
70
+    "You are not registered.\nPlease enter your name to vote\n(at least 3 characters!)" => "Sie sind nicht registriert.\nBitte geben Sie ihren Namen ein um abzustimmen\n(mindestens 3 Zeichen!)",
71
+    "You already have an item with the same text" => "Sie haben bereits ein Element mit dem gleichen Text.",
72
+    "Please choose the groups or users you want to add to your poll." => "Bitte wählen Sie die Gruppen oder Benutzer aus, die Sie zu ihrer Umfrage hinzufügen möchten.",
73
+    "Click to get link" => "Klicken Sie um den Link zu erhalten",
74
+    "Edit access" => "Zugriff ändern",
75
+    "Type" => "Art",
76
+    "Event schedule" => "Datumsangabe",
77
+    "Text based" => "Eigene Texte",
78
+    "Text item" => "Text",
79 79
     "Dates" => "Termine",
80
-	"Description (will be shown as tooltip on the summary page)" => "Beschreibung (wird als Tooltip in der Übersicht angezeigt)",
81
-	"Poll expired" => "Umfrage abgelaufen",
82
-	"The poll expired on %s. Voting is disabled, but you can still comment." => "Die Umfrage lief am %s ab. Die Abstimmung ist geschlossen, aber es kann weiterhin kommentiert werden.",
83
-	"Access denied" => "Zugriff verweigert",
84
-	"You are not allowed to view this poll or the poll does not exist." => "Ihnen fehlt die Berechtigung zur Anzeige dieser Abstimmung oder diese Abstimmung existiert nicht.",
85
-	"Error" => "Fehler",
86
-	"d.m.Y H:i" => "d.m.Y H:i",
87
-	"d.m.Y" => "d.m.Y",
88
-	"Hello %s,<br/><br/><strong>%s</strong> shared the poll '%s' with you. To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hallo %s,<br/><br/><strong>%s</strong> hat die Umfrage '%s' mit dir geteilt. Um direkt zur Umfrage zu gelangen, kannst du diesen Link verwenden: <a href=\"%s\">%s</a>",
89
-	"Hello %s,<br/><br/><strong>%s</strong> commented on the poll '%s'.<br/><br/><i>%s</i><br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hallo %s,<br/><br/><strong>%s</strong> hat die Umfrage '%s' kommentiert.<br/><br/><i>%s</i><br/><br/>Um direkt zur Umfrage zu gelangen, kannst du diesen Link verwenden: <a href=\"%s\">%s</a>",
90
-	"Hello %s,<br/><br/><strong>%s</strong> participated in the poll '%s'.<br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hallo %s,<br/><br/><strong>%s</strong> hat an der Umfrage '%s' teilgenommen.<br/><br/>Um direkt zur Umfrage zu gelangen, kannst du diesen Link verwenden: <a href=\"%s\">%s</a>",
91
-	"Polls App - New Comment" => "Umfragen App - Neuer Kommentar",
92
-	"Polls App - New Participant" => "Umfragen App - Neuer Teilnehmer",
93
-	"Polls App - New Poll" => "Umfragen App - Neue Umfrage",
94
-	"Polls App" => "Umfragen App",
95
-	"Receive notification email on activity" => "Erhalte Emails bei Änderungen"
80
+    "Description (will be shown as tooltip on the summary page)" => "Beschreibung (wird als Tooltip in der Übersicht angezeigt)",
81
+    "Poll expired" => "Umfrage abgelaufen",
82
+    "The poll expired on %s. Voting is disabled, but you can still comment." => "Die Umfrage lief am %s ab. Die Abstimmung ist geschlossen, aber es kann weiterhin kommentiert werden.",
83
+    "Access denied" => "Zugriff verweigert",
84
+    "You are not allowed to view this poll or the poll does not exist." => "Ihnen fehlt die Berechtigung zur Anzeige dieser Abstimmung oder diese Abstimmung existiert nicht.",
85
+    "Error" => "Fehler",
86
+    "d.m.Y H:i" => "d.m.Y H:i",
87
+    "d.m.Y" => "d.m.Y",
88
+    "Hello %s,<br/><br/><strong>%s</strong> shared the poll '%s' with you. To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hallo %s,<br/><br/><strong>%s</strong> hat die Umfrage '%s' mit dir geteilt. Um direkt zur Umfrage zu gelangen, kannst du diesen Link verwenden: <a href=\"%s\">%s</a>",
89
+    "Hello %s,<br/><br/><strong>%s</strong> commented on the poll '%s'.<br/><br/><i>%s</i><br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hallo %s,<br/><br/><strong>%s</strong> hat die Umfrage '%s' kommentiert.<br/><br/><i>%s</i><br/><br/>Um direkt zur Umfrage zu gelangen, kannst du diesen Link verwenden: <a href=\"%s\">%s</a>",
90
+    "Hello %s,<br/><br/><strong>%s</strong> participated in the poll '%s'.<br/><br/>To go directly to the poll, you can use this link: <a href=\"%s\">%s</a>" => "Hallo %s,<br/><br/><strong>%s</strong> hat an der Umfrage '%s' teilgenommen.<br/><br/>Um direkt zur Umfrage zu gelangen, kannst du diesen Link verwenden: <a href=\"%s\">%s</a>",
91
+    "Polls App - New Comment" => "Umfragen App - Neuer Kommentar",
92
+    "Polls App - New Participant" => "Umfragen App - Neuer Teilnehmer",
93
+    "Polls App - New Poll" => "Umfragen App - Neue Umfrage",
94
+    "Polls App" => "Umfragen App",
95
+    "Receive notification email on activity" => "Erhalte Emails bei Änderungen"
96 96
 );
97 97
 $PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
Please login to merge, or discard this patch.
lib/Db/TextMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function findByPoll($pollId, $limit = null, $offset = null) {
46 46
         $sql = 'SELECT * FROM ' . $this->getTableName() . ' WHERE poll_id = ?';
47
-        return $this->findEntities($sql, [$pollId], $limit, $offset);
47
+        return $this->findEntities($sql, [ $pollId ], $limit, $offset);
48 48
     }
49 49
 
50 50
     /**
@@ -52,6 +52,6 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function deleteByPoll($pollId) {
54 54
         $sql = 'DELETE FROM ' . $this->getTableName() . ' WHERE poll_id = ?';
55
-        $this->execute($sql, [$pollId]);
55
+        $this->execute($sql, [ $pollId ]);
56 56
     }
57 57
 }
Please login to merge, or discard this patch.