Skip to content

Commit

Permalink
Use translated string for inf (#55975)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuvatilavv authored Mar 11, 2022
1 parent fada41b commit b0a8d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9758,7 +9758,7 @@ cata::optional<int> iuse::wash_items( Character *p, bool soft_items, bool hard_i
auto to_string = []( int val ) -> std::string {
if( val == INT_MAX )
{
return "inf";
return pgettext( "short for infinity", "inf" );
}
return string_format( "%3d", val );
};
Expand Down

0 comments on commit b0a8d8c

Please sign in to comment.