Skip to content

Commit

Permalink
tweak token
Browse files Browse the repository at this point in the history
  • Loading branch information
yandod committed Jun 28, 2015
1 parent 11de588 commit d7e4577
Show file tree
Hide file tree
Showing 11 changed files with 63 additions and 62 deletions.
30 changes: 15 additions & 15 deletions i18n/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ msgid "Attacks a unit in given direction (forward by default)."
msgstr ""

#: towers/intermediate/level_006.php:9
msgid "Avoid fighting enemies at first. Use warrior.listen and space.ticking? and quickly rescue those captives."
msgid "Avoid fighting enemies at first. Use $warrior->listen() and space->is_ticking() and quickly rescue those captives."
msgstr ""

#: towers/beginner/level_003.php:7
msgid "Be careful not to die! Use $warrior->health() to keep an eye on your health, and $warrior->rest() to earn 10% of max health back."
msgstr ""

#: towers/intermediate/level_009.php:9
msgid "Be careful not to let the ticking captive get caught in the flames. Use warrior.distance_of to avoid the captives."
msgid "Be careful not to let the ticking captive get caught in the flames. Use $warrior->distance_of() to avoid the captives."
msgstr ""

#: towers/intermediate/level_009.php:10
Expand All @@ -63,6 +63,10 @@ msgstr ""
msgid "CONGRATULATIONS! You have climbed to the top of the tower and rescued the fair maiden PHP."
msgstr ""

#: towers/intermediate/level_003.php:9
msgid "Call $warrior->bind($direction) to bind an enemy to keep him from attacking. Bound enemies look like captives."
msgstr ""

#: towers/intermediate/level_002.php:9
msgid "Call $warrior->feel($direction)->is_enemy() in each direction to make sure there isn't an enemy beside you (attack if there is). Call warrior.rest! if you're low and health when there are no enemies around."
msgstr ""
Expand All @@ -71,12 +75,8 @@ msgstr ""
msgid "Call $warrior->walk() to walk forward in the Player 'play_turn' method."
msgstr ""

#: towers/intermediate/level_003.php:9
msgid "Call warrior.bind!(direction) to bind an enemy to keep him from attacking. Bound enemies look like captives."
msgstr ""

#: towers/intermediate/level_008.php:8
msgid "Calling warrior.look will return an array of Spaces. If the first two contain enemies, detonate a bomb with warrior.detonate!."
msgid "Calling $warrior->look() will return an array of Spaces. If the first two contain enemies, detonate a bomb with $warrior->detonate()."
msgstr ""

#: src/PHPWarrior/UI.php:58
Expand All @@ -100,7 +100,7 @@ msgid "Detonate a bomb in a given direction (forward by default) which damages t
msgstr ""

#: towers/intermediate/level_008.php:7
msgid "Detonate a bomb when you see a couple enemies ahead of you (warrior.look). Watch out for your health too."
msgid "Detonate a bomb when you see a couple enemies ahead of you ($warrior->look()). Watch out for your health too."
msgstr ""

#: towers/beginner/level_005.php:8
Expand All @@ -124,7 +124,7 @@ msgid "Gain 10% of max health back, but do nothing more."
msgstr ""

#: towers/intermediate/level_006.php:8
msgid "Hurry and rescue captives first that have space.ticking?, they'll soon go!"
msgid "Hurry and rescue captives first that have space->is_ticking(), they'll soon go!"
msgstr ""

#: towers/intermediate/level_005.php:9
Expand Down Expand Up @@ -299,7 +299,7 @@ msgid "Unable to continue without directory."
msgstr ""

#: towers/intermediate/level_001.php:10
msgid "Use $warrior->direction_of_stairs() to determine which direction stairs are located. Pass this to warrior.walk! to walk in that direction."
msgid "Use $warrior->direction_of_stairs() to determine which direction stairs are located. Pass this to $warrior->walk() to walk in that direction."
msgstr ""

#: towers/beginner/level_005.php:7
Expand All @@ -310,12 +310,12 @@ msgstr ""
msgid "Use $warrior->feel()->is_empty() to see if there is anything in front of you, and $warrior->attack() to fight it. Remember, you can only do one action per turn."
msgstr ""

#: towers/beginner/level_008.php:7
msgid "Use $warrior->look() to determine your surroundings, and $warrior->shoot() to fire an arrow."
#: towers/intermediate/level_004.php:9
msgid "Use $warrior->listen() to find spaces with other units, and $warrior->direction_of() to determine what direction they're in."
msgstr ""

