diff options
-rw-r--r-- | include/functions.php | 24 | ||||
-rw-r--r-- | po/messages.pot | 256 |
2 files changed, 168 insertions, 112 deletions
diff --git a/include/functions.php b/include/functions.php index 2504506..52c0ab7 100644 --- a/include/functions.php +++ b/include/functions.php @@ -103,40 +103,40 @@ function mymail($uid,$gameid=0,$type,$message) switch($type) { case GAME_CANCELED: - $subject.="Game $game canceled"; + $subject.=sprintf(_("Game %s canceled"),$game); break; case GAME_CANCELED_POVERTY: - $subject.="Game $game canceled (poverty not resolved)"; + $subject.=sprintf(_("Game %s canceled (poverty not resolved)"),$game); break; case GAME_CANCELED_TIMEOUT: - $subject.="Game $game canceled (timed out)"; + $subject.=sprintf(_("Game %s canceled (timed out)"),$game); break; case GAME_YOUR_TURN: - $subject.="A card has been played in game $game"; + $subject.=sprintf(_("A card has been played in game %s"),$game); break; case GAME_READY: - $subject.="Ready, set, go... (game $game)"; + $subject.=sprintf(_("Ready, set, go... (game %s)"),$game); break; case GAME_POVERTY: - $subject.="Poverty (game $game)"; + $subject.=sprintf(_("Poverty (game %s)"),$game); break; case GAME_DPOVERTY: - $subject.="Double poverty (game $game)"; + $subject.=sprintf(_("Double poverty (game %s)"),$game); break; case GAME_OVER: - $subject.="Game over (game $game)"; + $subject.=sprintf(_("Game over (game %s)"),$game); break; case GAME_RECOVERY: - $subject.="Recovery"; + $subject.=_("Recovery"); break; case GAME_REMINDER: - $subject.="Reminder: game $game it's your turn"; + $subject.=sprintf(_("Reminder: game %s it's your turn"),$game); break; case GAME_NEW: - $subject.="You are invited to a game of DoKo (game $game)"; + $subject.=sprintf(_("You are invited to a game of DoKo (game %s)"),$game); break; default: - $subject.="Problem with email, contact admin (errorcode $gameid)"; + $subject.=sprintf(_("Problem with email, contact admin (errorcode %d)"),$gameid); } /* standard goodbye */ diff --git a/po/messages.pot b/po/messages.pot index 063f706..f362dc1 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -8,121 +8,181 @@ msgid "" msgstr "" "Project-Id-Version: edoko\n" "Report-Msgid-Bugs-To: arun@nubati.net\n" -"POT-Creation-Date: 2010-09-21 19:52-0700\n" +"POT-Creation-Date: 2011-03-20 00:55-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" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: include/functions.php:1105 +#: include/functions.php:106 +#, php-format +msgid "Game %s canceled" +msgstr "" + +#: include/functions.php:109 +#, php-format +msgid "Game %s canceled (poverty not resolved)" +msgstr "" + +#: include/functions.php:112 +#, php-format +msgid "Game %s canceled (timed out)" +msgstr "" + +#: include/functions.php:115 +#, php-format +msgid "A card has been played in game %s" +msgstr "" + +#: include/functions.php:118 +#, php-format +msgid "Ready, set, go... (game %s)" +msgstr "" + +#: include/functions.php:121 +#, php-format +msgid "Poverty (game %s)" +msgstr "" + +#: include/functions.php:124 +#, php-format +msgid "Double poverty (game %s)" +msgstr "" + +#: include/functions.php:127 +#, php-format +msgid "Game over (game %s)" +msgstr "" + +#: include/functions.php:130 +msgid "Recovery" +msgstr "" + +#: include/functions.php:133 +#, php-format +msgid "Reminder: game %s it's your turn" +msgstr "" + +#: include/functions.php:136 +#, php-format +msgid "You are invited to a game of DoKo (game %s)" +msgstr "" + +#: include/functions.php:139 +#, php-format +msgid "Problem with email, contact admin (errorcode %d)" +msgstr "" + +#: include/functions.php:1161 msgid "It's your turn in these games" msgstr "" -#: include/game.php:188 include/output.php:101 +#: include/game.php:191 include/output.php:101 msgid "Rules" msgstr "" -#: include/game.php:192 +#: include/game.php:195 msgid "no ten of hearts" msgstr "" -#: include/game.php:194 +#: include/game.php:197 msgid "ten of hearts" msgstr "" -#: include/game.php:196 +#: include/game.php:199 msgid "second ten of hearts" msgstr "" -#: include/game.php:201 +#: include/game.php:204 msgid "no schweinchen" msgstr "" -#: include/game.php:204 +#: include/game.php:207 msgid "two schweinchen" msgstr "" -#: include/game.php:210 +#: include/game.php:213 msgid "second schweinchen after call" msgstr "" -#: include/game.php:216 +#: include/game.php:219 msgid "1st-own-card" msgstr "" -#: include/game.php:218 +#: include/game.php:221 msgid "5th-card" msgstr "" -#: include/game.php:220 +#: include/game.php:223 msgid "9-cards" msgstr "" -#: include/game.php:223 +#: include/game.php:226 msgid "10ofhearts" msgstr "" -#: include/game.php:224 +#: include/game.php:227 msgid "schweinchen" msgstr "" -#: include/game.php:225 +#: include/game.php:228 msgid "call" msgstr "" -#: include/game.php:226 +#: include/game.php:229 msgid "lowtrump" msgstr "" -#: include/game.php:242 include/game.php:1918 +#: include/game.php:245 include/game.php:1919 msgid "Score" msgstr "" -#: include/game.php:286 +#: include/game.php:289 msgid "previous game" msgstr "" -#: include/game.php:289 +#: include/game.php:292 msgid "next game" msgstr "" -#: include/game.php:431 include/game.php:453 include/game.php:588 -#: include/game.php:907 include/game.php:971 include/game.php:1239 -#: include/game.php:1986 include/game.php:2018 +#: include/game.php:434 include/game.php:456 include/game.php:592 +#: include/game.php:839 include/game.php:914 include/game.php:978 +#: include/game.php:1242 include/game.php:1987 include/game.php:2052 msgid "Your cards are" msgstr "" -#: include/game.php:494 +#: include/game.php:497 msgid "Ok, you don't want to play a silent solo...wedding was chosen." msgstr "" -#: include/game.php:499 +#: include/game.php:502 msgid "Don't think you can win with just a few trump...? Ok, poverty chosen." msgstr "" -#: include/game.php:504 +#: include/game.php:507 msgid "" "What? You just don't want to play a game because you have a few nines? Well, " "if no one is playing solo, this game will be canceled." msgstr "" -#: include/game.php:511 +#: include/game.php:514 msgid "" "What? You just don't want to play a game because you have low trump? Well, " "if no one is playing solo, this game will be canceled." msgstr "" -#: include/game.php:514 +#: include/game.php:517 msgid "Don't think you can win with low trumps...? Ok, poverty chosen." msgstr "" -#: include/game.php:558 +#: include/game.php:562 msgid "Checking if someone else selected solo, nines, wedding or poverty." msgstr "" -#: include/game.php:576 +#: include/game.php:580 msgid "" "This step can only be handled after everyone finished the last step. Seems " "like this is not the case, so you need to wait a bit... you will get an " @@ -130,57 +190,57 @@ msgid "" "the game." msgstr "" -#: include/game.php:601 +#: include/game.php:605 msgid "Ok, everyone is done... figuring out what kind of game we are playing." msgstr "" -#: include/game.php:715 +#: include/game.php:718 msgid "Got it" msgstr "" -#: include/game.php:904 +#: include/game.php:911 msgid "You need to get rid of a few cards" msgstr "" -#: include/game.php:1233 +#: include/game.php:1236 msgid "" "You finished the setup, but not everyone else finished it... You need to " "wait for the others. Just wait for an email." msgstr "" -#: include/game.php:1291 +#: include/game.php:1294 msgid "Game" msgstr "" -#: include/game.php:1337 include/game.php:1344 include/game.php:1607 +#: include/game.php:1340 include/game.php:1347 include/game.php:1610 msgid "Trick" msgstr "" -#: include/game.php:1909 +#: include/game.php:1910 msgid "please wait until it's your turn!" msgstr "" -#: include/game.php:1975 +#: include/game.php:1976 msgid "prev" msgstr "" -#: include/game.php:1976 +#: include/game.php:1977 msgid "next" msgstr "" -#: include/game.php:2028 +#: include/game.php:2062 msgid "Your cards were" msgstr "" -#: include/game.php:2066 +#: include/game.php:2100 msgid "The game is over for you... other people still need to play though" msgstr "" -#: include/game.php:2113 +#: include/game.php:2147 msgid "A short comment" msgstr "" -#: include/game.php:2126 include/output.php:361 +#: include/game.php:2160 include/output.php:364 msgid "submit" msgstr "" @@ -290,128 +350,128 @@ msgstr "" msgid "start game" msgstr "" -#: include/output.php:218 +#: include/output.php:221 msgid "Thanks for joining the game" msgstr "" -#: include/output.php:220 +#: include/output.php:223 msgid "Do you want to play solo?" msgstr "" -#: include/output.php:223 +#: include/output.php:226 msgid "trumpless" msgstr "" -#: include/output.php:224 +#: include/output.php:227 msgid "trump" msgstr "" -#: include/output.php:225 +#: include/output.php:228 msgid "queen" msgstr "" -#: include/output.php:226 +#: include/output.php:229 msgid "jack" msgstr "" -#: include/output.php:227 +#: include/output.php:230 msgid "club" msgstr "" -#: include/output.php:228 +#: include/output.php:231 msgid "spade" msgstr "" -#: include/output.php:229 +#: include/output.php:232 msgid "heart" msgstr "" -#: include/output.php:233 +#: include/output.php:236 msgid "Wedding?" msgstr "" -#: include/output.php:236 include/output.php:247 include/output.php:258 -#: include/output.php:275 include/output.php:357 include/preferences.php:447 +#: include/output.php:239 include/output.php:250 include/output.php:261 +#: include/output.php:278 include/output.php:360 include/preferences.php:447 msgid "yes" msgstr "" -#: include/output.php:237 include/output.php:241 include/output.php:248 -#: include/output.php:252 include/output.php:259 include/output.php:263 -#: include/output.php:276 include/output.php:280 include/output.php:358 +#: include/output.php:240 include/output.php:244 include/output.php:251 +#: include/output.php:255 include/output.php:262 include/output.php:266 +#: include/output.php:279 include/output.php:283 include/output.php:361 #: include/preferences.php:453 msgid "no" msgstr "" -#: include/output.php:244 +#: include/output.php:247 msgid "Do you have poverty?" msgstr "" -#: include/output.php:255 +#: include/output.php:258 msgid "Do you have too many nines?" msgstr "" -#: include/output.php:269 +#: include/output.php:272 msgid "Do you have low trump (cancel game)?" msgstr "" -#: include/output.php:271 +#: include/output.php:274 msgid "Do you have low trump (poverty)?" msgstr "" -#: include/output.php:287 +#: include/output.php:290 msgid "count me in" msgstr "" -#: include/output.php:356 +#: include/output.php:359 msgid "Do you want to play a game of DoKo?" msgstr "" -#: include/output.php:418 +#: include/output.php:423 msgid "Welcome to E-Doko" msgstr "" -#: include/output.php:475 +#: include/output.php:480 msgid "mypage" msgstr "" -#: include/output.php:476 +#: include/output.php:481 msgid "settings" msgstr "" -#: include/output.php:477 +#: include/output.php:482 msgid "new game" msgstr "" -#: include/output.php:478 +#: include/output.php:483 msgid "statistics" msgstr "" -#: include/output.php:479 +#: include/output.php:484 msgid "wiki/bugs" msgstr "" -#: include/output.php:480 +#: include/output.php:485 msgid "atom" msgstr "" -#: include/output.php:481 +#: include/output.php:486 msgid "logout" msgstr "" -#: include/output.php:484 +#: include/output.php:489 msgid "last login" msgstr "" -#: include/output.php:489 +#: include/output.php:494 msgid "login" msgstr "" -#: include/output.php:595 +#: include/output.php:600 msgid "Personal notes" msgstr "" -#: include/output.php:724 include/output.php:736 include/output.php:748 -#: include/output.php:761 +#: include/output.php:729 include/output.php:741 include/output.php:753 +#: include/output.php:766 msgid "Trump back" msgstr "" @@ -452,11 +512,7 @@ msgid "wrong date format" msgstr "" #: include/preferences.php:354 -msgid "use YYYY-MM-DD" -msgstr "" - -#: include/preferences.php:354 -msgid "use '-' in start field to unset vacation" +msgid "set both dates to the same day to end vacation" msgstr "" #: include/preferences.php:355 @@ -602,81 +658,81 @@ msgid "" "something else." msgstr "" -#: include/user.php:88 +#: include/user.php:87 msgid "" "Sorry you already tried 5 times during the last 24h.<br />You need to use " "one of those passwords or wait to get a new one." msgstr "" -#: include/user.php:138 +#: include/user.php:137 msgid "" "Enjoy your vacation (don't forgot to change your settings once you're back)." msgstr "" -#: include/user.php:142 +#: include/user.php:141 msgid "These are all your games" msgstr "" -#: include/user.php:144 +#: include/user.php:143 msgid "Games" msgstr "" -#: include/user.php:145 +#: include/user.php:144 msgid "pre-game phase" msgstr "" -#: include/user.php:146 +#: include/user.php:145 msgid "game in progess" msgstr "" -#: include/user.php:147 +#: include/user.php:146 msgid "game over (N people played the same hand)" msgstr "" -#: include/user.php:148 +#: include/user.php:147 msgid "Reminder: canceling a game can't be reversed!" msgstr "" -#: include/user.php:231 +#: include/user.php:230 msgid "your turn" msgstr "" -#: include/user.php:249 +#: include/user.php:248 msgid "Send a reminder?" msgstr "" -#: include/user.php:260 +#: include/user.php:259 msgid "show old" msgstr "" -#: include/user.php:261 +#: include/user.php:260 msgid "hide old" msgstr "" -#: include/user.php:302 +#: include/user.php:301 msgid "show all" msgstr "" -#: include/user.php:302 +#: include/user.php:301 msgid "hide all" msgstr "" -#: include/user.php:304 +#: include/user.php:303 msgid "show inactive" msgstr "" -#: include/user.php:304 +#: include/user.php:303 msgid "hide inactive" msgstr "" -#: include/user.php:309 +#: include/user.php:308 msgid "You can start new games using the link in the top right corner!" msgstr "" -#: include/user.php:313 +#: include/user.php:312 msgid "New Players" msgstr "" -#: include/user.php:318 +#: include/user.php:317 msgid "Players last logged in" msgstr "" |