mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user