translator_ru.h 70 KB
Newer Older
1 2
/******************************************************************************
 *
3
 *
4
 *
Dimitri van Heesch's avatar
Dimitri van Heesch committed
5
 * Copyright (C) 1997-2014 by Dimitri van Heesch.
6 7
 *
 * Permission to use, copy, modify, and distribute this software and its
8 9
 * documentation under the terms of the GNU General Public License is hereby
 * granted. No representations are made about the suitability of this software
10 11 12
 * 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 Translator
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 44 45

    // --- 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
46
    { return "Относящиеся к классу функции"; }
47 48 49

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

    /*! 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
54
    { return "Подробное описание"; }
55 56 57

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

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

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

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

    /*! this is the text of a link put after brief descriptions. */
    virtual QCString trMore()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
83
    { return "Подробнее..."; }
84 85 86 87

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

    /*! 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()
95
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
96
      return "Cписок членов класса";
97
    }
98 99 100 101

    /*! 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
102
    { return "Полный список членов класса "; }
103 104 105 106

    /*! 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
107
    { return ", включая наследуемые из базового класса"; }
108 109 110 111 112

    /*! 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
113 114
    { QCString result="Автоматически создано Doxygen";
      if (s) result+=QCString(" для ")+s;
115
      result+=" из исходного текста.";
116 117 118 119 120
      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
121
    { return "перечисление"; }
122 123 124

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

    /*! put after an undocumented member in the list of all members */
    virtual QCString trDefinedIn()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
129
    { return "определено в"; }
130 131 132

    // quick reference sections

133
    /*! This is put above each page as a link to the list of all groups of
134 135 136
     *  compounds or files (see the \\group command).
     */
    virtual QCString trModules()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
137
    { return "Группы"; }
138 139 140

    /*! 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
141
    { return "Иерархия классов"; }
142 143 144

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

    /*! 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
158
    { return "Файлы"; }
159 160 161

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

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

    /*! 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
182 183 184
    /* ?? Вариант перевода "См. также: " более удачный, но не в заголовке,
     как в данном случае. */
    { return "Описания"; }
185 186 187

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

    /*! 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
192
    { return "Поиск"; }
193 194 195

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

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

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

    /*! This is an introduction to the page with all class members. */
    virtual QCString trCompoundMembersDescription(bool extractAll)
222
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
223 224
        QCString result="Список всех ";
        if(!extractAll) result+="документированных ";
225
        if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
Dimitri van Heesch's avatar
Dimitri van Heesch committed
226
          result+="членов структур данных со ссылками на ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
227
        else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
228
          result+="членов классов со ссылками на ";
229
        if(!extractAll)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
230
        {
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+="документацию по классу для каждого члена.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
235 236 237
        }
        else
        {
238
          if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
Dimitri van Heesch's avatar
Dimitri van Heesch committed
239
            result += "структуры";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
240
          else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
241 242
            result += "классы";
          result+=", к которым они принадлежат.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
243
        }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
244
        return result;
245
    }
246 247 248

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

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

    /*! 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
272
    { return "Полный список примеров."; }
273 274 275

    /*! 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
276
    { return "Полный список дополнительных описаний."; }
277 278 279

    /*! 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
280
    { return "Полный список групп."; }
281

282
    // index titles (the project name is prepended for these)
283 284 285 286


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

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

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

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

    /*! 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
320
    { return "Список файлов"; }
321 322 323 324 325

    /*! 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
326
    { return "Группы"; }
327 328 329 330 331

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

    /*! 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
347
    { return "Файлы"; }
348 349 350 351 352

    /*! 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
353
    { return "Примеры"; }
354 355 356 357 358

    /*! 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
359
    { return "Тематические описания"; }
360 361 362

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

365
    /*! This is used in the documentation of a file as a header before the
366 367 368
     *  list of defines
     */
    virtual QCString trDefines()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
369
    { return "Макросы"; }
370

371
    /*! This is used in the documentation of a file as a header before the
372 373 374
     *  list of typedefs
     */
    virtual QCString trTypedefs()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
375
    { return "Определения типов"; }
376

377
    /*! This is used in the documentation of a file as a header before the
378 379 380
     *  list of enumerations
     */
    virtual QCString trEnumerations()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
381
    { return "Перечисления"; }
382

383
    /*! This is used in the documentation of a file as a header before the
384 385 386
     *  list of (global) functions
     */
    virtual QCString trFunctions()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
387
    { return "Функции"; }
388

389
    /*! This is used in the documentation of a file as a header before the
390 391 392
     *  list of (global) variables
     */
    virtual QCString trVariables()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
393
    { return "Переменные"; }
394

395
    /*! This is used in the documentation of a file as a header before the
396 397 398
     *  list of (global) variables
     */
    virtual QCString trEnumerationValues()
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 before the list of
     *  documentation blocks for defines
     */
    virtual QCString trDefineDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
405
    { return "Макросы"; }
406

