diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-03-28 14:10:48 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-03-28 14:10:48 (GMT) |
commit | da2223bed0d63aef0bb6b9e583b90f7319363586 (patch) | |
tree | 586c86db1de8495083071cb415bddb31c7e9cacb /src/translator_ru.h | |
parent | ffce2dce60901da5cf765d6452b8e8d505b80754 (diff) | |
download | Doxygen-da2223bed0d63aef0bb6b9e583b90f7319363586.zip Doxygen-da2223bed0d63aef0bb6b9e583b90f7319363586.tar.gz Doxygen-da2223bed0d63aef0bb6b9e583b90f7319363586.tar.bz2 |
Release-1.7.4
Diffstat (limited to 'src/translator_ru.h')
-rw-r--r-- | src/translator_ru.h | 90 |
1 files changed, 89 insertions, 1 deletions
diff --git a/src/translator_ru.h b/src/translator_ru.h index 0dce0ca..31e1f0f 100644 --- a/src/translator_ru.h +++ b/src/translator_ru.h @@ -26,7 +26,7 @@ #ifndef TRANSLATOR_RU_H #define TRANSLATOR_RU_H -class TranslatorRussian : public TranslatorAdapter_1_6_0 +class TranslatorRussian : public Translator { public: /*! Used for identification of the language. */ @@ -1753,6 +1753,94 @@ class TranslatorRussian : public TranslatorAdapter_1_6_0 { return "Согласование типов"; } +////////////////////////////////////////////////////////////////////////// +// new since 1.6.0 (mainly for the new search engine) +////////////////////////////////////////////////////////////////////////// + + /*! directory relation for \a name */ + virtual QCString trDirRelation(const char *name) + { + return QCString(name)+" Связь"; + } + + /*! Loading message shown when loading search results */ + virtual QCString trLoading() + { + return "Загрузка..."; + } + + /*! Label used for search results in the global namespace */ + virtual QCString trGlobalNamespace() + { + return "Глобальное пространство имён"; + } + + /*! Message shown while searching */ + virtual QCString trSearching() + { + return "Поиск..."; + } + + /*! Text shown when no search results are found */ + virtual QCString trNoMatches() + { + return "Не найдено"; + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.6.3 (missing items for the directory pages) +////////////////////////////////////////////////////////////////////////// + + /*! introduction text for the directory dependency graph */ + virtual QCString trDirDependency(const char *name) + { + return (QCString)"Диаграмма каталогов для "+name; + } + + /*! when clicking a directory dependency label, a page with a + * table is shown. The heading for the first column mentions the + * source file that has a relation to another file. + */ + virtual QCString trFileIn(const char *name) + { + return (QCString)"Файл в "+name; + } + + /*! when clicking a directory dependency label, a page with a + * table is shown. The heading for the second column mentions the + * destination file that is included. + */ + virtual QCString trIncludesFileIn(const char *name) + { + return (QCString)"Включает файл в "+name; + } + + /** Compiles a date string. + * @param year Year in 4 digits + * @param month Month of the year: 1=January + * @param day Day of the Month: 1..31 + * @param dayOfWeek Day of the week: 1=Monday..7=Sunday + * @param hour Hour of the day: 0..23 + * @param minutes Minutes in the hour: 0..59 + * @param seconds Seconds within the minute: 0..59 + * @param includeTime Include time in the result string? + */ + virtual QCString trDateTime(int year,int month,int day,int dayOfWeek, + int hour,int minutes,int seconds, + bool includeTime) + { + static const char *days[] = { "Пн","Вт","Ср","Чт","Пт","Сб","Вс" }; + static const char *months[] = { "Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек" }; + QCString sdate; + sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year); + if (includeTime) + { + QCString stime; + stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds); + sdate+=stime; + } + return sdate; + } }; #endif |