projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
faf6fd4
)
mark more strings for translation
author
Arun Persaud
<arun@nubati.net>
Tue, 18 Sep 2012 04:13:17 +0000
(21:13 -0700)
committer
Arun Persaud
<arun@nubati.net>
Tue, 18 Sep 2012 04:13:17 +0000
(21:13 -0700)
include/game.php
patch
|
blob
|
history
diff --git
a/include/game.php
b/include/game.php
index 2053350d2e43a1a867b1bd9aea54a2933ca2b0fb..22efe366ad2c946bbecc026ee4cf21a07113db1a 100644
(file)
--- a/
include/game.php
+++ b/
include/game.php
@@
-2034,8
+2034,8
@@
switch($mystatus)
case 'init':
case 'check':
/* output sickness of other playes, in case they already selected and are sitting in front of the current player */
case 'init':
case 'check':
/* output sickness of other playes, in case they already selected and are sitting in front of the current player */
- echo "\n
<div class=\"tricks\">
\n";
- echo
" <div class=\"trick\" id=\"trick0\">
\n";
+ echo "\n
".'<div class="tricks">'."
\n";
+ echo
' <div class="trick" id="trick0">'."
\n";
for($pos=1;$pos<5;$pos++)
{
for($pos=1;$pos<5;$pos++)
{
@@
-2044,21
+2044,21
@@
switch($mystatus)
$userstatus = DB_get_hand_status_by_userid_and_gameid($userid,$gameid);
if($userstatus=='start' || $userstatus=='init')
$userstatus = DB_get_hand_status_by_userid_and_gameid($userid,$gameid);
if($userstatus=='start' || $userstatus=='init')
- echo
" <div class=\"vorbehalt".($pos-1)."\"> still needs <br />to decide
</div>\n"; /* show this to everyone */
+ echo
' <div class="vorbehalt'.($pos-1).'">'._('still needs <br />to decide')."
</div>\n"; /* show this to everyone */
else
if($usersick!=NULL) /* in the init-phase we only showed players with $pos<$mypos, now we can show all */
else
if($usersick!=NULL) /* in the init-phase we only showed players with $pos<$mypos, now we can show all */
- echo
" <div class=\"vorbehalt".($pos-1)."\"> sick
</div>\n";
+ echo
' <div class="vorbehalt'.($pos-1).'">'._('sick')."
</div>\n";
else
else
- echo
" <div class=\"vorbehalt".($pos-1)."\"> healthy
</div>\n";
+ echo
' <div class="vorbehalt'.($pos-1).'">'._('healthy')."
</div>\n";
}
/* display all comments on the top right (card1)*/
$comments = DB_get_pre_comment($gameid);
/* display card */
}
/* display all comments on the top right (card1)*/
$comments = DB_get_pre_comment($gameid);
/* display card */
- echo
" <div class=\"card1\">
\n";
+ echo
' <div class="card1">'."
\n";
/* display comments */
foreach( $comments as $comment )
/* display comments */
foreach( $comments as $comment )
- echo
" <span class=\"comment\">".$comment[1].": "
.$comment[0]."</span>\n";
+ echo
' <span class="comment">'.$comment[1].': '
.$comment[0]."</span>\n";
echo " </div>\n"; /* end div card */
echo " </div>\n"; /* end div card */