diff --git a/modules/bouncedcc.cpp b/modules/bouncedcc.cpp index e24d186e..805a0593 100644 --- a/modules/bouncedcc.cpp +++ b/modules/bouncedcc.cpp @@ -98,12 +98,12 @@ class CBounceDCCMod : public CModule { public: void ListDCCsCommand(const CString& sLine) { CTable Table; - Table.AddColumn("Type"); - Table.AddColumn("State"); - Table.AddColumn("Speed"); - Table.AddColumn("Nick"); - Table.AddColumn("IP"); - Table.AddColumn("File"); + Table.AddColumn(t_s("Type", "list")); + Table.AddColumn(t_s("State", "list")); + Table.AddColumn(t_s("Speed", "list")); + Table.AddColumn(t_s("Nick", "list")); + Table.AddColumn(t_s("IP", "list")); + Table.AddColumn(t_s("File", "list")); set::const_iterator it; for (it = BeginSockets(); it != EndSockets(); ++it) { @@ -112,29 +112,29 @@ class CBounceDCCMod : public CModule { if (!(pSock->IsRemote())) { Table.AddRow(); - Table.SetCell("Nick", pSock->GetRemoteNick()); - Table.SetCell("IP", pSock->GetRemoteAddr()); + Table.SetCell(t_s("Nick", "list"), pSock->GetRemoteNick()); + Table.SetCell(t_s("IP", "list"), pSock->GetRemoteAddr()); if (pSock->IsChat()) { - Table.SetCell("Type", "Chat"); + Table.SetCell(t_s("Type", "list"), t_s("Chat", "list")); } else { - Table.SetCell("Type", "Xfer"); - Table.SetCell("File", pSock->GetFileName()); + Table.SetCell(t_s("Type", "list"), t_s("Xfer", "list")); + Table.SetCell(t_s("File", "list"), pSock->GetFileName()); } - CString sState = "Waiting"; + CString sState = t_s("Waiting"); if ((pSock->IsConnected()) || (pSock->IsPeerConnected())) { - sState = "Halfway"; + sState = t_s("Halfway"); if ((pSock->IsConnected()) && (pSock->IsPeerConnected())) { - sState = "Connected"; + sState = t_s("Connected"); } } - Table.SetCell("State", sState); + Table.SetCell(t_s("State", "list"), sState); } } if (PutModule(Table) == 0) { - PutModule("You have no active DCCs."); + PutModule(t_s("You have no active DCCs.")); } } @@ -145,17 +145,16 @@ class CBounceDCCMod : public CModule { SetNV("UseClientIP", sValue); } - PutModule("UseClientIP: " + CString(GetNV("UseClientIP").ToBool())); + PutModule(t_f("Use client IP: {1}")(GetNV("UseClientIP").ToBool())); } MODCONSTRUCTOR(CBounceDCCMod) { AddHelpCommand(); - AddCommand("ListDCCs", static_cast( - &CBounceDCCMod::ListDCCsCommand), - "", "List all active DCCs"); - AddCommand("UseClientIP", static_cast( - &CBounceDCCMod::UseClientIPCommand), - ""); + AddCommand("ListDCCs", "", t_d("List all active DCCs"), + [this](const CString& sLine) { ListDCCsCommand(sLine); }); + AddCommand("UseClientIP", "", + t_d("Change the option to use IP of client"), + [this](const CString& sLine) { UseClientIPCommand(sLine); }); } ~CBounceDCCMod() override {} @@ -381,10 +380,10 @@ void CDCCBounce::ReadLine(const CString& sData) { void CDCCBounce::ReachedMaxBuffer() { DEBUG(GetSockName() << " == ReachedMaxBuffer()"); - CString sType = (m_bIsChat) ? "Chat" : "Xfer"; + CString sType = m_bIsChat ? t_s("Chat", "type") : t_s("Xfer", "type"); - m_pModule->PutModule("DCC " + sType + " Bounce (" + m_sRemoteNick + - "): Too long line received"); + m_pModule->PutModule(t_f("DCC {1} Bounce ({2}): Too long line received")( + sType, m_sRemoteNick)); Close(); } @@ -410,58 +409,62 @@ void CDCCBounce::ReadPaused() { void CDCCBounce::Timeout() { DEBUG(GetSockName() << " == Timeout()"); - CString sType = (m_bIsChat) ? "Chat" : "Xfer"; + CString sType = m_bIsChat ? t_s("Chat", "type") : t_s("Xfer", "type"); if (IsRemote()) { CString sHost = Csock::GetHostName(); if (!sHost.empty()) { - sHost = " to [" + sHost + " " + CString(Csock::GetPort()) + "]"; + m_pModule->PutModule(t_f( + "DCC {1} Bounce ({2}): Timeout while connecting to {3} {4}")( + sType, m_sRemoteNick, sHost, Csock::GetPort())); } else { - sHost = "."; + m_pModule->PutModule( + t_f("DCC {1} Bounce ({2}): Timeout while connecting.")( + sType, m_sRemoteNick)); } - - m_pModule->PutModule("DCC " + sType + " Bounce (" + m_sRemoteNick + - "): Timeout while connecting" + sHost); } else { - m_pModule->PutModule("DCC " + sType + " Bounce (" + m_sRemoteNick + - "): Timeout waiting for incoming connection [" + - Csock::GetLocalIP() + ":" + - CString(Csock::GetLocalPort()) + "]"); + m_pModule->PutModule(t_f( + "DCC {1} Bounce ({2}): Timeout while waiting for incoming " + "connection on {3} {4}")(sType, m_sRemoteNick, Csock::GetLocalIP(), + Csock::GetLocalPort())); } } void CDCCBounce::ConnectionRefused() { DEBUG(GetSockName() << " == ConnectionRefused()"); - CString sType = (m_bIsChat) ? "Chat" : "Xfer"; + CString sType = m_bIsChat ? t_s("Chat", "type") : t_s("Xfer", "type"); CString sHost = Csock::GetHostName(); if (!sHost.empty()) { - sHost = " to [" + sHost + " " + CString(Csock::GetPort()) + "]"; + m_pModule->PutModule( + t_f("DCC {1} Bounce ({2}): Connection refused while connecting to " + "{3} {4}")(sType, m_sRemoteNick, sHost, Csock::GetPort())); } else { - sHost = "."; + m_pModule->PutModule( + t_f("DCC {1} Bounce ({2}): Connection refused while connecting.")( + sType, m_sRemoteNick)); } - - m_pModule->PutModule("DCC " + sType + " Bounce (" + m_sRemoteNick + - "): Connection Refused while connecting" + sHost); } void CDCCBounce::SockError(int iErrno, const CString& sDescription) { DEBUG(GetSockName() << " == SockError(" << iErrno << ")"); - CString sType = (m_bIsChat) ? "Chat" : "Xfer"; + CString sType = m_bIsChat ? t_s("Chat", "type") : t_s("Xfer", "type"); if (IsRemote()) { CString sHost = Csock::GetHostName(); if (!sHost.empty()) { - sHost = "[" + sHost + " " + CString(Csock::GetPort()) + "]"; + m_pModule->PutModule(t_f( + "DCC {1} Bounce ({2}): Socket error on {3} {4}: {5}")( + sType, m_sRemoteNick, sHost, Csock::GetPort(), sDescription)); + } else { + m_pModule->PutModule(t_f("DCC {1} Bounce ({2}): Socket error: {3}")( + sType, m_sRemoteNick, sDescription)); } - - m_pModule->PutModule("DCC " + sType + " Bounce (" + m_sRemoteNick + - "): Socket error [" + sDescription + "]" + sHost); } else { - m_pModule->PutModule("DCC " + sType + " Bounce (" + m_sRemoteNick + - "): Socket error [" + sDescription + "] [" + - Csock::GetLocalIP() + ":" + - CString(Csock::GetLocalPort()) + "]"); + m_pModule->PutModule( + t_f("DCC {1} Bounce ({2}): Socket error on {3} {4}: {5}")( + sType, m_sRemoteNick, Csock::GetLocalIP(), + Csock::GetLocalPort(), sDescription)); } } @@ -541,5 +544,5 @@ void TModInfo(CModInfo& Info) { } USERMODULEDEFS(CBounceDCCMod, - "Bounces DCC transfers through ZNC instead of sending them " - "directly to the user. ") + t_s("Bounces DCC transfers through ZNC instead of sending them " + "directly to the user. ")) diff --git a/modules/po/block_motd.pot b/modules/po/block_motd.pot new file mode 100644 index 00000000..1823bd73 --- /dev/null +++ b/modules/po/block_motd.pot @@ -0,0 +1,17 @@ +#: block_motd.cpp:26 +msgid "[]" +msgstr "" + +#: block_motd.cpp:27 +msgid "" +"Override the block with this command. Can optionally specify which server to " +"query." +msgstr "" + +#: block_motd.cpp:36 +msgid "You are not connected to an IRC Server." +msgstr "" + +#: block_motd.cpp:106 +msgid "Block the MOTD from IRC so it's not sent to your client(s)." +msgstr "" diff --git a/modules/po/blockuser.pot b/modules/po/blockuser.pot new file mode 100644 index 00000000..edf5519f --- /dev/null +++ b/modules/po/blockuser.pot @@ -0,0 +1,88 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: modules/po/../data/blockuser/tmpl/blockuser_WebadminUser.tmpl:8 +msgid "Account is blocked" +msgstr "" + +#: blockuser.cpp:23 +msgid "Your account has been disabled. Contact your administrator." +msgstr "" + +#: blockuser.cpp:29 +msgid "List blocked users" +msgstr "" + +#: blockuser.cpp:31 blockuser.cpp:33 +msgid "" +msgstr "" + +#: blockuser.cpp:31 +msgid "Block a user" +msgstr "" + +#: blockuser.cpp:33 +msgid "Unblock a user" +msgstr "" + +#: blockuser.cpp:55 +msgid "Could not block {1}" +msgstr "" + +#: blockuser.cpp:76 +msgid "Access denied" +msgstr "" + +#: blockuser.cpp:85 +msgid "No users are blocked" +msgstr "" + +#: blockuser.cpp:88 +msgid "Blocked users:" +msgstr "" + +#: blockuser.cpp:100 +msgid "Usage: Block " +msgstr "" + +#: blockuser.cpp:105 blockuser.cpp:147 +msgid "You can't block yourself" +msgstr "" + +#: blockuser.cpp:110 blockuser.cpp:152 +msgid "Blocked {1}" +msgstr "" + +#: blockuser.cpp:112 +msgid "Could not block {1} (misspelled?)" +msgstr "" + +#: blockuser.cpp:120 +msgid "Usage: Unblock " +msgstr "" + +#: blockuser.cpp:125 blockuser.cpp:161 +msgid "Unblocked {1}" +msgstr "" + +#: blockuser.cpp:127 +msgid "This user is not blocked" +msgstr "" + +#: blockuser.cpp:155 +msgid "Couldn't block {1}" +msgstr "" + +#: blockuser.cpp:164 +msgid "User {1} is not blocked" +msgstr "" + +#: blockuser.cpp:216 +msgid "Enter one or more user names. Separate them by spaces." +msgstr "" + +#: blockuser.cpp:219 +msgid "Block certain users from logging in." +msgstr "" diff --git a/modules/po/bouncedcc.pot b/modules/po/bouncedcc.pot new file mode 100644 index 00000000..246e5296 --- /dev/null +++ b/modules/po/bouncedcc.pot @@ -0,0 +1,117 @@ +#: bouncedcc.cpp:101 bouncedcc.cpp:119 bouncedcc.cpp:121 +msgctxt "list" +msgid "Type" +msgstr "" + +#: bouncedcc.cpp:102 bouncedcc.cpp:132 +msgctxt "list" +msgid "State" +msgstr "" + +#: bouncedcc.cpp:103 +msgctxt "list" +msgid "Speed" +msgstr "" + +#: bouncedcc.cpp:104 bouncedcc.cpp:115 +msgctxt "list" +msgid "Nick" +msgstr "" + +#: bouncedcc.cpp:105 bouncedcc.cpp:116 +msgctxt "list" +msgid "IP" +msgstr "" + +#: bouncedcc.cpp:106 bouncedcc.cpp:122 +msgctxt "list" +msgid "File" +msgstr "" + +#: bouncedcc.cpp:119 +msgctxt "list" +msgid "Chat" +msgstr "" + +#: bouncedcc.cpp:121 +msgctxt "list" +msgid "Xfer" +msgstr "" + +#: bouncedcc.cpp:125 +msgid "Waiting" +msgstr "" + +#: bouncedcc.cpp:127 +msgid "Halfway" +msgstr "" + +#: bouncedcc.cpp:129 +msgid "Connected" +msgstr "" + +#: bouncedcc.cpp:137 +msgid "You have no active DCCs." +msgstr "" + +#: bouncedcc.cpp:148 +msgid "Use client IP: {1}" +msgstr "" + +#: bouncedcc.cpp:153 +msgid "List all active DCCs" +msgstr "" + +#: bouncedcc.cpp:156 +msgid "Change the option to use IP of client" +msgstr "" + +#: bouncedcc.cpp:383 bouncedcc.cpp:412 bouncedcc.cpp:436 bouncedcc.cpp:451 +msgctxt "type" +msgid "Chat" +msgstr "" + +#: bouncedcc.cpp:383 bouncedcc.cpp:412 bouncedcc.cpp:436 bouncedcc.cpp:451 +msgctxt "type" +msgid "Xfer" +msgstr "" + +#: bouncedcc.cpp:385 +msgid "DCC {1} Bounce ({2}): Too long line received" +msgstr "" + +#: bouncedcc.cpp:418 +msgid "DCC {1} Bounce ({2}): Timeout while connecting to {3} {4}" +msgstr "" + +#: bouncedcc.cpp:422 +msgid "DCC {1} Bounce ({2}): Timeout while connecting." +msgstr "" + +#: bouncedcc.cpp:427 +msgid "" +"DCC {1} Bounce ({2}): Timeout while waiting for incoming connection on {3} " +"{4}" +msgstr "" + +#: bouncedcc.cpp:440 +msgid "DCC {1} Bounce ({2}): Connection refused while connecting to {3} {4}" +msgstr "" + +#: bouncedcc.cpp:444 +msgid "DCC {1} Bounce ({2}): Connection refused while connecting." +msgstr "" + +#: bouncedcc.cpp:457 bouncedcc.cpp:465 +msgid "DCC {1} Bounce ({2}): Socket error on {3} {4}: {5}" +msgstr "" + +#: bouncedcc.cpp:460 +msgid "DCC {1} Bounce ({2}): Socket error: {3}" +msgstr "" + +#: bouncedcc.cpp:547 +msgid "" +"Bounces DCC transfers through ZNC instead of sending them directly to the " +"user. " +msgstr "" diff --git a/modules/po/perleval.pot b/modules/po/perleval.pot index 31e49ae5..006408ff 100644 --- a/modules/po/perleval.pot +++ b/modules/po/perleval.pot @@ -1,17 +1,17 @@ -#: perleval.pm:8 +#: perleval.pm:23 msgid "Evaluates perl code" msgstr "" -#: perleval.pm:18 +#: perleval.pm:33 msgid "Only admin can load this module" msgstr "" -#: perleval.pm:29 +#: perleval.pm:44 #, perl-format msgid "Error: %s" msgstr "" -#: perleval.pm:31 +#: perleval.pm:46 #, perl-format msgid "Result: %s" msgstr "" diff --git a/modules/po/webadmin.pot b/modules/po/webadmin.pot index ad6b6a6b..574a973d 100644 --- a/modules/po/webadmin.pot +++ b/modules/po/webadmin.pot @@ -947,7 +947,7 @@ msgstr "" msgid "Are you sure you want to delete user “{1}”?" msgstr "" -#: webadmin.cpp:91 webadmin.cpp:1853 +#: webadmin.cpp:91 webadmin.cpp:1860 msgid "Global Settings" msgstr "" @@ -955,11 +955,11 @@ msgstr "" msgid "Your Settings" msgstr "" -#: webadmin.cpp:94 webadmin.cpp:1665 +#: webadmin.cpp:94 webadmin.cpp:1672 msgid "Traffic Info" msgstr "" -#: webadmin.cpp:97 webadmin.cpp:1644 +#: webadmin.cpp:97 webadmin.cpp:1651 msgid "Manage Users" msgstr "" @@ -975,7 +975,7 @@ msgstr "" msgid "Timeout can't be less than 30 seconds!" msgstr "" -#: webadmin.cpp:391 webadmin.cpp:419 webadmin.cpp:1169 webadmin.cpp:2035 +#: webadmin.cpp:391 webadmin.cpp:419 webadmin.cpp:1173 webadmin.cpp:2042 msgid "Unable to load module [{1}]: {2}" msgstr "" @@ -984,7 +984,7 @@ msgid "Unable to load module [{1}] with arguments [{2}]" msgstr "" #: webadmin.cpp:505 webadmin.cpp:609 webadmin.cpp:634 webadmin.cpp:656 -#: webadmin.cpp:690 webadmin.cpp:1236 +#: webadmin.cpp:690 webadmin.cpp:1240 msgid "No such user" msgstr "" @@ -1000,11 +1000,11 @@ msgstr "" msgid "Please don't delete yourself, suicide is not the answer!" msgstr "" -#: webadmin.cpp:699 webadmin.cpp:921 webadmin.cpp:1300 +#: webadmin.cpp:699 webadmin.cpp:955 webadmin.cpp:1305 msgid "Edit User [{1}]" msgstr "" -#: webadmin.cpp:703 webadmin.cpp:953 +#: webadmin.cpp:703 webadmin.cpp:881 msgid "Edit Network [{1}]" msgstr "" @@ -1024,7 +1024,7 @@ msgstr "" msgid "Add Channel" msgstr "" -#: webadmin.cpp:740 webadmin.cpp:1491 +#: webadmin.cpp:740 webadmin.cpp:1498 msgid "Auto Clear Chan Buffer" msgstr "" @@ -1056,130 +1056,130 @@ msgstr "" msgid "Channel was added/modified, but config file was not written" msgstr "" -#: webadmin.cpp:929 +#: webadmin.cpp:878 msgid "Edit Network [{1}] of User [{2}]" msgstr "" -#: webadmin.cpp:990 webadmin.cpp:1058 +#: webadmin.cpp:885 webadmin.cpp:1062 msgid "" "Network number limit reached. Ask an admin to increase the limit for you, or " "delete unneeded networks from Your Settings." msgstr "" -#: webadmin.cpp:998 +#: webadmin.cpp:893 msgid "Add Network for User [{1}]" msgstr "" -#: webadmin.cpp:1006 +#: webadmin.cpp:894 msgid "Add Network" msgstr "" -#: webadmin.cpp:1052 +#: webadmin.cpp:1056 msgid "Network name is a required argument" msgstr "" -#: webadmin.cpp:1176 webadmin.cpp:2042 +#: webadmin.cpp:1180 webadmin.cpp:2049 msgid "Unable to reload module [{1}]: {2}" msgstr "" -#: webadmin.cpp:1213 +#: webadmin.cpp:1217 msgid "Network was added/modified, but config file was not written" msgstr "" -#: webadmin.cpp:1242 +#: webadmin.cpp:1246 msgid "That network doesn't exist for this user" msgstr "" -#: webadmin.cpp:1259 +#: webadmin.cpp:1263 msgid "Network was deleted, but config file was not written" msgstr "" -#: webadmin.cpp:1273 +#: webadmin.cpp:1277 msgid "That channel doesn't exist for this network" msgstr "" -#: webadmin.cpp:1282 +#: webadmin.cpp:1286 msgid "Channel was deleted, but config file was not written" msgstr "" -#: webadmin.cpp:1308 +#: webadmin.cpp:1314 msgid "Clone User [{1}]" msgstr "" -#: webadmin.cpp:1493 +#: webadmin.cpp:1500 msgid "" "Automatically Clear Channel Buffer After Playback (the default value for new " "channels)" msgstr "" -#: webadmin.cpp:1503 +#: webadmin.cpp:1510 msgid "Multi Clients" msgstr "" -#: webadmin.cpp:1510 +#: webadmin.cpp:1517 msgid "Append Timestamps" msgstr "" -#: webadmin.cpp:1517 +#: webadmin.cpp:1524 msgid "Prepend Timestamps" msgstr "" -#: webadmin.cpp:1525 +#: webadmin.cpp:1532 msgid "Deny LoadMod" msgstr "" -#: webadmin.cpp:1532 +#: webadmin.cpp:1539 msgid "Admin" msgstr "" -#: webadmin.cpp:1542 +#: webadmin.cpp:1549 msgid "Deny SetBindHost" msgstr "" -#: webadmin.cpp:1550 +#: webadmin.cpp:1557 msgid "Auto Clear Query Buffer" msgstr "" -#: webadmin.cpp:1552 +#: webadmin.cpp:1559 msgid "Automatically Clear Query Buffer After Playback" msgstr "" -#: webadmin.cpp:1576 +#: webadmin.cpp:1583 msgid "Invalid Submission: User {1} already exists" msgstr "" -#: webadmin.cpp:1598 webadmin.cpp:1609 +#: webadmin.cpp:1605 webadmin.cpp:1616 msgid "Invalid submission: {1}" msgstr "" -#: webadmin.cpp:1604 +#: webadmin.cpp:1611 msgid "User was added, but config file was not written" msgstr "" -#: webadmin.cpp:1615 +#: webadmin.cpp:1622 msgid "User was edited, but config file was not written" msgstr "" -#: webadmin.cpp:1773 +#: webadmin.cpp:1780 msgid "Choose either IPv4 or IPv6 or both." msgstr "" -#: webadmin.cpp:1790 +#: webadmin.cpp:1797 msgid "Choose either IRC or HTTP or both." msgstr "" -#: webadmin.cpp:1803 webadmin.cpp:1839 +#: webadmin.cpp:1810 webadmin.cpp:1846 msgid "Port was changed, but config file was not written" msgstr "" -#: webadmin.cpp:1829 +#: webadmin.cpp:1836 msgid "Invalid request." msgstr "" -#: webadmin.cpp:1843 +#: webadmin.cpp:1850 msgid "The specified listener was not found." msgstr "" -#: webadmin.cpp:2071 +#: webadmin.cpp:2078 msgid "Settings were changed, but config file was not written" msgstr "" diff --git a/modules/po/webadmin.ru.po b/modules/po/webadmin.ru.po index 357e1fe2..7c651c4a 100644 --- a/modules/po/webadmin.ru.po +++ b/modules/po/webadmin.ru.po @@ -1011,7 +1011,7 @@ msgstr "Подтверждение удаления пользователя" msgid "Are you sure you want to delete user “{1}”?" msgstr "Вы действительно хотите удалить пользователя «{1}»?" -#: webadmin.cpp:91 webadmin.cpp:1853 +#: webadmin.cpp:91 webadmin.cpp:1860 msgid "Global Settings" msgstr "Глобальные настройки" @@ -1019,11 +1019,11 @@ msgstr "Глобальные настройки" msgid "Your Settings" msgstr "Мои настройки" -#: webadmin.cpp:94 webadmin.cpp:1665 +#: webadmin.cpp:94 webadmin.cpp:1672 msgid "Traffic Info" msgstr "Трафик" -#: webadmin.cpp:97 webadmin.cpp:1644 +#: webadmin.cpp:97 webadmin.cpp:1651 msgid "Manage Users" msgstr "Пользователи" @@ -1039,7 +1039,7 @@ msgstr "Ошибка: пароли не совпадают" msgid "Timeout can't be less than 30 seconds!" msgstr "" -#: webadmin.cpp:391 webadmin.cpp:419 webadmin.cpp:1169 webadmin.cpp:2035 +#: webadmin.cpp:391 webadmin.cpp:419 webadmin.cpp:1173 webadmin.cpp:2042 msgid "Unable to load module [{1}]: {2}" msgstr "Не могу загрузить модуль [{1}]: {2}" @@ -1048,7 +1048,7 @@ msgid "Unable to load module [{1}] with arguments [{2}]" msgstr "Не могу загрузить модуль [{1}] с аргументами [{2}]" #: webadmin.cpp:505 webadmin.cpp:609 webadmin.cpp:634 webadmin.cpp:656 -#: webadmin.cpp:690 webadmin.cpp:1236 +#: webadmin.cpp:690 webadmin.cpp:1240 msgid "No such user" msgstr "Нет такого пользователя" @@ -1064,11 +1064,11 @@ msgstr "Нет такого канала" msgid "Please don't delete yourself, suicide is not the answer!" msgstr "Пожалуйста, не удаляйте себя, самоубийство — не ответ!" -#: webadmin.cpp:699 webadmin.cpp:921 webadmin.cpp:1300 +#: webadmin.cpp:699 webadmin.cpp:955 webadmin.cpp:1305 msgid "Edit User [{1}]" msgstr "Пользователь [{1}]" -#: webadmin.cpp:703 webadmin.cpp:953 +#: webadmin.cpp:703 webadmin.cpp:881 msgid "Edit Network [{1}]" msgstr "Сеть [{1}]" @@ -1088,7 +1088,7 @@ msgstr "Новый канал для сети [{1}] пользователя [{2 msgid "Add Channel" msgstr "Новый канал" -#: webadmin.cpp:740 webadmin.cpp:1491 +#: webadmin.cpp:740 webadmin.cpp:1498 msgid "Auto Clear Chan Buffer" msgstr "Автоматически очищать буфер канала" @@ -1120,11 +1120,11 @@ msgstr "Не могу добавить канал [{1}]" msgid "Channel was added/modified, but config file was not written" msgstr "Канал добавлен/изменён, но записать конфигурацию в файл не удалось" -#: webadmin.cpp:929 +#: webadmin.cpp:878 msgid "Edit Network [{1}] of User [{2}]" msgstr "Сеть [{1}] пользователя [{2}]" -#: webadmin.cpp:990 webadmin.cpp:1058 +#: webadmin.cpp:885 webadmin.cpp:1062 msgid "" "Network number limit reached. Ask an admin to increase the limit for you, or " "delete unneeded networks from Your Settings." @@ -1132,47 +1132,47 @@ msgstr "" "Достигнуто ограничение на количество сетей. Попросите администратора поднять " "вам лимит или удалите ненужные сети в «Моих настройках»" -#: webadmin.cpp:998 +#: webadmin.cpp:893 msgid "Add Network for User [{1}]" msgstr "Новая сеть пользователя [{1}]" -#: webadmin.cpp:1006 +#: webadmin.cpp:894 msgid "Add Network" msgstr "Новая сеть" -#: webadmin.cpp:1052 +#: webadmin.cpp:1056 msgid "Network name is a required argument" msgstr "Необходимо имя сети" -#: webadmin.cpp:1176 webadmin.cpp:2042 +#: webadmin.cpp:1180 webadmin.cpp:2049 msgid "Unable to reload module [{1}]: {2}" msgstr "Не могу перегрузить модуль [{1}]: {2}" -#: webadmin.cpp:1213 +#: webadmin.cpp:1217 msgid "Network was added/modified, but config file was not written" msgstr "Сеть добавлена/изменена, но записать конфигурацию в файл не удалось" -#: webadmin.cpp:1242 +#: webadmin.cpp:1246 msgid "That network doesn't exist for this user" msgstr "У этого пользователя нет такой сети" -#: webadmin.cpp:1259 +#: webadmin.cpp:1263 msgid "Network was deleted, but config file was not written" msgstr "Сеть удалена, но записать конфигурацию в файл не удалось" -#: webadmin.cpp:1273 +#: webadmin.cpp:1277 msgid "That channel doesn't exist for this network" msgstr "В этой сети нет такого канала" -#: webadmin.cpp:1282 +#: webadmin.cpp:1286 msgid "Channel was deleted, but config file was not written" msgstr "Канал удалён, но записать конфигурацию в файл не удалось" -#: webadmin.cpp:1308 +#: webadmin.cpp:1314 msgid "Clone User [{1}]" msgstr "Клон пользователя [{1}]" -#: webadmin.cpp:1493 +#: webadmin.cpp:1500 msgid "" "Automatically Clear Channel Buffer After Playback (the default value for new " "channels)" @@ -1180,74 +1180,74 @@ msgstr "" "Автоматически очищать буфер канала после воспроизведения (значение по " "умолчанию для новых каналов)" -#: webadmin.cpp:1503 +#: webadmin.cpp:1510 msgid "Multi Clients" msgstr "Много клиентов" -#: webadmin.cpp:1510 +#: webadmin.cpp:1517 msgid "Append Timestamps" msgstr "Метка времени в конце" -#: webadmin.cpp:1517 +#: webadmin.cpp:1524 msgid "Prepend Timestamps" msgstr "Метка времени в начале" -#: webadmin.cpp:1525 +#: webadmin.cpp:1532 msgid "Deny LoadMod" msgstr "Запрет загрузки модулей" -#: webadmin.cpp:1532 +#: webadmin.cpp:1539 msgid "Admin" msgstr "Администратор" -#: webadmin.cpp:1542 +#: webadmin.cpp:1549 msgid "Deny SetBindHost" msgstr "Запрет смены хоста" -#: webadmin.cpp:1550 +#: webadmin.cpp:1557 msgid "Auto Clear Query Buffer" msgstr "Автоматически очищать буфер личных сообщений" -#: webadmin.cpp:1552 +#: webadmin.cpp:1559 msgid "Automatically Clear Query Buffer After Playback" msgstr "Автоматически очищать буфер личных сообщений после воспроизведения" -#: webadmin.cpp:1576 +#: webadmin.cpp:1583 msgid "Invalid Submission: User {1} already exists" msgstr "Ошибка: пользователь {1} уже существует" -#: webadmin.cpp:1598 webadmin.cpp:1609 +#: webadmin.cpp:1605 webadmin.cpp:1616 msgid "Invalid submission: {1}" msgstr "Ошибка: {1}" -#: webadmin.cpp:1604 +#: webadmin.cpp:1611 msgid "User was added, but config file was not written" msgstr "Пользователь добавлен, но записать конфигурацию в файл не удалось" -#: webadmin.cpp:1615 +#: webadmin.cpp:1622 msgid "User was edited, but config file was not written" msgstr "Пользователь изменён, но записать конфигурацию в файл не удалось" -#: webadmin.cpp:1773 +#: webadmin.cpp:1780 msgid "Choose either IPv4 or IPv6 or both." msgstr "Выберите IPv4, IPv6 или и то, и другое." -#: webadmin.cpp:1790 +#: webadmin.cpp:1797 msgid "Choose either IRC or HTTP or both." msgstr "Выберите IRC, HTTP или и то, и другое." -#: webadmin.cpp:1803 webadmin.cpp:1839 +#: webadmin.cpp:1810 webadmin.cpp:1846 msgid "Port was changed, but config file was not written" msgstr "Порт изменён, но записать конфигурацию в файл не удалось" -#: webadmin.cpp:1829 +#: webadmin.cpp:1836 msgid "Invalid request." msgstr "Некорректный запрос." -#: webadmin.cpp:1843 +#: webadmin.cpp:1850 msgid "The specified listener was not found." msgstr "Указанный порт не найден." -#: webadmin.cpp:2071 +#: webadmin.cpp:2078 msgid "Settings were changed, but config file was not written" msgstr "Настройки изменены, но записать конфигурацию в файл не удалось"