Francois Gouget : testbot/SetWinLocale: Warn when a locale may not be installed.

Alexandre Julliard julliard at winehq.org
Tue Jan 11 15:42:55 CST 2022


Module: tools
Branch: master
Commit: af4c91dbc73b4afa0176d1f9e1ffeb02fa6fdbd0
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=af4c91dbc73b4afa0176d1f9e1ffeb02fa6fdbd0

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Jan 11 19:21:17 2022 +0100

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

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/bin/SetWinLocale | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale
index 0c7bbc4..8d629da 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]);




More information about the wine-cvs mailing list