summaryrefslogtreecommitdiffstats
path: root/src/translator_ru.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-02-19 18:51:10 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-02-19 18:51:10 (GMT)
commitf7f03d9491454ddc9b855b8637d482df6bd622c2 (patch)
treec87efff649bf31ee31966a867e71ba7f159fca43 /src/translator_ru.h
parent1c80138e2c47e9c608b56c32b5677fa6a46b4d6f (diff)
downloadDoxygen-f7f03d9491454ddc9b855b8637d482df6bd622c2.zip
Doxygen-f7f03d9491454ddc9b855b8637d482df6bd622c2.tar.gz
Doxygen-f7f03d9491454ddc9b855b8637d482df6bd622c2.tar.bz2
Release-1.5.1-20070219
Diffstat (limited to 'src/translator_ru.h')
-rw-r--r--src/translator_ru.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/translator_ru.h b/src/translator_ru.h
index d4df826..0921549 100644
--- a/src/translator_ru.h
+++ b/src/translator_ru.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
@@ -57,14 +57,14 @@ class TranslatorRussian : public Translator
*/
inline QCString decode(const QCString & sInput)
{
- if (Config_getBool("USE_WINDOWS_ENCODING"))
- {
- return Koi8RToWindows1251(sInput);
- }
- else
- {
+ //if (Config_getBool("USE_WINDOWS_ENCODING"))
+ //{
+ // return Koi8RToWindows1251(sInput);
+ //}
+ //else
+ //{
return sInput;
- }
+ //}
}
public:
@@ -75,27 +75,27 @@ class TranslatorRussian : public Translator
/* Used to get the command(s) for the language support. */
virtual QCString latexLanguageSupportCommand()
{
- if (Config_getBool("USE_WINDOWS_ENCODING"))
- {
- return "\\usepackage[cp1251]{inputenc}\n\\usepackage[russian]{babel}\n";
- }
- else
- {
- return "\\usepackage[koi8-r]{inputenc}\n\\usepackage[russian]{babel}\n";
- }
+ //if (Config_getBool("USE_WINDOWS_ENCODING"))
+ //{
+ // return "\\usepackage[cp1251]{inputenc}\n\\usepackage[russian]{babel}\n";
+ //}
+ //else
+ //{
+ return "\\usepackage[T2A]{fontenc}\n\\usepackage[russian]{babel}\n";
+ //}
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
- if (Config_getBool("USE_WINDOWS_ENCODING"))
- {
- return "Windows-1251";
- }
- else
- {
+ //if (Config_getBool("USE_WINDOWS_ENCODING"))
+ //{
+ // return "Windows-1251";
+ //}
+ //else
+ //{
return "koi8-r";
- }
+ //}
}
// --- Language translation methods -------------------