From: Maxim Mamontov Date: Wed, 4 May 2011 09:38:19 +0000 (+0300) Subject: Fix multiple typo: "alredy" -> "already" X-Git-Tag: 2.407-p1~40 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/52f80d6ec77e44660f353e19c71e7994df59496d Fix multiple typo: "alredy" -> "already" --- diff --git a/projects/stargazer/admins_impl.cpp b/projects/stargazer/admins_impl.cpp index 0179910e..4980234a 100644 --- a/projects/stargazer/admins_impl.cpp +++ b/projects/stargazer/admins_impl.cpp @@ -72,7 +72,7 @@ admin_iter ai(find(data.begin(), data.end(), adm)); if (ai != data.end()) { - strError = "Administrator \'" + login + "\' cannot not be added. Administrator alredy exist."; + strError = "Administrator \'" + login + "\' cannot not be added. Administrator already exist."; WriteServLog("%s %s", admin->GetLogStr().c_str(), strError.c_str()); return -1; diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 8e44ed5e..439bee18 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -863,8 +863,8 @@ if ((*user)->GetProperty().passive.Get()) if ((*user)->GetAuthorized() && (*user)->GetCurrIP() != sip) { - printfd(__FILE__, "Login %s alredy in use. IP \'%s\'\n", (*user)->GetLogin().c_str(), inet_ntostring(sip).c_str()); - WriteServLog("Login %s alredy in use. IP \'%s\'", (*user)->GetLogin().c_str(), inet_ntostring(sip).c_str()); + printfd(__FILE__, "Login %s already in use. IP \'%s\'\n", (*user)->GetLogin().c_str(), inet_ntostring(sip).c_str()); + WriteServLog("Login %s already in use. IP \'%s\'", (*user)->GetLogin().c_str(), inet_ntostring(sip).c_str()); SendError(sip, sport, protoVer, "÷ÁÛ ÌÏÇÉÎ ÕÖÅ ÉÓÐÏÌØÚÕÅÔÓÑ!"); return 0; } @@ -872,8 +872,8 @@ if ((*user)->GetAuthorized() && (*user)->GetCurrIP() != sip) USER_PTR u; if (users->FindByIPIdx(sip, &u) == 0 && u->GetLogin() != (*user)->GetLogin()) { - printfd(__FILE__, "IP address alredy in use. IP \'%s\'", inet_ntostring(sip).c_str()); - WriteServLog("IP address alredy in use. IP \'%s\'", inet_ntostring(sip).c_str()); + printfd(__FILE__, "IP address already in use. IP \'%s\'", inet_ntostring(sip).c_str()); + WriteServLog("IP address already in use. IP \'%s\'", inet_ntostring(sip).c_str()); SendError(sip, sport, protoVer, "÷ÁÛ IP ÁÄÒÅÓ ÕÖÅ ÉÓÐÏÌØÚÕÅÔÓÑ!"); return 0; } diff --git a/projects/stargazer/store_loader.cpp b/projects/stargazer/store_loader.cpp index 0dceb81d..c54bdb36 100644 --- a/projects/stargazer/store_loader.cpp +++ b/projects/stargazer/store_loader.cpp @@ -54,7 +54,7 @@ bool STORE_LOADER::Load() { if (isLoaded) { - errorStr = "Store plugin '" + pluginFileName + "' was alredy loaded!"; + errorStr = "Store plugin '" + pluginFileName + "' was already loaded!"; printfd(__FILE__, "STORE_LOADER::Load() - %s\n", errorStr.c_str()); return false; } diff --git a/projects/stargazer/tariffs_impl.cpp b/projects/stargazer/tariffs_impl.cpp index 61e3e12c..d6d6b36a 100644 --- a/projects/stargazer/tariffs_impl.cpp +++ b/projects/stargazer/tariffs_impl.cpp @@ -206,7 +206,7 @@ ti = find(tariffs.begin(), tariffs.end(), TARIFF_IMPL(name)); if (ti != tariffs.end()) { - strError = "Tariff \'" + name + "\' cannot be added. Tariff alredy exist."; + strError = "Tariff \'" + name + "\' cannot be added. Tariff already exist."; WriteServLog("%s %s", admin->GetLogStr().c_str(), strError.c_str()); return -1; }