mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix little bit the garbled output for translators.
This commit is contained in:
parent
4cf47b26b9
commit
4ad98b9491
@ -49,14 +49,12 @@ static QString credits()
|
|||||||
|
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
out << qt_("ERROR: LyX wasn't able to find the CREDITS file\n");
|
out << qt_("ERROR: LyX wasn't able to find the CREDITS file\n");
|
||||||
out << qt_("Please install correctly to estimate the great\n");
|
out << qt_("Please install correctly to estimate the great\namount of work other people have done for the LyX project.");
|
||||||
out << qt_("amount of work other people have done for the LyX project.");
|
|
||||||
} else {
|
} else {
|
||||||
file.open(QIODevice::ReadOnly);
|
file.open(QIODevice::ReadOnly);
|
||||||
if (!file.isReadable()) {
|
if (!file.isReadable()) {
|
||||||
out << qt_("ERROR: LyX wasn't able to read the CREDITS file\n");
|
out << qt_("ERROR: LyX wasn't able to read the CREDITS file\n");
|
||||||
out << qt_("Please install correctly to estimate the great\n");
|
out << qt_("Please install correctly to estimate the great\namount of work other people have done for the LyX project.");
|
||||||
out << qt_("amount of work other people have done for the LyX project.");
|
|
||||||
} else {
|
} else {
|
||||||
QTextStream ts(&file);
|
QTextStream ts(&file);
|
||||||
ts.setCodec("UTF-8");
|
ts.setCodec("UTF-8");
|
||||||
@ -91,14 +89,12 @@ static QString release_notes()
|
|||||||
|
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
out << qt_("ERROR: LyX wasn't able to find the RELEASE-NOTES file\n");
|
out << qt_("ERROR: LyX wasn't able to find the RELEASE-NOTES file\n");
|
||||||
out << qt_("Please install correctly to see what has changed\n");
|
out << qt_("Please install correctly to see what has changed\nfor this version of LyX.");
|
||||||
out << qt_("for this version of LyX.");
|
|
||||||
} else {
|
} else {
|
||||||
file.open(QIODevice::ReadOnly);
|
file.open(QIODevice::ReadOnly);
|
||||||
if (!file.isReadable()) {
|
if (!file.isReadable()) {
|
||||||
out << qt_("ERROR: LyX wasn't able to read the RELEASE-NOTES file\n");
|
out << qt_("ERROR: LyX wasn't able to read the RELEASE-NOTES file\n");
|
||||||
out << qt_("Please install correctly to see what has changed\n");
|
out << qt_("Please install correctly to see what has changed\nfor this version of LyX.");
|
||||||
out << qt_("for this version of LyX.");
|
|
||||||
} else {
|
} else {
|
||||||
QTextStream ts(&file);
|
QTextStream ts(&file);
|
||||||
ts.setCodec("UTF-8");
|
ts.setCodec("UTF-8");
|
||||||
|
Loading…
Reference in New Issue
Block a user