diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 822866e1c..601536418 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -135,7 +135,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org "lng_server_error" = "Internal server error."; "lng_flood_error" = "Too many tries. Please try again later."; -"lng_gif_error" = "An error has occured while reading GIF animation :("; +"lng_gif_error" = "An error has occurred while reading GIF animation :("; "lng_edit_error" = "You cannot edit this message"; "lng_join_channel_error" = "Sorry, you have joined too many channels and supergroups. Please leave some before joining."; "lng_error_phone_flood" = "Sorry, you have deleted and re-created your account too many times recently. Please wait for a few days before signing up again."; diff --git a/Telegram/SourceFiles/calls/calls_instance.cpp b/Telegram/SourceFiles/calls/calls_instance.cpp index 6f1230ddd..0b120e5f4 100644 --- a/Telegram/SourceFiles/calls/calls_instance.cpp +++ b/Telegram/SourceFiles/calls/calls_instance.cpp @@ -195,7 +195,7 @@ void Instance::refreshServerConfig() { auto error = QJsonParseError { 0, QJsonParseError::NoError }; auto document = QJsonDocument::fromJson(QByteArray::fromRawData(reinterpret_cast(bytes.data()), bytes.size()), &error); if (error.error != QJsonParseError::NoError) { - LOG(("API Error: Faild to parse call config JSON, error: %1").arg(error.errorString())); + LOG(("API Error: Failed to parse call config JSON, error: %1").arg(error.errorString())); return; } else if (!document.isObject()) { LOG(("API Error: Not an object received in call config JSON.")); diff --git a/Telegram/SourceFiles/mainwindow.cpp b/Telegram/SourceFiles/mainwindow.cpp index 82148320a..cb6cea686 100644 --- a/Telegram/SourceFiles/mainwindow.cpp +++ b/Telegram/SourceFiles/mainwindow.cpp @@ -589,7 +589,7 @@ bool MainWindow::eventFilter(QObject *object, QEvent *e) { return true; case QEvent::Shortcut: - DEBUG_LOG(("Shortcut event catched: %1").arg(static_cast(e)->key().toString())); + DEBUG_LOG(("Shortcut event caught: %1").arg(static_cast(e)->key().toString())); if (Shortcuts::launch(static_cast(e)->shortcutId())) { return true; } diff --git a/Telegram/SourceFiles/mtproto/special_config_request.cpp b/Telegram/SourceFiles/mtproto/special_config_request.cpp index 92c4b9250..1d449940c 100644 --- a/Telegram/SourceFiles/mtproto/special_config_request.cpp +++ b/Telegram/SourceFiles/mtproto/special_config_request.cpp @@ -96,7 +96,7 @@ void SpecialConfigRequest::dnsFinished() { auto error = QJsonParseError { 0, QJsonParseError::NoError }; auto document = QJsonDocument::fromJson(result, &error); if (error.error != QJsonParseError::NoError) { - LOG(("Config Error: Faild to parse dns response JSON, error: %1").arg(error.errorString())); + LOG(("Config Error: Failed to parse dns response JSON, error: %1").arg(error.errorString())); } else if (!document.isObject()) { LOG(("Config Error: Not an object received in dns response JSON.")); } else {