summaryrefslogtreecommitdiff
path: root/src/translator_cz.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_cz.h')
-rw-r--r--src/translator_cz.h83
1 files changed, 70 insertions, 13 deletions
diff --git a/src/translator_cz.h b/src/translator_cz.h
index 497a729..805b90b 100644
--- a/src/translator_cz.h
+++ b/src/translator_cz.h
@@ -20,6 +20,9 @@
// Updates:
// --------
+// 2022/08/30 - Updated for "new since 1.9.6" by: <petyovsky@vut.cz>
+// Changed translation: `trMemberFunctionDocumentation()`.
+// Added new translation: `trFlowchart()`.
// 2022/08/25 - Updated for "new since 1.9.4" by: <petyovsky@vut.cz>
// removed all implicit conversion from QCString to const char *,
// fixed issues: #7434, #8404, #9192,
@@ -126,7 +129,7 @@
Translator class (by the local maintainer) when the localized
translator is made up-to-date again.
*/
-class TranslatorCzech : public Translator
+class TranslatorCzech : public TranslatorAdapter_1_9_6
{
public:
@@ -190,6 +193,10 @@ class TranslatorCzech : public Translator
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 "Dokumentace členských typů"; }
@@ -200,7 +207,16 @@ class TranslatorCzech : public Translator
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
- { return "Dokumentace členských funkcí"; }
+ {
+ if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
+ {
+ return "Dokumentace členských funkcí/procedur/procesů";
+ }
+ else
+ {
+ return "Dokumentace členských funkcí";
+ }
+ }
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
@@ -520,12 +536,6 @@ class TranslatorCzech : public Translator
virtual QCString trFileDocumentation()
{ return "Dokumentace souborů"; }
- /*! This is used in LaTeX as the title of the chapter containing
- * the documentation of all examples.
- */
- virtual QCString trExampleDocumentation()
- { return "Dokumentace příkladů"; }
-
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return "Referenční příručka"; }
@@ -1944,16 +1954,20 @@ class TranslatorCzech : public Translator
*/
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","út","st","čt","pá","so","ne" };
static const char *months[] = { "led","úno","bře","dub","kvě","čer","čec","srp","zář","říj","lis","pro" };
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;
@@ -2176,7 +2190,7 @@ class TranslatorCzech : public Translator
virtual QCString trFunctionAndProc()
{ return "Funkce/Procedury/Procesy"; }
/** VHDL type */
- virtual QCString trVhdlType(uint64 type,bool single)
+ virtual QCString trVhdlType(uint64_t type,bool single)
{
switch(type)
{
@@ -2460,6 +2474,49 @@ class TranslatorCzech : public Translator
virtual QCString trPackageList()
{ return "Seznam balíků"; }
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.9.6
+//////////////////////////////////////////////////////////////////////////
+
+ /*! This is used for translation of the word that will be
+ * followed by a single name of the VHDL process flowchart.
+ */
+ virtual QCString trFlowchart()
+ { return "Vývojový diagram: "; }
+
+ /*! Please translate also updated body of the method
+ * trMemberFunctionDocumentation(), now better adapted for
+ * VHDL sources documentation.
+ * Done.
+ */
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.9.7
+//////////////////////////////////////////////////////////////////////////
+
+ /*! the compound type as used for the xrefitems */
+ virtual QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang)
+ {
+ QCString result;
+ switch(compType)
+ {
+ case ClassDef::Class:
+ if (lang == SrcLangExt_Fortran) trType(true,true);
+ else result=trClass(true,true);
+ break;
+ case ClassDef::Struct: result = "Struktury"; break;
+ case ClassDef::Union: result = "Unie"; break;
+ case ClassDef::Interface: result = "Rozhraní"; break;
+ case ClassDef::Protocol: result = "Protokolu"; break;
+ case ClassDef::Category: result = "Kategorie"; break;
+ case ClassDef::Exception: result = "Výjimky"; break;
+ case ClassDef::Service: result = "Služby"; break;
+ case ClassDef::Singleton: result = "Singletonu"; break;
+ default: break;
+ }
+ return result;
+ }
};
#endif // TRANSLATOR_CZ_H