summaryrefslogtreecommitdiffstats
path: root/src/translator.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-03 17:43:17 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-03 17:43:17 (GMT)
commite3baf8c5ec430e5f09f00384ebdfa35242fd3316 (patch)
treed1720b58a91abcbfb70196c277ad3b7a11da8263 /src/translator.h
parent1b2fd16cd8ed1830a7743a55dc1b9ec3ec59ad98 (diff)
downloadDoxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.zip
Doxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.tar.gz
Doxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.tar.bz2
Release-1.1.5
Diffstat (limited to 'src/translator.h')
-rw-r--r--src/translator.h49
1 files changed, 22 insertions, 27 deletions
diff --git a/src/translator.h b/src/translator.h
index 313b05e..6bc534d 100644
--- a/src/translator.h
+++ b/src/translator.h
@@ -25,38 +25,33 @@
class Translator
{
public:
- //--------------------------------------------------------------------
- // NOTICE:
- // the following functions are now obsolete: these are no longer used and
- // will disappear in future versions. You do not have to translate them!
- virtual QCString trInherits()
- { return "Inherits"; }
- virtual QCString trAnd()
- { return "and"; }
- virtual QCString trInheritedBy()
- { return "Inherited By"; }
- virtual QCString trReference()
- { return "Reference"; }
- virtual QCString trReimplementedFrom()
- { return "Reimplemented from"; }
- virtual QCString trReimplementedIn()
- { return "Reimplemented in"; }
- virtual QCString trIncludeFile()
- { return "Include File"; }
- virtual QCString trGeneratedFrom(const char *s,bool single)
- {
- QCString result=(QCString)"The documentation for this"+s+
- " was generated from the following file";
- if (single) result+=":"; else result+="s:";
- return result;
- }
- // end of obsolete functions
- //--------------------------------------------------------------------
+ // --- Language contol methods -------------------
+
+ /*! Used for identification of the language. May resemble
+ * the string returned by latexBabelPackage(), but it is not used
+ * for the same purpose. The identification should not be translated.
+ * It should be replaced by the name of the language in English
+ * (e.g. Czech, Japanese, Russian, etc.). It should be equal to
+ * the identification in language.h.
+ */
+ virtual QCString idLanguage()
+ { return "english"; }
+ /*! Used to get the command(s) for the language support. This method
+ * was designed for languages which do not prefer babel package.
+ * If this methods returns empty string, then the latexBabelPackage()
+ * method is used to generate the command for using the babel package.
+ */
+ virtual QCString latexLanguageSupportCommand()
+ {
+ return "";
+ }
/*! returns the name of the package that is included by LaTeX */
virtual QCString latexBabelPackage()
{ return ""; }
+ // --- Language translation methods -------------------
+
/*! used in the compound documentation before a list of related functions. */
virtual QCString trRelatedFunctions()
{ return "Related Functions"; }