summaryrefslogtreecommitdiff
path: root/src/translator_sk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_sk.h')
-rw-r--r--src/translator_sk.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/translator_sk.h b/src/translator_sk.h
index 331f860..545a1d8 100644
--- a/src/translator_sk.h
+++ b/src/translator_sk.h
@@ -71,6 +71,10 @@ class TranslatorSlovak : public TranslatorAdapter_1_8_15
virtual QCString trDetailedDescription()
{ return "Detailný popis"; }
+ /*! header that is used when the summary tag is missing inside the details tag */
+ virtual QCString trDetails()
+ { return "Podrobnosti"; }
+
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return "Dokumentácia k členským typom"; }
@@ -382,12 +386,6 @@ class TranslatorSlovak : public TranslatorAdapter_1_8_15
virtual QCString trFileDocumentation()
{ return "Dokumentácia súborov"; }
- /*! This is used in LaTeX as the title of the chapter containing
- * the documentation of all examples.
- */
- virtual QCString trExampleDocumentation()
- { return "Dokumentácia príkladov"; }
-
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return "Referenčná príručka"; }
@@ -1764,16 +1762,20 @@ class TranslatorSlovak : 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[] = { "po","ut","st","št","pi","so","ne" };
static const char *months[] = { "jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec" };
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;