translator_ru.h 62.3 KB
Newer Older
1 2
/******************************************************************************
 *
3
 * 
4
 *
5
 * Copyright (C) 1997-2010 by Dimitri van Heesch.
6 7 8 9 10 11 12
 *
 * 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.
 *
13 14
 * Documents produced by Doxygen are derivative works derived from the
 * input used in their production; they are not affected by this license.
15 16
 */

17
/*
18 19 20
 *
 * Nickolay Semyonov
 * Andrey V. Stolyarov released Feb 14, 2001
21
 * Alexandr V. Chelpanov <cav@cryptopro.ru> released Sep 25, 2004
Dimitri van Heesch's avatar
Dimitri van Heesch committed
22 23
 * Благодарности: Vitaly A. Repin <vitaly@radio.hop.stu.neva.ru>,
 *    Михаил Глушенков <bbman@mail.ru>
24 25
 */

26 27 28
#ifndef TRANSLATOR_RU_H
#define TRANSLATOR_RU_H

29
class TranslatorRussian : public TranslatorAdapter_1_6_0
30
{
31 32 33 34 35 36
  public:
    /*! Used for identification of the language. */
    virtual QCString idLanguage()
    { return "russian"; }

    /* Used to get the command(s) for the language support. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
37
    virtual QCString latexLanguageSupportCommand()
38
    {
39
        return "\\usepackage[T2A]{fontenc}\n\\usepackage[russian]{babel}\n"; 
40
    }
41 42 43

    /*! return the language charset. This will be used for the HTML output */
    virtual QCString idLanguageCharset()
44
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
45
        return "utf-8"; 
46
    }
47 48 49 50 51

    // --- Language translation methods -------------------

    /*! used in the compound documentation before a list of related functions. */
    virtual QCString trRelatedFunctions()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
52
    { return "Относящиеся к классу функции"; }
53 54 55

    /*! subscript for the related functions. */
    virtual QCString trRelatedSubscript()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
56
    { return "(не члены класса)"; }
57 58 59

    /*! header that is put before the detailed description of files, classes and namespaces. */
    virtual QCString trDetailedDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
60
    { return "Подробное описание"; }
61 62 63

    /*! header that is put before the list of typedefs. */
    virtual QCString trMemberTypedefDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
64
    { return "Определения типов"; }
65 66 67

    /*! header that is put before the list of enumerations. */
    virtual QCString trMemberEnumerationDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
68
    { return "Перечисления"; }
69 70 71

    /*! header that is put before the list of member functions. */
    virtual QCString trMemberFunctionDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
72
    { return "Методы"; }
73 74 75

    /*! header that is put before the list of member attributes. */
    virtual QCString trMemberDataDocumentation()
76
    {
77
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
78
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
79
        return "Поля";
80 81 82
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
83
        return "Данные класса";
84
      }
85
    }
86 87 88

    /*! this is the text of a link put after brief descriptions. */
    virtual QCString trMore()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
89
    { return "Подробнее..."; }
90 91 92 93

    /*! put in the class documentation */
    /* Dosn't use when optimization for C is on. */
    virtual QCString trListOfAllMembers()
94
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
95
      return "Полный список членов класса";
96
    }
97 98 99 100

    /*! 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()
101
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
102
      return "Cписок членов класса";
103
    }
104 105 106 107

    /*! 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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
108
    { return "Полный список членов класса "; }
109 110 111 112

    /*! this is the remainder of the sentence after the class name */
    /* Dosn't use when optimization for C is on. */
    virtual QCString trIncludingInheritedMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
113
    { return ", включая наследуемые из базового класса"; }
114 115 116 117 118

    /*! 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)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
119 120 121
    { QCString result="Автоматически создано Doxygen";
      if (s) result+=QCString(" для ")+s;
      result+=" из исходного текста."; 
122 123 124 125 126
      return result;
    }

    /*! put after an enum name in the list of all members */
    virtual QCString trEnumName()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
127
    { return "перечисление"; }
128 129 130

    /*! put after an enum value in the list of all members */
    virtual QCString trEnumValue()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
131
    { return "элементы перечисления"; }
132 133 134

    /*! put after an undocumented member in the list of all members */
    virtual QCString trDefinedIn()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
135
    { return "определено в"; }
136 137 138 139 140 141 142

    // 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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
143
    { return "Группы"; }
144 145 146

    /*! This is put above each page as a link to the class hierarchy */
    virtual QCString trClassHierarchy()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
147
    { return "Иерархия классов"; }
148 149 150

    /*! This is put above each page as a link to the list of annotated classes */
    virtual QCString trCompoundList()
151
    {
152
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
153
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
154
        return "Структуры данных";
155 156 157
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
158
        return "Классы";
159
      }
160
    }
161 162 163

    /*! This is put above each page as a link to the list of documented files */
    virtual QCString trFileList()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
164
    { return "Файлы"; }
165 166 167

    /*! This is put above each page as a link to all members of compounds. */
    virtual QCString trCompoundMembers()
168
    {
169
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
170
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
171
        return "Поля структур";
172 173 174
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
175
        return "Члены классов";
176
      }
177
    }
178 179 180 181

    /*! This is put above each page as a link to all members of files. */
    /*??*/
    virtual QCString trFileMembers()
182
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
183
      return "Список членов всех файлов";
184
    }
185 186 187

    /*! This is put above each page as a link to all related pages. */
    virtual QCString trRelatedPages()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
