Skip to content

Commit

Permalink
Fixed wording
Browse files Browse the repository at this point in the history
Removed a duplicate "then"
  • Loading branch information
elphia committed Apr 9, 2016
1 parent 542cf2b commit 45ecf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Pluralization is a complex problem, as different languages have a variety of com

'apples' => 'There is one apple|There are many apples',

Then, you may then use the `trans_choice` function to retrieve the line for a given "count". In this example, since the count is greater than one, the plural form of the language line is returned:
Then, you may use the `trans_choice` function to retrieve the line for a given "count". In this example, since the count is greater than one, the plural form of the language line is returned:

echo trans_choice('messages.apples', 10);

Expand Down

0 comments on commit 45ecf40

Please sign in to comment.