407
    /*! This is used in the documentation of a file/namespace before the list
408 409 410
     *  of documentation blocks for typedefs
     */
    virtual QCString trTypedefDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
411
    { return "Типы"; }
412

413
    /*! This is used in the documentation of a file/namespace before the list
414 415 416
     *  of documentation blocks for enumeration types
     */
    virtual QCString trEnumerationTypeDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
417
    { return "Перечисления"; }
418

419
    /*! This is used in the documentation of a file/namespace before the list
420 421 422
     *  of documentation blocks for functions
     */
    virtual QCString trFunctionDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
423
    { return "Функции"; }
424

425
    /*! This is used in the documentation of a file/namespace before the list
426 427 428
     *  of documentation blocks for variables
     */
    virtual QCString trVariableDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
429
    { return "Переменные"; }
430

431
    /*! This is used in the documentation of a file/namespace/group before
432 433 434
     *  the list of links to documented compounds
     */
    virtual QCString trCompounds()
435
    {
436
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
437
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
438
        return "Структуры данных";
439 440
      }
      else
441
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
442
        return "Классы";
443 444
      }

445
    }
446

447
    /*! This is used in the documentation of a group before the list of
448 449
     *  links to documented files
     */
450 451
    /*! This is used in the standard footer of each page and indicates when
     *  the page was generated
452 453
     */
    virtual QCString trGeneratedAt(const char *date,const char *projName)
454
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
455 456 457 458
      QCString result="Документация ";
      if (projName) result+=QCString("по ")+projName;
      result+=QCString(". Последние изменения: ")+date;
      result+=". Создано системой";
459
      return result;
460
    }
461 462 463

    /*! this text is put before a class diagram */
    virtual QCString trClassDiagram(const char *clName)
464
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
465
      return QCString("Граф наследования:")+clName+":";
466
    }
467 468 469

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

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

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

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

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

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

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

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

    /*! this text is used in the title page of a LaTeX document. */
    virtual QCString trGeneratedBy()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
502
    { return "Создано системой"; }
503

504
//////////////////////////////////////////////////////////////////////////
505
// new since 0.49-990307
506
//////////////////////////////////////////////////////////////////////////
507

508 509
    /*! 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
510
    { return "Пространства имен"; }
511 512 513

    /*! used as an introduction to the namespace list */
    virtual QCString trNamespaceListDescription(bool extractAll)
514
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
515 516 517 518
      QCString result="Полный список ";
      if (!extractAll) result+="документированных ";
      result+="пространств имен.";
      return result;
519
    }
520 521 522 523 524

    /*! 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
525
    { return "Друзья"; }
526 527 528 529

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
530

531
    /*! used in the class documentation as a header before the list of all
532
     * related classes
533 534
     */
    virtual QCString trRelatedFunctionDocumentation()
535
    { return "Документация по друзьям класса и функциям, относящимся"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
536
        " к классу"; }
537

538 539 540 541 542 543
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////

    /*! used as the title of the HTML page of a class/struct/union */
    virtual QCString trCompoundReference(const char *clName,
544
                                 ClassDef::CompoundType compType,
545 546
                                 bool isTemplate)
    {
547
      QCString result;
548
      if (isTemplate)
549
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
550
        result="Шаблон ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
551 552
        switch(compType)
        {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
553 554 555 556 557 558 559
          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;
560
          default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
561
        }
562 563 564
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
565 566
        switch(compType)
        {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
567 568 569 570 571 572 573
          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;
574
          default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
575
        }
576 577
      }
      result+=" ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
578
      return result+clName;
579 580
    }

581 582
    /*! used as the title of the HTML page of a file */
    virtual QCString trFileReference(const char *fileName)
583
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
584
      return QCString("Файл ")+fileName;
585
    }
586 587 588 589

    /*! 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
590
      return QCString("Пространство имен ")+namespaceName;
591
    }
592

593
    virtual QCString trPublicMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
594
    { return "Открытые члены"; }
595
    virtual QCString trPublicSlots()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
596
    { return "Открытые слоты"; }
597
    virtual QCString trSignals()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
598
    { return "Сигналы"; }
599
    virtual QCString trStaticPublicMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
600
    { return "Открытые статические члены"; }
601
    virtual QCString trProtectedMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
602
    { return "Защищенные члены"; }
603
    virtual QCString trProtectedSlots()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
604
    { return "Защищенные слоты"; }
605
    virtual QCString trStaticProtectedMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
606
    { return "Защищенные статические члены"; }
607
    virtual QCString trPrivateMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
608
    { return "Закрытые члены"; }
609
    virtual QCString trPrivateSlots()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
610
    { return "Закрытые слоты"; }
611
    virtual QCString trStaticPrivateMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
612
    { return "Закрытые статические члены"; }
613

614 615 616 617 618 619 620 621
    /*! 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
622
      for (i=0;i<numEntries;i++)
623 624
      {
        // use generateMarker to generate placeholders for the class links!
625
        result+=generateMarker(i); // generate marker for entry i in the list
626
                                   // (order is left to right)
627

628 629
        if (i!=numEntries-1)  // not the last entry, so we need a separator
        {
630
          if (i<numEntries-2) // not the fore last entry
631 632
            result+=", ";
          else                // the fore last entry
Dimitri van Heesch's avatar
Dimitri van Heesch committed
633
            result+=" и ";
634 635
        }
      }
636
      return result;
637
    }
638

639 640 641 642
    /*! used in class documentation to produce a list of base classes,
     *  if class diagrams are disabled.
     */
    virtual QCString trInheritsList(int numEntries)
