[xwiki/xwiki-platform] 6cd8f7: XWIKI-22126: Attachment upload units should be loc...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 6cd8f754da6ffbcee8310206afb1cb853e49ff79 https://github.com/xwiki/xwiki-platform/commit/6cd8f754da6ffbcee8310206afb1c... Author: LucasC <[email protected]> Date: 2026-09-23 (Wed, 23 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/AttachmentIT.java M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-pageobjects/src/main/java/org/xwiki/flamingo/skin/test/po/AttachmentsPane.java M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/upload.js Log Message: ----------- XWIKI-22126: Attachment upload units should be localized (#6144) * Replaced the hardcoded B/KB/MB size suffixes in the HTML5 upload widget with Intl.NumberFormat unit formatting, localized using the page language * Switched the size ladder to decimal (1000-based) units to match the kilobyte/megabyte/gigabyte names Intl.NumberFormat uses, and added gigabyte * Reused the same formatting, with a per-second compound unit, for the upload speed display * Fixed a latent bug where sub-1-byte-per-second values produced 'undefined' in the speed label To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications