Lines 88-93
static bool loadTsFile(Translator &tor,
Link Here
|
88 |
bool ok = tor.load(tsFileName, cd, QLatin1String("auto")); |
88 |
bool ok = tor.load(tsFileName, cd, QLatin1String("auto")); |
89 |
if (!ok) { |
89 |
if (!ok) { |
90 |
qWarning("lrelease error: %s\n", qPrintable(cd.error())); |
90 |
qWarning("lrelease error: %s\n", qPrintable(cd.error())); |
|
|
91 |
// dont fail |
92 |
ok = true; |
91 |
} else { |
93 |
} else { |
92 |
if (!cd.errors().isEmpty()) |
94 |
if (!cd.errors().isEmpty()) |
93 |
printOut(cd.error()); |
95 |
printOut(cd.error()); |
Lines 102-108
static bool loadTsFile(Translator &tor,
Link Here
|
102 |
if (!msg.comment().isEmpty()) |
104 |
if (!msg.comment().isEmpty()) |
103 |
qWarning("\n* Comment: %s", qPrintable(msg.comment())); |
105 |
qWarning("\n* Comment: %s", qPrintable(msg.comment())); |
104 |
} |
106 |
} |
105 |
ok = false; |
107 |
// dont fail |
|
|
108 |
//ok = false; |
106 |
} |
109 |
} |
107 |
} |
110 |
} |
108 |
return ok; |
111 |
return ok; |