Skip to content

Commit

Permalink
Merge pull request #21747 from BrettDong/note
Browse files Browse the repository at this point in the history
i18n: Leave color command of auto notes untranslated
  • Loading branch information
Rivet-the-Zombie authored Sep 3, 2017
2 parents 4cfaac6 + 4d59e30 commit c8d92e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12821,11 +12821,11 @@ void game::vertical_notes( int z_before, int z_after )
if( z_after > z_before && ter->has_flag(known_up) &&
!ter2->has_flag(known_down) ) {
overmap_buffer.set_seen(cursx, cursy, z_after, true);
overmap_buffer.add_note(cursx, cursy, z_after, _(">:W;AUTO: goes down"));
overmap_buffer.add_note(cursx, cursy, z_after, string_format(">:W;%s", _("AUTO: goes down")));
} else if ( z_after < z_before && ter->has_flag(known_down) &&
!ter2->has_flag(known_up) ) {
overmap_buffer.set_seen(cursx, cursy, z_after, true);
overmap_buffer.add_note(cursx, cursy, z_after, _("<:W;AUTO: goes up"));
overmap_buffer.add_note(cursx, cursy, z_after, string_format("<:W;%s", _("AUTO: goes up")));
}
}
}
Expand Down

0 comments on commit c8d92e7

Please sign in to comment.