Menu

#1132 Disk space labels missing blanks between value and unit

2.0 Series
closed-fixed
nobody
5
2017-06-05
2016-01-07
Christian
No

When selecting the Destination Folder where to install a program, both "Space required" and "Space available" are displayed.

Examples:
"Space required: 120.1MB"
"Space available: 108.5GB"

Suggestion: Please make use of "<value> blank <unit>".
This is better readable and follows a common style to separate a value and its unit by one blank.

This looks like this:
"Space required: 120.1 MB"
"Space available: 108.5 GB"

Other examples can be found e.g. here when hard disk space values are mentioned:
https://en.wikipedia.org/wiki/Hard_disk_drive

NSIS version: 2.46

1 Attachments

Discussion

  • Anders

    Anders - 2016-02-05

    I don't know what the Windows UI guidelines say about this.

    For example the MSI installer @ https://technet.microsoft.com/en-us/library/dd795252.aspx has no spaces.

    If you need a solution now you can just override those strings:

    LangString ^Byte 0 "iB"
    LangString ^Kilo 0 " K"
    LangString ^Mega 0 " M"
    LangString ^Giga 0 " G"
    Page Directory
    Page InstFiles
    Section
    AddSize 666
    SectionEnd
    
     
  • Anders

    Anders - 2017-05-27

    SHLWAPI::StrFormatKBSize as far back as at least Win98 has a space in English versions. Newer versions call a function in PropSys.dll and it also uses a space in the English resource strings.

     
  • Anders

    Anders - 2017-06-05
    • labels: --> User-Interface
    • status: open --> closed-fixed
     

Log in to post a comment.