188 189 190
    /* ?? Вариант перевода "См. также: " более удачный, но не в заголовке,
     как в данном случае. */
    { return "Описания"; }
191 192 193

    /*! This is put above each page as a link to all examples. */
    virtual QCString trExamples()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
194
    { return "Примеры"; }
195 196 197

    /*! This is put above each page as a link to the search engine. */
    virtual QCString trSearch()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
198
    { return "Поиск"; }
199 200 201

    /*! This is an introduction to the class hierarchy. */
    virtual QCString trClassHierarchyDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
202
    { return "Иерархия классов."; }
203 204 205

    /*! This is an introduction to the list with all files. */
    virtual QCString trFileListDescription(bool extractAll)
206
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
207 208 209 210
      QCString result="Полный список ";
      if (!extractAll) result+="документированных ";
      result+="файлов.";
      return result;
211
    }
212 213 214

    /*! This is an introduction to the annotated compound list. */
    virtual QCString trCompoundListDescription()
215
    {
216
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
217
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
218
        return "Структуры данных с их кратким описанием.";
219 220 221
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
222
        return "Классы с их кратким описанием.";
223
      }
224
    }
225 226 227

    /*! This is an introduction to the page with all class members. */
    virtual QCString trCompoundMembersDescription(bool extractAll)
228
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
229 230
        QCString result="Список всех ";
        if(!extractAll) result+="документированных ";
231
        if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
Dimitri van Heesch's avatar
Dimitri van Heesch committed
232
          result+="членов структур данных со ссылками на ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
233
        else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
234
          result+="членов классов со ссылками на ";
235
        if(!extractAll)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
236
        {
237
          if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
Dimitri van Heesch's avatar
Dimitri van Heesch committed
238
            result+="документацию по структуре для каждого члена.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
239
          else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
240
            result+="документацию по классу для каждого члена.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
241 242 243
        }
        else
        {
244
          if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
Dimitri van Heesch's avatar
Dimitri van Heesch committed
245
            result += "структуры";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
246
          else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
247 248
            result += "классы";
          result+=", к которым они принадлежат.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
249
        }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
250
        return result;
251
    }
252 253 254

    /*! This is an introduction to the page with all file members. */
    virtual QCString trFileMembersDescription(bool extractAll)
255
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
256 257
      QCString result="Список всех ";
      if (!extractAll) result+="документированных ";
258

259
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
260
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
261 262
        result+="функций, переменных, макроопределений, "
                "перечислений и определений типов";
263 264 265
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
266
        result+="членов файлов ";
267
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
268
      result+=" со ссылками на ";
269
      if (extractAll)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
270
        result+="файлы, к которым они принадлежат.";
271
      else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
272 273
        result+="документацию.";
      return result;
274
    }
275 276 277

    /*! This is an introduction to the page with the list of all examples */
    virtual QCString trExamplesDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
278
    { return "Полный список примеров."; }
279 280 281

    /*! This is an introduction to the page with the list of related pages */
    virtual QCString trRelatedPagesDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
282
    { return "Полный список дополнительных описаний."; }
283 284 285

    /*! This is an introduction to the page with the list of class/file groups */
    virtual QCString trModulesDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
286
    { return "Полный список групп."; }
287 288 289 290 291 292

    // index titles (the project name is prepended for these) 


    /*! This is used in HTML as the title of index.html. */
    virtual QCString trDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
293
    { return "Документация"; }
294 295 296 297 298

    /*! This is used in LaTeX as the title of the chapter with the 
     * index of all groups.
     */
    virtual QCString trModuleIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
299
    { return "Алфавитный указатель групп"; }
300 301 302 303 304

    /*! This is used in LaTeX as the title of the chapter with the 
     * class hierarchy.
     */
    virtual QCString trHierarchicalIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
305
    { return "Иерархический список классов"; }
306 307 308 309 310

    /*! This is used in LaTeX as the title of the chapter with the 
     * annotated compound index.
     */
    virtual QCString trCompoundIndex()
311
    {
312
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
313
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
314
        return "Алфавитный указатель структур данных";
315 316 317
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
318
        return "Алфавитный указатель классов";
319
      }
320
    }
321 322 323 324 325

    /*! This is used in LaTeX as the title of the chapter with the
     * list of all files.
     */
    virtual QCString trFileIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
326
    { return "Список файлов"; }
327 328 329 330 331

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all groups.
     */
    virtual QCString trModuleDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
332
    { return "Группы"; }
333 334 335 336 337

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all classes, structs and unions.
     */
    virtual QCString trClassDocumentation()
338
    {
339 340
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
341
        return "Структуры данных";
342 343 344
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
345
        return "Классы";
346
      }
347
    }
348 349 350 351 352

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all files.
     */
    virtual QCString trFileDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
353
    { return "Файлы"; }
354 355 356 357 358

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all examples.
     */
    virtual QCString trExampleDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
359
    { return "Примеры"; }
360 361 362 363 364

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all related pages.
     */
    virtual QCString trPageDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
365
    { return "Тематические описания"; }
366 367 368

    /*! This is used in LaTeX as the title of the document */
    virtual QCString trReferenceManual()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
369
    { return "Оглавление"; }
370 371 372 373 374

    /*! This is used in the documentation of a file as a header before the 
     *  list of defines
     */
    virtual QCString trDefines()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
375
    { return "Макросы"; }
