TRANSLATION: marked more messages for translation
authorArun Persaud <arun@nubati.net>
Sun, 13 Jan 2013 01:12:20 +0000 (17:12 -0800)
committerArun Persaud <arun@nubati.net>
Sun, 13 Jan 2013 01:12:20 +0000 (17:12 -0800)
include/functions.php
include/game.php
po/messages.pot

index d7ecb10..7888a76 100644 (file)
@@ -1207,15 +1207,15 @@ function display_single_user($r,$start=0)
       switch($wins)
        {
        case 0:
-         echo "#tricks 0"; break;
+         echo _('#tricks 0'); break;
        case 1:
-         echo "#tricks 1"; break;
+         echo _('#tricks 1'); break;
        case 2:
        case 3:
        case 4:
-         echo "#tricks few"; break;
+         echo _('#tricks few'); break;
        default:
-         echo "#tricks many"; break;
+         echo _('#tricks many'); break;
        }
       echo "</span>\n";
       echo "  </div>\n";
index 367cc07..9b878aa 100644 (file)
@@ -328,7 +328,7 @@ if($session)
       $next = NULL;
 
     /* check for solo, add game type to session number */
-    echo "    Game $session.$j";
+    echo '    '._('Game')." $session.$j";
     if($gamestatus != 'pre' && $GT !='normal' )
       echo " ($GT)";
     if(isset($_SESSION['id']) && $_SESSION['id']==$myid)
@@ -2238,7 +2238,8 @@ switch ($card_status) {
           $name = DB_get_name('userid',$user);
           $oldcards = DB_get_all_hand($userhash);
           $oldcards = mysort($oldcards,$gametype);
-          echo "$name's cards were: <br />\n";
+          echo sprintf(_("%s's cards were:"),$name);
+          echo " <br />\n";
           foreach($oldcards as $card)
             display_card($card,$PREF['cardset']);
         }
index 211ea3c..e84a8d1 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: edoko\n"
 "Report-Msgid-Bugs-To: arun@nubati.net\n"
-"POT-Creation-Date: 2013-01-12 15:05-0800\n"
+"POT-Creation-Date: 2013-01-12 17:10-0800\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"
@@ -131,6 +131,22 @@ msgstr ""
 msgid "Starting Player"
 msgstr ""
 
+#: include/functions.php:1210
+msgid "#tricks 0"
+msgstr ""
+
+#: include/functions.php:1212
+msgid "#tricks 1"
+msgstr ""
+
+#: include/functions.php:1216
+msgid "#tricks few"
+msgstr ""
+
+#: include/functions.php:1218
+msgid "#tricks many"
+msgstr ""
+
 #: include/functions.php:1251
 msgid "It's your turn in these games"
 msgstr ""
@@ -195,6 +211,10 @@ msgstr ""
 msgid "Score"
 msgstr ""
 
+#: include/game.php:331 include/reminder.php:75
+msgid "Game"
+msgstr ""
+
 #: include/game.php:337
 msgid "previous"
 msgstr ""
@@ -363,11 +383,16 @@ msgstr ""
 msgid "Your cards were"
 msgstr ""
 
-#: include/game.php:2296
+#: include/game.php:2241
+#, php-format
+msgid "%s's cards were:"
+msgstr ""
+
+#: include/game.php:2297
 msgid "A short comment"
 msgstr ""
 
-#: include/game.php:2309 include/output.php:410
+#: include/game.php:2310 include/output.php:410
 msgid "submit"
 msgstr ""
 
@@ -585,44 +610,44 @@ msgstr ""
 msgid "Do you want to play a game of DoKo?"
 msgstr ""
 
-#: include/output.php:498
+#: include/output.php:502
 msgid "Home"
 msgstr ""
 
-#: include/output.php:500
+#: include/output.php:504
 msgid "settings"
 msgstr ""
 
-#: include/output.php:501
+#: include/output.php:505
 msgid "new game"
 msgstr ""
 
-#: include/output.php:502
+#: include/output.php:506
 msgid "statistics"
 msgstr ""
 
-#: include/output.php:503
+#: include/output.php:507
 msgid "wiki/bugs"
 msgstr ""
 
-#: include/output.php:504
+#: include/output.php:508
 msgid "atom"
 msgstr ""
 
-#: include/output.php:505
+#: include/output.php:509
 msgid "logout"
 msgstr ""
 
-#: include/output.php:509
+#: include/output.php:513
 msgid "last login"
 msgstr ""
 
-#: include/output.php:614
+#: include/output.php:618
 msgid "Personal notes"
 msgstr ""
 
-#: include/output.php:756 include/output.php:768 include/output.php:780
-#: include/output.php:793
+#: include/output.php:760 include/output.php:772 include/output.php:784
+#: include/output.php:797
 msgid "Trump back"
 msgstr ""
 
@@ -850,10 +875,6 @@ msgstr ""
 msgid "Please visit this link now to continue"
 msgstr ""
 
-#: include/reminder.php:75
-msgid "Game"
-msgstr ""
-
 #: include/reminder.php:76
 msgid "an email has been sent out."
 msgstr ""