summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-06-19 17:24:54 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-06-19 17:24:54 (GMT)
commit51316ea8204de0cfc80616c028e13376faae1d3a (patch)
treef2ca3b1140ab1ac996193b622c7e37e49d4258cf
parent699860c8cd7f145d294a59a9b8848a044bd69511 (diff)
downloadDoxygen-51316ea8204de0cfc80616c028e13376faae1d3a.zip
Doxygen-51316ea8204de0cfc80616c028e13376faae1d3a.tar.gz
Doxygen-51316ea8204de0cfc80616c028e13376faae1d3a.tar.bz2
Setting correct babel packages for some languages
Setting the correct babel language packages so the words like "Chapter" are automatically translated into the right language.
-rw-r--r--src/translator_sc.h2
-rw-r--r--src/translator_tr.h2
-rw-r--r--src/translator_za.h4
3 files changed, 3 insertions, 5 deletions
diff --git a/src/translator_sc.h b/src/translator_sc.h
index e8191df..b117a80 100644
--- a/src/translator_sc.h
+++ b/src/translator_sc.h
@@ -72,7 +72,7 @@ class TranslatorSerbianCyrillic : public TranslatorAdapter_1_6_0
virtual QCString latexLanguageSupportCommand()
{
return "\\usepackage[T2A]{fontenc}\n"
- "\\usepackage[russian]{babel}\n";
+ "\\usepackage[serbianc]{babel}\n";
}
virtual QCString latexFontenc()
{
diff --git a/src/translator_tr.h b/src/translator_tr.h
index d18f800..3687f5b 100644
--- a/src/translator_tr.h
+++ b/src/translator_tr.h
@@ -71,7 +71,7 @@ class TranslatorTurkish : public TranslatorAdapter_1_7_5
*/
virtual QCString latexLanguageSupportCommand()
{
- return "";
+ return "\\usepackage[turkish]{babel}\n";
}
// --- Language translation methods -------------------
diff --git a/src/translator_za.h b/src/translator_za.h
index dd5ddf9..3329384 100644
--- a/src/translator_za.h
+++ b/src/translator_za.h
@@ -57,9 +57,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
*/
virtual QCString latexLanguageSupportCommand()
{
- //should we use return "\\usepackage[afrikaans]{babel}\n";
- // not sure - for now return an empty string
- return "";
+ return "\\usepackage[afrikaans]{babel}\n";
}
// --- Language translation methods -------------------