mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
correct some English comments
This commit is contained in:
parent
acb4b21070
commit
07c6ac6c9f
@ -623,7 +623,7 @@ NamesList ElementsLocation::nameList()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Open the qet_directory file,
|
//Open the qet_directory file,
|
||||||
// to get the traductions name of this dir
|
// to get the translated name of this dir
|
||||||
QFile dir_conf(fileSystemPath() % "/qet_directory");
|
QFile dir_conf(fileSystemPath() % "/qet_directory");
|
||||||
if (dir_conf.exists() && dir_conf.open(
|
if (dir_conf.exists() && dir_conf.open(
|
||||||
QIODevice::ReadOnly
|
QIODevice::ReadOnly
|
||||||
|
@ -182,7 +182,7 @@ QDomElement QETXML::fileSystemDirToXmlCollectionDir(
|
|||||||
QDomElement dir_element = document.createElement("category");
|
QDomElement dir_element = document.createElement("category");
|
||||||
dir_element.setAttribute("name", rename.isNull()? dir.dirName() : rename);
|
dir_element.setAttribute("name", rename.isNull()? dir.dirName() : rename);
|
||||||
|
|
||||||
//Get the traduction of this directory
|
//Get the translation of this directory
|
||||||
QFile qet_dir(dir.filePath("qet_directory"));
|
QFile qet_dir(dir.filePath("qet_directory"));
|
||||||
if (qet_dir.exists() && qet_dir.open(
|
if (qet_dir.exists() && qet_dir.open(
|
||||||
QIODevice::ReadOnly
|
QIODevice::ReadOnly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user