376 377 378 379 380

    /*! This is used in the documentation of a file as a header before the 
     *  list of function prototypes
     */
    virtual QCString trFuncProtos()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
381
    { return "Прототипы функций"; }
382 383 384 385 386

    /*! This is used in the documentation of a file as a header before the 
     *  list of typedefs
     */
    virtual QCString trTypedefs()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
387
    { return "Определения типов"; }
388 389 390 391 392

    /*! This is used in the documentation of a file as a header before the 
     *  list of enumerations
     */
    virtual QCString trEnumerations()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
393
    { return "Перечисления"; }
394 395 396 397 398

    /*! This is used in the documentation of a file as a header before the 
     *  list of (global) functions
     */
    virtual QCString trFunctions()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
399
    { return "Функции"; }
400 401 402 403 404

    /*! This is used in the documentation of a file as a header before the 
     *  list of (global) variables
     */
    virtual QCString trVariables()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
405
    { return "Переменные"; }
406 407 408 409 410

    /*! This is used in the documentation of a file as a header before the 
     *  list of (global) variables
     */
    virtual QCString trEnumerationValues()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
411
    { return "Элементы перечислений"; }
412 413 414 415 416

    /*! This is used in the documentation of a file before the list of
     *  documentation blocks for defines
     */
    virtual QCString trDefineDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
417
    { return "Макросы"; }
418 419 420 421 422

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for function prototypes
     */
    virtual QCString trFunctionPrototypeDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
423
    { return "Прототипы функций"; }
424 425 426 427 428

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for typedefs
     */
    virtual QCString trTypedefDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
429
    { return "Типы"; }
430 431 432 433 434

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for enumeration types
     */
    virtual QCString trEnumerationTypeDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
435
    { return "Перечисления"; }
436 437 438 439 440

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for functions
     */
    virtual QCString trFunctionDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
441
    { return "Функции"; }
442 443 444 445 446

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for variables
     */
    virtual QCString trVariableDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
447
    { return "Переменные"; }
448 449 450 451 452

    /*! This is used in the documentation of a file/namespace/group before 
     *  the list of links to documented compounds
     */
    virtual QCString trCompounds()
453
    {
454
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
455
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
456
        return "Структуры данных";
457 458 459
      }
      else
      { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
460
        return "Классы";
461 462
      }

463
    }
464 465 466 467 468 469 470 471 472

    /*! 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)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
473 474 475 476
      QCString result="Документация ";
      if (projName) result+=QCString("по ")+projName;
      result+=QCString(". Последние изменения: ")+date;
      result+=". Создано системой";
477
      return result;
478
    }
479 480 481
    /*! This is part of the sentence used in the standard footer of each page.
     */
    virtual QCString trWrittenBy()
482
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
483
      return "Автор:";
484
    }
485 486 487

    /*! this text is put before a class diagram */
    virtual QCString trClassDiagram(const char *clName)
488
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
489
      return QCString("Граф наследования:")+clName+":";
490
    }
491 492 493

    /*! this text is generated when the \\internal command is used. */
    virtual QCString trForInternalUseOnly()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
494
    { return "Только для внутреннего использования"; }
495 496 497

    /*! this text is generated when the \\warning command is used. */
    virtual QCString trWarning()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
498
    { return "Предупреждения"; }
499 500 501

    /*! this text is generated when the \\version command is used. */
    virtual QCString trVersion()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
502
    { return "Версия"; }
503 504 505

    /*! this text is generated when the \\date command is used. */
    virtual QCString trDate()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
506
    { return "Дата"; }
507 508 509

    /*! this text is generated when the \\return command is used. */
    virtual QCString trReturns()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
510
    { return "Возвращает"; }
511 512 513

    /*! this text is generated when the \\sa command is used. */
    virtual QCString trSeeAlso()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
514
    { return "См. также"; }
515 516 517

    /*! this text is generated when the \\param command is used. */
    virtual QCString trParameters()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
518
    { return "Аргументы"; }
519 520 521

    /*! this text is generated when the \\exception command is used. */
    virtual QCString trExceptions()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
522
    { return "Исключения"; }
523 524 525

    /*! this text is used in the title page of a LaTeX document. */
    virtual QCString trGeneratedBy()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
526
    { return "Создано системой"; }
527 528 529 530 531 532 533
    
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307 
//////////////////////////////////////////////////////////////////////////
    
    /*! used as the title of page containing all the index of all namespaces. */
    virtual QCString trNamespaceList()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
534
    { return "Пространства имен"; }
535 536 537

    /*! used as an introduction to the namespace list */
    virtual QCString trNamespaceListDescription(bool extractAll)
538
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
539 540 541 542
      QCString result="Полный список ";
      if (!extractAll) result+="документированных ";
      result+="пространств имен.";
      return result;
543
    }
544 545 546 547 548

    /*! used in the class documentation as a header before the list of all
     *  friends of a class
     */
    virtual QCString trFriends()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
549
    { return "Друзья"; }
550 551 552 553 554 555 556 557 558

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
    
    /*! used in the class documentation as a header before the list of all
     * related classes 
     */
    virtual QCString trRelatedFunctionDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
559 560
    { return "Документация по друзьям класса и функциям, отноносящимся"
        " к классу"; }
