Skip to content

Commit

Permalink
Add Help Text
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Jul 8, 2021
1 parent 9de9ebb commit 914bfbf
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 4 deletions.
12 changes: 12 additions & 0 deletions Langs/0000.lang
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,15 @@ Invalid Release Tags Received!=
Invalid Release Types Received!=
Update Available=
An Update is Available, would you like to download it?=
[Descriptions]
Architecture=The amount of data your CPU and OS can process at once. 32-Bit OS result requires a disk wipe and new Windows 11 install. 32-Bit CPU requires a CPU replacement.
Boot=A method your motherboard uses to load Windows. Legacy results can be fixed on newer motherboards in your BIOS/UEFI settings. Refer to your motherboard manual.
CPU Name=The CPU you have installed in your computer. Compatiblity is subject to change. Requires physical replacement on Desktops; Not replacable on Laptops.
CPU Cores=The number of tasks your CPU can process at once. Requires physical replacement on Desktops; Not replacable on Laptops.
CPU Speed=The rate that your CPU processes tasks. Requires physical replacement on Desktops; Not replacable on Laptops.
DirectX=The version of DirectX DDI/Feature Level your card supports. This is seperate from DirectX software version. 'DirectX 12 API' cards may fail this check.
Disk Type=The format that your data is stored on your Disk. Non-GPT results can be fixed using Microsoft's MBR2GPT tool.
RAM=The amount of fast memory installed in your computer. Physically upgradeable in Desktops; Physically upgradeable in high end Laptops.
Secure Boot=A method your motherboard uses to load Windows. If not detected, can be fixed on newer motherboards in your BIOS/UEFI settings. Refer to your motherboard manual.
Storage=The amount of space for data on your disk. Physically upgradeable in high end Laptops.
TPM=A security module used by Windows. All modern AMD CPUs contain one; Some modern Intel CPUs contain one. Check your BIOS/UEFI settings. Refer to your motherboard manual.
14 changes: 13 additions & 1 deletion Langs/0409.lang
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[MetaData]
Language=English - United States
Translator=rcmaehl
Version=2.3.0.4
Version=2.3.1.0
[Strings]
Donate=Donate
Settings=Settings
Expand Down Expand Up @@ -58,3 +58,15 @@ Invalid Release Tags Received!=Invalid Release Tags Received!
Invalid Release Types Received!=Invalid Release Types Received!
Update Available=Update Available
An Update is Available, would you like to download it?=An Update is Available, would you like to download it?
[Descriptions]
Architecture=The amount of data your CPU and OS can process at once. 32-Bit OS result requires a disk wipe and new Windows 11 install. 32-Bit CPU requires a CPU replacement.
Boot=A method your motherboard uses to load Windows. Legacy results can be fixed on newer motherboards in your BIOS/UEFI settings. Refer to your motherboard manual.
CPU Name=The CPU you have installed in your computer. Compatiblity is subject to change. Requires physical replacement on Desktops; Not replacable on Laptops.
CPU Cores=The number of tasks your CPU can process at once. Requires physical replacement on Desktops; Not replacable on Laptops.
CPU Speed=The rate that your CPU processes tasks. Requires physical replacement on Desktops; Not replacable on Laptops.
DirectX=The version of DirectX DDI/Feature Level your card supports. This is seperate from DirectX software version. 'DirectX 12 API' cards may fail this check.
Disk Type=The format that your data is stored on your Disk. Non-GPT results can be fixed using Microsoft's MBR2GPT tool.
RAM=The amount of fast memory installed in your computer. Physically upgradeable in Desktops; Physically upgradeable in high end Laptops.
Secure Boot=A method your motherboard uses to load Windows. If not detected, can be fixed on newer motherboards in your BIOS/UEFI settings. Refer to your motherboard manual.
Storage=The amount of space for data on your disk. Physically upgradeable in high end Laptops.
TPM=A security module used by Windows. All modern AMD CPUs contain one; Some modern Intel CPUs contain one. Check your BIOS/UEFI settings. Refer to your motherboard manual.
8 changes: 5 additions & 3 deletions WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ Func Main()

Local $hCheck[11][3]
Local $hLabel[11] = ["Architecture", "Boot Method", "CPU Compatibility", "CPU Core Count", "CPU Frequency", "DirectX + WDDM2", "Disk Partition Type", "RAM Installed", "Secure Boot", "Storage Available", "TPM Version"]
Local $hInfo[11]
Local $aInfo = _GetDescriptions($iMUI)

