summaryrefslogtreecommitdiffstats
path: root/src/translator_fa.h
diff options
context:
space:
mode:
authorPetr Prikryl <prikryl@atlas.cz>2013-06-25 09:57:37 (GMT)
committerPetr Prikryl <prikryl@atlas.cz>2013-06-25 09:57:37 (GMT)
commitc84e679ca11f8945f449b8b8ad6d93c05d97839e (patch)
treea6fa55863e72439cd3f81b0f72fe01193ee9064a /src/translator_fa.h
parentd274d6cf193b4e719804965671f23ab9c41f7727 (diff)
downloadDoxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.zip
Doxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.tar.gz
Doxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.tar.bz2
idLanguageCharset() method removed from all translator classes
Diffstat (limited to 'src/translator_fa.h')
-rw-r--r--src/translator_fa.h366
1 files changed, 180 insertions, 186 deletions
diff --git a/src/translator_fa.h b/src/translator_fa.h
index d3c38a6..14594a2 100644
--- a/src/translator_fa.h
+++ b/src/translator_fa.h
@@ -1,12 +1,12 @@
/******************************************************************************
*
- *
+ *
*
* Copyright (C) 1997-2013 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
- * documentation under the terms of the GNU General Public License is hereby
- * granted. No representations are made about the suitability of this software
+ * documentation under the terms of the GNU General Public License is hereby
+ * granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
@@ -20,10 +20,10 @@
* ChangeLog :
* Thu 06 Jul 2006 11:54:09 PM IRDT <nadalizadeh at gmail dot com>
* >> First version of persian language support has been completed.
- *
+ *
* Mon 04 Feb 2008 11:52:09 AM IRDT <nadalizadeh at gmail dot com>
* >> Obsolete methods removed. Translated more string(s) to persian. Upgraded to 1_5_4 adapter.
- *
+ *
* Fri 04 Jun 2010 04:05:24 PM IRDT <nadalizadeh at gmail dot com>
* >> Implement missing new methods since 1.6.0.
* >> Add English to Persian digit convertor. (for date/time digits)
@@ -55,26 +55,26 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
else
output += str.at(i);
}
-
+
return output;
}
public:
// --- Language control methods -------------------
-
- /*! Used for identification of the language. The identification
- * should not be translated. It should be replaced by the name
+
+ /*! Used for identification of the language. The identification
+ * should not be translated. It should be replaced by the name
* of the language in Persian using lower-case characters only
- * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
+ * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
virtual QCString idLanguage()
{ return "persian"; }
-
- /*! Used to get the LaTeX command(s) for the language support.
+
+ /*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
- * LaTeX to the desired language. For example
+ * LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
@@ -82,7 +82,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
- *
+ *
* The Persian LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
@@ -91,12 +91,6 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
return "";
}
- /*! return the language charset. This will be used for the HTML output */
- virtual QCString idLanguageCharset()
- {
- return "utf-8";
- }
-
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
@@ -114,30 +108,30 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return "مستندات تعریف گونه ها"; }
-
+
/*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation()
{ return "های عضو Enumeration مستندات"; }
-
+
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
{ return "توضيحات توابع عضو"; }
-
+
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
- {
+ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "Field مستندات";
+ return "Field مستندات";
}
else
{
- return "مستندات متغيير های عضو";
+ return "مستندات متغيير های عضو";
}
}
/*! this is the text of a link put after brief descriptions. */
- virtual QCString trMore()
+ virtual QCString trMore()
{ return "بيشتر..."; }
/*! put in the class documentation */
@@ -155,81 +149,81 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers()
{ return "شامل همه ی اعضای به ارث برده شده می باشد."; }
-
+
/*! 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)
{ QCString result="تولید شده توسط نرم افزار دی اکسیژن ";
if (s) result+=(QCString)" برای "+s;
- result+=" از کد برنامه ";
+ result+=" از کد برنامه ";
return result;
}
/*! put after an enum name in the list of all members */
virtual QCString trEnumName()
{ return "enum نام"; }
-
+
/*! put after an enum value in the list of all members */
virtual QCString trEnumValue()
{ return "enum مقدار"; }
-
+
/*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn()
{ return "تعریف شده در"; }
// quick reference sections
- /*! This is put above each page as a link to the list of all groups of
+ /*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
virtual QCString trModules()
{ return "Modules"; }
-
+
/*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy()
{ return "سلسله مراتب کلاس ها"; }
-
+
/*! This is put above each page as a link to the list of annotated classes */
virtual QCString trCompoundList()
- {
+ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "ساختار های داده ";
}
else
{
- return "ليست کلاس ها ";
+ return "ليست کلاس ها ";
}
}
-
+
/*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList()
{ return "ليست فايل ها"; }
/*! This is put above each page as a link to all members of compounds. */
virtual QCString trCompoundMembers()
- {
+ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "فضاهای داده ها";
+ return "فضاهای داده ها";
}
else
{
- return "اعضاء کلاس ها";
+ return "اعضاء کلاس ها";
}
}
/*! This is put above each page as a link to all members of files. */
virtual QCString trFileMembers()
- {
+ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "Globals";
+ return "Globals";
}
else
{
- return "اعضاء پرونده";
+ return "اعضاء پرونده";
}
}
@@ -261,11 +255,11 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! This is an introduction to the annotated compound list. */
virtual QCString trCompoundListDescription()
- {
-
+ {
+
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "ليست ساختارهای داده به همراه توضيحی کوتاه :";
+ return "ليست ساختارهای داده به همراه توضيحی کوتاه :";
}
else
{
@@ -312,7 +306,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{
QCString result="ليست همه ی توابع ، متغيير ها، تعاريف و ... ";
if (!extractAll) result+="(مستند شده) ";
-
+
result+=" به همراه ارتباط آنها ";
result+="با پرونده هايی که به آن مربوط اند :";
return result;
@@ -330,44 +324,44 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
virtual QCString trModulesDescription()
{ return "لیست تمام ماژول ها:"; }
- // index titles (the project name is prepended for these)
+ // index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation()
{ return "مستندات"; }
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
virtual QCString trModuleIndex()
{ return "فهرست ماژول ها"; }
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
virtual QCString trHierarchicalIndex()
{ return "فهرست سلسله مراتب"; }
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
virtual QCString trCompoundIndex()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
- {
+ {
return "فهرست ساختار داده ها";
}
else
{
- return "فهرست کلاس های";
+ return "فهرست کلاس های";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
- virtual QCString trFileIndex()
+ virtual QCString trFileIndex()
{ return "فهرست پرونده ها"; }
/*! This is used in LaTeX as the title of the chapter containing
@@ -380,14 +374,14 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
* the documentation of all classes, structs and unions.
*/
virtual QCString trClassDocumentation()
- {
+ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "مستندات ساختار داده ها";
+ return "مستندات ساختار داده ها";
}
else
{
- return "مستندات کلاس ها";
+ return "مستندات کلاس ها";
}
}
@@ -412,111 +406,111 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return "راهنمای مرجع"; }
-
- /*! This is used in the documentation of a file as a header before the
+
+ /*! This is used in the documentation of a file as a header before the
* list of defines
*/
virtual QCString trDefines()
{ return "تعاريف"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "پیش تعریف های توابع"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
virtual QCString trTypedefs()
{ return "تعریف گونه ها"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
virtual QCString trEnumerations()
{ return "تعاريف"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
virtual QCString trFunctions()
{ return "توابع"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trVariables()
{ return "متغيير ها"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trEnumerationValues()
{ return "معرف ها"; }
-
+
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
virtual QCString trDefineDocumentation()
{ return "Define Documentation"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "مستندات تعاریف اولیه توابع"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
virtual QCString trTypedefDocumentation()
{ return "Typedef"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
virtual QCString trEnumerationTypeDocumentation()
{ return "مستندات تعريف"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
virtual QCString trEnumerationValueDocumentation()
{ return "مستندات معرف"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
virtual QCString trFunctionDocumentation()
{ return "توضيح تابع"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
virtual QCString trVariableDocumentation()
{ return "توضيح متغير"; }
- /*! This is used in the documentation of a file/namespace/group before
+ /*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
virtual QCString trCompounds()
- {
+ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return "ساختارهای داده";
+ return "ساختارهای داده";
}
else
{
- return "کلاس ها";
+ return "کلاس ها";
}
}
- /*! This is used in the standard footer of each page and indicates when
- * the page was generated
+ /*! 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)
- {
+ {
QCString result = HtmlDivEnd + HtmlRightToLeft + QCString("توليد شده در ") +date ;
if (projName) result+=(QCString)" برای "+projName;
result+=(QCString)" توسط";
@@ -534,7 +528,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{
return (QCString)""+clName+" نمودار وراثت برای :";
}
-
+
/*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly()
{ return ".فقط برای استعمال داخلی"; }
@@ -566,7 +560,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions()
{ return "استثناء ها"; }
-
+
/*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy()
{ return "توليد شده توسط"; }
@@ -574,7 +568,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
-
+
/*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList()
{ return "ليست فضاهای نام"; }
@@ -593,17 +587,17 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
*/
virtual QCString trFriends()
{ return "کلاس های دوست"; }
-
+
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
-
+
/*! used in the class documentation as a header before the list of all
- * related classes
+ * related classes
*/
virtual QCString trRelatedFunctionDocumentation()
{ return "مستندات توابع مربوط و دوست"; }
-
+
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
@@ -634,7 +628,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
virtual QCString trFileReference(const char *fileName)
{
QCString result=fileName;
- result+=" مرجع پرونده";
+ result+=" مرجع پرونده";
return result;
}
@@ -645,7 +639,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
result+=" مرجع فضای نام";
return result;
}
-
+
virtual QCString trPublicMembers()
{ return "توابع عمومی عضو کلاس"; }
virtual QCString trPublicSlots()
@@ -666,7 +660,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{ return "های خصوصی Slot"; }
virtual QCString trStaticPrivateMembers()
{ return "توابع خصوصی ثابت عضو کلاس"; }
-
+
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
@@ -675,23 +669,23 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
QCString result;
int i;
// the inherits list contain `numEntries' classes
- for (i=0;i<numEntries;i++)
+ for (i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
- result+=generateMarker(i); // generate marker for entry i in the list
+ result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
-
+
if (i!=numEntries-1) // not the last entry, so we need a separator
{
- if (i<numEntries-2) // not the fore last entry
+ if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" و ";
}
}
- return result;
+ return result;
}
-
+
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
@@ -708,7 +702,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
return ".اين کلاس را به ارث برده است "+trWriteList(numEntries)+".";
}
- /*! used in member documentation blocks to produce a list of
+ /*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
virtual QCString trReimplementedFromList(int numEntries)
@@ -730,14 +724,14 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll)
- {
+ {
QCString result="ليست همه اعضای فضای نام ";
if (!extractAll) result+="(مستند شده) ";
result+=" با ارتباطشان با";
result+="فضاهای نامی که به آن مربوط اند را مشاهده ميکنيد :";
return result;
}
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
virtual QCString trNamespaceIndex()
@@ -807,7 +801,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
virtual QCString trMainPage()
{ return "صفحه ی اصلی"; }
- /*! This is used in references to page that are put in the LaTeX
+ /*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
virtual QCString trPageAbbreviation()
@@ -851,7 +845,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
- return "مستندات توباع آغازین و پایانی";
+ return "مستندات توباع آغازین و پایانی";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
@@ -908,7 +902,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
-
+
virtual QCString trNote()
{
return "نکته";
@@ -996,7 +990,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{
return "از";
}
-
+
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
@@ -1006,12 +1000,12 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{
return "راهنمای نمودار";
}
- /*! page explaining how the dot graph's should be interpreted
+ /*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
virtual QCString trLegendDocs()
{
- return
+ return
"This page explains how to interpret the graphs that are generated "
"by doxygen.<p>\n"
"Consider the following example:\n"
@@ -1076,11 +1070,11 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{
return "راهنما";
}
-
+
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
-
+
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
@@ -1158,11 +1152,11 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{
return "مقدار:";
}
-
+
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
-
+
/*! Used as a marker that is put before a \\bug item */
virtual QCString trBug()
{
@@ -1178,9 +1172,9 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
- /*! Used as ansicpg for RTF file
- *
- * The following table shows the correlation of Charset name, Charset Value and
+ /*! Used as ansicpg for RTF file
+ *
+ * The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
@@ -1201,15 +1195,15 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
- *
+ *
*/
virtual QCString trRTFansicp()
{
return "1256";
}
-
- /*! Used as ansicpg for RTF fcharset
+
+ /*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
virtual QCString trRTFCharSet()
@@ -1222,82 +1216,82 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{
return "فهرست";
}
-
+
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trClass(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "کلاس" : "کلاس"));
if (!singular) result+="ها";
- return result;
+ return result;
}
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trFile(bool /*first_capital*/, bool singular)
- {
+ {
QCString result("پرونده");
if (!singular) result=result+" ها";
- return result;
+ return result;
}
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trNamespace(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "فضای نام " : "فضای نام "));
if (!singular) result+="ها";
- return result;
+ return result;
}
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trGroup(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Group" : "group"));
if (!singular) result+="s";
- return result;
+ return result;
}
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trPage(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "صفحه" : "صفحه"));
if (!singular) result+=" ها ";
- return result;
+ return result;
}
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trMember(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "عضو" : "عضو"));
if (!singular) result+="ها";
- return result;
+ return result;
}
-
+
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trGlobal(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Global" : "global"));
if (!singular) result+="s";
- return result;
+ return result;
}
//////////////////////////////////////////////////////////////////////////
@@ -1307,10 +1301,10 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
virtual QCString trAuthor(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Author" : "author"));
if (!singular) result+="s";
- return result;
+ return result;
}
//////////////////////////////////////////////////////////////////////////
@@ -1328,7 +1322,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
- /*! used in member documentation blocks to produce a list of
+ /*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
virtual QCString trImplementedFromList(int numEntries)
@@ -1360,8 +1354,8 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
- /*! Used as the header of the list of item that have been
- * flagged deprecated
+ /*! Used as the header of the list of item that have been
+ * flagged deprecated
*/
virtual QCString trDeprecatedList()
{
@@ -1372,7 +1366,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
- /*! Used as a header for declaration section of the events found in
+ /*! Used as a header for declaration section of the events found in
* a C# program
*/
virtual QCString trEvents()
@@ -1392,43 +1386,43 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
/*! Used as a heading for a list of Java class types with package scope.
*/
virtual QCString trPackageTypes()
- {
+ {
return "انواع بسته ها";
}
- /*! Used as a heading for a list of Java class functions with package
- * scope.
+ /*! Used as a heading for a list of Java class functions with package
+ * scope.
*/
virtual QCString trPackageMembers()
- {
+ {
return "توابع بسته ها";
}
- /*! Used as a heading for a list of static Java class functions with
+ /*! Used as a heading for a list of static Java class functions with
* package scope.
*/
virtual QCString trStaticPackageMembers()
- {
+ {
return "Static Package Functions";
}
- /*! Used as a heading for a list of Java class variables with package
+ /*! Used as a heading for a list of Java class variables with package
* scope.
*/
virtual QCString trPackageAttribs()
- {
+ {
return "خواص بسته ها";
}
- /*! Used as a heading for a list of static Java class variables with
+ /*! Used as a heading for a list of static Java class variables with
* package scope.
*/
virtual QCString trStaticPackageAttribs()
- {
+ {
return "Static Package Attributes";
}
-
+
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
- /*! Used in the quick index of a class/file/namespace member list page
+ /*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
virtual QCString trAll()
@@ -1445,9 +1439,9 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
- /*! When the search engine is enabled this text is put in the header
- * of each page before the field where one can enter the text to search
- * for.
+ /*! When the search engine is enabled this text is put in the header
+ * of each page before the field where one can enter the text to search
+ * for.
*/
virtual QCString trSearchForIndex()
{
@@ -1464,7 +1458,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
* 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
+ * 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.
*/
@@ -1478,13 +1472,13 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
{
return "یک سند برای این مورد یافت شد.";
}
- else
+ else
{
return "Found <b>$num</b> documents matching your query. "
"Showing best matches first.";
}
}
- /*! This string is put before the list of matched words, for each search
+ /*! 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()
@@ -1525,7 +1519,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
virtual QCString trDirectories()
{ return "شاخه ها"; }
- /*! This returns a sentences that introduces the directory hierarchy.
+ /*! This returns a sentences that introduces the directory hierarchy.
* and the fact that it is sorted alphabetically per level
*/
virtual QCString trDirDescription()
@@ -1542,10 +1536,10 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
* (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool /*first_capital*/, bool singular)
- {
+ {
QCString result("شاخه");
if (singular) result+=" ها "+result;
- return result;
+ return result;
}
//////////////////////////////////////////////////////////////////////////
@@ -1574,12 +1568,12 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
-
+
/*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran()
{ return "مستندات توابع عضو"; }
- /*! This is put above each page as a link to the list of annotated data types (Fortran). */
+ /*! This is put above each page as a link to the list of annotated data types (Fortran). */
virtual QCString trCompoundListFortran()
{ return "لیست ساختار های داده"; }
@@ -1597,7 +1591,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
return "توضیحات اعضا ساختارها به همراه مستندات ساختار داده ی مربوطه";
}
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
@@ -1609,24 +1603,24 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
virtual QCString trTypeDocumentation()
{ return "Data Type Documentation"; }
- /*! This is used in the documentation of a file as a header before the
+ /*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
virtual QCString trSubprograms()
{ return "توابع و زیربرنامه ها"; }
- /*! This is used in the documentation of a file/namespace before the list
+ /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
virtual QCString trSubprogramDocumentation()
{ return "مستندات توابع و زیربرنامه ها"; }
- /*! This is used in the documentation of a file/namespace/group before
+ /*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
virtual QCString trDataTypes()
{ return "ساختار های داده"; }
-
+
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return "لیست ماژول ها"; }
@@ -1663,36 +1657,36 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
virtual QCString trModuleReference(const char *namespaceName)
{
QCString result=namespaceName;
- result+=" Module Reference";
+ result+=" Module Reference";
return result;
}
-
+
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return "اعضاء ماژول"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool)
- {
+ {
QCString result="لیست اعضاء ماژول ها به همراه مستندات ماژول مربوطه";
return result;
}
- /*! This is used in LaTeX as the title of the chapter with the
+ /*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
virtual QCString trModulesIndex()
{ return "Modules Index"; }
-
+
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trModule(bool, bool singular)
- {
+ {
QCString result("ماژول");
if (!singular) result+=" ها";
- return result;
+ return result;
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
@@ -1718,24 +1712,24 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
return result;
}
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trType(bool first_capital, bool singular)
- {
+ {
QCString result((first_capital ? "Type" : "type"));
if (!singular) result+="s";
- return result;
+ return result;
}
/*! This is used for translation of the word that will possibly
- * be followed by a single name or by a list of names
+ * be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trSubprogram(bool, bool singular)
- {
+ {
QCString result("زیربرنامه");
if (!singular) result+=" ها ";
- return result;
+ return result;
}
/*! C# Type Constraint list */
@@ -1806,7 +1800,7 @@ class TranslatorPersian : public TranslatorAdapter_1_7_5
return (QCString)"Includes file in "+name;
}
- /** Compiles a date string.
+ /** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31