Skip to content

Commit

Permalink
Match construction UI (#38765)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pupsi-Mupsi authored and ZhilkinSerg committed Apr 2, 2020
1 parent d1cdd87 commit 89ac082
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/construction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,15 +408,19 @@ construction_id construction_menu( const bool blueprint )

std::vector<std::string> notes;
if( tabindex == tabcount - 1 && !filter.empty() ) {
notes.push_back( string_format( _( "Press %s to clear filter" ),
notes.push_back( string_format( _( "Press [<color_yellow>%s</color>] to clear filter" ),
ctxt.get_desc( "RESET_FILTER" ) ) );
}
notes.push_back( string_format( _( "Press %s or %s to tab." ), ctxt.get_desc( "LEFT" ),
notes.push_back( string_format( _( "Press [<color_yellow>%s or %s</color>] "
"to tab." ), ctxt.get_desc( "LEFT" ),
ctxt.get_desc( "RIGHT" ) ) );
notes.push_back( string_format( _( "Press %s to search." ), ctxt.get_desc( "FILTER" ) ) );
notes.push_back( string_format( _( "Press %s to toggle unavailable constructions." ),
notes.push_back( string_format( _( "Press [<color_yellow>%s</color>] "
"to search." ), ctxt.get_desc( "FILTER" ) ) );
notes.push_back( string_format( _( "Press [<color_yellow>%s</color>] "
"to toggle unavailable constructions." ),
ctxt.get_desc( "TOGGLE_UNAVAILABLE_CONSTRUCTIONS" ) ) );
notes.push_back( string_format( _( "Press %s to view and edit key-bindings." ),
notes.push_back( string_format( _( "Press [<color_yellow>%s</color>] "
"to view and edit keybindings." ),
ctxt.get_desc( "HELP_KEYBINDINGS" ) ) );

//leave room for top and bottom UI text
Expand Down

0 comments on commit 89ac082

Please sign in to comment.