diff --git a/src/item_contents.cpp b/src/item_contents.cpp index f425e5bbbf1e7..d22dc6b641156 100644 --- a/src/item_contents.cpp +++ b/src/item_contents.cpp @@ -2056,7 +2056,7 @@ void item_contents::info( std::vector &info, const iteminfo_query *par insert_separation_line( info ); // If there are multiple similar pockets, show their capacity as a set if( pocket_num[idx] > 1 ) { - info.emplace_back( "DESCRIPTION", string_format( _( "%d Pockets with capacity:" ), + info.emplace_back( "DESCRIPTION", string_format( _( "%d pockets with capacity:" ), pocket_num[idx] ) ); } else { // If this is the only pocket the item has, label it "Total capacity" diff --git a/src/item_pocket.cpp b/src/item_pocket.cpp index f6c053221d96d..ca0173475c0b6 100644 --- a/src/item_pocket.cpp +++ b/src/item_pocket.cpp @@ -1111,10 +1111,10 @@ void item_pocket::contents_info( std::vector &info, int pocket_number, translated_sealed_prefix(), pocket_number ) ); } else if( is_ablative() && !contents.empty() ) { - info.emplace_back( "DESCRIPTION", string_format( _( "pocket %d: %s" ), + info.emplace_back( "DESCRIPTION", string_format( _( "Pocket %d: %s" ), pocket_number, contents.front().display_name() ) ); } else { - info.emplace_back( "DESCRIPTION", string_format( _( "pocket %d" ), + info.emplace_back( "DESCRIPTION", string_format( _( "Pocket %d" ), pocket_number ) ); } } diff --git a/tests/iteminfo_test.cpp b/tests/iteminfo_test.cpp index cb6dcf223ba39..224dc44063266 100644 --- a/tests/iteminfo_test.cpp +++ b/tests/iteminfo_test.cpp @@ -2706,7 +2706,7 @@ TEST_CASE( "pocket info for a multi-pocket item", "[iteminfo][pocket][multiple]" "Total capacity:\n" "Volume: 6.00 L Weight: 4.80 kg\n" "--\n" - "4 Pockets with capacity:\n" + "4 pockets with capacity:\n" "Volume: 1.50 L Weight: 1.20 kg\n" "Item length: 0 cm to 70 cm\n" "Minimum item volume: 0.050 L\n"