561 562 563 564 565 566 567
    
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////

    /*! used as the title of the HTML page of a class/struct/union */
    virtual QCString trCompoundReference(const char *clName,
568
                                 ClassDef::CompoundType compType,
569 570
                                 bool isTemplate)
    {
571 572 573
      QCString result;
      if (isTemplate) 
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
574
        result="Шаблон ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
575 576
        switch(compType)
        {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
577 578 579 580 581 582 583
          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;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
584
        }
585 586 587
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
588 589
        switch(compType)
        {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
590 591 592 593 594 595 596
          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;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
597
        }
598 599
      }
      result+=" ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
600
      return result+clName;
601 602
    }

603 604
    /*! used as the title of the HTML page of a file */
    virtual QCString trFileReference(const char *fileName)
605
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
606
      return QCString("Файл ")+fileName;
607
    }
608 609 610 611

    /*! used as the title of the HTML page of a namespace */
    virtual QCString trNamespaceReference(const char *namespaceName)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
612
      return QCString("Пространство имен ")+namespaceName;
613 614 615
    }
    
    virtual QCString trPublicMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
616
    { return "Открытые члены"; }
617
    virtual QCString trPublicSlots()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
618
    { return "Открытые слоты"; }
619
    virtual QCString trSignals()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
620
    { return "Сигналы"; }
621
    virtual QCString trStaticPublicMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
622
    { return "Открытые статические члены"; }
623
    virtual QCString trProtectedMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
624
    { return "Защищенные члены"; }
625
    virtual QCString trProtectedSlots()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
626
    { return "Защищенные слоты"; }
627
    virtual QCString trStaticProtectedMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
628
    { return "Защищенные статические члены"; }
629
    virtual QCString trPrivateMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
630
    { return "Закрытые члены"; }
631
    virtual QCString trPrivateSlots()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
632
    { return "Закрытые слоты"; }
633
    virtual QCString trStaticPrivateMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
634
    { return "Закрытые статические члены"; }
635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654
    
    /*! 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<numEntries;i++) 
      {
        // use generateMarker to generate placeholders for the class links!
        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 
            result+=", ";
          else                // the fore last entry
Dimitri van Heesch's avatar
Dimitri van Heesch committed
655
            result+=" и ";
656 657 658
        }
      }
      return result; 
659
    }
660 661 662 663 664
    
    /*! used in class documentation to produce a list of base classes,
     *  if class diagrams are disabled.
     */
    virtual QCString trInheritsList(int numEntries)
665
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
666
      return "Базовые классы:"+trWriteList(numEntries)+".";
667
    }
668 669 670 671 672

    /*! used in class documentation to produce a list of super classes,
     *  if class diagrams are disabled.
     */
    virtual QCString trInheritedByList(int numEntries)
673
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
674
      return "Производные классы:"+trWriteList(numEntries)+".";
675
    }
676 677 678 679 680

    /*! used in member documentation blocks to produce a list of 
     *  members that are hidden by this one.
     */
    virtual QCString trReimplementedFromList(int numEntries)
681
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
682
      QCString result="Переопределяет метод";
683
      if(numEntries>1)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
684
	result+="ы предков";
685
      else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
686 687
	result+=" предка";
      return result+" "+trWriteList(numEntries)+".";
688
    }
689 690 691 692 693

    /*! used in member documentation blocks to produce a list of
     *  all member that overwrite the implementation of this member.
     */
    virtual QCString trReimplementedInList(int numEntries)
694
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
695
      return "Переопределяется в "+trWriteList(numEntries)+".";
696
    }
697 698 699

    /*! This is put above each page as a link to all members of namespaces. */
    virtual QCString trNamespaceMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
700
    { return "Члены пространств имен"; }
701 702 703

    /*! This is an introduction to the page with all namespace members */
    virtual QCString trNamespaceMemberDescription(bool extractAll)
704
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
705 706 707 708
      QCString result="Полный список ";
      if (!extractAll) result+="документированных ";
      result+="членов простанств имен.";
      return result;
709
    }
710 711 712 713 714

    /*! This is used in LaTeX as the title of the chapter with the 
     *  index of all namespaces.
     */
    virtual QCString trNamespaceIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
715
    { return "Алфавитный указатель пространств имен"; }
716 717 718 719 720

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all namespaces.
     */
    virtual QCString trNamespaceDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
721
    { return "Пространства имен"; }
722 723 724 725 726 727 728 729 730

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////

    /*! This is used in the documentation before the list of all
     *  namespaces in a file.
     */
    virtual QCString trNamespaces()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
731
    { return "Пространства имен"; }
732 733 734 735 736 737 738 739 740 741 742 743

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////

    /*! This is put at the bottom of a class documentation page and is
     *  followed by a list of files that were used to generate the page.
     */
    virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
        bool single)
    { // here s is one of " Class", " Struct" or " Union"
      // single is true implies a single file
Dimitri van Heesch's avatar
Dimitri van Heesch committed
744
      QCString result=QCString("Объявления и описания членов ");
745 746
      switch(compType)
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
747 748
        case ClassDef::Class:      result+="класс"; 
          if (single) result+="а"; else result+="ов";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
749
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
750 751
        case ClassDef::Struct:     result+="структур"; 
          if (single) result+="ы";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
752
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
753 754
        case ClassDef::Union:      result+="объединени";
          if (single) result+="я"; else result+="й";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
755
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
756 757
        case ClassDef::Interface:  result+="интерфейс";
          if (single) result+="а"; else result+="ов";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
758
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
759 760
        case ClassDef::Protocol:  result+="протокол";
          if (single) result+="а"; else result+="ов";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
761
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
762 763
        case ClassDef::Category:  result+="категори";
          if (single) result+="и"; else result+="й";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
764
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
765 766
        case ClassDef::Exception:  result+="исключени";
          if (single) result+="я"; else result+="й";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
767
          break;
768
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
769 770 771
      result+=" находятся в файл";
      if (single) result+="е:"; else result+="ах:";
      return result;
772
    }
