More string cleanup

This commit is contained in:
Henrik Rydgård committed 2026-03-26 09:49:35 -06:00
1 parent 212547eece
commit f6e518aae7
47 files changed
+81 -128

No files matched your search

+3 -3
View File
@@ -235,7 +235,7 @@ AdhocServerRow::AdhocServerRow(std::string *editValue, const AdhocServerListEntr
if (entry.host == "localhost") {
// Special case this to add a hint.
auto n = GetI18NCategory(I18NCat::NETWORKING);
secondLine = n->T("Change proAdhocServer address hint");
secondLine = n->T("Ad hoc server address hint");
}
if (!entry.location.empty()) {
secondLine += ": " + entry.location;
@@ -571,13 +571,13 @@ void AskToEditCurrentServer(int requestToken, ScreenManager *screenManager) {
// Choose method depending on platform capabilities.
if (System_GetPropertyBool(SYSPROP_HAS_TEXT_INPUT_DIALOG)) {
System_InputBoxGetString(requestToken, n->T("Change proAdhocServer Address"), g_Config.sProAdhocServer, false, [](const std::string &enteredValue, int) {
System_InputBoxGetString(requestToken, n->T("Ad hoc server address"), g_Config.sProAdhocServer, false, [](const std::string &enteredValue, int) {
EditServerName(enteredValue);
});
return;
}
static std::string editText = g_Config.sProAdhocServer;
TextEditPopupScreen *popupScreen = new TextEditPopupScreen(&editText, editText, n->T("Change proAdhocServer Address"), 256);
TextEditPopupScreen *popupScreen = new TextEditPopupScreen(&editText, editText, n->T("Ad hoc server address"), 256);
if (System_GetPropertyBool(SYSPROP_KEYBOARD_IS_SOFT)) {
popupScreen->SetAlignTop(true);
}