WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#40944 closed defect (bug) (duplicate)

Translator comment has wrong placeholder

Reported by: juhise Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:
PR Number:

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 2 years ago.
Fix Translator comment placeholder
40944.diff (844 bytes) - added by juhise 2 years ago.
Rename patch file name

Download all attachments as: .zip

Change History (4)

@juhise
2 years ago

Fix Translator comment placeholder

@juhise
2 years ago

Rename patch file name

#1 @swissspidy
2 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
2 years ago

@swissspidy

Okay. Didn't know that.

Note: See TracTickets for help on using tickets.