2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

langs updated

This commit is contained in:
John Preston
2015-09-09 18:17:20 +03:00
parent 0a80ef0006
commit f6740f6c9e
4 changed files with 10 additions and 9 deletions

View File

@@ -823,7 +823,7 @@ bool MainWidget::addParticipantFail(UserData *user, const RPCError &error) {
} else if (error.type() == "USER_ALREADY_PARTICIPANT" && user->botInfo) {
text = lang(lng_bot_already_in_group);
} else if (error.type() == "PEER_FLOOD") {
text = lang(lng_cant_invite_not_contact);
text = lng_cant_invite_not_contact(lt_more_info, QString());
}
App::wnd()->showLayer(new ConfirmBox(text, true));
return false;
@@ -900,7 +900,7 @@ bool MainWidget::sendMessageFail(const RPCError &error) {
if (mtpIsFlood(error)) return false;
if (error.type() == qsl("PEER_FLOOD")) {
App::wnd()->showLayer(new ConfirmBox(lang(lng_cant_send_to_not_contact), true));
App::wnd()->showLayer(new ConfirmBox(lng_cant_send_to_not_contact(lt_more_info, QString()), true));
return true;
}
return false;