[wp-trac] [WordPress Trac] #33716: Remove the locale abbreviation hacks
WordPress Trac
noreply at wordpress.org
Fri Sep 11 19:10:19 UTC 2015
#33716: Remove the locale abbreviation hacks
------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: I18N | Version: 1.5
Severity: minor | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Comment (by SergeyBiryukov):
Replying to [comment:5 pavelevap]:
> Is there any reason why using `_x()`? This function was designed for
different usage of the same string? Translators comment should be enough?
`'S'` is ambiguous, it means both Saturday and Sunday. Same for `'T'`
(Tuesday and Thursday).
`'May'` is also ambiguous, it's used for both the full month name and the
abbreviation, which may differ in some languages.
Others just use `_x()` for consistency.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33716#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list