1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

align the code and update some translations

*align the code to have same amout of space
*update some translation to latest version
This commit is contained in:
holoreimu 2017-12-02 06:04:57 +08:00
parent 39c1081d38
commit b8f0dd9e80
4 changed files with 3411 additions and 3405 deletions

View File

@ -1220,7 +1220,7 @@ UINT SwGetLangIcon(char *name)
{ {
ret = ICO_LANG_CHINESE; ret = ICO_LANG_CHINESE;
} }
else if (StrCmpi(name, "tw") == 0) else if (StrCmpi(name, "tw") == 0)
{ {
ret = ICO_LANG_TRADITIONAL_CHINESE; ret = ICO_LANG_TRADITIONAL_CHINESE;
} }

View File

@ -329,10 +329,10 @@ UINT UpdateNoticeDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void
{ {
font_name = "Microsoft YaHei"; font_name = "Microsoft YaHei";
} }
else if (_GETLANG() == 3) else if (_GETLANG() == 3)
{ {
font_name = "Microsoft JhengHei"; font_name = "Microsoft JhengHei";
} }
} }
SetFont(hWnd, S_INFO, GetFont(font_name, 11, false, false, false, false)); SetFont(hWnd, S_INFO, GetFont(font_name, 11, false, false, false, false));
@ -1674,7 +1674,7 @@ HFONT GetMeiryoFontEx2(UINT font_size, bool bold)
{ {
return GetFont("Microsoft YaHei", font_size, bold, false, false, false); return GetFont("Microsoft YaHei", font_size, bold, false, false, false);
} }
else if (_GETLANG() == 3) else if (_GETLANG() == 3)
{ {
return GetFont("Microsoft JhengHei", font_size, bold, false, false, false); return GetFont("Microsoft JhengHei", font_size, bold, false, false, false);
} }
@ -2266,7 +2266,7 @@ UINT KakushiDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void *par
SetFont(hWnd, S_INFO, GetFont("Microsoft YaHei", 11, false, false, false, false)); SetFont(hWnd, S_INFO, GetFont("Microsoft YaHei", 11, false, false, false, false));
b = true; b = true;
} }
else if (_GETLANG() == 3) else if (_GETLANG() == 3)
{ {
SetFont(hWnd, S_INFO, GetFont("Microsoft JhengHei", 11, false, false, false, false)); SetFont(hWnd, S_INFO, GetFont("Microsoft JhengHei", 11, false, false, false, false));
b = true; b = true;
@ -2882,7 +2882,7 @@ HFONT GetDialogDefaultFontEx(bool meiryo)
{ {
default_font_name = "Microsoft YaHei"; default_font_name = "Microsoft YaHei";
} }
if (_GETLANG() == 3) if (_GETLANG() == 3)
{ {
default_font_name = "Microsoft JhengHei"; default_font_name = "Microsoft JhengHei";
} }

View File

@ -4,5 +4,5 @@
# 番号 識別子 英語表記 ローカル表記 Windowsロケール番号 UNIXロケール文字一覧 # 番号 識別子 英語表記 ローカル表記 Windowsロケール番号 UNIXロケール文字一覧
0 ja Japanese 日本語 1041 ja,jp,sjis,shift_jis,euc 0 ja Japanese 日本語 1041 ja,jp,sjis,shift_jis,euc
1 en English English 1033 en,us,c 1 en English English 1033 en,us,c
2 cn Simplified_Chinese 简体中文 2052,4100,3076,5124 cn,hkg,mac,sg,chi 2 cn Simplified_Chinese 简体中文 2052,4100,3076,5124 cn,hkg,mac,sg,chi
3 tw Traditional_Chinese 繁體中文 1028 tw,zh-tw 3 tw Traditional_Chinese 繁體中文 1028 tw,zh-tw

File diff suppressed because it is too large Load Diff