643
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
644
      return "Базовые классы:"+trWriteList(numEntries)+".";
645
    }
646 647 648 649 650

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

655
    /*! used in member documentation blocks to produce a list of
656 657 658
     *  members that are hidden by this one.
     */
    virtual QCString trReimplementedFromList(int numEntries)
659
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
660
      QCString result="Переопределяет метод";
661
      if(numEntries>1)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
662
	result+="ы предков";
663
      else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
664 665
	result+=" предка";
      return result+" "+trWriteList(numEntries)+".";
666
    }
667 668 669 670 671

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

    /*! 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
678
    { return "Члены пространств имен"; }
679 680 681

    /*! This is an introduction to the page with all namespace members */
    virtual QCString trNamespaceMemberDescription(bool extractAll)
682
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
683 684 685 686
      QCString result="Полный список ";
      if (!extractAll) result+="документированных ";
      result+="членов простанств имен.";
      return result;
687
    }
688

689
    /*! This is used in LaTeX as the title of the chapter with the
690 691 692
     *  index of all namespaces.
     */
    virtual QCString trNamespaceIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
693
    { return "Алфавитный указатель пространств имен"; }
694 695 696 697 698

    /*! 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
699
    { return "Пространства имен"; }
700 701 702 703 704 705 706 707 708

//////////////////////////////////////////////////////////////////////////
// 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
709
    { return "Пространства имен"; }
710 711 712 713 714 715 716 717 718 719 720 721

//////////////////////////////////////////////////////////////////////////
// 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
722
      QCString result=QCString("Объявления и описания членов ");
723 724
      switch(compType)
      {
725
        case ClassDef::Class:      result+="класс";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
726
          if (single) result+="а"; else result+="ов";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
727
          break;
728
        case ClassDef::Struct:     result+="структур";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
729
          if (single) result+="ы";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
730
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
731 732
        case ClassDef::Union:      result+="объединени";
          if (single) result+="я"; else result+="й";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
733
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
734 735
        case ClassDef::Interface:  result+="интерфейс";
          if (single) result+="а"; else result+="ов";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
736
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
737 738
        case ClassDef::Protocol:  result+="протокол";
          if (single) result+="а"; else result+="ов";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
739
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
740 741
        case ClassDef::Category:  result+="категори";
          if (single) result+="и"; else result+="й";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
742
          break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
743 744
        case ClassDef::Exception:  result+="исключени";
          if (single) result+="я"; else result+="й";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
745
          break;
746
        default:
747
          break;
748
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
749 750 751
      result+=" находятся в файл";
      if (single) result+="е:"; else result+="ах:";
      return result;
752
    }
753 754 755 756 757 758 759

//////////////////////////////////////////////////////////////////////////
// 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
760
    { return "Возвращаемые значения"; }
761 762 763 764

    /*! 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
765
    { return "Титульная страница"; }
766

767
    /*! This is used in references to page that are put in the LaTeX
768 769 770
     *  documentation. It should be an abbreviation of the word page.
     */
    virtual QCString trPageAbbreviation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
771
    { return "стр."; }
772 773 774 775 776 777

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

    virtual QCString trDefinedAtLineInSourceFile()
778
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
779
      return "См. определение в файле @1 строка @0";
780
    }
781
    virtual QCString trDefinedInSourceFile()
782
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
783
      return "См. определение в файле @0";
784
    }
785 786 787 788 789 790

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

    virtual QCString trDeprecated()
791
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
792
      return "Уст.";
793
    }
794 795 796 797 798 799 800

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

    /*! this text is put before a collaboration diagram */
    virtual QCString trCollaborationDiagram(const char *clName)
801
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
802
      return (QCString)"Граф связей класса "+clName+":";
803
    }
804 805
    /*! this text is put before an include dependency graph */
    virtual QCString trInclDepGraph(const char *fName)
806
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
807
      return (QCString)"Граф включаемых заголовочных файлов для "+fName+":";
808
    }
809 810
    /*! header that is put before the list of constructor/destructors. */
    virtual QCString trConstructorDocumentation()
811
    {
812
      return "Конструктор(ы)";
813
    }
814 815
    /*! Used in the file documentation to point to the corresponding sources. */
    virtual QCString trGotoSourceCode()
816
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
817
      return "См. исходные тексты.";
818
    }
