diff --git a/addon/tictac/tictac.php b/addon/tictac/tictac.php
index d44254411..95678302c 100644
--- a/addon/tictac/tictac.php
+++ b/addon/tictac/tictac.php
@@ -11,7 +11,7 @@ function tictac_uninstall() {
}
function tictac_app_menu($a,&$b) {
- $b['app_menu'] .= 'Three Dimensional Tic-Tac-Toe
';
+ $b['app_menu'] .= '' . t('Three Dimensional Tic-Tac-Toe') . '
';
}
@@ -49,17 +49,15 @@ function tictac_content(&$a) {
$t = new tictac($dimen,$handicap,$mefirst,$yours,$mine);
$o .= $t->play();
- $o .= 'New game
';
- $o .= 'New game with handicap
';
-$o .= <<< EOT
-
-Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. In this case there are three levels. You win by getting three in a row on any level, as well as up, down, and diagonally across the different levels. -
--The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage. -
-EOT; -return $o; + $o .= '' . t('New game') . '' . t('Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously.'); + $o .= t('In this case there are three levels. You win by getting three in a row on any level, as well as up, down, and diagonally across the different levels.'); + $o .= '
'; + $o .= t('The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage.'); + $o .= '
'; + + return $o; } @@ -175,24 +173,24 @@ class tictac { if($this->first_move) { if(rand(0,1) == 1) { - $o .= '