Make WordPress Core


Ignore:
Timestamp:
04/01/2019 12:23:54 PM (6 years ago)
Author:
SergeyBiryukov
Message:

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

Props ramiy, Jonathandejong, pento.
Fixes #42223.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r44566 r45082  
    62356235
    62366236        if ( is_multisite() && upload_is_user_over_quota( false ) ) {
    6237             $this->error = new IXR_Error( 401, __( 'Sorry, you have used your space allocation.' ) );
     6237            $this->error = new IXR_Error(
     6238                401,
     6239                sprintf(
     6240                    /* translators: %s: allowed space allocation */
     6241                    __( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ),
     6242                    size_format( get_space_allowed() * MB_IN_BYTES )
     6243                )
     6244            );
    62386245            return $this->error;
    62396246        }
Note: See TracChangeset for help on using the changeset viewer.