diff options
Diffstat (limited to 'src/translator_dk.h')
-rw-r--r-- | src/translator_dk.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/translator_dk.h b/src/translator_dk.h index 70e9032..fa1db9a 100644 --- a/src/translator_dk.h +++ b/src/translator_dk.h @@ -119,6 +119,11 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 "\\usepackage[danish]{babel}\n"; } + virtual QCString trISOLang() + { + return "da"; + } + // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ @@ -279,6 +284,8 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Her er datastrukturerne med korte beskrivelser:"; + } else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE)) { + return "Her er klasserne med korte beskrivelser:"; } else { return "Her er klasserne, datastrukturerne, " "unionerne og grænsefladerne med korte beskrivelser:"; @@ -1766,6 +1773,7 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 } + /*---------- For internal use: ----------------------------------------*/ protected: /*! For easy flexible-noun implementation. @@ -1775,7 +1783,7 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0 const char* base, const char* plurSuffix) { QCString result(base); - if (first_capital) result.at(0) = toupper(result.at(0)); + if (first_capital) result[0] = (char)toupper(result[0]); if (!singular) result+=plurSuffix; return result; } |