Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#24721 closed defect (bug) (fixed)

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

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

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

Download all attachments as: .zip

Change History (5)

#1 @rmccue
13 years ago

  • Milestone Awaiting Review3.6
  • Versiontrunk

@johnbillion
13 years ago

#2 @johnbillion
13 years ago

  • Keywords has-patch added

#4 @nacin
13 years ago

  • Owner set to nacin
  • Resolutionfixed
  • Status newclosed

In 24643:

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

Note: See TracTickets for help on using tickets.