Skip to content

Commit

Permalink
Fix/add translation and improve accessibility (#461)
Browse files Browse the repository at this point in the history
* Accessibility improvement (#459)

* Add translation to loading bar (#447)

* Adding missing word to lang files <Warning> (#440)

* Fix typos in Gui header and requirement source note

* Add me as translator
  • Loading branch information
htcfreek committed Jul 9, 2021
1 parent d5e8313 commit 61c4956
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
7 changes: 5 additions & 2 deletions Langs/0000.lang
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Name=Arial
Donate=
Settings=
Check for Updates=
Your Windows 11 Compatibility Results are Below=
Your Windows 11 Compatibility Results Are Below=

This comment has been minimized.

Copy link
@micwoj92

micwoj92 Jul 10, 2021

Collaborator

I don't understand why in line 17 you switched to lower case but here to upper.

Now Reach WhyNotWin11 via https://www.whynotwin11.org/=
Results Based on Currently Known Requirements!=
Results based on currently known requirements!=
Translation by=
Architecture (CPU + OS)=
Boot Method=
Expand Down Expand Up @@ -65,6 +65,9 @@ Invalid Release Tags Received!=
Invalid Release Types Received!=
Update Available=
An Update is Available, would you like to download it?=
Done=
Loading WMIC=
Warning=
[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.
Expand Down
9 changes: 6 additions & 3 deletions Langs/0407.lang
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[MetaData]
Language=German - Germany
Translator=botflakes, JimBim89, schmelto, speedy-pc
Translator=botflakes, JimBim89, schmelto, speedy-pc, htcfreek
Version= 2.3.1.0
[Strings]
Donate=Spenden
Check for Updates=Update suchen
Your Windows 11 Compatibility Results are Below=Ihre Windows 11-Kompatibilitätsergebnisse
Your Windows 11 Compatibility Results Are Below=Ihre Windows 11-Kompatibilitätsergebnisse
Now Reach WhyNotWin11 via https://www.whynotwin11.org/=Offizielle Homepage https://www.whynotwin11.org/
Results Based on Currently Known Requirements!=Ergebnisse basierend auf den derzeit bekannten Microsoft-Anforderungen.
Results based on currently known requirements!=Ergebnisse basierend auf den derzeit bekannten Anforderungen.
Translation by=Übersetzt von
Architecture (CPU + OS)=Architektur (CPU + OS)
Boot Method=Boot Methode
Expand Down Expand Up @@ -57,3 +57,6 @@ Invalid Release Tags Received!=Ungültige Release-Tags erhalten!
Invalid Release Types Received!=Ungültige Release-Types erhalten!
Update Available=Update verfügbar
An Update is Available, would you like to download it?=Ein Update ist verfügbar. Möchten Sie es herunterladen?
Done=Fertig
Loading WMIC=Lade WMIC
Warning=Warnung
9 changes: 6 additions & 3 deletions Langs/0409.lang
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[MetaData]
Language=English - United States
Translator=rcmaehl
Translator=rcmaehl, htcfreek
Version=2.3.1.0
[Font]
Extra Large=24
Expand All @@ -12,9 +12,9 @@ Name=Arial
Donate=Donate
Settings=Settings
Check for Updates=Check for Updates
Your Windows 11 Compatibility Results are Below=Your Windows 11 Compatibility Results are Below
Your Windows 11 Compatibility Results Are Below=Your Windows 11 Compatibility Results Are Below
Now Reach WhyNotWin11 via https://www.whynotwin11.org/=Now Reach WhyNotWin11 via https://www.whynotwin11.org/
Results Based on Currently Known Requirements!=Results Based on Currently Known Requirements!
Results based on currently known requirements!=Results based on currently known requirements!
Translation by=Translation by
Architecture (CPU + OS)=Architecture (CPU + OS)
Boot Method=Boot Method
Expand Down Expand Up @@ -64,6 +64,9 @@ 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?
Done=Done
Loading WMIC=Loading WMIC
Warning=Warning
[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.
Expand Down
8 changes: 4 additions & 4 deletions WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Func Main()
Local Const $DPI_RATIO = _GDIPlus_GraphicsGetDPIRatio()[0]
Local Enum $FontSmall, $FontMedium, $FontLarge, $FontExtraLarge

ProgressOn("WhyNotWin11", "Loading WMIC")
ProgressOn("WhyNotWin11", _Translate($iMUI, "Loading WMIC"))
ProgressSet(0, "_GetCPUInfo()")
_GetCPUInfo()
ProgressSet(20, "_GetDiskInfo()")
Expand All @@ -239,7 +239,7 @@ Func Main()
_GetTPMInfo()
ProgressSet(80, "_GetDiskInfoFromWmi")
_GetDiskInfoFromWmi($aDisks, $aPartitions, 1)
ProgressSet(100, "Done")
ProgressSet(100, _Translate($iMUI, "Done"))

Local $hGUI = GUICreate("WhyNotWin11", 800, 600, -1, -1, BitOR($WS_POPUP, $WS_BORDER))
GUISetBkColor($aColors[$iBackground])
Expand Down Expand Up @@ -390,7 +390,7 @@ Func Main()
GUICtrlCreateLabel(_GetGPUInfo(0), 470, 580, 300, 20, $SS_CENTERIMAGE)
GUICtrlSetBkColor(-1, $aColors[$iFooter])

GUICtrlCreateLabel(_Translate($iMUI, "Your Windows 11 Compatibility Results are Below"), 130, 10, 640, 40, $SS_CENTER + $SS_CENTERIMAGE)
GUICtrlCreateLabel(_Translate($iMUI, "Your Windows 11 Compatibility Results Are Below"), 130, 10, 640, 40, $SS_CENTER + $SS_CENTERIMAGE)
GUICtrlSetFont(-1, $aFonts[$FontLarge] * $DPI_RATIO, $FW_SEMIBOLD, "", "", $CLEARTYPE_QUALITY)

#cs
Expand All @@ -399,7 +399,7 @@ Func Main()
GUICtrlSetCursor(-1, 0)
#ce

GUICtrlCreateLabel(_Translate($iMUI, "Results Based on Currently Known Requirements!"), 130, 45, 640, 20, $SS_CENTER + $SS_CENTERIMAGE)
GUICtrlCreateLabel("* " & _Translate($iMUI, "Results based on currently known requirements!"), 130, 45, 640, 20, $SS_CENTER + $SS_CENTERIMAGE)
GUICtrlSetColor(-1, 0xE20012)
GUICtrlSetFont(-1, $aFonts[$FontMedium] * $DPI_RATIO)

Expand Down

0 comments on commit 61c4956

Please sign in to comment.