#: towers/intermediate/level_004.php:9
msgid "Use warrior.listen to find spaces with other units, and warrior.direction_of to determine what direction they're in."
#: towers/beginner/level_008.php:7
msgid "Use $warrior->look() to determine your surroundings, and $warrior->shoot() to fire an arrow."
msgstr ""

#: towers/beginner/level_006.php:9
Expand Down Expand Up @@ -411,7 +411,7 @@ msgid "You see before yourself a long hallway with stairs at the end. There is n
msgstr ""

#: towers/intermediate/level_005.php:8
msgid "You'll get more points for clearing the level first. Use warrior.feel.stairs? and warrior.feel.empty? to determine where to go."
msgid "You'll get more points for clearing the level first. Use $warrior->feel()->is_stairs() and $warrior->feel()->is_empty() to determine where to go."
msgstr ""

#: src/PHPWarrior/Game.php:199
Expand Down
49 changes: 25 additions & 24 deletions i18n/ja_JP.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: php-warrior\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2015-06-28 18:43+0900\n"
"PO-Revision-Date: 2015-06-28 19:13+0900\n"
"Last-Translator: Yusuke Ando <yandod@gmail.com>\n"
"Language-Team: Japanese <yandod@gmail.com>\n"
"Language: ja\n"
Expand Down Expand Up @@ -48,8 +48,8 @@ msgstr "指定された方向のユニットを攻撃する。 (forward がデ

#: towers/intermediate/level_006.php:9
msgid ""
"Avoid fighting enemies at first. Use warrior.listen and space.ticking? and "
"quickly rescue those captives."
"Avoid fighting enemies at first. Use $warrior->listen() and space->is_ticking"
"() and quickly rescue those captives."
msgstr ""

#: towers/beginner/level_003.php:7
Expand All @@ -61,7 +61,7 @@ msgstr ""
#: towers/intermediate/level_009.php:9
msgid ""
"Be careful not to let the ticking captive get caught in the flames. Use "
"warrior.distance_of to avoid the captives."
"$warrior->distance_of() to avoid the captives."
msgstr ""

#: towers/intermediate/level_009.php:10
Expand All @@ -81,6 +81,12 @@ msgid ""
"fair maiden PHP."
msgstr "おめでとう! きみは塔の頂上に到達し、麗しいPHP姫を救出した。"

#: towers/intermediate/level_003.php:9
msgid ""
"Call $warrior->bind($direction) to bind an enemy to keep him from attacking. "
"Bound enemies look like captives."
msgstr ""

#: towers/intermediate/level_002.php:9
msgid ""
"Call $warrior->feel($direction)->is_enemy() in each direction to make sure "
Expand All @@ -93,16 +99,10 @@ msgid "Call $warrior->walk() to walk forward in the Player 'play_turn' method."
msgstr ""
"Playerの 'play_turn' メソッドの中で $warrior->walk() を呼び出して前に歩こう。"

#: towers/intermediate/level_003.php:9
msgid ""
"Call warrior.bind!(direction) to bind an enemy to keep him from attacking. "
"Bound enemies look like captives."
msgstr ""

#: towers/intermediate/level_008.php:8
msgid ""
"Calling warrior.look will return an array of Spaces. If the first two "
"contain enemies, detonate a bomb with warrior.detonate!."
"Calling $warrior->look() will return an array of Spaces. If the first two "
"contain enemies, detonate a bomb with $warrior->detonate()."
msgstr ""

#: src/PHPWarrior/UI.php:58
Expand Down Expand Up @@ -133,8 +133,8 @@ msgstr ""

#: towers/intermediate/level_008.php:7
msgid ""
"Detonate a bomb when you see a couple enemies ahead of you (warrior.look). "
"Watch out for your health too."
"Detonate a bomb when you see a couple enemies ahead of you ($warrior->look"
"()). Watch out for your health too."
msgstr ""

#: towers/beginner/level_005.php:8
Expand Down Expand Up @@ -164,7 +164,8 @@ msgstr "生命力が最大の10%回復。ただし他の行動は出来ない。

#: towers/intermediate/level_006.php:8
msgid ""
"Hurry and rescue captives first that have space.ticking?, they'll soon go!"
"Hurry and rescue captives first that have space->is_ticking(), they'll soon "
"go!"
msgstr ""

