WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 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 6 years ago.
Added translatable function for the "Your site invite" string

Download all attachments as: .zip

Change History (9)

#1 @ldebrouwer
6 years ago

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

#2 @dd32
6 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.

@ldebrouwer
6 years ago

Added translatable function for the "Your site invite" string

#3 @ldebrouwer
6 years ago

  • Keywords needs-testing added; needs-patch removed

Uploaded a sprintf'd version.

#4 @ldebrouwer
6 years ago

  • Keywords has-patch added

#5 @scribu
6 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()

#6 @nacin
6 years ago

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

In [18249]:

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

#7 @nacin
6 years ago

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

#8 @nacin
6 years ago

In [18250]:

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

Note: See TracTickets for help on using tickets.