_GDIPlus_Startup()
For $iRow = 0 To 10 Step 1
Expand All @@ -414,11 +414,13 @@ Func Main()
If $iRow = 0 Or $iRow = 3 Or $iRow = 6 Or $iRow = 9 Then GUICtrlSetStyle(-1, $SS_CENTER + $SS_SUNKEN)
GUICtrlSetFont(-1, $aFonts[$FontMedium] * $DPI_RATIO, $FW_SEMIBOLD)
If @Compiled Then
$hInfo[$iRow] = GUICtrlCreateIcon("", -1, 763, 118 + $iRow * 40, 24, 40, $SS_CENTERIMAGE + $SS_CENTER)
GUICtrlCreateIcon("", -1, 763, 118 + $iRow * 40, 24, 40, $SS_CENTERIMAGE + $SS_CENTER)
_SetBkSelfIcon(-1, 0xF8F8F8, @ScriptFullPath, 201, 24, 24)
GUICtrlSetTip(-1, $aInfo[$iRow], _Translate($iMUI, "Description"), $TIP_INFOICON, $TIP_BALLOON)
Else
$hInfo[$iRow] = GUICtrlCreateIcon("", -1, 763, 118 + $iRow * 40, 24, 40)
GUICtrlCreateIcon("", -1, 763, 118 + $iRow * 40, 24, 40)
_SetBkIcon(-1, 0xF8F8F8, @ScriptDir & "\assets\inf.ico", -1, 24, 24)
GUICtrlSetTip(-1, $aInfo[$iRow], _Translate($iMUI, "Description"), $TIP_INFOICON, $TIP_BALLOON)
EndIf
Next
_GDIPlus_Shutdown()
Expand Down
19 changes: 19 additions & 0 deletions includes/_Translations.au3
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

#include <FileConstants.au3>

Func _GetDescriptions($iMUI)
Local $aDescriptions[11]

$aDescriptions[0] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "Architecture", "The amount of data your CPU and OS can process at once. 32-Bit OS result requires a disk wipe and new Windows 11 install. 32-Bit CPU requires a CPU replacement.")
$aDescriptions[1] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "Boot", "A method your motherboard uses to load Windows. Legacy results can be fixed on newer motherboards in your BIOS/UEFI settings. Refer to your motherboard manual.")
$aDescriptions[2] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "CPU Name", "The CPU you have installed in your computer. Compatiblity is subject to change. Requires physical replacement on Desktops; Not replacable on Laptops.")
$aDescriptions[3] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "CPU Cores", "The number of tasks your CPU can process at once. Requires physical replacement on Desktops; Not replacable on Laptops.")
$aDescriptions[4] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "CPU Speed", "The rate that your CPU processes tasks. Requires physical replacement on Desktops; Not replacable on Laptops.")
$aDescriptions[5] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "DirectX", "The version of DirectX DDI/Feature Level your card supports. This is seperate from DirectX software version. 'DirectX 12 API' cards may fail this check.")
$aDescriptions[6] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "Disk Type", "The format that your data is stored on your disk. Non-GPT results can be fixed using Microsoft's MBR2GPT tool.")
$aDescriptions[7] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "RAM", "The amount of fast memory installed in your computer. Physically upgradeable in Desktops; Physically upgradeable in high end Laptops.")
$aDescriptions[8] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "RAM", "The amount of fast memory installed in your computer. Physically upgradeable in Desktops; Physically upgradeable in high end Laptops.")
$aDescriptions[9] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "Secure Boot", "A method your motherboard uses to load Windows. If not detected, can be fixed on newer motherboards in your BIOS/UEFI settings. Refer to your motherboard manual.")
$aDescriptions[10] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "Storage", "The amount of space for data on your disk. Physically upgradeable in high end Laptops.")
$aDescriptions[11] = IniRead(@LocalAppDataDir & "\WhyNotWin11\Langs\" & $iMUI & ".lang", "Descriptions", "TPM", "A security module used by Windows. All modern AMD CPUs contain one; Some modern Intel CPUs contain one. Check your BIOS/UEFI settings. Refer to your motherboard manual.")

Return $aDescriptions
EndFunc

Func _GetFile($sFile, $sFormat = $FO_READ)
Local Const $hFileOpen = FileOpen($sFile, $sFormat)
If $hFileOpen = -1 Then
Expand Down

0 comments on commit 914bfbf

Please sign in to comment.