#: towers/intermediate/level_005.php:9
Expand Down Expand Up @@ -374,7 +375,7 @@ msgstr "ディレクトリ無しでは継続できません。"
#: towers/intermediate/level_001.php:10
msgid ""
"Use $warrior->direction_of_stairs() to determine which direction stairs are "
"located. Pass this to warrior.walk! to walk in that direction."
"located. Pass this to $warrior->walk() to walk in that direction."
msgstr ""

#: towers/beginner/level_005.php:7
Expand All @@ -390,16 +391,16 @@ msgid ""
"action per turn."
msgstr ""

#: towers/beginner/level_008.php:7
#: towers/intermediate/level_004.php:9
msgid ""
"Use $warrior->look() to determine your surroundings, and $warrior->shoot() "
"to fire an arrow."
"Use $warrior->listen() to find spaces with other units, and $warrior-"
">direction_of() to determine what direction they're in."
msgstr ""

#: towers/intermediate/level_004.php:9
#: towers/beginner/level_008.php:7
msgid ""
"Use warrior.listen to find spaces with other units, and warrior.direction_of "
"to determine what direction they're in."
"Use $warrior->look() to determine your surroundings, and $warrior->shoot() "
"to fire an arrow."
msgstr ""

#: towers/beginner/level_006.php:9
Expand Down Expand Up @@ -519,8 +520,8 @@ msgstr "きみの前には長い廊下があり奥には階段が見える。他

#: towers/intermediate/level_005.php:8
msgid ""
"You'll get more points for clearing the level first. Use warrior.feel."
"stairs? and warrior.feel.empty? to determine where to go."
"You'll get more points for clearing the level first. Use $warrior->feel()-"
">is_stairs() and $warrior->feel()->is_empty() to determine where to go."
msgstr ""

#: src/PHPWarrior/Game.php:199
Expand Down
4 changes: 2 additions & 2 deletions towers/intermediate/level_001.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// | > |
// ------

$this->description(__("Silence. The room feels large, but empty. Luckily you have a map of this tower to help find the stairs."));
$this->tip(__('Use $warrior->direction_of_stairs() to determine which direction stairs are located. Pass this to warrior.walk! to walk in that direction.'));
$this->description(__('Silence. The room feels large, but empty. Luckily you have a map of this tower to help find the stairs.'));
$this->tip(__('Use $warrior->direction_of_stairs() to determine which direction stairs are located. Pass this to $warrior->walk() to walk in that direction.'));

$this->time_bonus(20);
$this->ace_score(19);
Expand Down
4 changes: 2 additions & 2 deletions towers/intermediate/level_002.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// | sS>|
// ----

$this->description(__("Another large room, but with several enemies blocking your way to the stairs."));
$this->tip(__("Just like walking, you can attack() and feel in multiple directions (forward, left, right, backward)."));
$this->description(__('Another large room, but with several enemies blocking your way to the stairs.'));
$this->tip(__('Just like walking, you can attack() and feel in multiple directions (forward, left, right, backward).'));
$this->clue(__('Call $warrior->feel($direction)->is_enemy() in each direction to make sure there isn\'t an enemy beside you (attack if there is). Call warrior.rest! if you\'re low and health when there are no enemies around.'));

$this->time_bonus(40);
Expand Down
6 changes: 3 additions & 3 deletions towers/intermediate/level_003.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// | C |
// ---

$this->description(__("You feel slime on all sides, you're surrounded!"));
$this->tip(__('Call warrior.bind!(direction) to bind an enemy to keep him from attacking. Bound enemies look like captives.'));
$this->clue(__("Count the number of enemies around you. Bind an enemy if there are two or more."));
$this->description(__('You feel slime on all sides, you\'re surrounded!'));
$this->tip(__('Call $warrior->bind($direction) to bind an enemy to keep him from attacking. Bound enemies look like captives.'));
$this->clue(__('Count the number of enemies around you. Bind an enemy if there are two or more.'));

$this->time_bonus(50);
$this->ace_score(101);
Expand Down
4 changes: 2 additions & 2 deletions towers/intermediate/level_004.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// |C s>|
// ----

$this->description(__("Your ears become more in tune with the surroundings. Listen to find enemies and captives!"));
$this->tip(__("Use warrior.listen to find spaces with other units, and warrior.direction_of to determine what direction they're in."));
$this->description(__('Your ears become more in tune with the surroundings. Listen to find enemies and captives!'));
$this->tip(__('Use $warrior->listen() to find spaces with other units, and $warrior->direction_of() to determine what direction they\'re in.'));
$this->clue(__('Walk towards an enemy or captive with $warrior->walk($warrior->direction_of($warrior->listen()[0])), once empty($warrior->listen()) then head for the stairs.'));

