summaryrefslogtreecommitdiffstats
path: root/src/translator_pl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_pl.h')
-rw-r--r--src/translator_pl.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/translator_pl.h b/src/translator_pl.h
index 69c4829..71af4c8 100644
--- a/src/translator_pl.h
+++ b/src/translator_pl.h
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2006 by Dimitri van Heesch.
+ * Copyright (C) 1997-2007 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -26,14 +26,14 @@ class TranslatorPolish : public TranslatorAdapter_1_4_6
/*! to avoid macro redefinition from translator_pl.h */
inline QCString decode(const QCString& sInput)
{
- if (Config_getBool("USE_WINDOWS_ENCODING"))
- {
- return ISO88592ToWin1250(sInput);
- }
- else
- {
+ //if (Config_getBool("USE_WINDOWS_ENCODING"))
+ //{
+ // return ISO88592ToWin1250(sInput);
+ //}
+ //else
+ //{
return sInput;
- }
+ //}
}
public:
@@ -55,20 +55,21 @@ class TranslatorPolish : public TranslatorAdapter_1_4_6
*/
QCString latexLanguageSupportCommand()
{
- return "\\usepackage{polski} \\usepackage[latin2]{inputenc} \\usepackage[T1]{fontenc}";
+ return "\\usepackage{polski}\n"
+ "\\usepackage[T1]{fontenc}\n";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
- if (Config_getBool("USE_WINDOWS_ENCODING"))
- {
- return "windows-1250";
- }
- else
- {
+ //if (Config_getBool("USE_WINDOWS_ENCODING"))
+ //{
+ // return "windows-1250";
+ //}
+ //else
+ //{
return "iso-8859-2";
- }
+ //}
}
// --- Language translation methods -------------------