Changeset 103161 in vbox
- Timestamp:
- Feb 1, 2024 1:01:02 PM (8 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
-
globals/UIDefs.h (modified) (1 diff)
-
globals/UITranslator.h (modified) (1 diff)
-
settings/machine/UIMachineSettingsDisplay.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.h
r102503 r103161 73 73 ShowWindowEventType, 74 74 #endif 75 };76 77 /** Size formatting types. */78 enum FormatSize79 {80 FormatSize_Round,81 FormatSize_RoundDown,82 FormatSize_RoundUp83 75 }; 84 76 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UITranslator.h
r98103 r103161 45 45 46 46 public: 47 48 /** Size formatting types. */ 49 enum FormatSize 50 { 51 FormatSize_Round, 52 FormatSize_RoundDown, 53 FormatSize_RoundUp 54 }; 47 55 48 56 /** Loads the language by language ID. -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r101717 r103161 644 644 message.second << tr("The virtual machine is currently assigned less than <b>%1</b> of video memory " 645 645 "which is the minimum amount required to switch to full-screen or seamless mode.") 646 .arg(UITranslator::formatSize(uNeedBytes, 0, FormatSize_RoundUp));646 .arg(UITranslator::formatSize(uNeedBytes, 0, UITranslator::FormatSize_RoundUp)); 647 647 } 648 648 #ifdef VBOX_WITH_3D_ACCELERATION … … 656 656 "and the operating system hint is set to Windows Vista or later. " 657 657 "For best performance you should set the machine's video memory to at least <b>%1</b>.") 658 .arg(UITranslator::formatSize(uNeedBytes, 0, FormatSize_RoundUp));658 .arg(UITranslator::formatSize(uNeedBytes, 0, UITranslator::FormatSize_RoundUp)); 659 659 } 660 660 }
Note:
See TracChangeset
for help on using the changeset viewer.