819 820
    /*! Used in the file sources to point to the corresponding documentation. */
    virtual QCString trGotoDocumentation()
821
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
822
      return "См. документацию.";
823
    }
824
    /*! Text for the \\pre command */
825
    virtual QCString trPrecondition()
826
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
827
      return "Предусловие";
828
    }
829
    /*! Text for the \\post command */
830
    virtual QCString trPostcondition()
831
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
832
      return "Постусловие";
833
    }
834
    /*! Text for the \\invariant command */
835
    virtual QCString trInvariant()
836
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
837
      return "Инвариант";
838
    }
839 840
    /*! Text shown before a multi-line variable/enum initialization */
    virtual QCString trInitialValue()
841
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
842
      return "Инициализатор";
843
    }
844 845
    /*! Text used the source code in the file index */
    virtual QCString trCode()
846
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
847
      return "Исходные тексты";
848
    }
849
    virtual QCString trGraphicalHierarchy()
850
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
851
      return "Иерархия классов. Графический вид.";
852
    }
853
    virtual QCString trGotoGraphicalHierarchy()
854
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
855
      return "см. графический вид.";
856
    }
857
    virtual QCString trGotoTextualHierarchy()
858
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
859
      return "см. текстовый вид.";
860
    }
861
    virtual QCString trPageIndex()
862
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
863
      return "Алфавитный указатель тематических описаний";
864
    }
865 866 867 868

//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
869

870
    virtual QCString trNote()
871
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
872
      return "Заметки";
873
    }
874
    virtual QCString trPublicTypes()
875
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
876
      return "Открытые типы";
877
    }
878
    virtual QCString trPublicAttribs()
879
    {
880
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
881
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
882
        return "Поля данных";
883 884 885
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
886
        return "Открытые атрибуты";
887
      }
888
    }
889
    virtual QCString trStaticPublicAttribs()
890
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
891
      return "Статические открытые данные";
892
    }
893
    virtual QCString trProtectedTypes()
894
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
895
      return "Защищенные типы";
896
    }
897
    virtual QCString trProtectedAttribs()
898
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
899
      return "Защищенные данные";
900
    }
901
    virtual QCString trStaticProtectedAttribs()
902
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
903
      return "Статические защищенные данные";
904
    }
905
    virtual QCString trPrivateTypes()
906
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
907
      return "Закрытые типы";
908
    }
909
    virtual QCString trPrivateAttribs()
910
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
911
      return "Закрытые данные";
912
    }
913
    virtual QCString trStaticPrivateAttribs()
914
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
915
      return "Закрытые статические данные";
916
    }
917 918 919 920 921 922 923 924 925


//////////////////////////////////////////////////////////////////////////
// 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
926
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
927
      return "Необходимо сделать";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
928
    }
929 930 931
    /*! Used as the header of the todo list */
    virtual QCString trTodoList()
    /*??*/
Dimitri van Heesch's avatar
Dimitri van Heesch committed
932
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
933
      return "Список задач";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
934
    }
935 936 937 938 939 940

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

    virtual QCString trReferencedBy()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
941
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
942
      return "Используется в";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
943
    }
944
    virtual QCString trRemarks()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
945
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
946
      return "Прим.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
947
    }
948
    virtual QCString trAttention()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
949
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
950
      return "Внимание";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
951
    }
952
    virtual QCString trInclByDepGraph()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
953
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
954
      return "Граф файлов, в которые включается этот файл:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
955
    }
956 957
    virtual QCString trSince()
    /*??*/
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 967
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////

    /*! title of the graph legend page */
    virtual QCString trLegendTitle()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
968
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
969
      return "Легенда";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
970
    }
971 972
    /*! page explaining how the dot graph's should be interpreted */
    virtual QCString trLegendDocs()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