773 774 775 776 777

    /*! This is in the (quick) index as a link to the alphabetical compound
     * list.
     */
    virtual QCString trAlphabeticalList()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
778
    { return "Алфавитный указатель"; }
779 780 781 782 783 784 785

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////

    /*! This is used as the heading text for the retval command. */
    virtual QCString trReturnValues()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
786
    { return "Возвращаемые значения"; }
787 788 789 790

    /*! This is in the (quick) index as a link to the main page (index.html)
     */
    virtual QCString trMainPage()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
791
    { return "Титульная страница"; }
792 793 794 795 796

    /*! 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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
797
    { return "стр."; }
798 799 800 801 802 803

//////////////////////////////////////////////////////////////////////////
// new since 0.49-991106
//////////////////////////////////////////////////////////////////////////

    virtual QCString trDefinedAtLineInSourceFile()
804
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
805
      return "См. определение в файле @1 строка @0";
806
    }
807
    virtual QCString trDefinedInSourceFile()
808
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
809
      return "См. определение в файле @0";
810
    }
811 812 813 814 815 816

//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////

    virtual QCString trDeprecated()
817
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
818
      return "Уст.";
819
    }
820 821 822 823 824 825 826

//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////

    /*! this text is put before a collaboration diagram */
    virtual QCString trCollaborationDiagram(const char *clName)
827
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
828
      return (QCString)"Граф связей класса "+clName+":";
829
    }
830 831
    /*! this text is put before an include dependency graph */
    virtual QCString trInclDepGraph(const char *fName)
832
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
833
      return (QCString)"Граф включаемых заголовочных файлов для "+fName+":";
834
    }
835 836
    /*! header that is put before the list of constructor/destructors. */
    virtual QCString trConstructorDocumentation()
837
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
838
      return "Конструктор(ы)"; 
839
    }
840 841
    /*! Used in the file documentation to point to the corresponding sources. */
    virtual QCString trGotoSourceCode()
842
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
843
      return "См. исходные тексты.";
844
    }
845 846
    /*! Used in the file sources to point to the corresponding documentation. */
    virtual QCString trGotoDocumentation()
847
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
848
      return "См. документацию.";
849
    }
850
    /*! Text for the \\pre command */
851
    virtual QCString trPrecondition()
852
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
853
      return "Предусловие";
854
    }
855
    /*! Text for the \\post command */
856
    virtual QCString trPostcondition()
857
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
858
      return "Постусловие";
859
    }
860
    /*! Text for the \\invariant command */
861
    virtual QCString trInvariant()
862
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
863
      return "Инвариант";
864
    }
865 866
    /*! Text shown before a multi-line variable/enum initialization */
    virtual QCString trInitialValue()
867
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
868
      return "Инициализатор";
869
    }
870 871
    /*! Text used the source code in the file index */
    virtual QCString trCode()
872
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
873
      return "Исходные тексты";
874
    }
875
    virtual QCString trGraphicalHierarchy()
876
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
877
      return "Иерархия классов. Графический вид.";
878
    }
879
    virtual QCString trGotoGraphicalHierarchy()
880
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
881
      return "см. графический вид.";
882
    }
883
    virtual QCString trGotoTextualHierarchy()
884
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
885
      return "см. текстовый вид.";
886
    }
887
    virtual QCString trPageIndex()
888
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
889
      return "Алфавитный указатель тематических описаний";
890
    }
891 892 893 894 895 896

//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
    
    virtual QCString trNote()
897
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
898
      return "Заметки";
899
    }
900
    virtual QCString trPublicTypes()
901
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
902
      return "Открытые типы";
903
    }
904
    virtual QCString trPublicAttribs()
905
    {
906
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
907
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
908
        return "Поля данных";
909 910 911
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
912
        return "Открытые атрибуты";
913
      }
914
    }
915
    virtual QCString trStaticPublicAttribs()
916
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
917
      return "Статические открытые данные";
918
    }
919
    virtual QCString trProtectedTypes()
920
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
921
      return "Защищенные типы";
922
    }
923
    virtual QCString trProtectedAttribs()
924
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
925
      return "Защищенные данные";
926
    }
927
    virtual QCString trStaticProtectedAttribs()
928
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
929
      return "Статические защищенные данные";
930
    }
931
    virtual QCString trPrivateTypes()
932
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
933
      return "Закрытые типы";
934
    }
935
    virtual QCString trPrivateAttribs()
936
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
937
      return "Закрытые данные";
938
    }
939
    virtual QCString trStaticPrivateAttribs()
940
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
941
      return "Закрытые статические данные";
942
    }
943 944 945 946 947 948 949 950 951


//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////

    /*! Used as a marker that is put before a todo item */
    virtual QCString trTodo()
    /*??*/
Dimitri van Heesch's avatar
Dimitri van Heesch committed
952
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
953
      return "Необходимо сделать";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
954
    }
955 956 957
    /*! Used as the header of the todo list */
    virtual QCString trTodoList()
    /*??*/
