[wp-trac] [WordPress Trac] #42223: Merge two similar translation strings when using get_space_allowed()

WordPress Trac noreply at wordpress.org
Sat Oct 14 17:44:59 UTC 2017


#42223: Merge two similar translation strings when using get_space_allowed()
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Both `multisite_over_quota_message()` and `upload_is_user_over_quota()`
 output similar error messages when the passing the allowed storage quota.
 The first is for multisite and the second is for the media library, but
 both functions use `get_space_allowed()`.

 1. `Sorry, you have used all of your storage quota of %s MB.`

 2. `Sorry, you have used your space allocation. Please delete some files
 to upload more files.`

 Those two messages can be merged into one:

 * `Sorry, you have used your space allocation of %s MB. Please delete some
 files to upload more files.`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42223>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list