973
    {
974
      return
Dimitri van Heesch's avatar
Dimitri van Heesch committed
975 976
        "Обозначения, используемые в графах.<p>\n"
        "Рассмотрим следующий пример:\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
977
        "\\code\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
978
        "/*! Невидимый класс из-за усечения */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
979
        "class Invisible { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
980
        "/*! Усеченный класс, отношение наследования скрыто */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
981
        "class Truncated : public Invisible { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
982
        "/* Недокументированный класс */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
983
        "class Undocumented { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
984
        "/*! Открытое наследование */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
985
        "class PublicBase : public Truncated { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
986
        "/*! Шаблон класса */\n"
987
        "template<class T> class Templ {};\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
988
        "/*! Защищенное наследование */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
989
        "class ProtectedBase { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
990
        "/*! Закрытое наследование */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
991
        "class PrivateBase { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
992
        "/*! Класс, используемый классом Inherited */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
993
        "class Used { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
994
        "/*! Класс, порожденный от других классов */\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
995 996 997
        "class Inherited : public PublicBase,\n"
        "                  protected ProtectedBase,\n"
        "                  private PrivateBase,\n"
998 999
        "                  public Undocumented,\n"
        "                  public Templ<int>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1000 1001 1002 1003 1004
        "{\n"
        "  private:\n"
        "    Used *m_usedClass;\n"
        "};\n"
        "\\endcode\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1005 1006
        "Если \\c MAX_DOT_GRAPH_HEIGHT в конфигурационном файле "
        "установлен в 240, получится следующий граф:"
1007
        "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1008
        "<p>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1009
        "Прямоугольники в этом графе имеют следующее значение:\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1010
        "<ul>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1011 1012 1013 1014 1015 1016 1017
        "<li>Заполненный черный прямоугольник представляет структуру или класс, "
        "для которого создан граф.\n"
        "<li>Прямоугольник с черной границей обозначает документированную структуру или класс.\n"
        "<li>Прямоугольник с серой границей обозначает недокументированную структуру или класс.\n"
        "<li>Прямоугольник с красной границей обозначает документированную структуру или класс, для которого\n"
        " не все отношения наследования/содержания показаны. Граф усечен, "
        "если он не поместился в указанных границах.\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1018
        "</ul>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1019
        "Стрелки имеют следующее значение:\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1020
        "<ul>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032
        "<li>Темно-синяя стрелка используется для изображения отношения открытого наследования "
        "между двумя классами.\n"
        "<li>Темно-зеленая стрелка используется при защищенном наследовании.\n"
        "<li>Темно-красная стрелка используется при закрытом наследовании.\n"
        "<li>Фиолетовая стрелка используется, если класс содержится в"
        "другом класе или используется другим классом."
        "Со стрелкой указывается переменная, "
        "через которую доступен указываемый класс или структура. \n"
        "<li>Желтая стрелка используется для связи подстановки шаблона и "
        "шаблона, на основе которого эта подстановка выполнена. С шаблоном"
        "указывается параметр подстановки.\n"
        "</ul>\n";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1033
    }
1034 1035
    /*! text for the link to the legend page */
    virtual QCString trLegend()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1036
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1037
      return "см. легенду";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1038
    }
1039 1040 1041 1042

//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
1043

1044 1045
    /*! Used as a marker that is put before a test item */
    virtual QCString trTest()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1046
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1047
      return "Тест";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1048
    }
1049 1050
    /*! Used as the header of the test list */
    virtual QCString trTestList()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1051
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1052
      return "Список тестов";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1053
    }
1054

1055 1056 1057
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
1058

1059
    /*! Used as a section header for IDL properties */
1060 1061
    virtual QCString trProperties()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1062
      return "Свойства";
1063
    }
1064
    /*! Used as a section header for IDL property documentation */
1065 1066
    virtual QCString trPropertyDocumentation()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1067
      return "Полный список свойств";
1068 1069
    }

1070 1071 1072
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1073

1074
    /*! Used for Java classes in the summary section of Java packages */
1075 1076
    virtual QCString trClasses()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1077 1078
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1079
        return "Структуры данных";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1080 1081 1082
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1083
        return "Классы";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1084
      }
1085
    }
1086
    /*! Used as the title of a Java package */
1087 1088
    virtual QCString trPackage(const char *name)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1089
      return QCString("Пакет ")+name;
1090
    }
1091
    /*! Title of the package index page */
1092 1093
    virtual QCString trPackageList()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1094
      return "Полный список пакетов ";
1095
    }
1096
    /*! The description of the package index page */
1097 1098
    virtual QCString trPackageListDescription()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1099
      return "Полный список документированных пакетов.";
1100
    }
1101
    /*! The link name in the Quick links header for each page */
1102 1103
    virtual QCString trPackages()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1104
      return "Пакеты";
1105
    }
1106
    /*! Text shown before a multi-line define */
1107 1108
    virtual QCString trDefineValue()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1109
      return "Макроопределение:";
1110 1111
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1112 1113 1114
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
1115

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1116 1117 1118
    /*! Used as a marker that is put before a \\bug item */
    virtual QCString trBug()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1119
      return "Ошибка";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1120 1121 1122 1123
    }
    /*! Used as the header of the bug list */
    virtual QCString trBugList()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1124
      return "Ошибки";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1125 1126
    }

1127
//////////////////////////////////////////////////////////////////////////
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1128
// new since 1.2.6
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
//////////////////////////////////////////////////////////////////////////
    /*! 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
1143
      return "Алфавитный указатель";
1144
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1145 1146

    /*! This is used for translation of the word that will possibly
1147
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1148 1149 1150
     *  of the category.
     */
    virtual QCString trClass(bool first_capital, bool singular)
1151
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1152 1153
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1154
        QCString result((first_capital ? "Структуры данных" : "структуры данных"));
1155
        return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1156 1157 1158
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1159 1160 1161
        QCString result((first_capital ? "Класс" : "класс"));
        if(!singular) result+="ы";
        return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1162
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1163 1164 1165
    }

    /*! This is used for translation of the word that will possibly
1166
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1167 1168 1169
     *  of the category.
     */
    virtual QCString trFile(bool first_capital, bool singular)
