Skip to content

Commit

Permalink
Merge pull request #29506 from CleverRaven/kevingranade-translate-foo…
Browse files Browse the repository at this point in the history
…tstep-strings

Translate footstep strings
  • Loading branch information
Rivet-the-Zombie authored Apr 13, 2019
2 parents 5c4a67a + 3d42307 commit afdfe2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/monmove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,15 +783,15 @@ void monster::footsteps( const tripoint &p )
if( volume == 0 ) {
return;
}
std::string footstep = "footsteps.";
std::string footstep = _( "footsteps." );
if( type->in_species( BLOB ) ) {
footstep = "plop.";
footstep = _( "plop." );
} else if( type->in_species( ZOMBIE ) ) {
footstep = "shuffling.";
footstep = _( "shuffling." );
} else if( type->in_species( ROBOT ) ) {
footstep = "mechanical whirring.";
footstep = _( "mechanical whirring." );
} else if( type->in_species( WORM ) ) {
footstep = "rustle.";
footstep = _( "rustle." );
}
int dist = rl_dist( p, g->u.pos() );
sounds::add_footstep( p, volume, dist, this, footstep );
Expand Down

0 comments on commit afdfe2a

Please sign in to comment.