WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #22225, comment 15


Ignore:
Timestamp:
03/07/2017 06:02:31 AM (4 years ago)
Author:
tobifjellner
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22225, comment 15

    v1 v2  
    11What if we simply drop back the whole solution to something that already works for ''everyone''?, by simply using gettext an already normal translations tools?.
    22We 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'
    58...
    69And then wrap it up in a simple function?