Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#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:


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 5 years ago.

Download all attachments as: .zip

Change History (5)

#1 @rmccue
5 years ago

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

5 years ago

#2 @johnbillion
5 years ago

  • Keywords has-patch added

#4 @nacin
5 years 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.