[wp-meta] [Making WordPress.org] #5221: Plugin directory: i18n of max file size for upload
Making WordPress.org
noreply at wordpress.org
Tue May 19 16:21:31 UTC 2020
#5221: Plugin directory: i18n of max file size for upload
------------------------------+--------------------
Reporter: tobifjellner | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+--------------------
Location:
http://meta.svn.wordpress.org/sites/trunk/wordpress.org/public_html/wp-
content/plugins/plugin-directory/shortcodes/class-upload.php
The function public static function get_max_allowed_file_size() just
concatenates a number and a unit.
1. The unit label should be available for translation.
2. Some languages don't write numbers and their related unit directly
after each other. So this format would need to be i18n-alized, along the
lines of:
%1$s%2$s context: "max-file-size" 1. Number ; 2. Measurement unit (bytes,
kb, mb, etc.)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5221>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list