diff -r 000000000000 -r 42188c7ea2d9 Orb/Doxygen/src/translator_ru.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Orb/Doxygen/src/translator_ru.h Thu Jan 21 17:29:01 2010 +0000 @@ -0,0 +1,1758 @@ +/****************************************************************************** + * + * + * + * Copyright (C) 1997-2008 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 + * granted. No representations are made about the suitability of this software + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + * Documents produced by Doxygen are derivative works derived from the + * input used in their production; they are not affected by this license. + */ + +/* + * + * Nickolay Semyonov + * Andrey V. Stolyarov released Feb 14, 2001 + * Alexandr V. Chelpanov released Sep 25, 2004 + * Благодарности: Vitaly A. Repin , + * Михаил Глушенков + */ + +#ifndef TRANSLATOR_RU_H +#define TRANSLATOR_RU_H + +class TranslatorRussian : public TranslatorAdapter_1_6_0 +{ + public: + /*! Used for identification of the language. */ + virtual QCString idLanguage() + { return "russian"; } + + /* Used to get the command(s) for the language support. */ + virtual QCString latexLanguageSupportCommand() + { + return "\\usepackage[T2A]{fontenc}\n\\usepackage[russian]{babel}\n"; + } + + /*! return the language charset. This will be used for the HTML output */ + virtual QCString idLanguageCharset() + { + return "utf-8"; + } + + // --- Language translation methods ------------------- + + /*! used in the compound documentation before a list of related functions. */ + virtual QCString trRelatedFunctions() + { return "Относящиеся к классу функции"; } + + /*! subscript for the related functions. */ + virtual QCString trRelatedSubscript() + { return "(не члены класса)"; } + + /*! header that is put before the detailed description of files, classes and namespaces. */ + virtual QCString trDetailedDescription() + { return "Подробное описание"; } + + /*! header that is put before the list of typedefs. */ + virtual QCString trMemberTypedefDocumentation() + { return "Определения типов"; } + + /*! header that is put before the list of enumerations. */ + virtual QCString trMemberEnumerationDocumentation() + { return "Перечисления"; } + + /*! header that is put before the list of member functions. */ + virtual QCString trMemberFunctionDocumentation() + { return "Методы"; } + + /*! header that is put before the list of member attributes. */ + virtual QCString trMemberDataDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Поля"; + } + else + { + return "Данные класса"; + } + } + + /*! this is the text of a link put after brief descriptions. */ + virtual QCString trMore() + { return "Подробнее..."; } + + /*! put in the class documentation */ + /* Dosn't use when optimization for C is on. */ + virtual QCString trListOfAllMembers() + { + return "Полный список членов класса"; + } + + /*! used as the title of the "list of all members" page of a class */ + /* Dosn't use when optimization for C is on. */ + virtual QCString trMemberList() + { + return "Cписок членов класса"; + } + + /*! this is the first part of a sentence that is followed by a class name */ + /* Dosn't use when optimization for C is on. */ + virtual QCString trThisIsTheListOfAllMembers() + { return "Полный список членов класса "; } + + /*! this is the remainder of the sentence after the class name */ + /* Dosn't use when optimization for C is on. */ + virtual QCString trIncludingInheritedMembers() + { return ", включая наследуемые из базового класса"; } + + /*! this is put at the author sections at the bottom of man pages. + * parameter s is name of the project name. + */ + virtual QCString trGeneratedAutomatically(const char *s) + { QCString result="Автоматически создано Doxygen"; + if (s) result+=QCString(" для ")+s; + result+=" из исходного текста."; + return result; + } + + /*! put after an enum name in the list of all members */ + virtual QCString trEnumName() + { return "перечисление"; } + + /*! put after an enum value in the list of all members */ + virtual QCString trEnumValue() + { return "элементы перечисления"; } + + /*! put after an undocumented member in the list of all members */ + virtual QCString trDefinedIn() + { return "определено в"; } + + // quick reference sections + + /*! This is put above each page as a link to the list of all groups of + * compounds or files (see the \\group command). + */ + virtual QCString trModules() + { return "Группы"; } + + /*! This is put above each page as a link to the class hierarchy */ + virtual QCString trClassHierarchy() + { return "Иерархия классов"; } + + /*! This is put above each page as a link to the list of annotated classes */ + virtual QCString trCompoundList() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Структуры данных"; + } + else + { + return "Классы"; + } + } + + /*! This is put above each page as a link to the list of documented files */ + virtual QCString trFileList() + { return "Файлы"; } + + /*! This is put above each page as a link to all members of compounds. */ + virtual QCString trCompoundMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Поля структур"; + } + else + { + return "Члены классов"; + } + } + + /*! This is put above each page as a link to all members of files. */ + /*??*/ + virtual QCString trFileMembers() + { + return "Список членов всех файлов"; + } + + /*! This is put above each page as a link to all related pages. */ + virtual QCString trRelatedPages() + /* ?? Вариант перевода "См. также: " более удачный, но не в заголовке, + как в данном случае. */ + { return "Описания"; } + + /*! This is put above each page as a link to all examples. */ + virtual QCString trExamples() + { return "Примеры"; } + + /*! This is put above each page as a link to the search engine. */ + virtual QCString trSearch() + { return "Поиск"; } + + /*! This is an introduction to the class hierarchy. */ + virtual QCString trClassHierarchyDescription() + { return "Иерархия классов."; } + + /*! This is an introduction to the list with all files. */ + virtual QCString trFileListDescription(bool extractAll) + { + QCString result="Полный список "; + if (!extractAll) result+="документированных "; + result+="файлов."; + return result; + } + + /*! This is an introduction to the annotated compound list. */ + virtual QCString trCompoundListDescription() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Структуры данных с их кратким описанием."; + } + else + { + return "Классы с их кратким описанием."; + } + } + + /*! This is an introduction to the page with all class members. */ + virtual QCString trCompoundMembersDescription(bool extractAll) + { + QCString result="Список всех "; + if(!extractAll) result+="документированных "; + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + result+="членов структур данных со ссылками на "; + else + result+="членов классов со ссылками на "; + if(!extractAll) + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + result+="документацию по структуре для каждого члена."; + else + result+="документацию по классу для каждого члена."; + } + else + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + result += "структуры"; + else + result += "классы"; + result+=", к которым они принадлежат."; + } + return result; + } + + /*! This is an introduction to the page with all file members. */ + virtual QCString trFileMembersDescription(bool extractAll) + { + QCString result="Список всех "; + if (!extractAll) result+="документированных "; + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="функций, переменных, макроопределений, " + "перечислений и определений типов"; + } + else + { + result+="членов файлов "; + } + result+=" со ссылками на "; + if (extractAll) + result+="файлы, к которым они принадлежат."; + else + result+="документацию."; + return result; + } + + /*! This is an introduction to the page with the list of all examples */ + virtual QCString trExamplesDescription() + { return "Полный список примеров."; } + + /*! This is an introduction to the page with the list of related pages */ + virtual QCString trRelatedPagesDescription() + { return "Полный список дополнительных описаний."; } + + /*! This is an introduction to the page with the list of class/file groups */ + virtual QCString trModulesDescription() + { return "Полный список групп."; } + + // index titles (the project name is prepended for these) + + + /*! This is used in HTML as the title of index.html. */ + virtual QCString trDocumentation() + { return "Документация"; } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all groups. + */ + virtual QCString trModuleIndex() + { return "Алфавитный указатель групп"; } + + /*! This is used in LaTeX as the title of the chapter with the + * class hierarchy. + */ + virtual QCString trHierarchicalIndex() + { return "Иерархический список классов"; } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index. + */ + virtual QCString trCompoundIndex() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Алфавитный указатель структур данных"; + } + else + { + return "Алфавитный указатель классов"; + } + } + + /*! This is used in LaTeX as the title of the chapter with the + * list of all files. + */ + virtual QCString trFileIndex() + { return "Список файлов"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all groups. + */ + virtual QCString trModuleDocumentation() + { return "Группы"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all classes, structs and unions. + */ + virtual QCString trClassDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Структуры данных"; + } + else + { + return "Классы"; + } + } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all files. + */ + virtual QCString trFileDocumentation() + { return "Файлы"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all examples. + */ + virtual QCString trExampleDocumentation() + { return "Примеры"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all related pages. + */ + virtual QCString trPageDocumentation() + { return "Тематические описания"; } + + /*! This is used in LaTeX as the title of the document */ + virtual QCString trReferenceManual() + { return "Оглавление"; } + + /*! This is used in the documentation of a file as a header before the + * list of defines + */ + virtual QCString trDefines() + { return "Макросы"; } + + /*! This is used in the documentation of a file as a header before the + * list of function prototypes + */ + virtual QCString trFuncProtos() + { return "Прототипы функций"; } + + /*! This is used in the documentation of a file as a header before the + * list of typedefs + */ + virtual QCString trTypedefs() + { return "Определения типов"; } + + /*! This is used in the documentation of a file as a header before the + * list of enumerations + */ + virtual QCString trEnumerations() + { return "Перечисления"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) functions + */ + virtual QCString trFunctions() + { return "Функции"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) variables + */ + virtual QCString trVariables() + { return "Переменные"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) variables + */ + virtual QCString trEnumerationValues() + { return "Элементы перечислений"; } + + /*! This is used in the documentation of a file before the list of + * documentation blocks for defines + */ + virtual QCString trDefineDocumentation() + { return "Макросы"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for function prototypes + */ + virtual QCString trFunctionPrototypeDocumentation() + { return "Прототипы функций"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for typedefs + */ + virtual QCString trTypedefDocumentation() + { return "Типы"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration types + */ + virtual QCString trEnumerationTypeDocumentation() + { return "Перечисления"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for functions + */ + virtual QCString trFunctionDocumentation() + { return "Функции"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for variables + */ + virtual QCString trVariableDocumentation() + { return "Переменные"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds + */ + virtual QCString trCompounds() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Структуры данных"; + } + else + { + return "Классы"; + } + + } + + /*! This is used in the documentation of a group before the list of + * links to documented files + */ + /*! This is used in the standard footer of each page and indicates when + * the page was generated + */ + virtual QCString trGeneratedAt(const char *date,const char *projName) + { + QCString result="Документация "; + if (projName) result+=QCString("по ")+projName; + result+=QCString(". Последние изменения: ")+date; + result+=". Создано системой"; + return result; + } + /*! This is part of the sentence used in the standard footer of each page. + */ + virtual QCString trWrittenBy() + { + return "Автор:"; + } + + /*! this text is put before a class diagram */ + virtual QCString trClassDiagram(const char *clName) + { + return QCString("Граф наследования:")+clName+":"; + } + + /*! this text is generated when the \\internal command is used. */ + virtual QCString trForInternalUseOnly() + { return "Только для внутреннего использования"; } + + /*! this text is generated when the \\warning command is used. */ + virtual QCString trWarning() + { return "Предупреждения"; } + + /*! this text is generated when the \\version command is used. */ + virtual QCString trVersion() + { return "Версия"; } + + /*! this text is generated when the \\date command is used. */ + virtual QCString trDate() + { return "Дата"; } + + /*! this text is generated when the \\return command is used. */ + virtual QCString trReturns() + { return "Возвращает"; } + + /*! this text is generated when the \\sa command is used. */ + virtual QCString trSeeAlso() + { return "См. также"; } + + /*! this text is generated when the \\param command is used. */ + virtual QCString trParameters() + { return "Аргументы"; } + + /*! this text is generated when the \\exception command is used. */ + virtual QCString trExceptions() + { return "Исключения"; } + + /*! this text is used in the title page of a LaTeX document. */ + virtual QCString trGeneratedBy() + { return "Создано системой"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990307 +////////////////////////////////////////////////////////////////////////// + + /*! used as the title of page containing all the index of all namespaces. */ + virtual QCString trNamespaceList() + { return "Пространства имен"; } + + /*! used as an introduction to the namespace list */ + virtual QCString trNamespaceListDescription(bool extractAll) + { + QCString result="Полный список "; + if (!extractAll) result+="документированных "; + result+="пространств имен."; + return result; + } + + /*! used in the class documentation as a header before the list of all + * friends of a class + */ + virtual QCString trFriends() + { return "Друзья"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990405 +////////////////////////////////////////////////////////////////////////// + + /*! used in the class documentation as a header before the list of all + * related classes + */ + virtual QCString trRelatedFunctionDocumentation() + { return "Документация по друзьям класса и функциям, отноносящимся" + " к классу"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990425 +////////////////////////////////////////////////////////////////////////// + + /*! used as the title of the HTML page of a class/struct/union */ + virtual QCString trCompoundReference(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result; + if (isTemplate) + { + result="Шаблон "; + switch(compType) + { + case ClassDef::Class: result+="класса"; break; + case ClassDef::Struct: result+="структуры"; break; + case ClassDef::Union: result+="объединения"; break; + case ClassDef::Interface: result+="интерфейса"; break; + case ClassDef::Protocol: result+="протокола"; break; + case ClassDef::Category: result+="категории"; break; + case ClassDef::Exception: result+="исключения"; break; + } + } + else + { + switch(compType) + { + case ClassDef::Class: result+="Класс"; break; + case ClassDef::Struct: result+="Структура"; break; + case ClassDef::Union: result+="Объединение"; break; + case ClassDef::Interface: result+="Интерфейс"; break; + case ClassDef::Protocol: result+="Протокол"; break; + case ClassDef::Category: result+="Категория"; break; + case ClassDef::Exception: result+="Исключение"; break; + } + } + result+=" "; + return result+clName; + } + + /*! used as the title of the HTML page of a file */ + virtual QCString trFileReference(const char *fileName) + { + return QCString("Файл ")+fileName; + } + + /*! used as the title of the HTML page of a namespace */ + virtual QCString trNamespaceReference(const char *namespaceName) + { + return QCString("Пространство имен ")+namespaceName; + } + + virtual QCString trPublicMembers() + { return "Открытые члены"; } + virtual QCString trPublicSlots() + { return "Открытые слоты"; } + virtual QCString trSignals() + { return "Сигналы"; } + virtual QCString trStaticPublicMembers() + { return "Открытые статические члены"; } + virtual QCString trProtectedMembers() + { return "Защищенные члены"; } + virtual QCString trProtectedSlots() + { return "Защищенные слоты"; } + virtual QCString trStaticProtectedMembers() + { return "Защищенные статические члены"; } + virtual QCString trPrivateMembers() + { return "Закрытые члены"; } + virtual QCString trPrivateSlots() + { return "Закрытые слоты"; } + virtual QCString trStaticPrivateMembers() + { return "Закрытые статические члены"; } + + /*! this function is used to produce a comma-separated list of items. + * use generateMarker(i) to indicate where item i should be put. + */ + virtual QCString trWriteList(int numEntries) + { + QCString result; + int i; + // the inherits list contain `numEntries' classes + for (i=0;i