Also remove the code for Danish translation.
This commit is contained in:
parent
1971cd07cb
commit
49667709bd
|
@ -20,6 +20,9 @@
|
||||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// icon gradient: #f6f6fb to #8080c0
|
||||||
|
// RGB(246, 246, 251) to RGB(128, 128, 192)
|
||||||
|
|
||||||
#include "windriver.h"
|
#include "windriver.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
|
@ -1905,11 +1908,6 @@ void SetLanguage(int langid)
|
||||||
setLanguage(MAKELCID(MAKELANGID(LANG_FRENCH, SUBLANG_FRENCH), SORT_DEFAULT));
|
setLanguage(MAKELCID(MAKELANGID(LANG_FRENCH, SUBLANG_FRENCH), SORT_DEFAULT));
|
||||||
SetThreadLocale(MAKELCID(MAKELANGID(LANG_FRENCH, SUBLANG_FRENCH), SORT_DEFAULT));
|
SetThreadLocale(MAKELCID(MAKELANGID(LANG_FRENCH, SUBLANG_FRENCH), SORT_DEFAULT));
|
||||||
break;
|
break;
|
||||||
case 2:
|
|
||||||
// Danish
|
|
||||||
setLanguage(MAKELCID(MAKELANGID(LANG_DANISH, SUBLANG_DEFAULT), SORT_DEFAULT));
|
|
||||||
SetThreadLocale(MAKELCID(MAKELANGID(LANG_DANISH, SUBLANG_DEFAULT), SORT_DEFAULT));
|
|
||||||
break;
|
|
||||||
case 3:
|
case 3:
|
||||||
// Chinese
|
// Chinese
|
||||||
setLanguage(MAKELCID(MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED), SORT_DEFAULT));
|
setLanguage(MAKELCID(MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED), SORT_DEFAULT));
|
||||||
|
@ -4819,11 +4817,6 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
||||||
ChangeLanguage(1);
|
ChangeLanguage(1);
|
||||||
CheckLanguage(LOWORD(wParam));
|
CheckLanguage(LOWORD(wParam));
|
||||||
return 0;
|
return 0;
|
||||||
case IDC_LANGDANISH:
|
|
||||||
SaveLanguage(2);
|
|
||||||
ChangeLanguage(2);
|
|
||||||
CheckLanguage(LOWORD(wParam));
|
|
||||||
return 0;
|
|
||||||
case IDC_LANG_CHINESE_SIMPLIFIED:
|
case IDC_LANG_CHINESE_SIMPLIFIED:
|
||||||
SaveLanguage(3);
|
SaveLanguage(3);
|
||||||
ChangeLanguage(3);
|
ChangeLanguage(3);
|
||||||
|
@ -5569,6 +5562,7 @@ static LRESULT CALLBACK SoundSettingsDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam
|
||||||
|
|
||||||
//write interpolation type
|
//write interpolation type
|
||||||
CommonSettings.spuInterpolationMode = (SPUInterpolationMode)SendDlgItemMessage(hDlg, IDC_SPU_INTERPOLATION_CB, CB_GETCURSEL, 0, 0);
|
CommonSettings.spuInterpolationMode = (SPUInterpolationMode)SendDlgItemMessage(hDlg, IDC_SPU_INTERPOLATION_CB, CB_GETCURSEL, 0, 0);
|
||||||
|
//SPU_SetInterpolationMode(CommonSettings.spuInterpolationMode);
|
||||||
WritePrivateProfileInt("Sound","SPUInterpolation",(int)CommonSettings.spuInterpolationMode, IniName);
|
WritePrivateProfileInt("Sound","SPUInterpolation",(int)CommonSettings.spuInterpolationMode, IniName);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue