mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-25 01:57:47 +01:00
#102 add Chinese Simplified translation made by universal963
This commit is contained in:
parent
918b70cd3d
commit
c25e28c953
@ -1,4 +1,4 @@
|
|||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
#include <vcl.h>
|
#include <vcl.h>
|
||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
@ -24,52 +24,102 @@ int Minfps;
|
|||||||
__fastcall TConfigForm::TConfigForm(TComponent* Owner)
|
__fastcall TConfigForm::TConfigForm(TComponent* Owner)
|
||||||
: TForm(Owner)
|
: TForm(Owner)
|
||||||
{
|
{
|
||||||
if (SysLocale.PriLangID == LANG_ENGLISH) {
|
if (SysLocale.PriLangID == LANG_CHINESE) {
|
||||||
ConfigForm->Caption = "cnc-ddraw config";
|
/* Chinese Simplified made by universal963 @ github */
|
||||||
DisplayBtn->Caption = "Display Settings";
|
|
||||||
AdvancedBtn->Caption = "Advanced Settings";
|
ConfigForm->Caption = L"cnc-ddraw 配置";
|
||||||
CompatibilityBtn->Caption = "Compatibility Settings";
|
DisplayBtn->Caption = L"显示设置";
|
||||||
PresentationLbl->Caption = "Presentation";
|
AdvancedBtn->Caption = L"高级设置";
|
||||||
MaintasLbl->Caption = "Maintain aspect ratio";
|
CompatibilityBtn->Caption = L"兼容性设置";
|
||||||
VsyncLbl->Caption = "Enable VSync";
|
PresentationLbl->Caption = L"显示方式";
|
||||||
AdjmouseLbl->Caption = "Adjust mouse sensitivity";
|
MaintasLbl->Caption = L"保持纵横比";
|
||||||
DevmodeLbl->Caption = "Lock cursor to window / screen";
|
VsyncLbl->Caption = L"打开垂直同步";
|
||||||
RendererLbl->Caption = "Renderer";
|
AdjmouseLbl->Caption = L"调整鼠标灵敏度";
|
||||||
BorderLbl->Caption = "Show window borders in windowed mode";
|
DevmodeLbl->Caption = L"锁定光标到窗口/屏幕";
|
||||||
SavesettingsLbl->Caption = "Remember window position and size";
|
RendererLbl->Caption = L"渲染器";
|
||||||
ShaderLbl->Caption = "OpenGL shader";
|
BorderLbl->Caption = L"在窗口模式下显示窗口边框";
|
||||||
MaxfpsLbl->Caption = "Limit frame rate";
|
SavesettingsLbl->Caption = L"记住窗口位置和大小";
|
||||||
BoxingLbl->Caption = "Enable windowboxing / integer scaling";
|
ShaderLbl->Caption = L"OpenGL着色器";
|
||||||
MaxgameticksLbl->Caption = "Limit game speed";
|
MaxfpsLbl->Caption = L"限制帧率";
|
||||||
NoactivateappLbl->Caption = "Fix broken Alt+Tab";
|
BoxingLbl->Caption = L"打开窗盒显示/整数缩放";
|
||||||
HookLbl->Caption = "Fix broken windowed mode or upscaling";
|
MaxgameticksLbl->Caption = L"限制游戏速率";
|
||||||
MinfpsLbl->Caption = "Force high FPS / Fix stuttering on Freesync/G-Sync";
|
NoactivateappLbl->Caption = L"修复损坏的Alt+Tab功能";
|
||||||
FixpitchLbl->Caption = "Fix diagonally displayed drawing issues";
|
HookLbl->Caption = L"修复损坏的窗口模式或拉伸";
|
||||||
NonexclusiveLbl->Caption = "Fix invisible videos / UI elements";
|
MinfpsLbl->Caption = L"强制高FPS / 修复使用Freesync/G-Sync的卡顿问题";
|
||||||
|
FixpitchLbl->Caption = L"修复倾斜撕裂显示的问题";
|
||||||
|
NonexclusiveLbl->Caption = L"修复不显示的视频/UI元素";
|
||||||
|
|
||||||
RendererCbx->Items->Clear();
|
RendererCbx->Items->Clear();
|
||||||
RendererCbx->AddItem("Automatic", NULL);
|
RendererCbx->AddItem(L"自动", NULL);
|
||||||
RendererCbx->AddItem("Direct3D9", NULL);
|
RendererCbx->AddItem(L"Direct3D9", NULL);
|
||||||
RendererCbx->AddItem("OpenGL", NULL);
|
RendererCbx->AddItem(L"OpenGL", NULL);
|
||||||
RendererCbx->AddItem("GDI", NULL);
|
RendererCbx->AddItem(L"GDI", NULL);
|
||||||
|
|
||||||
PresentationCbx->Items->Clear();
|
PresentationCbx->Items->Clear();
|
||||||
PresentationCbx->AddItem("Fullscreen", NULL);
|
PresentationCbx->AddItem(L"全屏", NULL);
|
||||||
PresentationCbx->AddItem("Fullscreen Upscaled", NULL);
|
PresentationCbx->AddItem(L"拉伸至全屏", NULL);
|
||||||
PresentationCbx->AddItem("Borderless", NULL);
|
PresentationCbx->AddItem(L"无边框", NULL);
|
||||||
PresentationCbx->AddItem("Windowed", NULL);
|
PresentationCbx->AddItem(L"窗口化", NULL);
|
||||||
|
|
||||||
MaxgameticksCbx->Items->Clear();
|
MaxgameticksCbx->Items->Clear();
|
||||||
MaxgameticksCbx->AddItem("No limit", NULL);
|
MaxgameticksCbx->AddItem(L"无限制", NULL);
|
||||||
MaxgameticksCbx->AddItem("Sync with monitor refresh rate", NULL);
|
MaxgameticksCbx->AddItem(L"与显示器刷新率同步", NULL);
|
||||||
MaxgameticksCbx->AddItem("Emulate 60hz refresh rate monitor", NULL);
|
MaxgameticksCbx->AddItem(L"模拟60hz刷新率显示器", NULL);
|
||||||
MaxgameticksCbx->AddItem("1000 ticks per second", NULL);
|
MaxgameticksCbx->AddItem(L"1000tick每秒", NULL);
|
||||||
MaxgameticksCbx->AddItem("500 ticks per second", NULL);
|
MaxgameticksCbx->AddItem(L"500tick每秒", NULL);
|
||||||
MaxgameticksCbx->AddItem("60 ticks per second", NULL);
|
MaxgameticksCbx->AddItem(L"60tick每秒", NULL);
|
||||||
MaxgameticksCbx->AddItem("30 ticks per second", NULL);
|
MaxgameticksCbx->AddItem(L"30tick每秒", NULL);
|
||||||
MaxgameticksCbx->AddItem("25 ticks per second", NULL);
|
MaxgameticksCbx->AddItem(L"25tick每秒", NULL);
|
||||||
MaxgameticksCbx->AddItem("15 ticks per second", NULL);
|
MaxgameticksCbx->AddItem(L"15tick每秒", NULL);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
/*
|
||||||
|
ConfigForm->Caption = L"cnc-ddraw config";
|
||||||
|
DisplayBtn->Caption = L"Display Settings";
|
||||||
|
AdvancedBtn->Caption = L"Advanced Settings";
|
||||||
|
CompatibilityBtn->Caption = L"Compatibility Settings";
|
||||||
|
PresentationLbl->Caption = L"Presentation";
|
||||||
|
MaintasLbl->Caption = L"Maintain aspect ratio";
|
||||||
|
VsyncLbl->Caption = L"Enable VSync";
|
||||||
|
AdjmouseLbl->Caption = L"Adjust mouse sensitivity";
|
||||||
|
DevmodeLbl->Caption = L"Lock cursor to window / screen";
|
||||||
|
RendererLbl->Caption = L"Renderer";
|
||||||
|
BorderLbl->Caption = L"Show window borders in windowed mode";
|
||||||
|
SavesettingsLbl->Caption = L"Remember window position and size";
|
||||||
|
ShaderLbl->Caption = L"OpenGL shader";
|
||||||
|
MaxfpsLbl->Caption = L"Limit frame rate";
|
||||||
|
BoxingLbl->Caption = L"Enable windowboxing / integer scaling";
|
||||||
|
MaxgameticksLbl->Caption = L"Limit game speed";
|
||||||
|
NoactivateappLbl->Caption = L"Fix broken Alt+Tab";
|
||||||
|
HookLbl->Caption = L"Fix broken windowed mode or upscaling";
|
||||||
|
MinfpsLbl->Caption = L"Force high FPS / Fix stuttering on Freesync/G-Sync";
|
||||||
|
FixpitchLbl->Caption = L"Fix diagonally displayed drawing issues";
|
||||||
|
NonexclusiveLbl->Caption = L"Fix invisible videos / UI elements";
|
||||||
|
|
||||||
|
RendererCbx->Items->Clear();
|
||||||
|
RendererCbx->AddItem(L"Automatic", NULL);
|
||||||
|
RendererCbx->AddItem(L"Direct3D9", NULL);
|
||||||
|
RendererCbx->AddItem(L"OpenGL", NULL);
|
||||||
|
RendererCbx->AddItem(L"GDI", NULL);
|
||||||
|
|
||||||
|
PresentationCbx->Items->Clear();
|
||||||
|
PresentationCbx->AddItem(L"Fullscreen", NULL);
|
||||||
|
PresentationCbx->AddItem(L"Fullscreen Upscaled", NULL);
|
||||||
|
PresentationCbx->AddItem(L"Borderless", NULL);
|
||||||
|
PresentationCbx->AddItem(L"Windowed", NULL);
|
||||||
|
|
||||||
|
MaxgameticksCbx->Items->Clear();
|
||||||
|
MaxgameticksCbx->AddItem(L"No limit", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"Sync with monitor refresh rate", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"Emulate 60hz refresh rate monitor", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"1000 ticks per second", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"500 ticks per second", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"60 ticks per second", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"30 ticks per second", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"25 ticks per second", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"15 ticks per second", NULL);
|
||||||
|
*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void __fastcall TConfigForm::DisplayBtnClick(TObject *Sender)
|
void __fastcall TConfigForm::DisplayBtnClick(TObject *Sender)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user