Dimitri van Heesch's avatar
Dimitri van Heesch committed
958
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
959
      return "Список задач";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
960
    }
961 962 963 964 965 966

//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////

    virtual QCString trReferencedBy()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
967
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
968
      return "Используется в";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
969
    }
970
    virtual QCString trRemarks()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
971
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
972
      return "Прим.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
973
    }
974
    virtual QCString trAttention()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
975
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
976
      return "Внимание";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
977
    }
978
    virtual QCString trInclByDepGraph()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
979
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
980
      return "Граф файлов, в которые включается этот файл:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
981
    }
982 983
    virtual QCString trSince()
    /*??*/
Dimitri van Heesch's avatar
Dimitri van Heesch committed
984
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
985
      return "Начиная с";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
986
    }
987 988 989 990 991 992 993
    
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////

    /*! title of the graph legend page */
    virtual QCString trLegendTitle()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
994
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
995
      return "Легенда";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
996
    }
997 998
    /*! page explaining how the dot graph's should be interpreted */
    virtual QCString trLegendDocs()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
999
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1000 1001 1002
      return 
        "Обозначения, используемые в графах.<p>\n"
        "Рассмотрим следующий пример:\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1003
        "\\code\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1004
        "/*! Невидимый класс из-за усечения */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1005
        "class Invisible { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1006
        "/*! Усеченный класс, отношение наследования скрыто */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1007
        "class Truncated : public Invisible { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1008
        "/* Недокументированный класс */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1009
        "class Undocumented { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1010
        "/*! Открытое наследование */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1011
        "class PublicBase : public Truncated { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1012
        "/*! Шаблон класса */\n"
1013
        "template<class T> class Templ {};\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1014
        "/*! Защищенное наследование */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1015
        "class ProtectedBase { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1016
        "/*! Закрытое наследование */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1017
        "class PrivateBase { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1018
        "/*! Класс, используемый классом Inherited */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1019
        "class Used { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1020
        "/*! Класс, порожденный от других классов */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1021 1022 1023
        "class Inherited : public PublicBase,\n"
        "                  protected ProtectedBase,\n"
        "                  private PrivateBase,\n"
1024 1025
        "                  public Undocumented,\n"
        "                  public Templ<int>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1026 1027 1028 1029 1030
        "{\n"
        "  private:\n"
        "    Used *m_usedClass;\n"
        "};\n"
        "\\endcode\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1031 1032
        "Если \\c MAX_DOT_GRAPH_HEIGHT в конфигурационном файле "
        "установлен в 240, получится следующий граф:"
1033
        "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1034
        "<p>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1035
        "Прямоугольники в этом графе имеют следующее значение:\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1036
        "<ul>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1037 1038 1039 1040 1041 1042 1043
        "<li>Заполненный черный прямоугольник представляет структуру или класс, "
        "для которого создан граф.\n"
        "<li>Прямоугольник с черной границей обозначает документированную структуру или класс.\n"
        "<li>Прямоугольник с серой границей обозначает недокументированную структуру или класс.\n"
        "<li>Прямоугольник с красной границей обозначает документированную структуру или класс, для которого\n"
        " не все отношения наследования/содержания показаны. Граф усечен, "
        "если он не поместился в указанных границах.\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1044
        "</ul>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1045
        "Стрелки имеют следующее значение:\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1046
        "<ul>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058
        "<li>Темно-синяя стрелка используется для изображения отношения открытого наследования "
        "между двумя классами.\n"
        "<li>Темно-зеленая стрелка используется при защищенном наследовании.\n"
        "<li>Темно-красная стрелка используется при закрытом наследовании.\n"
        "<li>Фиолетовая стрелка используется, если класс содержится в"
        "другом класе или используется другим классом."
        "Со стрелкой указывается переменная, "
        "через которую доступен указываемый класс или структура. \n"
        "<li>Желтая стрелка используется для связи подстановки шаблона и "
        "шаблона, на основе которого эта подстановка выполнена. С шаблоном"
        "указывается параметр подстановки.\n"
        "</ul>\n";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1059
    }
1060 1061
    /*! text for the link to the legend page */
    virtual QCString trLegend()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1062
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1063
      return "см. легенду";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1064
    }
1065 1066 1067 1068 1069 1070 1071

//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
    
    /*! Used as a marker that is put before a test item */
    virtual QCString trTest()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1072
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1073
      return "Тест";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1074
    }
1075 1076
    /*! Used as the header of the test list */
    virtual QCString trTestList()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1077
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1078
      return "Список тестов";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1079
    }
1080

1081 1082 1083 1084 1085
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////

    /*! Used as a section header for KDE-2 IDL methods */
1086 1087
    virtual QCString trDCOPMethods()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1088
      return "DCOP Методы";
1089 1090
    }

1091 1092 1093
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
1094

1095
    /*! Used as a section header for IDL properties */
1096 1097
    virtual QCString trProperties()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1098
      return "Свойства";
1099
    }
1100
    /*! Used as a section header for IDL property documentation */
1101 1102
    virtual QCString trPropertyDocumentation()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1103
      return "Полный список свойств";
1104 1105
    }

1106 1107 1108
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1109

1110
    /*! Used for Java classes in the summary section of Java packages */
1111 1112
    virtual QCString trClasses()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1113 1114
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1115
        return "Структуры данных";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1116 1117 1118
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1119
        return "Классы";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1120
      }
1121
    }
1122
    /*! Used as the title of a Java package */