$this->time_bonus(55);
Expand Down
4 changes: 2 additions & 2 deletions towers/intermediate/level_005.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// |@> SC|
// -----

$this->description(__("You can feel the stairs right next to you, but are you sure you want to go up them right away?"));
$this->tip(__("You'll get more points for clearing the level first. Use warrior.feel.stairs? and warrior.feel.empty? to determine where to go."));
$this->description(__('You can feel the stairs right next to you, but are you sure you want to go up them right away?'));
$this->tip(__('You\'ll get more points for clearing the level first. Use $warrior->feel()->is_stairs() and $warrior->feel()->is_empty() to determine where to go.'));
$this->clue(__("If going towards a unit is the same direction as the stairs, try moving another empty direction until you can safely move toward the enemies."));

$this->time_bonus(45);
Expand Down
6 changes: 3 additions & 3 deletions towers/intermediate/level_006.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// |@ sC |
// ------

$this->description(__("What's that ticking? Some captives have a timed bomb at their feet!"));
$this->tip(__("Hurry and rescue captives first that have space.ticking?, they'll soon go!"));
$this->clue(__("Avoid fighting enemies at first. Use warrior.listen and space.ticking? and quickly rescue those captives."));
$this->description(__('What\'s that ticking? Some captives have a timed bomb at their feet!'));
$this->tip(__('Hurry and rescue captives first that have space->is_ticking(), they\'ll soon go!'));
$this->clue(__('Avoid fighting enemies at first. Use $warrior->listen() and space->is_ticking() and quickly rescue those captives.'));

$this->time_bonus(50);
$this->ace_score(108);
Expand Down
6 changes: 3 additions & 3 deletions towers/intermediate/level_007.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// | s |
// -----

$this->description(__("Another ticking sound, but some sludge is blocking the way."));
$this->tip(__("Quickly kill the sludge and rescue the captive before the bomb goes off. You can't simply go around them."));
$this->clue(__("Determine the direction of the ticking captive and kill any enemies blocking that path. You may need to bind surrounding enemies first."));
$this->description(__('Another ticking sound, but some sludge is blocking the way.'));
$this->tip(__('Quickly kill the sludge and rescue the captive before the bomb goes off. You can\'t simply go around them.'));
$this->clue(__('Determine the direction of the ticking captive and kill any enemies blocking that path. You may need to bind surrounding enemies first.'));

$this->time_bonus(70);
$this->ace_score(134);
Expand Down
6 changes: 3 additions & 3 deletions towers/intermediate/level_008.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// |@ Ss C>|
// -------

$this->description(__("You discover a satchel of bombs which will help when facing a mob of enemies."));
$this->tip(__("Detonate a bomb when you see a couple enemies ahead of you (warrior.look). Watch out for your health too."));
$this->clue(__("Calling warrior.look will return an array of Spaces. If the first two contain enemies, detonate a bomb with warrior.detonate!."));
$this->description(__('You discover a satchel of bombs which will help when facing a mob of enemies.'));
$this->tip(__('Detonate a bomb when you see a couple enemies ahead of you ($warrior->look()). Watch out for your health too.'));
$this->clue(__('Calling $warrior->look() will return an array of Spaces. If the first two contain enemies, detonate a bomb with $warrior->detonate().'));

$this->time_bonus(30);
$this->size(7, 1);
Expand Down
6 changes: 3 additions & 3 deletions towers/intermediate/level_009.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// |ssC |
// ----

$this->description(__("Never before have you seen a room so full of sludge. Start the fireworks!"));
$this->tip(__("Be careful not to let the ticking captive get caught in the flames. Use warrior.distance_of to avoid the captives."));
$this->clue(__("Be sure to bind the surrounding enemies before fighting. Check your health before detonating explosives."));
$this->description(__('Never before have you seen a room so full of sludge. Start the fireworks!'));
$this->tip(__('Be careful not to let the ticking captive get caught in the flames. Use $warrior->distance_of() to avoid the captives.'));
$this->clue(__('Be sure to bind the surrounding enemies before fighting. Check your health before detonating explosives.'));

$this->time_bonus(70);
$this->size(4, 3);
Expand Down

0 comments on commit d7e4577

Please sign in to comment.