diff --git a/lang/system/en.xml b/lang/system/en.xml index 1e64208a1..dcbeb9010 100644 --- a/lang/system/en.xml +++ b/lang/system/en.xml @@ -788,6 +788,9 @@ The minimum is opaque and the maximum is transparent. Signed in PSN If checked, games will consider the user is connected to the PSN network (but offline). + IP Address + Select the IP address to be used in adhoc. + Subnet Mask Enable HTTP Check this box to enable games to use the HTTP protocol on the internet. HTTP Timeout Attempts diff --git a/lang/system/zh-s.xml b/lang/system/zh-s.xml index eafcbbfa9..ea21a9523 100644 --- a/lang/system/zh-s.xml +++ b/lang/system/zh-s.xml @@ -785,6 +785,9 @@ 已登入PSN 如果勾选此项,游戏将认为用户已连接至PSN(但为离线)。 + IP地址 + 选择在adhoc中使用的IP地址。 + 子网掩码 启用HTTP 勾选此项启用游戏在互联网上使用HTTP协议。 HTTP超时尝试 diff --git a/vita3k/gui/src/settings_dialog.cpp b/vita3k/gui/src/settings_dialog.cpp index 9f09f30a0..a5058b9d0 100644 --- a/vita3k/gui/src/settings_dialog.cpp +++ b/vita3k/gui/src/settings_dialog.cpp @@ -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(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(addrsSelect.size())); + SetTooltipEx(lang.network["ip_address_description"].c_str()); ImGui::BeginDisabled(); - ImGui::Combo("Network Mask", &emuenv.cfg.adhoc_addr, nMaskSelect.data(), static_cast(nMaskSelect.size())); + ImGui::Combo(lang.network["subnet_mask"].c_str(), &emuenv.cfg.adhoc_addr, nMaskSelect.data(), static_cast(nMaskSelect.size())); ImGui::EndDisabled(); ImGui::PopItemWidth(); diff --git a/vita3k/lang/include/lang/state.h b/vita3k/lang/include/lang/state.h index 6492691df..743d8d631 100644 --- a/vita3k/lang/include/lang/state.h +++ b/vita3k/lang/include/lang/state.h @@ -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" },