summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2010-04-17 23:21:15 -0700
committerArun Persaud <arun@nubati.net>2010-04-17 23:21:15 -0700
commit4601624395d2f42086d058668b1b96778c8fcbb6 (patch)
treec9e56b20886fb5385cde46a68ed4b0eea2bcbc57
parentb485d5119e6e18ea11ac7f7948e199f32b49a906 (diff)
downloade-DoKo-4601624395d2f42086d058668b1b96778c8fcbb6.tar.gz
e-DoKo-4601624395d2f42086d058668b1b96778c8fcbb6.tar.bz2
e-DoKo-4601624395d2f42086d058668b1b96778c8fcbb6.zip
marked more strings for translation
-rw-r--r--include/game.php16
-rw-r--r--po/messages.pot22
2 files changed, 29 insertions, 9 deletions
diff --git a/include/game.php b/include/game.php
index cafa026..aa25616 100644
--- a/include/game.php
+++ b/include/game.php
@@ -239,7 +239,7 @@ if($session)
if($finalscore)
{
- echo "Score: \n";
+ echo _('Score').": \n";
foreach($finalscore as $user=>$value)
{
$name = DB_get_name('userid',$user);
@@ -1288,7 +1288,7 @@ switch($mystatus)
$firstcard = ''; /* first card in a trick */
echo "\n<ul class=\"tricks\">\n";
- echo " <li class=\"nohighlight\"> Game ".DB_format_gameid($gameid).": </li>\n";
+ echo ' <li class="nohighlight"> '._('Game').' '.DB_format_gameid($gameid).": </li>\n";
/* output vorbehalte */
$mygametype = DB_get_gametype_by_gameid($gameid);
@@ -1332,14 +1332,14 @@ switch($mystatus)
if($trick!=$lasttrick)
{
/* start of an old trick? */
- echo " <li onclick=\"hl('$trickNR');\" class=\"old\"><a href=\"#\">Trick $trickNR</a>\n".
+ echo " <li onclick=\"hl('$trickNR');\" class=\"old\"><a href=\"#\">"._('Trick')." $trickNR</a>\n".
" <div class=\"trick\" id=\"trick".$trickNR."\">\n".
" <img class=\"arrow\" src=\"pics/arrow".($pos-1).".png\" alt=\"table\" />\n";
}
else if($trick==$lasttrick)
{
/* start of a last trick? */
- echo " <li onclick=\"hl('$trickNR');\" class=\"current\"><a href=\"#\">Trick $trickNR</a>\n".
+ echo " <li onclick=\"hl('$trickNR');\" class=\"current\"><a href=\"#\">"._('Trick')." $trickNR</a>\n".
" <div class=\"trick\" id=\"trick".$trickNR."\">\n".
" <img class=\"arrow\" src=\"pics/arrow".($pos-1).".png\" alt=\"table\" />\n";
};
@@ -1602,7 +1602,7 @@ switch($mystatus)
$pos = DB_get_pos_by_hash($me);
if($sequence==1)
{
- echo " <li onclick=\"hl('".($tricknr)."');\" class=\"current\"><a href=\"#\">Trick ".($tricknr)."</a>\n".
+ echo " <li onclick=\"hl('".($tricknr)."');\" class=\"current\"><a href=\"#\">"._('Trick').' '.($tricknr)."</a>\n".
" <div class=\"trick\" id=\"trick".($tricknr)."\">\n".
" <img class=\"arrow\" src=\"pics/arrow".($pos-1).".png\" alt=\"table\" />\n";
}
@@ -1913,7 +1913,7 @@ switch($mystatus)
/* display points in case game is over */
if($mystatus=='gameover' && DB_get_game_status_by_gameid($gameid)=='gameover' )
{
- echo " <li onclick=\"hl('13');\" class=\"current\"><a href=\"#\">Score</a>\n".
+ echo " <li onclick=\"hl('13');\" class=\"current\"><a href=\"#\">"._('Score')."</a>\n".
" <div class=\"trick\" id=\"trick13\">\n";
/* add pic for re/contra
" <img class=\"arrow\" src=\"pics/arrow".($pos-1).".png\" alt=\"table\" />\n";*/
@@ -1970,8 +1970,8 @@ switch($mystatus)
echo " </div>\n </li>\n"; /* end div trick, end li trick */
}
- echo " <li onclick=\"hl_prev();\" class=\"old\"><a href=\"#\">prev</a></li>\n";
- echo " <li onclick=\"hl_next();\" class=\"old\"><a href=\"#\">next</a></li>\n";
+ echo " <li onclick=\"hl_prev();\" class=\"old\"><a href=\"#\">"._('prev')."</a></li>\n";
+ echo " <li onclick=\"hl_next();\" class=\"old\"><a href=\"#\">"._('next')."</a></li>\n";
echo "</ul>\n"; /* end ul tricks*/
$mycards = DB_get_hand($me);
diff --git a/po/messages.pot b/po/messages.pot
index 50f3a59..e1bb062 100644
--- a/po/messages.pot
+++ b/po/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: edoko\n"
"Report-Msgid-Bugs-To: arun@nubati.net\n"
-"POT-Creation-Date: 2010-04-17 22:55-0700\n"
+"POT-Creation-Date: 2010-04-17 23:20-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -76,6 +76,10 @@ msgstr ""
msgid "lowtrump"
msgstr ""
+#: include/game.php:242 include/game.php:1916
+msgid "Score"
+msgstr ""
+
#: include/game.php:286
msgid "previous game"
msgstr ""
@@ -144,10 +148,26 @@ msgid ""
"wait for the others. Just wait for an email."
msgstr ""
+#: include/game.php:1291
+msgid "Game"
+msgstr ""
+
+#: include/game.php:1335 include/game.php:1342 include/game.php:1605
+msgid "Trick"
+msgstr ""
+
#: include/game.php:1907
msgid "please wait until it's your turn!"
msgstr ""
+#: include/game.php:1973
+msgid "prev"
+msgstr ""
+
+#: include/game.php:1974
+msgid "next"
+msgstr ""
+
#: include/game.php:2026
msgid "Your cards were"
msgstr ""