summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index e176192..e21e7d8 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -390,21 +390,20 @@ void LatexGenerator::writeHeaderFile(QFile &f)
void LatexGenerator::writeStyleSheetFile(QFile &f)
{
QTextStream t(&f);
+#if QT_VERSION >= 200
+ t.setEncoding(QTextStream::Latin1);
+#endif
+
writeDefaultStyleSheetPart1(t);
QCString &projectName = Config_getString("PROJECT_NAME");
- t << "Generated at " << dateToString(TRUE);
- if (projectName.isEmpty())
- {
- t << " for " << projectName << " ";
- }
- t << "by doxygen written by Dimitri van Heesch \\copyright~1997-2001";
+
+ t << theTranslator->trGeneratedAt( dateToString(TRUE), projectName );
+ t << " doxygen " << theTranslator->trWrittenBy() << " ";
+ t << "Dimitri van Heesch \\copyright~1997-2001";
writeDefaultStyleSheetPart2(t);
- t << "Generated at " << dateToString(TRUE);
- if (projectName.isEmpty())
- {
- t << " for " << projectName << " ";
- }
- t << "by doxygen written by Dimitri van Heesch \\copyright~1997-2001";
+ t << theTranslator->trGeneratedAt( dateToString(TRUE), projectName );
+ t << " doxygen " << theTranslator->trWrittenBy() << " ";
+ t << "Dimitri van Heesch \\copyright~1997-2001";
writeDefaultStyleSheetPart3(t);
}
@@ -1096,8 +1095,8 @@ void LatexGenerator::endMemberDoc()
if (Config_getBool("COMPACT_LATEX")) t << "\\hfill";
}
-void LatexGenerator::startDoxyAnchor(const char *fName,const char *anchor,
- const char *)
+void LatexGenerator::startDoxyAnchor(const char *fName,const char *,
+ const char *anchor, const char *)
{
if (Config_getBool("PDF_HYPERLINKS"))
{