1123 1124
    virtual QCString trPackage(const char *name)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1125
      return QCString("Пакет ")+name;
1126
    }
1127
    /*! Title of the package index page */
1128 1129
    virtual QCString trPackageList()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1130
      return "Полный список пакетов ";
1131
    }
1132
    /*! The description of the package index page */
1133 1134
    virtual QCString trPackageListDescription()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1135
      return "Полный список документированных пакетов.";
1136
    }
1137
    /*! The link name in the Quick links header for each page */
1138 1139
    virtual QCString trPackages()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1140
      return "Пакеты";
1141
    }
1142
    /*! Text shown before a multi-line define */
1143 1144
    virtual QCString trDefineValue()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1145
      return "Макроопределение:";
1146 1147
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1148 1149 1150 1151 1152 1153 1154
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
    
    /*! Used as a marker that is put before a \\bug item */
    virtual QCString trBug()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1155
      return "Ошибка";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1156 1157 1158 1159
    }
    /*! Used as the header of the bug list */
    virtual QCString trBugList()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1160
      return "Ошибки";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1161 1162
    }

1163
//////////////////////////////////////////////////////////////////////////
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1164
// new since 1.2.6
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178
//////////////////////////////////////////////////////////////////////////
    /*! Used as ansicpg for RTF file */
    virtual QCString trRTFansicp()
    {
      return "1251";
    }
    /*! Used as ansicpg for RTF fcharset */
    virtual QCString trRTFCharSet()
    {
      return "204";
    }
    /*! Used as header RTF general index */
    virtual QCString trRTFGeneralIndex()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1179
      return "Алфавитный указатель";
1180
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1181 1182 1183 1184 1185 1186 1187

    /*! 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)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1188 1189
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1190 1191
        QCString result((first_capital ? "Структуры данных" : "структуры данных"));
        return result; 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1192 1193 1194
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1195 1196 1197
        QCString result((first_capital ? "Класс" : "класс"));
        if(!singular) result+="ы";
        return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1198
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1199 1200 1201 1202 1203 1204 1205 1206
    }

    /*! 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)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1207 1208 1209
      QCString result((first_capital ? "Файл" : "файл"));
      if (!singular)  result+="ы";
      return result; 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1210 1211 1212 1213 1214 1215 1216 1217
    }

    /*! 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)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1218 1219 1220
      QCString result((first_capital ? "Пространств" : "пространств"));
      result+=(singular?"о имен":"а имен");
      return result; 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1221 1222 1223 1224 1225 1226 1227 1228
    }

    /*! 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)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1229 1230 1231
      QCString result((first_capital ? "Групп" : "групп"));
      result+=(singular ? "а" : "ы");
      return result; 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1232 1233 1234 1235 1236 1237 1238 1239
    }

    /*! 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)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1240 1241 1242
      QCString result((first_capital ? "Страниц" : "страниц"));
      result+=(singular ? "а" : "ы");
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1243 1244 1245 1246 1247 1248 1249 1250
    }

    /*! 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)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1251 1252 1253
      QCString result((first_capital ? "Член" : "член"));
      if (!singular)  result+="ы";
      return result; 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1254 1255 1256 1257 1258 1259 1260 1261
    }
   
    /*! 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)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1262 1263 1264
      QCString result((first_capital ? "Глобальны" : "глобальны"));
      result+=(singular ? "й" : "е");
      return result; 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1265 1266
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1267 1268 1269 1270 1271 1272 1273 1274
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////

    /*! 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)
    {                                                                         
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1275 1276 1277
      QCString result((first_capital ? "Автор" : "автор"));
      if (!singular) result+="ы";
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1278
    }
1279 1280 1281 1282 1283 1284 1285 1286 1287

//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////

    /*! This text is put before the list of members referenced by a member
     */
    virtual QCString trReferences()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1288
      return "Перекрестные ссылки";
1289 1290
    }

1291 1292 1293 1294 1295 1296 1297 1298 1299
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////

    /*! used in member documentation blocks to produce a list of 
     *  members that are implemented by this one.
     */
    virtual QCString trImplementedFromList(int numEntries)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1300
      return "Замещает "+trWriteList(numEntries)+".";
1301 1302 1303 1304 1305 1306 1307
    }

    /*! used in member documentation blocks to produce a list of
     *  all members that implementation this member.
     */
    virtual QCString trImplementedInList(int numEntries)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1308
      return "Замещается в "+trWriteList(numEntries)+".";
1309 1310
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1311 1312 1313 1314 1315 1316 1317 1318 1319
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////

    /*! used in RTF documentation as a heading for the Table
     *  of Contents.
     */
    virtual QCString trRTFTableOfContents()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1320
      return "Оглавление";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1321 1322
    }

1323 1324 1325 1326 1327 1328 1329 1330 1331
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////

    /*! Used as the header of the list of item that have been 
     *  flagged deprecated 
     */
    virtual QCString trDeprecatedList()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1332
      return "Список устаревших определений и описаний";
1333
    }
1334 1335 1336 1337 1338 1339 1340 1341 1342 1343

//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////

    /*! Used as a header for declaration section of the events found in 
     * a C# program
     */
    virtual QCString trEvents()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1344
      return "События";
1345 1346 1347 1348
    }
    /*! Header used for the documentation section of a class' events. */
    virtual QCString trEventDocumentation()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1349
      return "Cобытия";
