Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20155 closed defect (bug) (invalid)

Deprecated argument in get_adjacent_post() improperly internationalized.

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

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 15 years ago.
Removes i18n for 'and'

Download all attachments as: .zip

Change History (5)

@JustinSainton
15 years ago

Removes i18n for 'and'

#1 @JustinSainton
15 years ago

  • Keywords dev-feedback added

#2 @ocean90
15 years ago

  • Keywords close added

'and' won't be translated here.

#3 @SergeyBiryukov
15 years ago

  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → 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
15 years ago

Crap, not enough coffee yet. Right you are.

Note: See TracTickets for help on using tickets.