[wp-meta] [Making WordPress.org] #2877: Mistyped placeable
Making WordPress.org
noreply at wordpress.org
Thu Jun 15 16:03:56 UTC 2017
#2877: Mistyped placeable
------------------------------+-------------------------
Reporter: tobifjellner | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords: needs-patch
------------------------------+-------------------------
A placeable is lacking a percent sign.
{{{We recommend using %1s as it will allow}}}
Should be changed to
{{{We recommend using %1$s as it will allow}}}
File:
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
Appr. location: 171--180
{{{#!php
<?php
$readme = $this->find_readme_file();
if ( empty( $readme ) ) {
$error = __( 'Error: The plugin has no
readme.', 'wporg-plugins' );
/* translators: 1: readme.txt, 2:
readme.md */
return $error . ' ' . sprintf( __( 'The
zip file must include a file named %1$s or %2$s. We recommend using %1s as
it will allow you to fully utilize our directory.', 'wporg-plugins' ),
'<code>readme.txt</code>',
'<code>readme.md</code>'
);
}
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2877>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list