I18N: Merge similar strings about allowed space allocation in Multisite.

Props ramiy, Jonathandejong, pento.
Fixes #42223.

git-svn-id: https://develop.svn.wordpress.org/trunk@45082 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-04-01 12:23:54 +00:00
parent 0060f2ccbc
commit 6abcd97c8c
4 changed files with 32 additions and 12 deletions

View File

@@ -6234,7 +6234,14 @@ class wp_xmlrpc_server extends IXR_Server {
}
if ( is_multisite() && upload_is_user_over_quota( false ) ) {
$this->error = new IXR_Error( 401, __( 'Sorry, you have used your space allocation.' ) );
$this->error = new IXR_Error(
401,
sprintf(
/* translators: %s: allowed space allocation */
__( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ),
size_format( get_space_allowed() * MB_IN_BYTES )
)
);
return $this->error;
}