Add framework for translating ZNC to different languages

This commit is contained in:
Alexey Sokolov committed 2016-01-31 20:09:19 +00:00
1 parent 10785ee90e
commit 8eeeaf71a0
26 files changed
+797 -54

No files matched your search

+1
View File
@@ -94,6 +94,7 @@ void CClient::SendRequiredPasswordNotice() {
}
void CClient::ReadLine(const CString& sData) {
CLanguageScope user_lang(GetUser() ? GetUser()->GetLanguage() : "");
CString sLine = sData;
sLine.TrimRight("\n\r");