1170
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1171 1172
      QCString result((first_capital ? "Файл" : "файл"));
      if (!singular)  result+="ы";
1173
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1174 1175 1176
    }

    /*! This is used for translation of the word that will possibly
1177
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1178 1179 1180
     *  of the category.
     */
    virtual QCString trNamespace(bool first_capital, bool singular)
1181
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1182 1183
      QCString result((first_capital ? "Пространств" : "пространств"));
      result+=(singular?"о имен":"а имен");
1184
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1185 1186 1187
    }

    /*! This is used for translation of the word that will possibly
1188
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1189 1190 1191
     *  of the category.
     */
    virtual QCString trGroup(bool first_capital, bool singular)
1192
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1193 1194
      QCString result((first_capital ? "Групп" : "групп"));
      result+=(singular ? "а" : "ы");
1195
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1196 1197 1198
    }

    /*! This is used for translation of the word that will possibly
1199
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1200 1201 1202
     *  of the category.
     */
    virtual QCString trPage(bool first_capital, bool singular)
1203
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1204 1205 1206
      QCString result((first_capital ? "Страниц" : "страниц"));
      result+=(singular ? "а" : "ы");
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1207 1208 1209
    }

    /*! This is used for translation of the word that will possibly
1210
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1211 1212 1213
     *  of the category.
     */
    virtual QCString trMember(bool first_capital, bool singular)
1214
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1215 1216
      QCString result((first_capital ? "Член" : "член"));
      if (!singular)  result+="ы";
1217
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1218
    }
1219

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1220
    /*! This is used for translation of the word that will possibly
1221
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1222 1223 1224
     *  of the category.
     */
    virtual QCString trGlobal(bool first_capital, bool singular)
1225
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1226 1227
      QCString result((first_capital ? "Глобальны" : "глобальны"));
      result+=(singular ? "й" : "е");
1228
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1229 1230
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1231 1232 1233 1234 1235 1236 1237
//////////////////////////////////////////////////////////////////////////
// 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)
1238
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1239 1240 1241
      QCString result((first_capital ? "Автор" : "автор"));
      if (!singular) result+="ы";
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1242
    }
1243 1244 1245 1246 1247 1248 1249 1250 1251

//////////////////////////////////////////////////////////////////////////
// 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
1252
      return "Перекрестные ссылки";
1253 1254
    }

1255 1256 1257 1258
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////

1259
    /*! used in member documentation blocks to produce a list of
1260 1261 1262 1263
     *  members that are implemented by this one.
     */
    virtual QCString trImplementedFromList(int numEntries)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1264
      return "Замещает "+trWriteList(numEntries)+".";
1265 1266 1267 1268 1269 1270 1271
    }

    /*! 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
1272
      return "Замещается в "+trWriteList(numEntries)+".";
1273 1274
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1275 1276 1277 1278 1279 1280 1281 1282 1283
//////////////////////////////////////////////////////////////////////////
// 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
1284
      return "Оглавление";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1285 1286
    }

1287 1288 1289 1290
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////

1291 1292
    /*! Used as the header of the list of item that have been
     *  flagged deprecated
1293 1294 1295
     */
    virtual QCString trDeprecatedList()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1296
      return "Список устаревших определений и описаний";
1297
    }
1298 1299 1300 1301 1302

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

1303
    /*! Used as a header for declaration section of the events found in
1304 1305 1306 1307
     * a C# program
     */
    virtual QCString trEvents()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1308
      return "События";
1309 1310 1311 1312
    }
    /*! Header used for the documentation section of a class' events. */
    virtual QCString trEventDocumentation()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1313
      return "Cобытия";
1314
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1315 1316 1317 1318 1319 1320 1321 1322

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

    /*! Used as a heading for a list of Java class types with package scope.
     */
    virtual QCString trPackageTypes()
1323
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1324
      return "Типы с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1325
    }
1326 1327
    /*! Used as a heading for a list of Java class functions with package
     * scope.
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1328 1329
     */
    virtual QCString trPackageMembers()
1330
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1331
      return "Функции с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1332
    }
1333
    /*! Used as a heading for a list of static Java class functions with
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1334 1335 1336
     *  package scope.
     */
    virtual QCString trStaticPackageMembers()
1337
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1338
      return "Статические функции с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1339
    }
1340
    /*! Used as a heading for a list of Java class variables with package
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1341 1342 1343
     * scope.
     */
    virtual QCString trPackageAttribs()
1344
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1345
      return "Переменные с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1346
    }
1347
    /*! Used as a heading for a list of static Java class variables with
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1348 1349 1350
     * package scope.
     */
    virtual QCString trStaticPackageAttribs()
1351
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1352
      return "Статические переменные с областью видимости пакета";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1353
    }
1354

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1355 1356 1357 1358
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////

