diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-04-28 18:58:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 18:58:23 (GMT) |
commit | 200c31bf342c533de77fede161e18e395c5ce875 (patch) | |
tree | ab3e4df7e6d88c5907d89fc8ef66fcd28738ae20 /src/translator_fa.h | |
parent | b95b4766c7107e9b3ff0969534fe54c131412249 (diff) | |
parent | a9f40a48c99af952836a3871e60ff6ca17ecdecf (diff) | |
download | Doxygen-200c31bf342c533de77fede161e18e395c5ce875.zip Doxygen-200c31bf342c533de77fede161e18e395c5ce875.tar.gz Doxygen-200c31bf342c533de77fede161e18e395c5ce875.tar.bz2 |
Merge branch 'master' into feature/bug_formula_mj
Diffstat (limited to 'src/translator_fa.h')
-rw-r--r-- | src/translator_fa.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/translator_fa.h b/src/translator_fa.h index 56ba3da..cec2da1 100644 --- a/src/translator_fa.h +++ b/src/translator_fa.h @@ -158,9 +158,9 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ - virtual QCString trGeneratedAutomatically(const char *s) + virtual QCString trGeneratedAutomatically(const QCString &s) { QCString result="تولید شده توسط نرم افزار دی اکسیژن "; - if (s) result+=(QCString)" برای "+s; + if (!s.isEmpty()) result+=(QCString)" برای "+s; result+=" از کد برنامه "; return result; } @@ -502,16 +502,16 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! This is used in the standard footer of each page and indicates when * the page was generated */ - virtual QCString trGeneratedAt(const char *date,const char *projName) + virtual QCString trGeneratedAt(const QCString &date,const QCString &projName) { QCString result = HtmlDivEnd + HtmlRightToLeft + QCString("توليد شده در ") +date ; - if (projName) result+=(QCString)" برای "+projName; + if (!projName.isEmpty()) result+=(QCString)" برای "+projName; result+=(QCString)" توسط"; return result; } /*! this text is put before a class diagram */ - virtual QCString trClassDiagram(const char *clName) + virtual QCString trClassDiagram(const QCString &clName) { return (QCString)""+clName+" نمودار وراثت برای :"; } @@ -590,7 +590,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ - virtual QCString trCompoundReference(const char *clName, + virtual QCString trCompoundReference(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) { @@ -612,7 +612,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 } /*! used as the title of the HTML page of a file */ - virtual QCString trFileReference(const char *fileName) + virtual QCString trFileReference(const QCString &fileName) { QCString result=fileName; result+=" مرجع پرونده"; @@ -620,7 +620,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 } /*! used as the title of the HTML page of a namespace */ - virtual QCString trNamespaceReference(const char *namespaceName) + virtual QCString trNamespaceReference(const QCString &namespaceName) { QCString result=namespaceName; result+=" مرجع فضای نام"; @@ -814,12 +814,12 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// /*! this text is put before a collaboration diagram */ - virtual QCString trCollaborationDiagram(const char *clName) + virtual QCString trCollaborationDiagram(const QCString &clName) { return (QCString)"Collaboration diagram for "+clName+":"; } /*! this text is put before an include dependency graph */ - virtual QCString trInclDepGraph(const char *fName) + virtual QCString trInclDepGraph(const QCString &fName) { return (QCString)"نمودار شامل شدن ها برای "+fName+":"; } @@ -1099,7 +1099,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 } } /*! Used as the title of a Java package */ - virtual QCString trPackage(const char *name) + virtual QCString trPackage(const QCString &name) { return (QCString)"Package "+name; } @@ -1492,7 +1492,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 /*! 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=dirName; result+=" مرجع شاخه ی"; return result; } /*! This returns the word directory with or without starting capital @@ -1596,7 +1596,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 } /*! 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) { @@ -1617,7 +1617,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 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+=" Module Reference"; @@ -1706,7 +1706,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 ////////////////////////////////////////////////////////////////////////// /*! directory relation for \a name */ - virtual QCString trDirRelation(const char *name) + virtual QCString trDirRelation(const QCString &name) { return QCString(name) + " Relation"; } @@ -1743,7 +1743,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 * 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)"پرونده ای در "+name; } @@ -1752,7 +1752,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5 * 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)"Includes file in "+name; } |