diff options
author | Robert Loehning <robert.loehning@qt.io> | 2019-03-11 14:54:31 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2019-03-11 17:21:54 +0000 |
commit | 10b3da5d3491c7b68fa31509a50ee896d082d24e (patch) | |
tree | e7c6fdf85b91b7fcee513a6ace0fafc59a8979b1 /src/plugins/pythoneditor/pythoneditorplugin.cpp | |
parent | 694c895ae499ed12bca0ace91278a8afbe81cfe9 (diff) | |
download | qt-creator-10b3da5d3491c7b68fa31509a50ee896d082d24e.tar.gz |
PythonEditor: Fix strings
Change-Id: Ib48c5b7c5cc56ac8bfe1d0641d595e680faf62e7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index 1d6af67381..c8fbe192c7 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -364,7 +364,7 @@ static QStringList readLinesJson(const Utils::FileName &projectFile, // This assumes te project file is formed with only one field called // 'files' that has a list associated of the files to include in the project. if (content.isEmpty()) { - *errorMessage = PythonProject::tr("Unable read \"%1\": The file is empty.") + *errorMessage = PythonProject::tr("Unable to read \"%1\": The file is empty.") .arg(projectFile.toUserOutput()); return lines; } @@ -373,7 +373,7 @@ static QStringList readLinesJson(const Utils::FileName &projectFile, const QJsonDocument doc = QJsonDocument::fromJson(content, &error); if (doc.isNull()) { const int line = content.left(error.offset).count('\n') + 1; - *errorMessage = PythonProject::tr("Unable parse %1:%2: %3") + *errorMessage = PythonProject::tr("Unable to parse \"%1\":%2: %3") .arg(projectFile.toUserOutput()).arg(line) .arg(error.errorString()); return lines; |