1359
    /*! Used in the quick index of a class/file/namespace member list page
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1360 1361 1362 1363
     *  to link to the unfiltered list of all members.
     */
    virtual QCString trAll()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1364
      return "Указатель";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1365 1366 1367 1368
    }
    /*! Put in front of the call graph for a function. */
    virtual QCString trCallGraph()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1369
      return "Граф вызовов:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////

    /*! 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
1381
      return "Результаты поиска";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1382 1383 1384 1385 1386
    }
    /*! 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.
1387
     *  The @a numDocuments parameter can be either 0, 1 or 2, where the
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1388 1389 1390 1391 1392 1393 1394
     *  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
1395
        return "К сожалению, по Вашему запросу ничего не найдено.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1396 1397 1398
      }
      else if( numDocuments == 1 )
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1399
        return "Найден 1 документ.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1400
      }
1401
      else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1402
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1403 1404
        return "Найден(о) <b>$num</b> документ(ов). "
          "Документы отсортированы по релевантности.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1405 1406
      }
    }
1407
    /*! This string is put before the list of matched words, for each search
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1408 1409 1410 1411
     *  result. What follows is the list of words that matched the query.
     */
    virtual QCString trSearchMatches()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1412
      return "Найдено:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1413 1414
    }

1415 1416 1417 1418 1419 1420 1421
//////////////////////////////////////////////////////////////////////////
// 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
1422
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1423
      return "Исходный файл " + filename;
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433
    }

//////////////////////////////////////////////////////////////////////////
// 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
1434
    { return "Дерево директорий"; }
1435 1436 1437 1438 1439

    /*! 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
1440
    { return "Директории"; }
1441 1442 1443 1444 1445

    /*! 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
1446
    { return "Алфавитный указатель директорий"; }
1447

1448
    /*! This returns a sentences that introduces the directory hierarchy.
1449 1450 1451
     *  and the fact that it is sorted alphabetically per level
     */
    virtual QCString trDirDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1452
    { return "Дерево директорий"; }
1453 1454 1455 1456 1457

    /*! 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
1458
    { QCString result=QCString("Содержание директории ")+ dirName; return result; }
1459 1460 1461 1462 1463

    /*! 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)
1464
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1465 1466
      QCString result((first_capital ? "Директори" : "директори"));
      if (singular) result+="я"; else result+="и";
1467
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1468
    }
1469 1470 1471 1472 1473 1474 1475 1476 1477 1478

//////////////////////////////////////////////////////////////////////////
// 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
1479 1480 1481
       return "Эта функция перегружена и предоставляется исключительно "
              "для удобства использования. Она отличается от вышеупомянутой "
              "только фактическими аргументами.";
1482
    }
1483 1484 1485 1486 1487 1488 1489 1490

//////////////////////////////////////////////////////////////////////////
// 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
1491
      return "Граф вызова функции:";
1492 1493
    }

1494
    /*! This is used in the documentation of a file/namespace before the list
1495 1496 1497
     *  of documentation blocks for enumeration values
     */
    virtual QCString trEnumerationValueDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1498 1499 1500 1501 1502 1503 1504 1505
    { return "Элементы перечислений"; }


//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
    // Простите переводчика, уже лет 20 не писал на фортране...
    // Любые замечания приму с благодарностью.
1506

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1507 1508 1509 1510
    /*! header that is put before the list of member subprograms (Fortran). */
    virtual QCString trMemberFunctionDocumentationFortran()
    { return "Функции/подпрограммы"; }

1511
    /*! This is put above each page as a link to the list of annotated data types (Fortran). */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531
    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+="членов типа со ссылками ";
1532
      if (!extractAll)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1533 1534 1535
      {
	result+="на документацию для каждого члена:";
      }
1536
      else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1537 1538 1539 1540 1541 1542
      {
         result+="на содержащую структуру:";
      }
      return result;
    }

1543
    /*! This is used in LaTeX as the title of the chapter with the
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554
     * 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 "Оглавление типов данных"; }

1555
    /*! This is used in the documentation of a file as a header before the
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1556 1557 1558 1559 1560
     *  list of (global) subprograms (Fortran).
     */
    virtual QCString trSubprograms()
    { return "Функции/подпрограммы"; }

1561
    /*! This is used in the documentation of a file/namespace before the list
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1562 1563 1564 1565 1566
     *  of documentation blocks for subprograms (Fortran)
     */
    virtual QCString trSubprogramDocumentation()
    { return "Функции/подпрограммы"; }

1567
    /*! This is used in the documentation of a file/namespace/group before
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1568 1569 1570 1571
     *  the list of links to documented compounds (Fortran)
     */
     virtual QCString trDataTypes()
    { return "Типы данных"; }
1572

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1573 1574 1575
    /*! used as the title of page containing all the index of all modules (Fortran). */
    virtual QCString trModulesList()
    { return "Указатель модулей"; }
