WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#16861 closed defect (bug) (fixed)

No i18n in admin_created_user_subject()

Reported by: mrMagister Owned by: mrMagister
Milestone: 3.2 Priority: normal
Severity: minor Version: 3.1
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

./wp-admin/user-new.php
~line 33

	function admin_created_user_subject( $text ) {
		return "[" . get_bloginfo('name') . "] Your site invite";
	}

where is l10n function? :-)

Attachments (1)

user_new.diff (481 bytes) - added by ldebrouwer 3 years ago.
Added translatable function for the "Your site invite" string

Download all attachments as: .zip

Change History (9)

comment:1 ldebrouwer3 years ago

  • Cc ldebrouwer added
  • Keywords has-patch needs-testing added; needs-patch removed

comment:2 dd323 years ago

  • Keywords needs-patch added; has-patch needs-testing removed

The entire string should be translated, and the blogname sprintf'd into the larger string.

ldebrouwer3 years ago

Added translatable function for the "Your site invite" string

comment:3 ldebrouwer3 years ago

  • Keywords needs-testing added; needs-patch removed

Uploaded a sprintf'd version.

comment:4 ldebrouwer3 years ago

  • Keywords has-patch added

comment:5 scribu3 years ago

  • Component changed from Multisite to I18N
  • Keywords 3.2-early added; needs-testing removed
  • Milestone changed from Awaiting Review to Future Release
  • Summary changed from Need translate to No i18n in admin_created_user_subject()

comment:6 nacin3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In [18249]:

Translate a missing string. props ldebrouwer, fixes #16861.

comment:7 nacin3 years ago

  • Keywords 3.2-early removed
  • Milestone changed from Future Release to 3.2

comment:8 nacin3 years ago

In [18250]:

Don't add extra spaces. props duck_, see #16861.

Note: See TracTickets for help on using tickets.