WordPress.org

Make WordPress Core

#24721 closed defect (bug) (fixed)

The '<time> ago' string cannot be in predetermined sequence

Reported by: vanillalounge Owned by: nacin
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

In
http://core.trac.wordpress.org/browser/trunk/wp-admin/revision.php#L131,
http://core.trac.wordpress.org/browser/trunk/wp-admin/revision.php#L162, and
http://core.trac.wordpress.org/browser/trunk/wp-admin/revision.php#L174

The code is forcing '<time> ago'. Translators need '%s ago' as a whole, since many languages (including mine), use 'ago <time>' (i.e. 'há 3 semanas', 'há' being the translations of 'ago').

Attachments (1)

24721.patch (2.1 KB) - added by johnbillion 23 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 @rmccue23 months ago

  • Milestone changed from Awaiting Review to 3.6
  • Version set to trunk

@johnbillion23 months ago

comment:2 @johnbillion23 months ago

  • Keywords has-patch added

comment:4 @nacin23 months ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 24643:

Proper translation of '<time> ago' in revisions. props johnbillion, fixes #24721.

Note: See TracTickets for help on using tickets.