some phrases changed, limit on last crash report reading added

This commit is contained in:
John Preston 2016-03-11 22:10:56 +03:00
parent c289c6c6eb
commit abc0d03eb3
2 changed files with 5 additions and 5 deletions

View File

@ -484,9 +484,9 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
"lng_create_private_channel_title" = "Private Channel";
"lng_create_private_channel_about" = "Only people with a special invite link may join";
"lng_create_public_group_title" = "Public Group";
"lng_create_public_group_about" = "Anyone can find the group in search and join, all chat history is available to everybody";
"lng_create_public_group_about" = "Anyone can find the group in search and join, chat history is available to everybody";
"lng_create_private_group_title" = "Private Group";
"lng_create_private_group_about" = "Only invited people may join and see the chat history";
"lng_create_private_group_about" = "People can only join if they were invited or have an invite link";
"lng_create_channel_comments" = "Enable Comments";
"lng_create_channel_comments_about" = "If you enable comments, members will be able to discuss your posts in the channel";
"lng_create_group_skip" = "Skip";

View File

@ -938,9 +938,9 @@ namespace SignalHandlers {
if (FILE *f = fopen(QFile::encodeName(CrashDumpPath).constData(), "rb")) {
#endif
QByteArray lastdump;
char buffer[64 * 1024] = { 0 };
int32 read = 0;
while ((read = fread(buffer, 1, 64 * 1024, f)) > 0) {
char buffer[256 * 1024] = { 0 };
int32 read = fread(buffer, 1, 256 * 1024, f);
if (read > 0) {
lastdump.append(buffer, read);
}
fclose(f);