Changes between Version 1 and Version 2 of Ticket #22225, comment 15
- Timestamp:
- 03/07/2017 06:02:31 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22225, comment 15
v1 v2 1 1 What if we simply drop back the whole solution to something that already works for ''everyone''?, by simply using gettext an already normal translations tools?. 2 2 We could add 31 strings to translate, with proper context to make sure that they're understood and correctly translated. 3 _x( 'st', 'Ordinal for day 1 in month, "-" for empty', 'my-text-domain' 4 _x( 'nd', 'Ordinal for day 2 in month, "-" for empty', 'my-text-domain' 3 _x( 'st', 'Ordinal suffix for day 1 in month, "-" for empty', 'my-text-domain' 4 _x( 'nd', 'Ordinal suffix for day 2 in month, "-" for empty', 'my-text-domain' 5 _x( 'rd', 'Ordinal suffix for day 3 in month, "-" for empty', 'my-text-domain' 6 _x( 'th', 'Ordinal suffix for day 4 in month, "-" for empty', 'my-text-domain' 7 _x( 'th', 'Ordinal suffix for day 5 in month, "-" for empty', 'my-text-domain' 5 8 ... 6 9 And then wrap it up in a simple function?