4 * Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
5 * To be distributed under the Wine License
11 static LICENSE
* SelectLanguage(LPCSTR Language
)
14 if (lstrcmp(Language, "Ca")) return(&WineLicense_Ca);
15 if (lstrcmp(Language, "Cz")) return(&WineLicense_Cz);
16 if (lstrcmp(Language, "Da")) return(&WineLicense_Da);
17 if (lstrcmp(Language, "De")) return(&WineLicense_En);
18 if (lstrcmp(Language, "En")) return(&WineLicense_En);
19 if (lstrcmp(Language, "Eo")) return(&WineLicense_Eo);
20 if (lstrcmp(Language, "Es")) return(&WineLicense_Es);
21 if (lstrcmp(Language, "Fi")) return(&WineLicense_Fi);
22 if (lstrcmp(Language, "Fr")) return(&WineLicense_Fr);
23 if (lstrcmp(Language, "Hu")) return(&WineLicense_Hu);
24 if (lstrcmp(Language, "It")) return(&WineLicense_It);
25 if (lstrcmp(Langauge, "Ko")) return(&WineLicense_Ko);
26 if (lstrcmp(Language, "No")) return(&WineLicense_No);
27 if (lstrcmp(Language, "Pl")) return(&WineLicense_Pl);
28 if (lstrcmp(Language, "Po")) return(&WineLicense_Po);
29 if (lstrcmp(Language, "Va")) return(&WineLicense_Va);
30 if (lstrcmp(Language, "Sw")) return(&WineLicense_Sw);
32 return(&WineLicense_En
);
36 VOID
WineLicense(HWND Wnd
, LPCSTR Language
)
38 LICENSE
*License
= SelectLanguage(Language
);
40 MessageBox(Wnd
, License
->License
, License
->LicenseCaption
,
41 MB_ICONINFORMATION
| MB_OK
);
45 VOID
WineWarranty(HWND Wnd
, LPCSTR Language
)
47 LICENSE
*License
= SelectLanguage(Language
);
49 MessageBox(Wnd
, License
->Warranty
, License
->WarrantyCaption
,
50 MB_ICONEXCLAMATION
| MB_OK
);