Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#40944 closed defect (bug) (duplicate)

Translator comment has wrong placeholder

Reported by: juhise's profile juhise Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:

Description

In code it's %d but in translator comment %d is used.

<?php
/* translators: %s is a numeric HTTP status code; e.g., 400, 403, 500, 504, etc. */
                                sprintf( __( 'Invalid API response code (%d)' ), $response_code )

Created a small patch to fix this

Attachments (2)

40941.diff (844 bytes) - added by juhise 7 years ago.
Fix Translator comment placeholder
40944.diff (844 bytes) - added by juhise 7 years ago.
Rename patch file name

Download all attachments as: .zip

Change History (4)

@juhise
7 years ago

Fix Translator comment placeholder

@juhise
7 years ago

Rename patch file name

#1 @swissspidy
7 years ago

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

This has already been reported a few hours earlier in #40939.

#2 @juhise
7 years ago

@swissspidy

Okay. Didn't know that.

Note: See TracTickets for help on using tickets.