mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-20 22:04:13 +02:00
concat QString with '%'
This commit is contained in:
@@ -1126,7 +1126,7 @@ ElementsLocation QETProject::importElement(ElementsLocation &location)
|
||||
//Get the path where the element must be imported
|
||||
QString import_path;
|
||||
if (location.isFileSystem()) {
|
||||
import_path = "import/" + location.collectionPath(false);
|
||||
import_path = "import/" % location.collectionPath(false);
|
||||
}
|
||||
else if (location.isProject()) {
|
||||
if (location.project() == this) {
|
||||
@@ -1391,7 +1391,7 @@ void QETProject::readProjectXml(QDomDocument &xml_project)
|
||||
"\n qui est ultérieure à votre version !"
|
||||
" \n"
|
||||
"Vous utilisez actuellement QElectroTech en version %2")
|
||||
.arg(root_elmt.attribute(QStringLiteral("version")), QetVersion::currentVersion().toString() +
|
||||
.arg(root_elmt.attribute(QStringLiteral("version")), QetVersion::currentVersion().toString() %
|
||||
tr(".\n Il est alors possible que l'ouverture de tout ou partie de ce "
|
||||
"document échoue.\n"
|
||||
"Que désirez vous faire ?"),
|
||||
@@ -1415,7 +1415,7 @@ void QETProject::readProjectXml(QDomDocument &xml_project)
|
||||
tr("Avertissement ", "message box title"),
|
||||
tr("Le projet que vous tentez d'ouvrir est partiellement "
|
||||
"compatible avec votre version %1 de QElectroTech.\n")
|
||||
.arg(QetVersion::currentVersion().toString()) +
|
||||
.arg(QetVersion::currentVersion().toString()) %
|
||||
tr("Afin de le rendre totalement compatible veuillez ouvrir ce même projet "
|
||||
"avec la version 0.8, ou 0.80 de QElectroTech et sauvegarder le projet "
|
||||
"et l'ouvrir à nouveau avec cette version.\n"
|
||||
|
||||
Reference in New Issue
Block a user