Currently there are a lot of translated strings that are never seen
anywhere as the installer doesn't offer all the available languages
as options in the installer wizard (sans Burmese).
* Update Chinese (Hong Kong) translation
- replace Mainland China wordings with Hong Kong wordings
- correcting size unit to use KiB, MiB, GiB, TiB
- using Windows default Chinese Traditional fonts
* Update Language.zh-hk.xml
* Update Language.zh-hk.xml
- translated some untranslated lines
- minor wording refinements
* Update Language.zh-hk.xml
daily commit for translation progress
* Update Language.zh-hk.xml
* Update Language.zh-hk.xml
* Update Language.zh-hk.xml
* Update Language.zh-hk.xml
* Update Language.zh-hk.xml
* Update Language.zh-hk.xml
* translated some more untranslated strings
* Update Language.zh-hk.xml
* Language Translations files: update Chinese (Hong Kong) translation
# minor wording changes
# corrected lang attribute to en on some untranslated entries
+ translated some untranslated entries
+ translated some new entries
* Language Translations files: update Chinese (Hong Kong) translation
- translated some new entries
* Language Translations files: update Chinese (Hong Kong) translation
- minor changes
* Language Translations files: update Chinese (Hong Kong) translation
- translated some new entries
* Language Translations files: update Chinese (Hong Kong) translation
- translated some new entries for Linux
* Language Translations files: update Chinese (Hong Kong) translation
- translated some new entries
* Update Language.zh-hk.xml
- add back and translated missing line 298
- minor wording changes
- major progress
* Update Language.zh-hk.xml
- refine wordings
- correct mismatch translations in lines 635-640
- minor progress
* Update Language.zh-hk.xml
- refine wordings
- correct line 470
- minor progress
* Update Language.zh-hk.xml
- correct line 164 and 273
* Update Language.zh-hk.xml
Several enhancements implemented:
- replace CreateThread by _beginthreadex to avoid potential issues when using C runtime
- use an event to notify monitoring thread to stop instead of a volatile boolean
- perform switch to the regular desktop in the main thread and not in the secure desktop thread
When replacing a file container, we increase the `diskSpace`
by the file container's size. This doesn't affect the hidden volume
space logic, as in that case we use `MaxVolumeSize` when
`MaxVolumeSizeValid` is true instead of `AvailableDiskSpace`.
The usage of /Y parameter in format.com simplifies the logic and makes the code robust since we don't need to send \n to the format.com process.
Specifying RemovableMedia parameter to FormatEx fixes its failure in Windows 10 and later to perform quick format. This is also more adequate since we are mounting the volume as removable media for the formatting process.
We also add better error management in order to display adequate error message to the user in case of failure