[tools] testbot/SetWinLocale: Warn when a locale may not be installed.

Francois Gouget fgouget at codeweavers.com
Tue Jan 11 12:21:17 CST 2022


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/SetWinLocale | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale
index e776e4a802..b2da673eda 100755
--- a/testbot/bin/SetWinLocale
+++ b/testbot/bin/SetWinLocale
@@ -672,7 +672,7 @@ sub GetWinKeyboardIds($)
   $WinKeyboardIds{$Locale} ||= $Keyboards{$Locale};
   if (!$WinKeyboardIds{$Locale})
   {
-    FatalError("could not find the $Locale LCID and keyboard ids\n");
+    FatalError("could not find the $Locale LCID and keyboard ids. Maybe the locale is not installed?\n");
   }
 
   my $WinLCID = uc($WinKeyboardIds{$Locale}->[0]);
-- 
2.30.2




More information about the wine-devel mailing list