Skip to content

Commit

Permalink
docs: Update example for zero-item grammar languages
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Mar 31, 2024
1 parent 22e5dba commit 5018991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/docs/usage/messages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ The other aspect to consider is that from a usability perspective, it can be hel

While you can always use the `=value` syntax to match a specific number (e.g. `=0`), you can choose from the following tags depending on what grammar rules apply to a given language:

- `zero`: For languages with zero-item grammar (e.g., Arabic, Latvian).
- `zero`: For languages with zero-item grammar (e.g., Latvian, Welsh).
- `one`: For languages with singular-item grammar (e.g., English, German).
- `two`: For languages with dual-item grammar (e.g., Arabic, Welsh).
- `few`: For languages with grammar specific to a small number of items (e.g., Arabic, Polish, Croatian).
Expand Down Expand Up @@ -228,7 +228,7 @@ For example, English has four forms: "th", "st", "nd" and "rd" (e.g. 1st, 2nd, 3

**These tags are supported:**

- `zero`: For languages with zero-item grammar (e.g., Arabic, Latvian).
- `zero`: For languages with zero-item grammar (e.g., Latvian, Welsh).
- `one`: For languages with singular-item grammar (e.g., English, German).
- `two`: For languages with dual-item grammar (e.g., Arabic, Welsh).
- `few`: For languages with grammar specific to a small number of items (e.g., Arabic, Polish, Croatian).
Expand Down

0 comments on commit 5018991

Please sign in to comment.