mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-28 07:52:28 +01:00
#102 add -vietnamese - translation made by TheBuck338 @ github
This commit is contained in:
parent
d8b6395423
commit
46f0fa29d4
@ -691,6 +691,87 @@ void TConfigForm::ApplyTranslation(TIniFile *ini)
|
|||||||
BoxingLbl->Hint = upscaleHint + enableUpscaleHint;
|
BoxingLbl->Hint = upscaleHint + enableUpscaleHint;
|
||||||
BoxingChk->Hint = upscaleHint + enableUpscaleHint;
|
BoxingChk->Hint = upscaleHint + enableUpscaleHint;
|
||||||
}
|
}
|
||||||
|
else if (lang == "vietnamese" || (lang == "auto" && priID == LANG_VIETNAMESE)) {
|
||||||
|
LanguageImg->Visible = true;
|
||||||
|
|
||||||
|
/* -vietnamese - made by TheBuck338 @ github */
|
||||||
|
|
||||||
|
ConfigForm->Caption = L"Thiết lập cnc-ddraw";
|
||||||
|
DisplayBtn->Caption = L"Cài Đặt Hình Ảnh";
|
||||||
|
AdvancedBtn->Caption = L"Cài Đặt Nâng Cao";
|
||||||
|
HotkeyBtn->Caption = L"Cài Đặt Phím Tắt";
|
||||||
|
CompatibilityBtn->Caption = L"Cài Đặt Tương Thích";
|
||||||
|
RestoreDefaultsBtn->Caption = L"Khôi phục cài đặt gốc";
|
||||||
|
PresentationLbl->Caption = L"Chế Độ Hiển Thị";
|
||||||
|
MaintasLbl->Caption = L"Giữ nguyên tỉ lệ khung hình";
|
||||||
|
VsyncLbl->Caption = L"Bật VSync";
|
||||||
|
AdjmouseLbl->Caption = L"Điều chỉnh độ nhạy của chuột";
|
||||||
|
DevmodeLbl->Caption = L"Khóa con trỏ vào cửa sổ / màn hình";
|
||||||
|
RendererLbl->Caption = L"Trình kết xuất";
|
||||||
|
BorderLbl->Caption = L"Hiển thị thanh tiêu đề trong chế độ cửa sổ";
|
||||||
|
SavesettingsLbl->Caption = L"Ghi nhớ vị trí kích thước và cửa sổ";
|
||||||
|
ShaderLbl->Caption = L"Shader OpenGL";
|
||||||
|
MaxfpsLbl->Caption = L"Giới hạn tốc độ khung hình";
|
||||||
|
BoxingLbl->Caption = L"Bật windowboxing / chia tỷ lệ theo số nguyên";
|
||||||
|
ToggleWindowedLbl->Caption = L"Bật/tắt chế độ cửa sổ";
|
||||||
|
MaximizeWindowLbl->Caption = L"Phóng to cửa sổ";
|
||||||
|
UnlockCursor1Lbl->Caption = L"Mở khóa con trỏ 1";
|
||||||
|
UnlockCursor2Lbl->Caption = L"Mở khóa con trỏ 2";
|
||||||
|
ScreenshotLbl->Caption = L"Chụp màn hình";
|
||||||
|
MaxgameticksLbl->Caption = L"Giới hạn tốc độ trò chơi";
|
||||||
|
NoactivateappLbl->Caption = L"Sửa lỗi Alt+Tab";
|
||||||
|
ResolutionsLbl->Caption = L"Mở khóa thêm độ phân giải màn hình";
|
||||||
|
MinfpsLbl->Caption = L"Khắc phục hiện tượng giật hình khi sử dụng Freesync/G-Sync";
|
||||||
|
SinglecpuLbl->Caption = L"Khắc phục các vấn đề về hiệu năng và âm thanh kém";
|
||||||
|
NonexclusiveLbl->Caption = L"Sửa lỗi các video / phần tử UI không hiển thị";
|
||||||
|
|
||||||
|
RendererCbx->Items->Clear();
|
||||||
|
RendererCbx->AddItem(L"Tự Động", NULL);
|
||||||
|
RendererCbx->AddItem(L"Direct3D 9", NULL);
|
||||||
|
RendererCbx->AddItem(L"OpenGL", NULL);
|
||||||
|
RendererCbx->AddItem(L"GDI", NULL);
|
||||||
|
|
||||||
|
PresentationCbx->Items->Clear();
|
||||||
|
PresentationCbx->AddItem(L"Toàn Màn Hình", NULL);
|
||||||
|
PresentationCbx->AddItem(L"Toàn Màn Hình Nâng Cao Độ Phân Giải", NULL);
|
||||||
|
PresentationCbx->AddItem(L"Toàn Màn Hình Không Viền", NULL);
|
||||||
|
PresentationCbx->AddItem(L"Cửa Sổ", NULL);
|
||||||
|
|
||||||
|
MaxgameticksCbx->Items->Clear();
|
||||||
|
MaxgameticksCbx->AddItem(L"Không giới hạn", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"Đồng bộ hóa với tần số quét màn hình", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"Mô phỏng màn hình với tần số quét 60Hz", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"1000 ticks mỗi giây", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"500 ticks mỗi giây", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"250 ticks mỗi giây", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"125 ticks mỗi giây", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"60 ticks mỗi giây", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"30 ticks mỗi giây", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"25 ticks mỗi giây", NULL);
|
||||||
|
MaxgameticksCbx->AddItem(L"15 ticks mỗi giây", NULL);
|
||||||
|
|
||||||
|
System::UnicodeString shaderHint =
|
||||||
|
L"Một số shader chỉ hoạt động khi bật chế độ nâng cao độ phân giải. \n\n";
|
||||||
|
|
||||||
|
System::UnicodeString upscaleHint =
|
||||||
|
L"Phải bật chế độ nâng cao độ phân giải để cài đặt này hoạt động. \n\n";
|
||||||
|
|
||||||
|
System::UnicodeString enableUpscaleHint =
|
||||||
|
L"Để bật chế độ nâng cao độ phân giải, hãy đặt chế độ hiển thị của bạn\n"
|
||||||
|
"thành 'Toàn Màn Hình Không Viền' hoặc 'Toàn Màn Hình Nâng Cao Độ Phân Giải'.\n"
|
||||||
|
"Đối với chế độ 'Cửa Sổ', bạn phải thay đổi kích thước hoặc phóng to cửa sổ.";
|
||||||
|
|
||||||
|
ShaderLbl->Hint = shaderHint + enableUpscaleHint;
|
||||||
|
ShaderD3DCbx->Hint = shaderHint + enableUpscaleHint;
|
||||||
|
ShaderCbx->Hint = shaderHint + enableUpscaleHint;
|
||||||
|
|
||||||
|
MaintasLbl->Hint = upscaleHint + enableUpscaleHint;
|
||||||
|
MaintasChk->Hint = upscaleHint + enableUpscaleHint;
|
||||||
|
AdjmouseLbl->Hint = upscaleHint + enableUpscaleHint;
|
||||||
|
AdjmouseChk->Hint = upscaleHint + enableUpscaleHint;
|
||||||
|
BoxingLbl->Hint = upscaleHint + enableUpscaleHint;
|
||||||
|
BoxingChk->Hint = upscaleHint + enableUpscaleHint;
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
IsEnglish = true;
|
IsEnglish = true;
|
||||||
|
|
||||||
@ -737,6 +818,12 @@ void TConfigForm::ApplyTranslation(TIniFile *ini)
|
|||||||
LanguageImg->Picture->Graphic = png;
|
LanguageImg->Picture->Graphic = png;
|
||||||
LanguageImg->Visible = true;
|
LanguageImg->Visible = true;
|
||||||
}
|
}
|
||||||
|
else if (priID == LANG_VIETNAMESE) {
|
||||||
|
TPngImage *png = new TPngImage();
|
||||||
|
png->LoadFromResourceName((int)HInstance, "PngImage_VN");
|
||||||
|
LanguageImg->Picture->Graphic = png;
|
||||||
|
LanguageImg->Visible = true;
|
||||||
|
}
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIN
config/Resources/VN.png
Normal file
BIN
config/Resources/VN.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 474 B |
@ -203,6 +203,10 @@
|
|||||||
<ResourceType>RCDATA</ResourceType>
|
<ResourceType>RCDATA</ResourceType>
|
||||||
<ResourceId>PngImage_US</ResourceId>
|
<ResourceId>PngImage_US</ResourceId>
|
||||||
</RcItem>
|
</RcItem>
|
||||||
|
<RcItem Include="Resources\VN.png">
|
||||||
|
<ResourceType>RCDATA</ResourceType>
|
||||||
|
<ResourceId>PngImage_VN</ResourceId>
|
||||||
|
</RcItem>
|
||||||
<FormResources Include="ConfigFormUnit.dfm"/>
|
<FormResources Include="ConfigFormUnit.dfm"/>
|
||||||
<BuildConfiguration Include="Base">
|
<BuildConfiguration Include="Base">
|
||||||
<Key>Base</Key>
|
<Key>Base</Key>
|
||||||
@ -296,14 +300,74 @@
|
|||||||
</DeployFile>
|
</DeployFile>
|
||||||
<DeployFile LocalName=".\Win32\Debug\cnc-ddraw_config.exe" Configuration="Debug" Class="ProjectOutput"/>
|
<DeployFile LocalName=".\Win32\Debug\cnc-ddraw_config.exe" Configuration="Debug" Class="ProjectOutput"/>
|
||||||
<DeployFile LocalName=".\Win32\Release\cnc-ddraw config.exe" Configuration="Release" Class="ProjectOutput"/>
|
<DeployFile LocalName=".\Win32\Release\cnc-ddraw config.exe" Configuration="Release" Class="ProjectOutput"/>
|
||||||
|
<DeployFile LocalName=".\Win32\Release\cnc-ddraw config.exe" Configuration="Release" Class="ProjectOutput">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteName>cnc-ddraw_config.exe</RemoteName>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployFile LocalName="Resources\CN.png" Configuration="Release" Class="ProjectFile"/>
|
<DeployFile LocalName="Resources\CN.png" Configuration="Release" Class="ProjectFile"/>
|
||||||
|
<DeployFile LocalName="Resources\CN.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployFile LocalName="Resources\DE.png" Configuration="Release" Class="ProjectFile"/>
|
<DeployFile LocalName="Resources\DE.png" Configuration="Release" Class="ProjectFile"/>
|
||||||
|
<DeployFile LocalName="Resources\DE.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployFile LocalName="Resources\ES.png" Configuration="Release" Class="ProjectFile"/>
|
<DeployFile LocalName="Resources\ES.png" Configuration="Release" Class="ProjectFile"/>
|
||||||
|
<DeployFile LocalName="Resources\ES.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployFile LocalName="Resources\IT.png" Configuration="Release" Class="ProjectFile"/>
|
<DeployFile LocalName="Resources\IT.png" Configuration="Release" Class="ProjectFile"/>
|
||||||
|
<DeployFile LocalName="Resources\IT.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployFile LocalName="Resources\RU.png" Configuration="Release" Class="ProjectFile"/>
|
<DeployFile LocalName="Resources\RU.png" Configuration="Release" Class="ProjectFile"/>
|
||||||
|
<DeployFile LocalName="Resources\RU.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployFile LocalName="Resources\US.png" Configuration="Release" Class="ProjectFile"/>
|
<DeployFile LocalName="Resources\US.png" Configuration="Release" Class="ProjectFile"/>
|
||||||
|
<DeployFile LocalName="Resources\US.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
|
<DeployFile LocalName="Resources\VN.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployFile LocalName="Resources\fr.png" Configuration="Release" Class="ProjectFile"/>
|
<DeployFile LocalName="Resources\fr.png" Configuration="Release" Class="ProjectFile"/>
|
||||||
|
<DeployFile LocalName="Resources\fr.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployFile LocalName="Resources\hu.png" Configuration="Release" Class="ProjectFile"/>
|
<DeployFile LocalName="Resources\hu.png" Configuration="Release" Class="ProjectFile"/>
|
||||||
|
<DeployFile LocalName="Resources\hu.png" Configuration="Release" Class="ProjectFile">
|
||||||
|
<Platform Name="Win32">
|
||||||
|
<RemoteDir>.\</RemoteDir>
|
||||||
|
<Overwrite>true</Overwrite>
|
||||||
|
</Platform>
|
||||||
|
</DeployFile>
|
||||||
<DeployClass Name="AdditionalDebugSymbols">
|
<DeployClass Name="AdditionalDebugSymbols">
|
||||||
<Platform Name="iOSSimulator">
|
<Platform Name="iOSSimulator">
|
||||||
<Operation>1</Operation>
|
<Operation>1</Operation>
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#include <Vcl.Themes.hpp>
|
#include <Vcl.Themes.hpp>
|
||||||
USEFORM("ConfigFormUnit.cpp", ConfigForm);
|
USEFORM("ConfigFormUnit.cpp", ConfigForm);
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
#define GAME_PATH (TPath::GetDirectoryName(Application->ExeName) + "\\")
|
#define GAME_PATH (TPath::GetDirectoryName(Application->ExeName) + "\\")
|
||||||
|
|
||||||
int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
|
int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
|
||||||
|
@ -6,3 +6,4 @@ PngImage_HU RCDATA "Resources\\hu.png"
|
|||||||
PngImage_IT RCDATA "Resources\\IT.png"
|
PngImage_IT RCDATA "Resources\\IT.png"
|
||||||
PngImage_RU RCDATA "Resources\\RU.png"
|
PngImage_RU RCDATA "Resources\\RU.png"
|
||||||
PngImage_US RCDATA "Resources\\US.png"
|
PngImage_US RCDATA "Resources\\US.png"
|
||||||
|
PngImage_VN RCDATA "Resources\\VN.png"
|
||||||
|
@ -347,7 +347,7 @@ static void cfg_create_ini()
|
|||||||
"; The following settings are for cnc-ddraw config.exe\n"
|
"; The following settings are for cnc-ddraw config.exe\n"
|
||||||
"\n"
|
"\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; cnc-ddraw config program language, possible values: auto, english, chinese, german, spanish, russian, hungarian, french, italian\n"
|
"; cnc-ddraw config program language, possible values: auto, english, chinese, german, spanish, russian, hungarian, french, italian, vietnamese\n"
|
||||||
"configlang=auto\n"
|
"configlang=auto\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; cnc-ddraw config program theme, possible values: Windows10, Cobalt XEMedia\n"
|
"; cnc-ddraw config program theme, possible values: Windows10, Cobalt XEMedia\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user