summaryrefslogtreecommitdiff
path: root/src/translator_ru.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_ru.h')
-rw-r--r--src/translator_ru.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/translator_ru.h b/src/translator_ru.h
index 3fd63b4..7279df0 100644
--- a/src/translator_ru.h
+++ b/src/translator_ru.h
@@ -58,6 +58,10 @@ class TranslatorRussian : public TranslatorAdapter_1_8_15
virtual QCString trDetailedDescription()
{ return "Подробное описание"; }
+ /*! header that is used when the summary tag is missing inside the details tag */
+ virtual QCString trDetails()
+ { return "Подробности"; }
+
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return "Определения типов"; }
@@ -359,12 +363,6 @@ class TranslatorRussian : public TranslatorAdapter_1_8_15
virtual QCString trFileDocumentation()
{ return "Файлы"; }
- /*! This is used in LaTeX as the title of the chapter containing
- * the documentation of all examples.
- */
- virtual QCString trExampleDocumentation()
- { return "Примеры"; }
-
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return "Оглавление"; }
@@ -1776,16 +1774,20 @@ class TranslatorRussian : public TranslatorAdapter_1_8_15
*/
virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
- bool includeTime)
+ DateTimeType 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)
+ if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
+ {
+ sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
+ }
+ if (includeTime == DateTimeType::DateTime) sdate += " ";
+ if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
- stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
+ stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;