summaryrefslogtreecommitdiffstats
path: root/src/translator_ru.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-05-17 19:26:02 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-05-17 19:26:02 (GMT)
commit0921be2562e370352af05de47c5d997321874012 (patch)
treecb90fc9b85934eb220249aae4ffd7e4979489b16 /src/translator_ru.h
parent76e77e750cda807a7aa12d73d1fa0e5e6f24b043 (diff)
downloadDoxygen-0921be2562e370352af05de47c5d997321874012.zip
Doxygen-0921be2562e370352af05de47c5d997321874012.tar.gz
Doxygen-0921be2562e370352af05de47c5d997321874012.tar.bz2
Release-20010517
Diffstat (limited to 'src/translator_ru.h')
-rw-r--r--src/translator_ru.h108
1 files changed, 106 insertions, 2 deletions
diff --git a/src/translator_ru.h b/src/translator_ru.h
index 70507eb..d634953 100644
--- a/src/translator_ru.h
+++ b/src/translator_ru.h
@@ -48,9 +48,9 @@
#ifndef TRANSLATOR_RU_H
#define TRANSLATOR_RU_H
-#include "translator_adapter.h"
+#include "translator.h"
-class TranslatorRussian : public TranslatorAdapter_1_2_5
+class TranslatorRussian : public Translator
{
private:
/*! The Decode() inline assumes the source written in the
@@ -1217,6 +1217,21 @@ class TranslatorRussian : public TranslatorAdapter_1_2_5
}
//////////////////////////////////////////////////////////////////////////
+// new since 1.2.5
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used as a marker that is put before a \\bug item */
+ virtual QCString trBug()
+ {
+ return decode("Ошибка");
+ }
+ /*! Used as the header of the bug list */
+ virtual QCString trBugList()
+ {
+ return decode("Ошибки");
+ }
+
+//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file */
@@ -1234,6 +1249,95 @@ class TranslatorRussian : public TranslatorAdapter_1_2_5
{
return decode("Алфавитный указатель");
}
+
+ /*! This is used for translation of the word that will possibly
+ * be followed by a single name or by a list of names
+ * of the category.
+ */
+ virtual QCString trClass(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Класс" : "класс"));
+ if(!singular) result+="ы";
+ return decode(result);
+ }
+
+ /*! This is used for translation of the word that will possibly
+ * be followed by a single name or by a list of names
+ * of the category.
+ */
+ virtual QCString trFile(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Файл" : "файл"));
+ if (!singular) result+="ы";
+ return decode(result);
+ }
+
+ /*! This is used for translation of the word that will possibly
+ * be followed by a single name or by a list of names
+ * of the category.
+ */
+ virtual QCString trNamespace(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Пространств" : "пространств"));
+ result+=(singular?"о имен":"а имен");
+ return decode(result);
+ }
+
+ /*! This is used for translation of the word that will possibly
+ * be followed by a single name or by a list of names
+ * of the category.
+ */
+ virtual QCString trGroup(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Групп" : "групп"));
+ result+=(singular ? "а" : "ы");
+ return decode(result);
+ }
+
+ /*! This is used for translation of the word that will possibly
+ * be followed by a single name or by a list of names
+ * of the category.
+ */
+ virtual QCString trPage(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Страниц" : "страниц"));
+ result+=(singular ? "а" : "ы");
+ return decode(result);
+ }
+
+ /*! This is used for translation of the word that will possibly
+ * be followed by a single name or by a list of names
+ * of the category.
+ */
+ virtual QCString trMember(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Член" : "член"));
+ if (!singular) result+="ы";
+ return decode(result);
+ }
+
+ /*! This is used for translation of the word that will possibly
+ * be followed by a single name or by a list of names
+ * of the category.
+ */
+ virtual QCString trField(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Пол" : "пол"));
+ result+=(singular ? "е" : "я");
+ return decode(result);
+ }
+
+ /*! This is used for translation of the word that will possibly
+ * be followed by a single name or by a list of names
+ * of the category.
+ */
+ virtual QCString trGlobal(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Глобальны" : "глобальны"));
+ result+=(singular ? "й" : "е");
+ return decode(result);
+ }
+
};
#endif