mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
lang/gui: Add translatable strings
This commit is contained in:
@@ -788,6 +788,9 @@ The minimum is opaque and the maximum is transparent.</select_background_alpha>
|
||||
<network name="Network">
|
||||
<psn_signed_in>Signed in PSN</psn_signed_in>
|
||||
<psn_signed_in_description>If checked, games will consider the user is connected to the PSN network (but offline).</psn_signed_in_description>
|
||||
<ip_address>IP Address</ip_address>
|
||||
<ip_address_description>Select the IP address to be used in adhoc.</ip_address_description>
|
||||
<subnet_mask>Subnet Mask</subnet_mask>
|
||||
<enable_http>Enable HTTP</enable_http>
|
||||
<enable_http_description>Check this box to enable games to use the HTTP protocol on the internet.</enable_http_description>
|
||||
<timeout_attempts>HTTP Timeout Attempts</timeout_attempts>
|
||||
|
||||
@@ -785,6 +785,9 @@
|
||||
<network name="网络">
|
||||
<psn_signed_in>已登入PSN</psn_signed_in>
|
||||
<psn_signed_in_description>如果勾选此项,游戏将认为用户已连接至PSN(但为离线)。</psn_signed_in_description>
|
||||
<ip_address>IP地址</ip_address>
|
||||
<ip_address_description>选择在adhoc中使用的IP地址。</ip_address_description>
|
||||
<subnet_mask>子网掩码</subnet_mask>
|
||||
<enable_http>启用HTTP</enable_http>
|
||||
<enable_http_description>勾选此项启用游戏在互联网上使用HTTP协议。</enable_http_description>
|
||||
<timeout_attempts>HTTP超时尝试</timeout_attempts>
|
||||
|
||||
@@ -1091,11 +1091,11 @@ void draw_settings_dialog(GuiState &gui, EmuEnvState &emuenv) {
|
||||
}
|
||||
|
||||
ImGui::PushItemWidth(ImGui::CalcTextSize(addrsStrings[emuenv.cfg.adhoc_addr].c_str()).x + (30.f * SCALE.x));
|
||||
ImGui::Combo("Network Address", &emuenv.cfg.adhoc_addr, addrsSelect.data(), static_cast<int>(addrsSelect.size()));
|
||||
SetTooltipEx("Select which Address to use in adhoc.");
|
||||
ImGui::Combo(lang.network["ip_address"].c_str(), &emuenv.cfg.adhoc_addr, addrsSelect.data(), static_cast<int>(addrsSelect.size()));
|
||||
SetTooltipEx(lang.network["ip_address_description"].c_str());
|
||||
|
||||
ImGui::BeginDisabled();
|
||||
ImGui::Combo("Network Mask", &emuenv.cfg.adhoc_addr, nMaskSelect.data(), static_cast<int>(nMaskSelect.size()));
|
||||
ImGui::Combo(lang.network["subnet_mask"].c_str(), &emuenv.cfg.adhoc_addr, nMaskSelect.data(), static_cast<int>(nMaskSelect.size()));
|
||||
ImGui::EndDisabled();
|
||||
ImGui::PopItemWidth();
|
||||
|
||||
|
||||
@@ -691,6 +691,9 @@ struct LangState {
|
||||
{ "title", "Network" },
|
||||
{ "psn_signed_in", "Signed in PSN" },
|
||||
{ "psn_signed_in_description", "If checked, games will consider the user is connected to the PSN network (but offline)." },
|
||||
{ "ip_address", "IP Address" },
|
||||
{ "ip_address_description", "Select the IP address to be used in adhoc." },
|
||||
{ "subnet_mask", "Subnet Mask" },
|
||||
{ "enable_http", "Enable HTTP" },
|
||||
{ "enable_http_description", "Check this box to enable games to use the HTTP protocol on the internet." },
|
||||
{ "timeout_attempts", "HTTP Timeout Attempts" },
|
||||
|
||||
Reference in New Issue
Block a user