Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#37585 closed task (blessed) (fixed)

Improved documentation in l10n.php

Reported by: johnbillion Owned by: wonderboymusic
Priority: normal Milestone: 4.7
Component: I18N Version: 4.4
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

Previously: #34127

Attachments (1)

37585.patch (5.5 KB ) - added by johnbillion 10 years ago.

Download all attachments as: .zip

Change History (3)

@johnbillion
10 years ago

#1 @johnbillion
10 years ago

  • Keywords has-patch added

37585.patch does the following:

  • Changes $translations to $translation in the gettext and gettext_with_context filter parameters so they match those of ngettext and ngettext_with_context. The singular form is the correct terminology.
  • Adds example code that's actually useful to _nx(), _nx_noop(), and _n_noop().
  • Simplifies example code in _n() and translate_nooped_plural().

#2 @wonderboymusic
10 years ago

  • Owner set to wonderboymusic
  • Resolutionfixed
  • Status newclosed

In 38360:

L10N: improve accuracy of docs.

Props johnbillion.
Fixes #37585.

Note: See TracTickets for help on using tickets.