1576

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591
    /*! 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;
1592
      if (isTemplate)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1593 1594 1595 1596 1597 1598 1599 1600 1601 1602
      {
	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;
1603
          default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617
	}
      }
      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;
1618
          default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1619 1620 1621 1622 1623 1624 1625 1626 1627
	}
      }
      return result;
    }
    /*! used as the title of the HTML page of a module (Fortran) */
    virtual QCString trModuleReference(const char *namespaceName)
    {
      return QCString("Модуль ") + namespaceName;
    }
1628

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1629 1630 1631 1632 1633 1634
    /*! 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)
1635
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1636 1637 1638
      QCString result="Список всех ";
      if (!extractAll) result+="документированных ";
      result+="модулей со ссылками ";
1639
      if (extractAll)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1640 1641 1642
      {
        result+="на документацию для каждого члена:";
      }
1643
      else
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1644 1645 1646 1647 1648 1649
      {
        result+="на модули, их содержащие:";
      }
      return result;
    }

1650
    /*! This is used in LaTeX as the title of the chapter with the
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1651 1652 1653 1654
     *  index of all modules (Fortran).
     */
    virtual QCString trModulesIndex()
    { return "Указатель модулей"; }
1655

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1656
    /*! This is used for translation of the word that will possibly
1657
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1658 1659 1660
     *  of the category.
     */
    virtual QCString trModule(bool first_capital, bool singular)
1661
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1662
      QCString result((first_capital ? "Модул" : "модул"));
1663 1664
      if (singular)  result+="ь"; else result+="и";
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680
    }
    /*! 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;
1681
        case ClassDef::Category:   result+="категории"; break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1682
        case ClassDef::Exception:  result+="исключению"; break;
1683
        default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1684 1685 1686 1687 1688 1689
      }
      result+=" сгенерирована на основе следующ";
      if (single) result+="его файла:"; else result+="их файлов:";
      return result;
    }
    /*! This is used for translation of the word that will possibly
1690
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1691 1692 1693
     *  of the category.
     */
    virtual QCString trType(bool first_capital, bool singular)
1694
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1695 1696
      QCString result((first_capital ? "Тип" : "тип"));
      if (!singular)  result+="ы";
1697
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1698 1699
    }
    /*! This is used for translation of the word that will possibly
1700
     *  be followed by a single name or by a list of names
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1701 1702 1703
     *  of the category.
     */
    virtual QCString trSubprogram(bool first_capital, bool singular)
1704
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1705
      QCString result((first_capital ? "Подпрограмм" : "подпрограмм"));
1706 1707
      if (singular)  result+="а"; else result+="ы";
      return result;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1708
    }
1709

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1710 1711 1712 1713 1714
    /*! C# Type Constraint list */
    virtual QCString trTypeConstraints()
    {
      return "Согласование типов";
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
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 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770
//////////////////////////////////////////////////////////////////////////
// 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)
//////////////////////////////////////////////////////////////////////////

    /*! 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;
    }

1771
    /** Compiles a date string.
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796
     *  @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;
    }
1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956

///////////////////////////////////////////////////////////////////////
// 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 = "Документация для этого перечисления сгенерерирована из файл";
      if (!single) result += "ов";
      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 "Обзор дизайна";
    }

///////////////////////////////////////////////////////////////////////
// new since 1.8.4
///////////////////////////////////////////////////////////////////////

    /** old style UNO IDL services: implemented interfaces */
    virtual QCString trInterfaces()
    { return "Экспортируемые интерфейсы"; }

    /** old style UNO IDL services: inherited services */
    virtual QCString trServices()
    { return "Включённые сервисы"; }

    /** UNO IDL constant groups */
    virtual QCString trConstantGroups()
    { return "Постоянные группы"; }

    /** UNO IDL constant groups */
    virtual QCString trConstantGroupReference(const char *namespaceName)
    {
      QCString result=namespaceName;
      result+=" Ссылка на постоянную группу";
      return result;
    }
    /** UNO IDL service page title */
    virtual QCString trServiceReference(const char *sName)
    {
      QCString result=(QCString)sName;
      result+=" Ссылка на сервис";
      return result;
    }
    /** UNO IDL singleton page title */
    virtual QCString trSingletonReference(const char *sName)
    {
      QCString result=(QCString)sName;
      result+=" Ссылка на одиночку";
      return result;
    }
    /** UNO IDL service page */
    virtual QCString trServiceGeneratedFromFiles(bool single)
    {
      // single is true implies a single file
      QCString result=(QCString)"Документация для этого сервиса "
1957
                                "сгенерирована из следующего файл";
1958 1959 1960 1961 1962 1963 1964 1965
      if (single) result+="а:"; else result+="ов:";
      return result;
    }
    /** UNO IDL singleton page */
    virtual QCString trSingletonGeneratedFromFiles(bool single)
    {
      // single is true implies a single file
      QCString result=(QCString)"Документация по этому одиночке "
1966
                                "сгенерирована из следующего файл";
1967 1968 1969 1970 1971
      if (single) result+="а:"; else result+="ов:";
      return result;
    }

///////////////////////////////////////////////////////////////////////
1972 1973 1974
};

#endif