Opened 12 years ago
Closed 12 years ago
#23723 closed defect (bug) (fixed)
Don't force '(time_diff) ago' sequence in the post revision information
Reported by: | vanillalounge | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | I18N | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Some languages (Portuguese, for one) express this the other way around, i.e. '(string) (time_diff)'.
Example: '3 days ago' translates to 'há 3 dias' ('ago' is 'há')
http://core.trac.wordpress.org/browser/trunk/wp-includes/post-template.php#L1313
Attachments (1)
Change History (10)
#2
@
12 years ago
- Cc info@… added
The whole string should be translatable. The placeholders need numbers, and the string should get a context parameter explaining what they are for.
In German it would be: Vor drei Tagen (date).
#5
@
12 years ago
The same change is needed in two more places:
http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/ajax-actions.php?rev=23661#L2166
http://core.trac.wordpress.org/browser/trunk/wp-includes/post-template.php?rev=23653#L1487
Also note the missing i18n in line 1492 in post-template.php
(introduced in [23639]).
Introduced in [23506].