1350
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1351 1352 1353 1354 1355 1356 1357 1358 1359

//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////

    /*! Used as a heading for a list of Java class types with package scope.
     */
    virtual QCString trPackageTypes()
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1360
      return "Типы с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1361 1362 1363 1364 1365 1366
    }
    /*! Used as a heading for a list of Java class functions with package 
     * scope. 
     */
    virtual QCString trPackageMembers()
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1367
      return "Функции с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1368 1369 1370 1371 1372 1373
    }
    /*! Used as a heading for a list of static Java class functions with 
     *  package scope.
     */
    virtual QCString trStaticPackageMembers()
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1374
      return "Статические функции с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1375 1376 1377 1378 1379 1380
    }
    /*! Used as a heading for a list of Java class variables with package 
     * scope.
     */
    virtual QCString trPackageAttribs()
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1381
      return "Переменные с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1382 1383 1384 1385 1386 1387
    }
    /*! Used as a heading for a list of static Java class variables with 
     * package scope.
     */
    virtual QCString trStaticPackageAttribs()
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1388
      return "Статические переменные с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////

    /*! 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()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1400
      return "Указатель";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1401 1402 1403 1404
    }
    /*! Put in front of the call graph for a function. */
    virtual QCString trCallGraph()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1405
      return "Граф вызовов:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417
    }

//////////////////////////////////////////////////////////////////////////
// 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. 
     */
    virtual QCString trSearchForIndex()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1418
      return "Поиск";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1419 1420 1421 1422 1423 1424
    }
    /*! This string is used as the title for the page listing the search
     *  results.
     */
    virtual QCString trSearchResultsTitle()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1425
      return "Результаты поиска";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438
    }
    /*! 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 
     *  value 2 represents 2 or more matches. HTML markup is allowed inside
     *  the returned string.
     */
    virtual QCString trSearchResults(int numDocuments)
    {
      if (numDocuments==0)
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1439
        return "К сожалению, по Вашему запросу ничего не найдено.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1440 1441 1442
      }
      else if( numDocuments == 1 )
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1443
        return "Найден 1 документ.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1444 1445 1446
      }
      else 
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1447 1448
        return "Найден(о) <b>$num</b> документ(ов). "
          "Документы отсортированы по релевантности.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1449 1450 1451 1452 1453 1454 1455
      }
    }
    /*! 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()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1456
      return "Найдено:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1457 1458
    }

1459 1460 1461 1462 1463 1464 1465
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////

    /*! This is used in HTML as the title of page with source code for file filename
     */
    virtual QCString trSourceFile(QCString& filename)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1466
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1467
      return "Исходный файл " + filename;
1468 1469 1470 1471 1472 1473 1474 1475 1476 1477
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////

    /*! This is used as the name of the chapter containing the directory
     *  hierarchy.
     */
    virtual QCString trDirIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1478
    { return "Дерево директорий"; }
1479 1480 1481 1482 1483

    /*! This is used as the name of the chapter containing the documentation
     *  of the directories.
     */
    virtual QCString trDirDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1484
    { return "Директории"; }
1485 1486 1487 1488 1489

    /*! 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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1490
    { return "Алфавитный указатель директорий"; }
1491 1492 1493 1494 1495

    /*! This returns a sentences that introduces the directory hierarchy. 
     *  and the fact that it is sorted alphabetically per level
     */
    virtual QCString trDirDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1496
    { return "Дерево директорий"; }
1497 1498 1499 1500 1501

    /*! This returns the title of a directory page. The name of the
     *  directory is passed via \a dirName.
     */
    virtual QCString trDirReference(const char *dirName)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1502
    { QCString result=QCString("Содержание директории ")+ dirName; return result; }
1503 1504 1505 1506 1507 1508

    /*! 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 first_capital, bool singular)
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1509 1510 1511
      QCString result((first_capital ? "Директори" : "директори"));
      if (singular) result+="я"; else result+="и";
      return result; 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1512
    }
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522

//////////////////////////////////////////////////////////////////////////
// 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()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1523 1524 1525
       return "Эта функция перегружена и предоставляется исключительно "
              "для удобства использования. Она отличается от вышеупомянутой "
              "только фактическими аргументами.";
1526
    }
1527 1528 1529 1530 1531 1532 1533 1534

//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////

    /*! This is used to introduce a caller (or called-by) graph */
    virtual QCString trCallerGraph()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1535
      return "Граф вызова функции:";
1536 1537 1538 1539 1540 1541
    }

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for enumeration values
     */
    virtual QCString trEnumerationValueDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619
    { return "Элементы перечислений"; }


//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
    // Простите переводчика, уже лет 20 не писал на фортране...
    // Любые замечания приму с благодарностью.
    
    /*! 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+="членов типа со ссылками ";
      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 "Указатель модулей"; }
1620

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749
    /*! 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)
    {
      return QCString("Модуль ") + namespaceName;
    }
    
    /*! 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 ? "Модул" : "модул"));
      if (singular)  result+="ь"; else result+="и"; 
      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)
    { // here s is one of " Module", " Struct" or " Union"
      // 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 ? "Подпрограмм" : "подпрограмм"));
      if (singular)  result+="а"; else result+="ы"; 
      return result; 
    }
1750

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1751 1752 1753 1754 1755
    /*! C# Type Constraint list */
    virtual QCString trTypeConstraints()
    {
      return "Согласование типов";
    }
1756 1757 1758
};

#endif