diff options
Diffstat (limited to 'src/translator_hr.h')
-rw-r--r-- | src/translator_hr.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/translator_hr.h b/src/translator_hr.h index 3f9f492..9f9f841 100644 --- a/src/translator_hr.h +++ b/src/translator_hr.h @@ -118,9 +118,9 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "Ovo je popis svih članova"; } QCString trIncludingInheritedMembers() { return ", uključujući naslijeđene članove."; } - QCString trGeneratedAutomatically(const char *s) + QCString trGeneratedAutomatically(const QCString &s) { QCString result="napravljeno automatski Doxygen-om"; - if (s) result+=(QCString)" za "+s; + if (!s.isEmpty()) result+=(QCString)" za "+s; result+=" iz programskog koda."; return result; } @@ -285,14 +285,14 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "Dokumentacija varijable"; } QCString trCompounds() { return "Strukture"; } - QCString trGeneratedAt(const char *date,const char *projName) + QCString trGeneratedAt(const QCString &date,const QCString &projName) { QCString result=(QCString)"Napravljeno "+date; - if (projName) result+=(QCString)" projekt: "+projName; + if (!projName.isEmpty()) result+=(QCString)" projekt: "+projName; result+=" generator: "; return result; } - QCString trClassDiagram(const char *clName) + QCString trClassDiagram(const QCString &clName) { return QCString("Dijagram klasa za ")+clName; } @@ -342,7 +342,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// - QCString trCompoundReference(const char *clName, + QCString trCompoundReference(const QCString &clName, ClassDef::CompoundType compType, bool /*isTemplate*/) // used as the title of the HTML page of a class/struct/union @@ -362,14 +362,14 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 result += clName; return result; } - QCString trFileReference(const char *fileName) + QCString trFileReference(const QCString &fileName) // used as the title of the HTML page of a file { QCString result="Opis datoteke "; result+=fileName; return result; } - QCString trNamespaceReference(const char *namespaceName) + QCString trNamespaceReference(const QCString &namespaceName) // used as the title of the HTML page of a namespace { QCString result ="Opis imenika "; @@ -559,12 +559,12 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// /*! this text is put before a collaboration diagram */ - QCString trCollaborationDiagram(const char *clName) + QCString trCollaborationDiagram(const QCString &clName) { return (QCString)"Kolaboracijski dijagram za "+clName+ ":"; } /*! this text is put before an include dependency graph */ - QCString trInclDepGraph(const char *fName) + QCString trInclDepGraph(const QCString &fName) { return (QCString)"Graf include međuovisnosti za "+fName+":"; } @@ -824,7 +824,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 return "Klase"; } /*! Used as the title of a Java package */ - virtual QCString trPackage(const char *name) + virtual QCString trPackage(const QCString &name) { return (QCString)"Paket "+name; } @@ -1194,7 +1194,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 /*! This returns the title of a directory page. The name of the * directory is passed via \a dirName. */ - virtual QCString trDirReference(const char *dirName) + virtual QCString trDirReference(const QCString &dirName) { QCString result= "Opis direktorija "; result += dirName; return result; } /*! This returns the word directory with or without starting capital @@ -1320,7 +1320,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 } /*! used as the title of the HTML page of a module/type (Fortran) */ - virtual QCString trCompoundReferenceFortran(const char *clName, + virtual QCString trCompoundReferenceFortran(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) { @@ -1341,7 +1341,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 return result; } /*! used as the title of the HTML page of a module (Fortran) */ - virtual QCString trModuleReference(const char *namespaceName) + virtual QCString trModuleReference(const QCString &namespaceName) { QCString result=namespaceName; result+=" - Sadržaj modula"; @@ -1438,7 +1438,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 ////////////////////////////////////////////////////////////////////////// /*! directory relation for \a name */ - virtual QCString trDirRelation(const char *name) + virtual QCString trDirRelation(const QCString &name) { return QCString("Relacije ") + QCString(name); } @@ -1475,7 +1475,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 * table is shown. The heading for the first column mentions the * source file that has a relation to another file. */ - virtual QCString trFileIn(const char *name) + virtual QCString trFileIn(const QCString &name) { return (QCString)"Datoteka u "+name; } @@ -1484,7 +1484,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 * table is shown. The heading for the second column mentions the * destination file that is included. */ - virtual QCString trIncludesFileIn(const char *name) + virtual QCString trIncludesFileIn(const QCString &name) { return (QCString)"Uključuje datotake u "+name; } @@ -1528,7 +1528,7 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 { return "Copyright"; } /*! Header for the graph showing the directory dependencies */ - virtual QCString trDirDepGraph(const char *name) + virtual QCString trDirDepGraph(const QCString &name) { return QCString("Direktoriji o kojima ovisi ")+name+":"; } ////////////////////////////////////////////////////////////////////////// @@ -1556,11 +1556,11 @@ class TranslatorCroatian : public TranslatorAdapter_1_8_2 } /*! Header of a Java enum page (Java enums are represented as classes). */ - virtual QCString trEnumReference(const char *name) + virtual QCString trEnumReference(const QCString &name) { return "Opis enumeracije " + QCString(name); } /*! Used for a section containing inherited members */ - virtual QCString trInheritedFrom(const char *members,const char *what) + virtual QCString trInheritedFrom(const QCString &members,const QCString &what) { return QCString(members)+" naslijeđeni od "+what; } /*! Header of the sections with inherited members specific for the |