Web upload UI not in conformance with the International System of Units #1168

Open
opened 2026-10-05 00:34:07 +02:00 by adam · 5 comments
Owner

The version 11 displays the size of images to be uploaded in "mb" where "m" is the "milli" prefix and "b" an unknown unit.

The unit symbol for the byte is specified in IEC 80000-13, IEEE 1541 and the Metric Interchange Format as the upper-case character "B". The SI standard prefix for 1.000.000 is "M" and the megabytes unit should therefore be written "MB" in the Piwigo UI.

PS: In systems based on power of 2, the standard unit is MiB for 1.024x1.024 bytes.

The version 11 displays the size of images to be uploaded in "mb" where "m" is the "milli" prefix and "b" an unknown unit. The unit symbol for the byte is specified in IEC 80000-13, IEEE 1541 and the Metric Interchange Format as the upper-case character "B". The SI standard prefix for 1.000.000 is "M" and the megabytes unit should therefore be written "MB" in the Piwigo UI. PS: In systems based on power of 2, the standard unit is MiB for 1.024x1.024 bytes. <!-- github-sync-id:813673670 -->
Author
Owner

Hi @EddyLB

Can you add a screenshot so that I clearly understand where this "mb" is written?

Hi @EddyLB Can you add a screenshot so that I clearly understand where this "mb" is written? <!-- github-comment-id:783558486 -->
Author
Owner

Sure @plegall. Here it is…
Screenshot 2021-02-22 at 19 08 01

Sure @plegall. Here it is… <img width="970" alt="Screenshot 2021-02-22 at 19 08 01" src="https://user-images.githubusercontent.com/7103032/108750687-9bac0c80-7541-11eb-8bee-c31bf20f53ac.PNG"> <!-- github-comment-id:783566683 -->
Author
Owner

Frankly I really don't care if it is capitalized or not... sure one should adhere to standards but this is a bit ludicrous.
I suggest you join me in getting US and UK to stop using inches, pounds, stones etc...

Frankly I really don't care if it is capitalized or not... sure one should adhere to standards but this is a bit ludicrous. I suggest you join me in getting US and UK to stop using inches, pounds, stones etc... <!-- github-comment-id:783601099 -->
Author
Owner

And here is a screenshot of the upload UI available from the Discover menu.
Screenshot 2021-05-17 at 13 22 56

And here is a screenshot of the upload UI available from the Discover menu. <img width="822" alt="Screenshot 2021-05-17 at 13 22 56" src="https://user-images.githubusercontent.com/7103032/118480938-35cfbb00-b713-11eb-8cac-29d8a83fe117.PNG"> <!-- github-comment-id:842245145 -->
Author
Owner

@ddtddt , why the strings 'tb', 'gb', 'mb', 'kb' are not translated in themes/default/js/plugins/plupload/i18n? (except in French)

@ddtddt , why the strings `'tb'`, `'gb'`, `'mb'`, `'kb'` are not translated in `themes/default/js/plugins/plupload/i18n`? (except in French) <!-- github-comment-id:2171410223 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1168