summaryrefslogtreecommitdiffstats
path: root/src/translator_cz.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/translator_cz.h')
-rw-r--r--src/translator_cz.h80
1 files changed, 59 insertions, 21 deletions
diff --git a/src/translator_cz.h b/src/translator_cz.h
index c2eb801..a4647ce 100644
--- a/src/translator_cz.h
+++ b/src/translator_cz.h
@@ -105,7 +105,7 @@
// use the approach.
// - Removed the obsolete method trFiles().
//
-// 2001/05/18
+// 2001/05/18
// - The trRelatedPagesDescription() content updated to fit
// the context better.
// - Implemented new method trAuthor(params).
@@ -116,28 +116,16 @@
// - The trReimplementedInList() updated to fit the context better.
// - The trReimplementedFromList() updated to fit the context better.
//
-// 2001/07/16
-// - trClassDocumentation() updated as in the English translator.
-//
-// 2001/11/06
-// - trReferences() implemented.
-//
-// 2002/01/23
-// - trImplementedFromList() and trImplementedInList() implemented
-// (new since 1.2.13)
-//
-// 2002/03/05
-// - ... forgot to replace TranslatorAdapter... base class by Translator.
-//
-// 2002/07/08 (my birthday! ;)
-// - The new trRTFTableOfContents() implemented.
-//
-// 2002/07/29
-// - The new trDeprecatedList() implemented.
-//
+// 2001/07/16 - trClassDocumentation() updated as in the English translator.
+// 2001/11/06 - trReferences() implemented.
+// 2002/01/23 - Two new methods "since 1.2.13" implemented.
+// 2002/03/05 - ... forgot to replace TranslatorAdapter... by Translator.
+// 2002/07/08 (my birthday! ;) - The new trRTFTableOfContents() implemented.
+// 2002/07/29 - The new trDeprecatedList() implemented.
// 2002/10/15 - The new trEvents() and trEventDocumentation() implemented.
// 2003/04/28 - Five new methods "since 1.3" implemented.
// 2003/06/10 - Two new methods "since 1.3.1" implemented.
+// 2003/08/13 - Four new "since 1.3.3" implemented.
// Todo
// ----
@@ -157,7 +145,7 @@
// Windows version. The version which does not call the function is
// probably slightly faster.
-class TranslatorCzech : public TranslatorAdapter_1_3_3
+class TranslatorCzech : public Translator
{
private:
/*! The decode() inline assumes the source written in the
@@ -1608,6 +1596,56 @@ class TranslatorCzech : public TranslatorAdapter_1_3_3
return decode("Graf volání této funkce:");
}
+//////////////////////////////////////////////////////////////////////////
+// new since 1.3.3
+//////////////////////////////////////////////////////////////////////////
+
+ /*! When the search engine is enabled this text is put in the index
+ * of each page before the search field.
+ */
+ virtual QCString trSearchForIndex()
+ {
+ return decode("Vyhledat");
+ }
+ /*! This string is used as the title for the page listing the search
+ * results.
+ */
+ virtual QCString trSearchResultsTitle()
+ {
+ return decode("Výsledky vyhledávání");
+ }
+ /*! This string is put just before listing the search results. The
+ * text can be different depending on the number of documents found.
+ * Inside the text you can put the special marker $num to insert
+ * the number representing the actual number of search results.
+ * The @a numDocuments parameter can be either 0, 1 or 2, where the
+ * value 2 represents 2 or more matches. HTML markup is allowed inside
+ * the returned string.
+ */
+ virtual QCString trSearchResults(int numDocuments)
+ {
+ if (numDocuments==0)
+ {
+ return decode("Lituji. Vašemu dotazu neodpovídá žádný dokument.");
+ }
+ else if (numDocuments==1)
+ {
+ return decode("Nalezen jediný dokument, který vyhovuje vašemu dotazu.");
+ }
+ else
+ {
+ return decode("Nalezeno <b>$num</b> dokumentů, které vyhovují vašemu "
+ "dotazu. Nejlépe odpovídající dokumenty jsou zobrazeny "
+ "jako první.");
+ }
+ }
+ /*! This string is put before the list of matched words, for each search
+ * result. What follows is the list of words that matched the query.
+ */
+ virtual QCString trSearchMatches()
+ {
+ return decode("Nalezená slova:");
+ }
};
#endif // TRANSLATOR_CZ_H