Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#20155 closed defect (bug) (invalid)

Deprecated argument in get_adjacent_post() improperly internationalized.

Reported by: justinsainton's profile JustinSainton Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.3
Component: I18N Keywords: has-patch dev-feedback close
Focuses: Cc:

Description

There's a great chance I'm wrong on this, but it doesn't seem like it.

At http://core.trac.wordpress.org/browser/trunk/wp-includes/link-template.php#L1120, we're internationalizing 'and', so Spanish developers would see 'y' instead of 'and' - when in deprecated development practice, they would actually be using 'and', regardless of locale. Patch attached.

Attachments (1)

20155.diff (833 bytes) - added by JustinSainton 12 years ago.
Removes i18n for 'and'

Download all attachments as: .zip

Change History (5)

@JustinSainton
12 years ago

Removes i18n for 'and'

#1 @JustinSainton
12 years ago

  • Keywords dev-feedback added

#2 @ocean90
12 years ago

  • Keywords close added

'and' won't be translated here.

#3 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

'and' is not marked for translation there, it's substituted into a translated string.

The patch actually allows 'and' to be translated, which would be inaccurate in this case.

#4 @JustinSainton
12 years ago

Crap, not enough coffee yet. Right you are.

Note: See TracTickets for help on using tickets.