summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
commit17ee30b327bf4f07f2411a50a46f5467456beacf (patch)
treeffd092e761289b417363c0562ceb9b93b88f19a4 /src/dot.cpp
parent0039b4f79ad7e628dcab61e1d82f26fb8fa11cfe (diff)
downloadDoxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.zip
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.gz
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.bz2
Release-1.8.0-20120408
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index e178ef1..5a1c52c 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1595,8 +1595,7 @@ static void writeBoxMemberList(FTextStream &t,
static int limit = Config_getInt("UML_LIMIT_NUM_FIELDS");
if (limit==0 || (totalCount>=limit*3/2 && count>=limit))
{
- t << "and " << (totalCount-count-1) << " more...";
- // TODO: TRANSLATE ME
+ t << theTranslator->trAndMore(QCString().sprintf("%d",totalCount-count-1));
break;
}
else
@@ -2959,7 +2958,7 @@ QCString DotClassGraph::writeGraph(FTextStream &out,
// derive target file names from baseName
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT");
- QCString absBaseName = QCString(d.absPath())+"/"+baseName;
+ QCString absBaseName = d.absPath().utf8()+"/"+baseName;
QCString absDotName = absBaseName+".dot";
QCString absMapName = absBaseName+".map";
QCString absPdfName = absBaseName+".pdf";
@@ -3279,7 +3278,7 @@ QCString DotInclDepGraph::writeGraph(FTextStream &out,
if (m_inverse) mapName+="dep";
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT");
- QCString absBaseName = QCString(d.absPath())+"/"+baseName;
+ QCString absBaseName = d.absPath().utf8()+"/"+baseName;
QCString absDotName = absBaseName+".dot";
QCString absMapName = absBaseName+".map";
QCString absPdfName = absBaseName+".pdf";
@@ -3568,7 +3567,7 @@ QCString DotCallGraph::writeGraph(FTextStream &out, GraphOutputFormat format,
QCString mapName = baseName;
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT");
- QCString absBaseName = QCString(d.absPath())+"/"+baseName;
+ QCString absBaseName = d.absPath().utf8()+"/"+baseName;
QCString absDotName = absBaseName+".dot";
QCString absMapName = absBaseName+".map";
QCString absPdfName = absBaseName+".pdf";
@@ -3705,7 +3704,7 @@ QCString DotDirDeps::writeGraph(FTextStream &out,
QCString mapName=escapeCharsInString(baseName,FALSE);
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT");
- QCString absBaseName = QCString(d.absPath())+"/"+baseName;
+ QCString absBaseName = d.absPath().utf8()+"/"+baseName;
QCString absDotName = absBaseName+".dot";
QCString absMapName = absBaseName+".map";
QCString absPdfName = absBaseName+".pdf";
@@ -3903,8 +3902,8 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir,
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT");
QCString imgName = (QCString)outFile+"."+imgExt;
- QCString absImgName = QCString(d.absPath())+"/"+imgName;
- QCString absOutFile = QCString(d.absPath())+"/"+outFile;
+ QCString absImgName = d.absPath().utf8()+"/"+imgName;
+ QCString absOutFile = d.absPath().utf8()+"/"+outFile;
DotRunner dotRun(inFile,d.absPath().data(),FALSE,absImgName);
if (format==BITMAP)
@@ -3958,7 +3957,7 @@ void writeDotImageMapFromFile(FTextStream &t,
QCString mapName = baseName+".map";
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT");
QCString imgName = baseName+"."+imgExt;
- QCString absOutFile = QCString(d.absPath())+"/"+mapName;
+ QCString absOutFile = d.absPath().utf8()+"/"+mapName;
DotRunner dotRun(inFile,d.absPath().data(),FALSE);
dotRun.addJob(MAP_CMD,absOutFile);