DEVTOOLS: Increase buffer sizes for create_translations

The new Android startup explanations are bigger than 2kb in UTF8
This commit is contained in:
Eugene Sandulenko 2023-02-12 23:43:38 +01:00
parent df51d5f6c9
commit d9ee314a8b
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -259,8 +259,8 @@ PoMessageEntryList *parsePoFile(const char *file, PoMessageList& messages) {
if (!inFile)
return nullptr;
char msgidBuf[2048], msgctxtBuf[2048], msgstrBuf[2048];
char line[2048], *currentBuf = msgstrBuf;
char msgidBuf[20480], msgctxtBuf[20480], msgstrBuf[20480];
char line[20480], *currentBuf = msgstrBuf;
// Get language from file name and create PoMessageEntryList
int index = 0, start_index = strlen(file) - 1;