diff options
Diffstat (limited to 'src/translator_ua.h')
-rw-r--r-- | src/translator_ua.h | 1337 |
1 files changed, 857 insertions, 480 deletions
diff --git a/src/translator_ua.h b/src/translator_ua.h index 0b65aea..6ac1681 100644 --- a/src/translator_ua.h +++ b/src/translator_ua.h @@ -3,8 +3,8 @@ * Copyright (C) 1997-2013 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 + * 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. * @@ -13,26 +13,14 @@ * * The translation into Ukrainian was provided by * Olexij Tkatchenko (olexij.tkatchenko@parcs.de) + * Petro Yermolenko (python@i.ua) */ #ifndef TRANSLATOR_UA_H #define TRANSLATOR_UA_H -class TranslatorUkrainian : public TranslatorAdapter_1_4_1 +class TranslatorUkrainian : public Translator { - private: - /*! The Decode() inline assumes the source written in the - Koi8-U encoding (maintainer dependent). - */ - inline QCString decode(const QCString & sInput) - { -//#ifdef _WIN32 -// return Koi8RToWindows1251(sInput); -//#else - return sInput; -//#endif - } - public: /*! Used for identification of the language. */ virtual QCString idLanguage() @@ -41,155 +29,143 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /* Used to get the command(s) for the language support. */ virtual QCString latexLanguageSupportCommand() { -//#ifdef _WIN32 -// return "\\usepackage[cp1251]{inputenc}\n\\usepackage[ukrainian]{babel}\n"; -//#else - return "\\usepackage[T2A]{fontenc}\n\\usepackage[ukrainian]{babel}\n"; -//#endif + return "\\usepackage[T2A]{fontenc}\n\\usepackage[ukrainian]{babel}\n"; } /*! return the language charset. This will be used for the HTML output */ virtual QCString idLanguageCharset() { -//#ifdef _WIN32 -// return "Windows-1251"; -//#else - return "koi8-u"; -//#endif + return "utf-8"; } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() - { return decode("ҦΦ æ"); } + { return "Споріднені фукції"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() - { return decode("( )"); } + { return "(не методи компонент)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() - { return decode(" "); } + { return "Детальний опис"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() - { return decode(" Ц "); } + { return "Опис типів користувача"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() - { return decode(" ̦˦ "); } + { return "Опис переліків користувача"; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() - { return decode(" Ħ "); } + { return "Опис методів компонент"; } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode( "" ); + return "Поля" ; } else { - return decode( "Φ Φ" ); + return "Компонентні дані" ; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() - { return decode("Φ..."); } + { return "Детальніше..."; } /*! put in the class documentation */ /* Dosn't use when optimization for C is on. */ virtual QCString trListOfAllMembers() { - return decode( " Ӧ Ԧ" ); + 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 decode( "C Ԧ" ); + 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 decode(" Ԧ"); } + { 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 decode(", Ӧ Φ "); } + { 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=decode(" Doxygen"); - if (s) result+=decode(" ")+s; - result+=decode(" ."); + { 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 decode("̦"); } + { return "Перелік"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() - { return decode(" ̦"); } + { return "Елемент переліку"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() - { return decode(" "); } + { return "визначено в "; } // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! 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 decode("Φ ̦"); } + { return "Програмні модулі"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() - { return decode("Ȧ Ӧ"); } + { 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 decode( " " ); + return "Структури даних" ; } else { - return decode( "" ); + return "Класи" ; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() - { return decode(""); } - - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return decode("Φ "); } + { 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 decode( " " ); + return "Поля структур" ; } else { - return decode( " Ӧ" ); + return "Елементи класів" ; } } @@ -197,34 +173,34 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*??*/ virtual QCString trFileMembers() { - return decode( " " ); + return "Елементи файлу" ; } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() - /* ?? ". : " , , - . */ - { return decode(" æ"); } + /* ?? Вариант перевода "См. также: " более удачный, но не в заголовке, + как в данном случае. */ + { return "Додаткова інформація"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() - { return decode(""); } + { return "Приклади"; } /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() - { return decode(""); } + { return "Пошук"; } /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() - { return decode(" צ"); } + { return "Список успадкувань впорядковано наближено до алфавіту"; } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool extractAll) { - QCString result=" "; - if (!extractAll) result+=" "; - result+="̦."; - return decode(result); + QCString result="Повний список "; + if (!extractAll) result+="документованих "; + result+="файлів."; + return result; } /*! This is an introduction to the annotated compound list. */ @@ -232,117 +208,106 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode( " ." ); + return "Структури даних з коротким описом." ; } else { - return decode( ", , ' ." ); + return "Класи, структури, об'єднання та інтерфейси з коротким описом." ; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { - QCString result=" Ӧ "; - if(!extractAll) result+=" "; + QCString result="Список всіх "; + if(!extractAll) result+="документоаних "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - result+="Ԧ "; + result+="елементів структур даних з посиланням на "; else - result+="Ԧ Ӧ "; + result+="елементів класів даних з посиланням на "; if(extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - result+="æ Ҧ/' ."; + result+="документацію по структурі/об'єднанню кожного елементу."; else - result+="æ ."; + result+="документацію по класу кожного елементу."; } else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - result += "צצΦ "; + result += "відповідні структури"; else - result += "צצΦ "; - result+=", ."; + result += "відповідні класи"; + result+=", до яких вони належать."; } - return decode( result ); + return result ; } /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool extractAll) { - QCString result=" Ӧ "; - if (!extractAll) result+=" "; + QCString result="Список всіх "; + if (!extractAll) result+="документованих "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - result+="æ, ͦ, , " - "̦˦ Ц"; + result+="функцій, змінних, макровизначень, " + "переліків і визначень типів"; } else { - result+="Ԧ ̦ "; + result+="елементів файлів "; } - result+=" "; + result+=" з посиланям на "; if (extractAll) - result+=", ."; + result+="файли, до яких вони належать."; else - result+="æ."; - return decode( result ); + result+="документацію."; + return result ; } - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return decode(" ̦."); } - /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() - { return decode(" Ħ."); } + { return "Повний список прикладів."; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() - { return decode(" Ӧ."); } + { return "Повний список додаткових описів."; } /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() - { return decode(" ̦."); } - - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return decode(" צΦ"); } - - // index titles (the project name is prepended for these) + { 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 decode("æ"); } + { return "Документація"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() - { return decode("צ ̦"); } + { return "Алфавітний покажчик модулів"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() - { return decode("Ȧ Ӧ"); } + { return "Ієрархічний покажчик класів"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! 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 decode( "צ " ); + return "Алфавітний покажчик структур даних" ; } else { - return decode( "צ Ӧ" ); + return "Алфавітний покажчик класів" ; } } @@ -350,13 +315,13 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 * list of all files. */ virtual QCString trFileIndex() - { return decode( " " ); } + { return "Покажчик файлв" ; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() - { return decode("Φ ̦"); } + { return "Програмні Модулі"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. @@ -365,11 +330,11 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode( " " ); + return "Структури даних" ; } else { - return decode( "" ); + return "Класи" ; } } @@ -377,230 +342,214 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 * the documentation of all files. */ virtual QCString trFileDocumentation() - { return decode(""); } + { return "Файли"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() - { return decode(""); } + { return "Приклади"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ virtual QCString trPageDocumentation() - { return decode("æ ͦ"); } + { return "Документація по темі"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() - { return decode("צ Ӧ"); } + { return "Довідковий посібник"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() - { return decode(""); } + { return "Макровизначення"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of function prototypes */ virtual QCString trFuncProtos() - { return decode(" æ"); } + { return "Прототипи фукцій"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() - { return decode(" Ц"); } + { return "Визначення типів"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() - { return decode("̦"); } + { return "Переліки"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() - { return decode("æ"); } + { return "Функції"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() - { return decode("ͦΦ"); } + { return "Змінні"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() - { return decode(" ̦˦"); } + { return "Елементи переліків"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() - { return decode(" "); } + { return "Опис макровизначень"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ virtual QCString trFunctionPrototypeDocumentation() - { return decode(" Ц æ"); } + { return "Опис прототипів функцій"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() - { return decode(" Ц"); } + { return "Опис визначень типів"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() - { return decode(" ̦˦"); } + { return "Опис переліків"; } - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for enumeration values - */ - virtual QCString trEnumerationValueDocumentation() - { return decode(" Ԧ ̦"); } - - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() - { return decode(" æ"); } + { return "Опис функцій"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() - { return decode(" ͦ"); } + { return "Опис змінних"; } - /*! This is used in the documentation of a file/namespace/group before + /*! 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 decode( " " ); + return "Структури даних" ; } else - { - return decode( "" ); + { + return "Класи" ; } } - /*! This is used in the documentation of a group before the list of + /*! 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 + /*! 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=decode("æ "); - if (projName) result+=decode(" ")+projName; - result+=decode(" ")+date; - result+=decode(" "); + { + 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 decode(":"); + return "Автор:"; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { - return decode(" ")+clName; + return QCString("Схема успадкувань для ")+clName; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() - { return decode(" Ҧ "); } - - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - /*??*/ - { return decode("ͦ ҦΦ . ͦ API."); - } + { return "Тільки для внутрішнього користування"; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() - { return decode(""); } - - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return decode(" "); } + { return "Застереження"; } /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() - { return decode("Ӧ"); } + { return "Версія"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() - { return decode(""); } + { return "Дата"; } /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() - { return decode(""); } + { return "Повертає"; } /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() - { return decode(". "); } + { return "Див. також"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() - { return decode(""); } + { return "Аргументи"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() - { return decode(" æ"); } + { return "Обробка виняткових ситуацій"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() - { return decode(" "); } - + { return "Створено системою"; } + ////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 +// new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() - { return decode("Ԧ "); } + { return "Простір імен"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { - QCString result=" ̦ "; - if (!extractAll) result+=" "; - result+="Ҧ ."; - return decode(result); + 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 decode("Φ "); } + { return "Дружні класи"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() - { return decode(" Φ Ӧ צצ æ"); } - + { return "Документация до дружніх класів та відповідних функцій"; } + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -611,70 +560,70 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 bool isTemplate) { QCString result; - if (isTemplate) + if (isTemplate) { - result=" "; + 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; + 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; + 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 decode(result)+clName; + return result+clName; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { - return decode(" ")+fileName; + return QCString("Файл ")+fileName; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { - return decode("Ԧ ")+namespaceName; + return QCString("Простір імен ")+namespaceName; } - + virtual QCString trPublicMembers() - { return decode("Φ "); } + { return "Загальнодоступні елементи"; } virtual QCString trPublicSlots() - { return decode("Φ "); } + { return "Загальнодоступні слоти"; } virtual QCString trSignals() - { return decode(""); } + { return "Сигнали"; } virtual QCString trStaticPublicMembers() - { return decode("Φ Φ "); } + { return "Загальнодоступні статичні елементи"; } virtual QCString trProtectedMembers() - { return decode("Φ "); } + { return "Захищені елементи"; } virtual QCString trProtectedSlots() - { return decode("Φ "); } + { return "Захищені слоти"; } virtual QCString trStaticProtectedMembers() - { return decode("Φ Φ "); } + { return "Захищені статичні елементи"; } virtual QCString trPrivateMembers() - { return decode("Φ "); } + { return "Приватні елементи"; } virtual QCString trPrivateSlots() - { return decode("Φ "); } + { return "Приватні слоти"; } virtual QCString trStaticPrivateMembers() - { return decode("Φ Φ "); } - + { return "Приватні статичні елементи"; } + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -683,29 +632,29 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + for (i=0;i<numEntries;i++) { // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - + if (i!=numEntries-1) // not the last entry, so we need a separator { - if (i<numEntries-2) // not the fore last entry + if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry - result+=decode( " " ); + result+= " і " ; } } - return result; + return result; } - + /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ virtual QCString trInheritsList(int numEntries) { - return decode("դ ")+trWriteList(numEntries)+"."; + return "Успадковує клас "+trWriteList(numEntries)+"."; } /*! used in class documentation to produce a list of super classes, @@ -713,15 +662,15 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 */ virtual QCString trInheritedByList(int numEntries) { - return decode(" ")+trWriteList(numEntries)+"."; + return "Успадковано класами "+trWriteList(numEntries)+"."; } - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ virtual QCString trReimplementedFromList(int numEntries) { - return decode(" ")+trWriteList(numEntries)+"."; + return "Переозначення з "+trWriteList(numEntries)+"."; } /*! used in member documentation blocks to produce a list of @@ -729,37 +678,37 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 */ virtual QCString trReimplementedInList(int numEntries) { - return decode(" ")+trWriteList(numEntries)+"."; + return "Переозначається в "+trWriteList(numEntries)+"."; } /*! This is put above each page as a link to all members of namespaces. */ virtual QCString trNamespaceMembers() - { return decode(" "); } + { return "Елементи простору імен"; } /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) { - QCString result=" ̦ "; - if (!extractAll) result+=" "; - result+="Ԧ "; - if (extractAll) - result+=" æ :"; - else - result+=" Ԧ :"; - return decode(result); + QCString result="Повний список "; + if (!extractAll) result+="документованих "; + result+="елеметів простору імен з посиланням "; + if (extractAll) + result+="на документацію для кожного елементу:"; + else + result+="на простір імен до якого вони належать:"; + return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ virtual QCString trNamespaceIndex() - { return decode("צ "); } + { return "Алфавітний покажчик простору імен"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all namespaces. */ virtual QCString trNamespaceDocumentation() - { return decode(" "); } + { return "Опис простору імен"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990522 @@ -769,7 +718,7 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 * namespaces in a file. */ virtual QCString trNamespaces() - { return decode( " " ); } + { return "Простори імен" ; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990728 @@ -782,41 +731,41 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 bool single) { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file - QCString result=(QCString)"æ "; + QCString result=(QCString)"Документація "; switch(compType) { case ClassDef::Class: - if (single) result+=" "; else result+=" Ӧ"; + if (single) result+="цього класу"; else result+="цих класів"; break; case ClassDef::Struct: - if (single) result+="æ "; else result+=" "; + if (single) result+="цієї структури"; else result+="цих структур"; break; case ClassDef::Union: - if (single) result+=" '"; else result+=" '"; + if (single) result+="цього об'єднання"; else result+="цих об'єднань"; break; case ClassDef::Interface: - if (single) result+=" "; else result+=" Ӧ"; + if (single) result+="цього інтерфейсу"; else result+="цих інтерфейсів"; + break; + case ClassDef::Protocol: + if (single) result+="цього протоколу"; else result+="цих протоколів"; break; - case ClassDef::Protocol: - if (single) result+=" "; else result+=" ̦"; - break; case ClassDef::Category: - if (single) result+="æ Ҧ"; else result+=" Ҧ"; - break; + if (single) result+="цієї категорії"; else result+="цих категорій"; + break; case ClassDef::Exception: - if (single) result+=" "; else result+=" ˦"; + if (single) result+="цього винятку"; else result+="цих винятків"; break; } - result+=" "; - if (single) result+=":"; else result+=":"; - return decode(result); + result+=" була створена з файл"; + if (single) result+="у:"; else result+="ів:"; + return result; } /*! This is in the (quick) index as a link to the alphabetical compound * list. */ virtual QCString trAlphabeticalList() - { return decode("צ "); } + { return "Алфавітний покажчик"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 @@ -824,34 +773,30 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*! This is used as the heading text for the retval command. */ virtual QCString trReturnValues() - { return decode(", "); } + { return "Значення, що повертаються"; } /*! This is in the (quick) index as a link to the main page (index.html) */ virtual QCString trMainPage() - { return decode(" Ҧ"); } + { return "Титульна сторінка"; } - /*! This is used in references to page that are put in the LaTeX + /*! This is used in references to page that are put in the LaTeX * documentation. It should be an abbreviation of the word page. */ virtual QCString trPageAbbreviation() - { return decode("."); } + { return "стор."; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-991106 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSources() - { - return decode("ȦΦ ."); - } virtual QCString trDefinedAtLineInSourceFile() { - return decode(". ̦ @1, @0"); + return "Див. визначення в файлі @1, рядок @0"; } virtual QCString trDefinedInSourceFile() { - return decode(". ̦ @0"); + return "Див. визначення в файлі @0"; } ////////////////////////////////////////////////////////////////////////// @@ -860,7 +805,7 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 virtual QCString trDeprecated() { - return decode(" "); + return "Не рекомендовано"; } ////////////////////////////////////////////////////////////////////////// @@ -870,120 +815,120 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*! this text is put before a collaboration diagram */ virtual QCString trCollaborationDiagram(const char *clName) { - return (QCString)decode(" '˦ ")+clName+":"; + return (QCString)"Діаграма зв'язків класу "+clName+":"; } /*! this text is put before an include dependency graph */ virtual QCString trInclDepGraph(const char *fName) { - return decode(" ̦ ")+fName+":"; + return QCString("Діаграма включених заголовочних файлів для ")+fName+":"; } /*! header that is put before the list of constructor/destructors. */ virtual QCString trConstructorDocumentation() { - return decode("()"); + return "Конструктор(и)"; } /*! Used in the file documentation to point to the corresponding sources. */ virtual QCString trGotoSourceCode() { - return decode(". ȦΦ ."); + return "Див. вихідні тексти."; } /*! Used in the file sources to point to the corresponding documentation. */ virtual QCString trGotoDocumentation() { - return decode(". æ."); + return "Див. документацію."; } /*! Text for the \\pre command */ virtual QCString trPrecondition() { - return decode(""); + return "Передумови"; } /*! Text for the \\post command */ virtual QCString trPostcondition() { - return decode(""); + return "Післяумови"; } /*! Text for the \\invariant command */ virtual QCString trInvariant() { - return decode("Ҧ"); + return "Інваріант"; } /*! Text shown before a multi-line variable/enum initialization */ virtual QCString trInitialValue() { - return decode("צ "); + return "Початкові значення"; } /*! Text used the source code in the file index */ virtual QCString trCode() { - return decode("ȦΦ "); + return "Вихідні тексти"; } virtual QCString trGraphicalHierarchy() { - return decode("Ʀ Ȧ Ӧ"); + return "Графічна ієрархія класів"; } virtual QCString trGotoGraphicalHierarchy() { - return decode(". Ʀ Ȧ"); + return "див. графічну ієрархію"; } virtual QCString trGotoTextualHierarchy() { - return decode(". Ȧ"); + return "див. текстову ієрархію"; } virtual QCString trPageIndex() { - return decode("צ Ӧ"); + return "Алфавітний покажчик тематичних описів"; } ////////////////////////////////////////////////////////////////////////// // new since 1.1.0 ////////////////////////////////////////////////////////////////////////// - + virtual QCString trNote() { - return decode(""); + return "Нотатки"; } virtual QCString trPublicTypes() { - return decode("Φ "); + return "Загальнодоступні типи"; } virtual QCString trPublicAttribs() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode( " " ); + return "Поля даних" ; } else { - return decode( "Φ " ); + return "Загальнодоступні атрибути" ; } } virtual QCString trStaticPublicAttribs() { - return decode("Φ Φ Φ"); + return "Статичні загальнодоступні данні"; } virtual QCString trProtectedTypes() { - return decode("Φ "); + return "Захищені типи"; } virtual QCString trProtectedAttribs() { - return decode("Φ Φ"); + return "Захищені дані"; } virtual QCString trStaticProtectedAttribs() { - return decode("Φ Φ Φ"); + return "Статичні захищені дані"; } virtual QCString trPrivateTypes() { - return decode("Φ "); + return "Приватні типи"; } virtual QCString trPrivateAttribs() { - return decode("Φ Φ"); + return "Приватні дані"; } virtual QCString trStaticPrivateAttribs() { - return decode("Φ Φ Φ"); + return "Приватні статичні дані"; } @@ -995,13 +940,13 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 virtual QCString trTodo() /*??*/ { - return decode("Ȧ "); + return "Необхідно зробити"; } /*! Used as the header of the todo list */ virtual QCString trTodoList() /*??*/ { - return decode("̦ "); + return "Список завдань"; } ////////////////////////////////////////////////////////////////////////// @@ -1010,26 +955,26 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 virtual QCString trReferencedBy() { - return decode(" "); + return "Вживається в"; } virtual QCString trRemarks() { - return decode("."); + return "Прим."; } virtual QCString trAttention() { - return decode(""); + return "Увага"; } virtual QCString trInclByDepGraph() { - return decode(" ̦, ˦ :"); + return "Граф файлів, які включають цей файл:"; } virtual QCString trSince() /*??*/ { - return decode(" "); + return "Починаючи з"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.1.5 ////////////////////////////////////////////////////////////////////////// @@ -1037,32 +982,32 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*! title of the graph legend page */ virtual QCString trLegendTitle() { - return decode(""); + return "Легенда"; } /*! page explaining how the dot graph's should be interpreted */ virtual QCString trLegendDocs() { - return decode( - ", .<p>\n" - " :\n" + return + "Позначення, що використовуються у графах.<p>\n" + "Розглянемо наступний приклад:\n" "\\code\n" - "/*! Ҧ */\n" + "/*! Невидимий клас через зрізання */\n" "class Invisible { };\n\n" - "/*! , צ */\n" + "/*! Обмежений клас, відношення успадкування приховане */\n" "class Truncated : public Invisible { };\n\n" - "/* */\n" + "/* Недокументований клас */\n" "class Undocumented { };\n\n" - "/*! */\n" + "/*! Загальнодоступне успадкування */\n" "class PublicBase : public Truncated { };\n\n" "/*! A template class */\n" "template<class T> class Templ { };\n\n" - "/*! */\n" + "/*! Захищене успадкування */\n" "class ProtectedBase { };\n\n" - "/*! */\n" + "/*! Приватне успадкування */\n" "class PrivateBase { };\n\n" - "/*! , դ Inherited */\n" + "/*! Клас, що використовується класом Inherited */\n" "class Used { };\n\n" - "/*! , դ ۦ */\n" + "/*! Клас, що успадковує інші класи */\n" "class Inherited : public PublicBase,\n" " protected ProtectedBase,\n" " private PrivateBase,\n" @@ -1073,51 +1018,50 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 " Used *m_usedClass;\n" "};\n" "\\endcode\n" - " \\c MAX_DOT_GRAPH_HEIGHT Ʀæ ̦ " - " 200, :" + "Таким чином, отримуємо наступний граф:" "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p>\n" - " Ʀ ͦ:\n" + "Прямокутники в цьому графі мають наступний зміст:\n" "<ul>\n" - "<li> צ , " - " .\n" - "<li> צ .\n" - "<li> Ӧ צ .\n" - "<li> צ , \n" - " Ӧ Цצ /ͦ Φ. Ҧ, " - " צ ͦ Φ ֦." + "<li>Заповнений чорний прямокутник відображає структуру або клас, " + "для якого створено граф.\n" + "<li>Прямокутник з чорною межею відображає документовану структуру або клас.\n" + "<li>Прямокутник з сірою межею відображає недокументовану структуру або клас.\n" + "<li>Прямокутник з червоною межею відображає документовану структуру або клас, для яких\n" + " не всі співвідношення успадкування/змісту показані. Граф зрізаниЙ, " + "якщо він не вміщається у вказані межі." "</ul>\n" - "Ҧ ͦ:\n" + "Стрілки мають наступний зміст:\n" "<ul>\n" - "<li> Ҧ צ צ " - "ͦ .\n" - "<li> Ҧ դ Φ.\n" - "<li> Ҧ դ Φ.\n" - "<li> Ҧ դ, ͦ " - " Ӧ դ." - "Ҧ դ ͦ, " - " צ ϧ . \n" - "</ul>\n"); + "<li>Темносиня стрілка відображає відношення загальнодоступного успадкування " + "між двома класами.\n" + "<li>Темнозелена стрілка використовується при захищеному успадкуванні.\n" + "<li>Темночервона стрілка використовується при приватному успадкуванні.\n" + "<li>Пурпурна стрілка використовується, якщо клас міститься в" + "іншому класі або ним використовується." + "Стрілка етикетується змінною, " + "через яку відбувається доступ до вказаної структури або класу. \n" + "</ul>\n"; } /*! text for the link to the legend page */ virtual QCString trLegend() { - return decode(". "); + return "див. легенду"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.0 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a test item */ virtual QCString trTest() { - return decode(""); + return "Тест"; } /*! Used as the header of the test list */ virtual QCString trTestList() { - return decode("̦ Ԧ"); + return "Список тестів"; } ////////////////////////////////////////////////////////////////////////// @@ -1127,7 +1071,7 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*! Used as a section header for KDE-2 IDL methods */ virtual QCString trDCOPMethods() { - return decode("DCOP "); + return "DCOP Методи"; } ////////////////////////////////////////////////////////////////////////// @@ -1137,79 +1081,69 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*! Used as a section header for IDL properties */ virtual QCString trProperties() { - return decode("Ԧ"); + return "Властивості"; } /*! Used as a section header for IDL property documentation */ virtual QCString trPropertyDocumentation() { - return decode(" ̦ "); + return "Повний список властивостей"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return decode(""); - } /*! Used for Java classes in the summary section of Java packages */ virtual QCString trClasses() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return decode( " " ); + return "Структури даних" ; } else { - return decode( "" ); + return "Класи" ; } } /*! Used as the title of a Java package */ virtual QCString trPackage(const char *name) { - return decode(" ")+name; + return QCString("Пакет ")+name; } /*! Title of the package index page */ virtual QCString trPackageList() { - return decode(" ̦ Ԧ"); + return "Повний список пакетів"; } /*! The description of the package index page */ virtual QCString trPackageListDescription() { - return decode(" ̦ Ԧ."); + return "Повний список документованих пакетів."; } /*! The link name in the Quick links header for each page */ virtual QCString trPackages() { - return decode(""); - } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return decode(" Ԧ"); + return "Пакети"; } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { - return decode(":"); + return "Макровизначення:"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.5 ////////////////////////////////////////////////////////////////////////// - + /*! Used as a marker that is put before a \\bug item */ virtual QCString trBug() { - return decode(""); + return "Дефект"; } /*! Used as the header of the bug list */ virtual QCString trBugList() { - return decode("̦ Ԧ"); + return "Список дефектів"; } ////////////////////////////////////////////////////////////////////////// @@ -1228,103 +1162,92 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*! Used as header RTF general index */ virtual QCString trRTFGeneralIndex() { - return decode(" "); + return "Предметний покажчик"; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trClass(bool first_capital, bool singular) - { + { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - QCString result((first_capital ? " " : " ")); - return decode(result); + QCString result((first_capital ? "Структури даних" : "структури даних")); + return result; } else { - QCString result((first_capital ? "" : "")); - if(!singular) result+=""; - return decode(result); + QCString result((first_capital ? "Клас" : "клас")); + if(!singular) result+="и"; + return result; } } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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); + { + QCString result((first_capital ? "Файл" : "файл")); + if (!singular) result+="и"; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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); + { + QCString result((first_capital ? "Прост" : "прост")); + result+=(singular?"ір імен":"ори імен"); + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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); + { + QCString result((first_capital ? "Груп" : "груп")); + result+=(singular ? "а" : "и"); + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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); + { + QCString result((first_capital ? "Сторінк" : "сторінк")); + result+=(singular ? "а" : "и"); + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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); + { + QCString result((first_capital ? "Елемент" : "елемент")); + if (!singular) result+="и"; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * 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); + { + QCString result((first_capital ? "Глобальн" : "глобальн")); + result+=(singular ? "ий" : "і"); + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1334,10 +1257,10 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*! This text is generated when the \\author command is used and * for the author section in man pages. */ virtual QCString trAuthor(bool first_capital, bool singular) - { - QCString result((first_capital ? "" : "")); - if (!singular) result+=""; - return decode(result); + { + QCString result((first_capital ? "Автор" : "автор")); + if (!singular) result+="и"; + return result; } ////////////////////////////////////////////////////////////////////////// @@ -1348,19 +1271,19 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 */ virtual QCString trReferences() { - return "դ"; + return "Використовує"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.13 ////////////////////////////////////////////////////////////////////////// - /*! used in member documentation blocks to produce a list of + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ virtual QCString trImplementedFromList(int numEntries) { - return "̦դ " + trWriteList(numEntries) + "."; + return "Реалізує " + trWriteList(numEntries) + "."; } /*! used in member documentation blocks to produce a list of @@ -1368,7 +1291,7 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 */ virtual QCString trImplementedInList(int numEntries) { - return "̦դ " + trWriteList(numEntries) + "."; + return "Реалізує в " + trWriteList(numEntries) + "."; } ////////////////////////////////////////////////////////////////////////// @@ -1380,37 +1303,37 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 */ virtual QCString trRTFTableOfContents() { - return "ͦ"; + return "Зміст"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.17 ////////////////////////////////////////////////////////////////////////// - /*! Used as the header of the list of item that have been - * flagged deprecated + /*! Used as the header of the list of item that have been + * flagged deprecated */ virtual QCString trDeprecatedList() { - return "Ҧ̦ "; + return "Застарілі елементи"; } ////////////////////////////////////////////////////////////////////////// // new since 1.2.18 ////////////////////////////////////////////////////////////////////////// - /*! Used as a header for declaration section of the events found in + /*! Used as a header for declaration section of the events found in * a C# program */ virtual QCString trEvents() { - return "Ħ"; + return "Події"; } /*! Header used for the documentation section of a class' events. */ virtual QCString trEventDocumentation() { - return "æ Ħ"; + return "Документація подій"; } ////////////////////////////////////////////////////////////////////////// @@ -1420,83 +1343,83 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 /*! Used as a heading for a list of Java class types with package scope. */ virtual QCString trPackageTypes() - { - return " Ԧ"; + { + return "Типи пакетів"; } - /*! Used as a heading for a list of Java class functions with package - * scope. + /*! Used as a heading for a list of Java class functions with package + * scope. */ virtual QCString trPackageMembers() - { - return "æ Ԧ"; + { + return "Функції пакетів"; } - /*! Used as a heading for a list of static Java class functions with + /*! Used as a heading for a list of static Java class functions with * package scope. */ virtual QCString trStaticPackageMembers() - { - return "Φ æ Ԧ"; + { + return "Статичні функцію пакетів"; } - - /*! Used as a heading for a list of Java class variables with package + + /*! Used as a heading for a list of Java class variables with package * scope. */ virtual QCString trPackageAttribs() { - return " Ԧ"; + return "Атрибути пакетів"; } - - /*! Used as a heading for a list of static Java class variables with + + /*! Used as a heading for a list of static Java class variables with * package scope. */ virtual QCString trStaticPackageAttribs() { - return "Φ Ԧ"; + return "Статичні атрибути пакетів"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.1 ////////////////////////////////////////////////////////////////////////// - /*! Used in the quick index of a class/file/namespace member list page + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ virtual QCString trAll() { - return "Ӧ"; + return "Всі"; } /*! Put in front of the call graph for a function. */ virtual QCString trCallGraph() { - return " Ӧ ˦ æ æ:"; + return "Граф всіх викликів цієї функції:"; } ////////////////////////////////////////////////////////////////////////// // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. + /*! When the search engine is enabled this text is put in the header + * of each page before the field where one can enter the text to search + * for. */ virtual QCString trSearchForIndex() { - return ""; + return "Шукати"; } /*! This string is used as the title for the page listing the search * results. */ virtual QCString trSearchResultsTitle() { - return " "; + return "Результати пошуку"; } /*! This string is put just before listing the search results. The * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert * the number representing the actual number of search results. - * The @a numDocuments parameter can be either 0, 1 or 2, where the + * The @a numDocuments parameter can be either 0, 1 or 2, where the * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ @@ -1504,24 +1427,24 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 { if (numDocuments==0) { - return " Ԧ צצ ."; + return "Не знайдено документів відповідно до вашого запиту."; } else if (numDocuments==1) { - return " <b>1</b> צצ ."; + return "Було знайдено <b>1</b> документ відповідно до вашого запиту."; } - else + else { - return " <b>$num</b> Ԧ צצ . " - "ݦ צצԦ ."; + return "Було знайдено <b>$num</b> документів відповідно до вашого запиту. " + "Найкращі відповідності показано спочатку."; } } - /*! This string is put before the list of matched words, for each search + /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ virtual QCString trSearchMatches() { - return "צΦ:"; + return "Відповідність:"; } ////////////////////////////////////////////////////////////////////////// @@ -1532,7 +1455,7 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 */ virtual QCString trSourceFile(QCString& filename) { - return " "+filename; + return "Текст програми "+filename; } ////////////////////////////////////////////////////////////////////////// @@ -1543,44 +1466,498 @@ class TranslatorUkrainian : public TranslatorAdapter_1_4_1 * hierarchy. */ virtual QCString trDirIndex() - { return " Ǧ"; } + { return "Дерево каталогів"; } /*! This is used as the name of the chapter containing the documentation * of the directories. */ virtual QCString trDirDocumentation() - { return "æ Ǧ"; } + { return "Документація каталогів"; } /*! This is used as the title of the directory index and also in the * Quick links of a HTML page, to link to the directory hierarchy. */ virtual QCString trDirectories() - { return ""; } + { return "Каталоги"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() - { return " Ǧ " - " צ:"; + { return "Дерево каталогів впорядковано наближено " + "до алфавіту:"; } /*! This returns the title of a directory page. The name of the * directory is passed via \a dirName. */ virtual QCString trDirReference(const char *dirName) - { QCString result="צ "; result+=dirName; return result; } + { QCString result="Довідник каталогу "; result+=dirName; return result; } /*! This returns the word directory with or without starting capital * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool, bool singular) - { - QCString result(""); - if (!singular) result+=""; - return result; + { + QCString result("Каталог"); + if (!singular) result+="и"; + return result; + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.4.1 +////////////////////////////////////////////////////////////////////////// + + /*! This text is added to the documentation when the \\overload command + * is used for a overloaded function. + */ + virtual QCString trOverloadText() + { + return "Це перезавантажуваний метод, " + "ввкдкний для зручності. Він відрізняється від " + "описаної вище функції лише списком аргуметнів."; + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.4.6 +////////////////////////////////////////////////////////////////////////// + + /*! This is used to introduce a caller (or called-by) graph */ + virtual QCString trCallerGraph() + { + return "Граф викликів для цієї функції:"; } + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration values + */ + virtual QCString trEnumerationValueDocumentation() + { return "Документація переліку"; } + +////////////////////////////////////////////////////////////////////////// +// new since 1.5.4 (mainly for Fortran) +////////////////////////////////////////////////////////////////////////// + + /*! header that is put before the list of member subprograms (Fortran). */ + virtual QCString trMemberFunctionDocumentationFortran() + { return "Документація функції/підпрограми"; } + + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + virtual QCString trCompoundListFortran() + { return "Список типів даних"; } + + /*! This is put above each page as a link to all members of compounds (Fortran). */ + virtual QCString trCompoundMembersFortran() + { return "Поля даних"; } + + /*! This is an introduction to the annotated compound list (Fortran). */ + virtual QCString trCompoundListDescriptionFortran() + { return "Типи даних з коротким описом:"; } + + /*! This is an introduction to the page with all data types (Fortran). */ + virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) + { + QCString result="Список усіх "; + if (!extractAll) + { + result+="задокументованих "; + } + result+="елементів типів даних"; + result+=" з посиланнями на "; + if (!extractAll) + { + result+="документацію структури даних кожного елемента"; + } + else + { + result+="типи даних, до яких вони належать:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index (Fortran). + */ + virtual QCString trCompoundIndexFortran() + { return "Список типів даних"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all data types (Fortran). + */ + virtual QCString trTypeDocumentation() + { return "Документація типів даних"; } + + /*! This is used in the documentation of a file as a header before the + * list of (global) subprograms (Fortran). + */ + virtual QCString trSubprograms() + { return "Функції/підпрограми"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for subprograms (Fortran) + */ + virtual QCString trSubprogramDocumentation() + { return "Документація функцій/підпрограм"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds (Fortran) + */ + virtual QCString trDataTypes() + { return "Типи даних"; } + + /*! used as the title of page containing all the index of all modules (Fortran). */ + virtual QCString trModulesList() + { return "Список модулів"; } + + /*! used as an introduction to the modules list (Fortran) */ + virtual QCString trModulesListDescription(bool extractAll) + { + QCString result="Список усіх "; + if (!extractAll) result+="задокументованих "; + result+="модулів з коротким описом:"; + return result; + } + + /*! used as the title of the HTML page of a module/type (Fortran) */ + virtual QCString trCompoundReferenceFortran(const char *clName, + ClassDef::CompoundType compType, + bool isTemplate) + { + QCString result=(QCString)clName; + if (isTemplate) + { + 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 + { + 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; + } + } + return result; + } + /*! used as the title of the HTML page of a module (Fortran) */ + virtual QCString trModuleReference(const char *namespaceName) + { + QCString result=namespaceName; + result+=" Модуль"; + return result; + } + + /*! This is put above each page as a link to all members of modules. (Fortran) */ + virtual QCString trModulesMembers() + { return "Елементи модуля"; } + + /*! This is an introduction to the page with all modules members (Fortran) */ + virtual QCString trModulesMemberDescription(bool extractAll) + { + QCString result="Список усіх "; + if (!extractAll) result+="задокументованих "; + result+="елементів модулів з посиланнями на "; + if (extractAll) + { + result+="документацію модуля для кожного елемента:"; + } + else + { + result+="модулі, до яких вони належать:"; + } + return result; + } + + /*! This is used in LaTeX as the title of the chapter with the + * index of all modules (Fortran). + */ + virtual QCString trModulesIndex() + { return "Алфавітний покажчик модулів"; } + + /*! 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 trModule(bool first_capital, bool singular) + { + QCString result((first_capital ? "Модул" : "модул")); + result+=(singular? "ь": "і"); + return result; + } + + /*! This is put at the bottom of a module documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, + bool single) + { + // single is true implies a single file + QCString result=(QCString)"Документацію для "; + 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+=" було згенеровано з "; + if (single) result+="наступного файлу:"; else result+="наступних файлів:"; + return 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 trType(bool first_capital, bool singular) + { + QCString result((first_capital ? "Тип" : "тип")); + if (!singular) result+="и"; + return 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 trSubprogram(bool first_capital, bool singular) + { + QCString result((first_capital ? "Підпрограм" : "підпрограм")); + result+= (singular? "а": "и"); + return result; + } + + /*! C# Type Constraint list */ + virtual QCString trTypeConstraints() + { + return "Обмеження типу"; + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.6.0 (mainly for the new search engine) +////////////////////////////////////////////////////////////////////////// + + /*! directory relation for \a name */ + virtual QCString trDirRelation(const char *name) + { + return "Зв'язок з "+QCString(name); + } + + /*! Loading message shown when loading search results */ + virtual QCString trLoading() + { + return "Завантаження..."; + } + + /*! Label used for search results in the global namespace */ + virtual QCString trGlobalNamespace() + { + return "Глобальний простір імен"; + } + + /*! Message shown while searching */ + virtual QCString trSearching() + { + return "Пошук..."; + } + + /*! Text shown when no search results are found */ + virtual QCString trNoMatches() + { + return "Нічого не знайдено"; + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.6.3 (missing items for the directory pages) +////////////////////////////////////////////////////////////////////////// + + /*! introduction text for the directory dependency graph */ + virtual QCString trDirDependency(const char *name) + { + return (QCString)"Граф залежностей каталогу для "+name; + } + + /*! when clicking a directory dependency label, a page with a + * table is shown. The heading for the first column mentions the + * source file that has a relation to another file. + */ + virtual QCString trFileIn(const char *name) + { + return (QCString)"Файл у "+name; + } + + /*! when clicking a directory dependency label, a page with a + * table is shown. The heading for the second column mentions the + * destination file that is included. + */ + virtual QCString trIncludesFileIn(const char *name) + { + return (QCString)"Включає файли в "+name; + } + + /** Compiles a date string. + * @param year Year in 4 digits + * @param month Month of the year: 1=January + * @param day Day of the Month: 1..31 + * @param dayOfWeek Day of the week: 1=Monday..7=Sunday + * @param hour Hour of the day: 0..23 + * @param minutes Minutes in the hour: 0..59 + * @param seconds Seconds within the minute: 0..59 + * @param includeTime Include time in the result string? + */ + virtual QCString trDateTime(int year,int month,int day,int dayOfWeek, + int hour,int minutes,int seconds, + bool includeTime) + { + static const char *days[] = { "Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота","Неділя" }; + static const char *months[] = { "січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жотня","листопада","грудня" }; + QCString sdate; + sdate.sprintf("%s, %d %s %d",days[dayOfWeek-1],day,months[month-1],year); + if (includeTime) + { + QCString stime; + stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds); + sdate+=stime; + } + return sdate; + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.7.5 +////////////////////////////////////////////////////////////////////////// + + /*! Header for the page with bibliographic citations */ + virtual QCString trCiteReferences() + { return "Бібліографічні посилання"; } + + /*! Text for copyright paragraph */ + virtual QCString trCopyright() + { return "Копірайт"; } + + /*! Header for the graph showing the directory dependencies */ + virtual QCString trDirDepGraph(const char *name) + { return QCString("Граф залежностей каталогу для ")+name+":"; } + +////////////////////////////////////////////////////////////////////////// +// new since 1.8.0 +////////////////////////////////////////////////////////////////////////// + + /*! Detail level selector shown for hierarchical indices */ + virtual QCString trDetailLevel() + { return "рівень елемента"; } + + /*! Section header for list of template parameters */ + virtual QCString trTemplateParameters() + { return "Параметри шаблона"; } + + /*! Used in dot graph when UML_LOOK is enabled and there are many fields */ + virtual QCString trAndMore(const QCString &number) + { return "і ще "+number+"..."; } + + /*! Used file list for a Java enum */ + virtual QCString trEnumGeneratedFromFiles(bool single) + { QCString result = "Документацію для цього переліку булозгенеровано з "; + result += (single? "наступного файла": "наступних файлів"); + result+=":"; + return result; + } + + /*! Header of a Java enum page (Java enums are represented as classes). */ + virtual QCString trEnumReference(const char *name) + { return QCString(name)+" Перелік"; } + + /*! Used for a section containing inherited members */ + virtual QCString trInheritedFrom(const char *members,const char *what) + { return QCString(members)+" успадковано з "+what; } + + /*! Header of the sections with inherited members specific for the + * base class(es) + */ + virtual QCString trAdditionalInheritedMembers() + { return "Додаткові успадковані елементи"; } + +////////////////////////////////////////////////////////////////////////// +// new since 1.8.2 +////////////////////////////////////////////////////////////////////////// + + /*! Used as a tooltip for the toggle button that appears in the + * navigation tree in the HTML output when GENERATE_TREEVIEW is + * enabled. This tooltip explains the meaning of the button. + */ + virtual QCString trPanelSynchronisationTooltip(bool enable) + { + QCString opt = enable ? "дозволити" : "заборонити"; + return "клацніть мишкою, щоб "+opt+" синхронізацію панелі"; + } + + /*! Used in a method of an Objective-C class that is declared in a + * a category. Note that the @1 marker is required and is replaced + * by a link. + */ + virtual QCString trProvidedByCategory() + { + return "Забезпечено категорією @1."; + } + + /*! Used in a method of an Objective-C category that extends a class. + * Note that the @1 marker is required and is replaced by a link to + * the class method. + */ + virtual QCString trExtendsClass() + { + return "Розширює клас @1."; + } + + /*! Used as the header of a list of class methods in Objective-C. + * These are similar to static public member functions in C++. + */ + virtual QCString trClassMethods() + { + return "Методи класу"; + } + + /*! Used as the header of a list of instance methods in Objective-C. + * These are similar to public member functions in C++. + */ + virtual QCString trInstanceMethods() + { + return "Методи об'єкта"; + } + + /*! Used as the header of the member functions of an Objective-C class. + */ + virtual QCString trMethodDocumentation() + { + return "Документація метода"; + } + + /*! Used as the title of the design overview picture created for the + * VHDL output. + */ + virtual QCString trDesignOverview() + { + return "Огляд дизайну проекту"; + } + +////////////////////////////////////////////////////////////////////////// + }; #endif |