mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
I18n: Improve translators comments [3].
* Add missing translators comments. * Fix placement of some translators comments. Translators comments should be on the line directly above the line containing the translation function call for optimal compatibility with various `.pot` file generation tools. The CS auto-fixing, which changed some inconsistent function calls to multi-line function calls, is part of the reason why this was no longer the case for a select group of translators comments. Includes minor code layout fixes. Patch `44360-wp-admin-includes-dir.patch` of the series. Props flipkeijzer, alvarogois, michielatyoast See #44360 git-svn-id: https://develop.svn.wordpress.org/trunk@43598 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -319,6 +319,7 @@ function wp_link_manager_disabled_message() {
|
||||
|
||||
if ( $really_can_manage_links && current_user_can( 'install_plugins' ) ) {
|
||||
$link = network_admin_url( 'plugin-install.php?tab=search&s=Link+Manager' );
|
||||
/* translators: %s: URL of link manager plugin */
|
||||
wp_die( sprintf( __( 'If you are looking to use the link manager, please install the <a href="%s">Link Manager</a> plugin.' ), $link ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user