Skip to content

Commit 6363c0b

Browse files
authored
Merge pull request #2898 from nmolinos/patch-2
Fixed lang() example in user guide
2 parents b8379d3 + 1177019 commit 6363c0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/outgoing/localization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ You can pass an array of values to replace placeholders in the language string a
171171
// The language file, Tests.php:
172172
return [
173173
"apples" => "I have {0, number} apples.",
174-
"men" => "I have {1, number} men out-performed the remaining {0, number}",
174+
"men" => "The top {1, number} men out-performed the remaining {0, number}",
175175
"namedApples" => "I have {number_apples, number, integer} apples.",
176176
];
177177

0 commit comments

Comments
 (0)