From: Arun Persaud Date: Wed, 13 Jun 2012 03:59:43 +0000 (-0700) Subject: use gettext for Atom feed X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=47a0a9b5b1c8acb36aa0e93179ce5a661a69427a;ds=inline use gettext for Atom feed --- diff --git a/rss.php b/rss.php index a06dc63..269b734 100644 --- a/rss.php +++ b/rss.php @@ -72,9 +72,28 @@ header("Content-Type: text/xml"); ?> E-DoKo Feed -Know when it is your turn '._('Know when it is your turn')."\n"; + global $WIKI,$INDEX, $HOST; /* output last creation date */ @@ -104,7 +123,7 @@ echo "\n\n"; while( $r = DB_fetch_array($result)) { echo "\n"; - echo "game ".DB_format_gameid($r[1])."\n"; + echo ""._('game').' '.DB_format_gameid($r[1])."\n"; $url=$INDEX."?action=game&me=".$r[0]; echo "\n"; $date = DB_get_game_timestamp($r[1]); @@ -112,7 +131,7 @@ echo "\n\n"; $date = date("Y-m-d",$timestamp); echo "tag:doko.nubati.net,$date:$url\n"; echo "".date(DATE_ATOM,$timestamp)."\n"; - echo "Please use the link to access the game.\n"; + echo ''._('Please use the link to access the game.')."\n"; echo "\n\n"; }