diff options
Diffstat (limited to 'src/translator_ua.h')
-rw-r--r-- | src/translator_ua.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/translator_ua.h b/src/translator_ua.h index 7503363..f6b52d3 100644 --- a/src/translator_ua.h +++ b/src/translator_ua.h @@ -54,6 +54,10 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 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 "Опис типів користувача"; } @@ -354,12 +358,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 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 "Довідковий посібник"; } @@ -1774,16 +1772,20 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4 */ 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; |