translator_fa.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2015 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby
9  * granted. No representations are made about the suitability of this software
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  *
17  * Description : Doxygen Persian (Farsi) Translator
18  * Author : Ali Nadalizadeh < nadalizadeh at gmail dot com >
19  *
20  * ChangeLog :
21  * Thu 06 Jul 2006 11:54:09 PM IRDT <nadalizadeh at gmail dot com>
22  * >> First version of persian language support has been completed.
23  *
24  * Mon 04 Feb 2008 11:52:09 AM IRDT <nadalizadeh at gmail dot com>
25  * >> Obsolete methods removed. Translated more string(s) to persian. Upgraded to 1_5_4 adapter.
26  *
27  * Fri 04 Jun 2010 04:05:24 PM IRDT <nadalizadeh at gmail dot com>
28  * >> Implement missing new methods since 1.6.0.
29  * >> Add English to Persian digit convertor. (for date/time digits)
30  *
31  * Translation feedbacks are really appreciated.
32  */
33 
34 #ifndef TRANSLATOR_FA_H
35 #define TRANSLATOR_FA_H
36 
37 #define HtmlRightToLeft QCString("<div dir=\"rtl\">")
38 #define HtmlLeftToRight QCString("<div dir=\"ltr\">")
39 #define HtmlDivEnd QCString("</div>")
40 
41 
43 {
44  private:
45  /** Converts english digits of an input string to persian equivalents.
46  */
48  {
50  const char * PersianDigits[] = { "۰", "۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", "۹" };
51  for(unsigned i=0; i<str.length(); i++)
52  {
53  if (str.at(i) >= '0' && str.at(i) <= '9')
54  output += PersianDigits[ str.at(i) - '0' ];
55  else
56  output += str.at(i);
57  }
58 
59  return output;
60  }
61 
62  public:
63 
64  // --- Language control methods -------------------
65 
66  /*! Used for identification of the language. The identification
67  * should not be translated. It should be replaced by the name
68  * of the language in Persian using lower-case characters only
69  * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
70  * the identification used in language.cpp.
71  */
72  virtual QCString idLanguage()
73  { return "persian"; }
74 
75  /*! Used to get the LaTeX command(s) for the language support.
76  * This method should return string with commands that switch
77  * LaTeX to the desired language. For example
78  * <pre>"\\usepackage[german]{babel}\n"
79  * </pre>
80  * or
81  * <pre>"\\usepackage{polski}\n"
82  * "\\usepackage[latin2]{inputenc}\n"
83  * "\\usepackage[T1]{fontenc}\n"
84  * </pre>
85  *
86  * The Persian LaTeX does not use such commands. Because of this
87  * the empty string is returned in this implementation.
88  */
90  {
91  return "";
92  }
93 
94  // --- Language translation methods -------------------
95 
96  /*! used in the compound documentation before a list of related functions. */
98  { return "توابع مربوط"; }
99 
100  /*! subscript for the related functions. */
102  { return "(لازم به ذکر است که اينها توابع عضو نيستند)"; }
103 
104  /*! header that is put before the detailed description of files, classes and namespaces. */
106  { return "توضيحات جزئی"; }
107 
108  /*! header that is put before the list of typedefs. */
110  { return "مستندات تعریف گونه ها"; }
111 
112  /*! header that is put before the list of enumerations. */
114  { return "های عضو Enumeration مستندات"; }
115 
116  /*! header that is put before the list of member functions. */
118  { return "توضيحات توابع عضو"; }
119 
120  /*! header that is put before the list of member attributes. */
122  {
123  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
124  {
125  return "Field مستندات";
126  }
127  else
128  {
129  return "مستندات متغيير های عضو";
130  }
131  }
132 
133  /*! this is the text of a link put after brief descriptions. */
134  virtual QCString trMore()
135  { return "بيشتر..."; }
136 
137  /*! put in the class documentation */
139  { return "ليست تمام اعضاء "; }
140 
141  /*! used as the title of the "list of all members" page of a class */
143  { return "ليست اعضاء"; }
144 
145  /*! this is the first part of a sentence that is followed by a class name */
147  { return "اين ليستی کامل از همه اعضای "; }
148 
149  /*! this is the remainder of the sentence after the class name */
151  { return "شامل همه ی اعضای به ارث برده شده می باشد."; }
152 
153  /*! this is put at the author sections at the bottom of man pages.
154  * parameter s is name of the project name.
155  */
156  virtual QCString trGeneratedAutomatically(const char *s)
157  { QCString result="تولید شده توسط نرم افزار دی اکسیژن ";
158  if (s) result+=(QCString)" برای "+s;
159  result+=" از کد برنامه ";
160  return result;
161  }
162 
163  /*! put after an enum name in the list of all members */
165  { return "enum نام"; }
166 
167  /*! put after an enum value in the list of all members */
169  { return "enum مقدار"; }
170 
171  /*! put after an undocumented member in the list of all members */
173  { return "تعریف شده در"; }
174 
175  // quick reference sections
176 
177  /*! This is put above each page as a link to the list of all groups of
178  * compounds or files (see the \\group command).
179  */
180  virtual QCString trModules()
181  { return "Modules"; }
182 
183  /*! This is put above each page as a link to the class hierarchy */
185  { return "سلسله مراتب کلاس ها"; }
186 
187  /*! This is put above each page as a link to the list of annotated classes */
189  {
190  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
191  {
192  return "ساختار های داده ";
193  }
194  else
195  {
196  return "ليست کلاس ها ";
197  }
198  }
199 
200  /*! This is put above each page as a link to the list of documented files */
202  { return "ليست فايل ها"; }
203 
204  /*! This is put above each page as a link to all members of compounds. */
206  {
207  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
208  {
209  return "فضاهای داده ها";
210  }
211  else
212  {
213  return "اعضاء کلاس ها";
214  }
215  }
216 
217  /*! This is put above each page as a link to all members of files. */
219  {
220  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
221  {
222  return "Globals";
223  }
224  else
225  {
226  return "اعضاء پرونده";
227  }
228  }
229 
230  /*! This is put above each page as a link to all related pages. */
232  { return "صفحات مربوط"; }
233 
234  /*! This is put above each page as a link to all examples. */
236  { return "مثال ها"; }
237 
238  /*! This is put above each page as a link to the search engine. */
239  virtual QCString trSearch()
240  { return "جستجو"; }
241 
242  /*! This is an introduction to the class hierarchy. */
244  { return "ليست و سلسله مراتب درختی کلاس ها به صورت مرتب شده :";
245  }
246 
247  /*! This is an introduction to the list with all files. */
248  virtual QCString trFileListDescription(bool extractAll)
249  {
250  QCString result="ليست همه ي پرونده های ";
251  if (!extractAll) result+="(مستند شده) ";
252  result+=" :";
253  return result;
254  }
255 
256  /*! This is an introduction to the annotated compound list. */
258  {
259 
260  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
261  {
262  return "ليست ساختارهای داده به همراه توضيحی کوتاه :";
263  }
264  else
265  {
266  return "ليست کلاس ها ، ساختارهای داده و ... به همراه توضيحات مختصر راجع به آنها :";
267  }
268  }
269 
270  /*! This is an introduction to the page with all class members. */
271  virtual QCString trCompoundMembersDescription(bool extractAll)
272  {
273  QCString result=" در ذيل ليست ";
274  if (!extractAll)
275  {
276  result+="آن اعضايي که مستند شده اند ";
277  }
278  else
279  {
280  result+="همه ی اعضاء ";
281  }
282  result+=" به همراه ارتباطشان با ";
283  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
284  {
285  result+="ساختارهای داده ";
286  }
287  else
288  {
289  result+="كلاس ها ";
290  }
291 
292  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
293  {
294  result+="و مستندات ساختار داده برای هر عضو ";
295  }
296  else
297  {
298  result+="و مستندات کلاس برای هر عضو ";
299  }
300  result+="را مشاهده ميکنيد :";
301  return result;
302  }
303 
304  /*! This is an introduction to the page with all file members. */
305  virtual QCString trFileMembersDescription(bool extractAll)
306  {
307  QCString result="ليست همه ی توابع ، متغيير ها، تعاريف و ... ";
308  if (!extractAll) result+="(مستند شده) ";
309 
310  result+=" به همراه ارتباط آنها ";
311  result+="با پرونده هايی که به آن مربوط اند :";
312  return result;
313  }
314 
315  /*! This is an introduction to the page with the list of all examples */
317  { return "ليست همه ی مثال ها :"; }
318 
319  /*! This is an introduction to the page with the list of related pages */
321  { return "لیست تمام صفحات و مستندات مربوطه :"; }
322 
323  /*! This is an introduction to the page with the list of class/file groups */
325  { return "لیست تمام ماژول ها:"; }
326 
327  // index titles (the project name is prepended for these)
328 
329 
330  /*! This is used in HTML as the title of index.html. */
332  { return "مستندات"; }
333 
334  /*! This is used in LaTeX as the title of the chapter with the
335  * index of all groups.
336  */
338  { return "فهرست ماژول ها"; }
339 
340  /*! This is used in LaTeX as the title of the chapter with the
341  * class hierarchy.
342  */
344  { return "فهرست سلسله مراتب"; }
345 
346  /*! This is used in LaTeX as the title of the chapter with the
347  * annotated compound index.
348  */
350  {
351  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
352  {
353  return "فهرست ساختار داده ها";
354  }
355  else
356  {
357  return "فهرست کلاس های";
358  }
359  }
360 
361  /*! This is used in LaTeX as the title of the chapter with the
362  * list of all files.
363  */
365  { return "فهرست پرونده ها"; }
366 
367  /*! This is used in LaTeX as the title of the chapter containing
368  * the documentation of all groups.
369  */
371  { return "مستندات ماژول"; }
372 
373  /*! This is used in LaTeX as the title of the chapter containing
374  * the documentation of all classes, structs and unions.
375  */
377  {
378  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
379  {
380  return "مستندات ساختار داده ها";
381  }
382  else
383  {
384  return "مستندات کلاس ها";
385  }
386  }
387 
388  /*! This is used in LaTeX as the title of the chapter containing
389  * the documentation of all files.
390  */
392  { return "مستندات فایل"; }
393 
394  /*! This is used in LaTeX as the title of the chapter containing
395  * the documentation of all examples.
396  */
398  { return "مستندات مثال"; }
399 
400  /*! This is used in LaTeX as the title of the chapter containing
401  * the documentation of all related pages.
402  */
404  { return "مستندات صفحه"; }
405 
406  /*! This is used in LaTeX as the title of the document */
408  { return "راهنمای مرجع"; }
409 
410  /*! This is used in the documentation of a file as a header before the
411  * list of defines
412  */
413  virtual QCString trDefines()
414  { return "تعاريف"; }
415 
416  /*! This is used in the documentation of a file as a header before the
417  * list of typedefs
418  */
420  { return "تعریف گونه ها"; }
421 
422  /*! This is used in the documentation of a file as a header before the
423  * list of enumerations
424  */
426  { return "تعاريف"; }
427 
428  /*! This is used in the documentation of a file as a header before the
429  * list of (global) functions
430  */
432  { return "توابع"; }
433 
434  /*! This is used in the documentation of a file as a header before the
435  * list of (global) variables
436  */
438  { return "متغيير ها"; }
439 
440  /*! This is used in the documentation of a file as a header before the
441  * list of (global) variables
442  */
444  { return "معرف ها"; }
445 
446  /*! This is used in the documentation of a file before the list of
447  * documentation blocks for defines
448  */
450  { return "Define Documentation"; }
451 
452  /*! This is used in the documentation of a file/namespace before the list
453  * of documentation blocks for typedefs
454  */
456  { return "Typedef"; }
457 
458  /*! This is used in the documentation of a file/namespace before the list
459  * of documentation blocks for enumeration types
460  */
462  { return "مستندات تعريف"; }
463 
464  /*! This is used in the documentation of a file/namespace before the list
465  * of documentation blocks for enumeration values
466  */
468  { return "مستندات معرف"; }
469 
470  /*! This is used in the documentation of a file/namespace before the list
471  * of documentation blocks for functions
472  */
474  { return "توضيح تابع"; }
475 
476  /*! This is used in the documentation of a file/namespace before the list
477  * of documentation blocks for variables
478  */
480  { return "توضيح متغير"; }
481 
482  /*! This is used in the documentation of a file/namespace/group before
483  * the list of links to documented compounds
484  */
486  {
487  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
488  {
489  return "ساختارهای داده";
490  }
491  else
492  {
493  return "کلاس ها";
494  }
495  }
496 
497  /*! This is used in the standard footer of each page and indicates when
498  * the page was generated
499  */
500  virtual QCString trGeneratedAt(const char *date,const char *projName)
501  {
502  QCString result = HtmlDivEnd + HtmlRightToLeft + QCString("توليد شده در ") +date ;
503  if (projName) result+=(QCString)" برای "+projName;
504  result+=(QCString)" توسط";
505  return result;
506  }
507 
508  /*! this text is put before a class diagram */
509  virtual QCString trClassDiagram(const char *clName)
510  {
511  return (QCString)""+clName+" نمودار وراثت برای :";
512  }
513 
514  /*! this text is generated when the \\internal command is used. */
516  { return ".فقط برای استعمال داخلی"; }
517 
518  /*! this text is generated when the \\warning command is used. */
519  virtual QCString trWarning()
520  { return "اخطار"; }
521 
522  /*! this text is generated when the \\version command is used. */
523  virtual QCString trVersion()
524  { return "نسخه"; }
525 
526  /*! this text is generated when the \\date command is used. */
527  virtual QCString trDate()
528  { return "تاريخ"; }
529 
530  /*! this text is generated when the \\return command is used. */
531  virtual QCString trReturns()
532  { return "خروجی"; }
533 
534  /*! this text is generated when the \\sa command is used. */
535  virtual QCString trSeeAlso()
536  { return "See also"; }
537 
538  /*! this text is generated when the \\param command is used. */
540  { return "پارامترها"; }
541 
542  /*! this text is generated when the \\exception command is used. */
544  { return "استثناء ها"; }
545 
546  /*! this text is used in the title page of a LaTeX document. */
548  { return "توليد شده توسط"; }
549 
550 //////////////////////////////////////////////////////////////////////////
551 // new since 0.49-990307
552 //////////////////////////////////////////////////////////////////////////
553 
554  /*! used as the title of page containing all the index of all namespaces. */
556  { return "ليست فضاهای نام"; }
557 
558  /*! used as an introduction to the namespace list */
559  virtual QCString trNamespaceListDescription(bool extractAll)
560  {
561  QCString result="در ذيل ليستی از همه ی فضاهای نام ";
562  if (!extractAll) result+="(مستند سازی شده) ";
563  result+="به همراه توضيح کوتاه آنها مشاهده می کنيد :";
564  return result;
565  }
566 
567  /*! used in the class documentation as a header before the list of all
568  * friends of a class
569  */
570  virtual QCString trFriends()
571  { return "کلاس های دوست"; }
572 
573 //////////////////////////////////////////////////////////////////////////
574 // new since 0.49-990405
575 //////////////////////////////////////////////////////////////////////////
576 
577  /*! used in the class documentation as a header before the list of all
578  * related classes
579  */
581  { return "مستندات توابع مربوط و دوست"; }
582 
583 //////////////////////////////////////////////////////////////////////////
584 // new since 0.49-990425
585 //////////////////////////////////////////////////////////////////////////
586 
587  /*! used as the title of the HTML page of a class/struct/union */
588  virtual QCString trCompoundReference(const char *clName,
589  ClassDef::CompoundType compType,
590  bool isTemplate)
591  {
593  switch(compType)
594  {
595  case ClassDef::Class: result=" کلاس"; break;
596  case ClassDef::Struct: result=" ساختار داده"; break;
597  case ClassDef::Union: result=" Union"; break;
598  case ClassDef::Interface: result=" Interface"; break;
599  case ClassDef::Protocol: result=" Protocol"; break;
600  case ClassDef::Category: result=" Category"; break;
601  case ClassDef::Exception: result=" استثناء"; break;
602  default: break;
603  }
604  if (isTemplate) result+=" قالب";
605  result=QCString(clName) + " مرجع" +result ;
606  return result;
607  }
608 
609  /*! used as the title of the HTML page of a file */
610  virtual QCString trFileReference(const char *fileName)
611  {
613  result+=" مرجع پرونده";
614  return result;
615  }
616 
617  /*! used as the title of the HTML page of a namespace */
618  virtual QCString trNamespaceReference(const char *namespaceName)
619  {
620  QCString result=namespaceName;
621  result+=" مرجع فضای نام";
622  return result;
623  }
624 
626  { return "توابع عمومی عضو کلاس"; }
628  { return "های عمومی Slot"; }
629  virtual QCString trSignals()
630  { return "سيگنال ها"; }
632  { return "توابع ثابت عمومی عضو کلاس"; }
634  { return "توابع خصوصی عضو کلاس"; }
636  { return "های محافظت شده Slot"; }
638  { return "توابع ثابت محافظت شده عضو کلاس"; }
640  { return "توابع خصوصی عضو کلاس"; }
642  { return "های خصوصی Slot"; }
644  { return "توابع خصوصی ثابت عضو کلاس"; }
645 
646  /*! this function is used to produce a comma-separated list of items.
647  * use generateMarker(i) to indicate where item i should be put.
648  */
649  virtual QCString trWriteList(int numEntries)
650  {
652  int i;
653  // the inherits list contain `numEntries' classes
654  for (i=0;i<numEntries;i++)
655  {
656  // use generateMarker to generate placeholders for the class links!
657  result+=generateMarker(i); // generate marker for entry i in the list
658  // (order is left to right)
659 
660  if (i!=numEntries-1) // not the last entry, so we need a separator
661  {
662  if (i<numEntries-2) // not the fore last entry
663  result+=", ";
664  else // the fore last entry
665  result+=" و ";
666  }
667  }
668  return result;
669  }
670 
671  /*! used in class documentation to produce a list of base classes,
672  * if class diagrams are disabled.
673  */
674  virtual QCString trInheritsList(int numEntries)
675  {
676  return ".را به ارث می برد "+trWriteList(numEntries)+".";
677  }
678 
679  /*! used in class documentation to produce a list of super classes,
680  * if class diagrams are disabled.
681  */
682  virtual QCString trInheritedByList(int numEntries)
683  {
684  return ".اين کلاس را به ارث برده است "+trWriteList(numEntries)+".";
685  }
686 
687  /*! used in member documentation blocks to produce a list of
688  * members that are hidden by this one.
689  */
690  virtual QCString trReimplementedFromList(int numEntries)
691  {
692  return "Reimplemented from "+trWriteList(numEntries)+".";
693  }
694 
695  /*! used in member documentation blocks to produce a list of
696  * all member that overwrite the implementation of this member.
697  */
698  virtual QCString trReimplementedInList(int numEntries)
699  {
700  return "تعریف شده است "+trWriteList(numEntries)+"دوباره در ";
701  }
702 
703  /*! This is put above each page as a link to all members of namespaces. */
705  { return "اعضای فضاهای نام"; }
706 
707  /*! This is an introduction to the page with all namespace members */
708  virtual QCString trNamespaceMemberDescription(bool extractAll)
709  {
710  QCString result="ليست همه اعضای فضای نام ";
711  if (!extractAll) result+="(مستند شده) ";
712  result+=" با ارتباطشان با";
713  result+="فضاهای نامی که به آن مربوط اند را مشاهده ميکنيد :";
714  return result;
715  }
716  /*! This is used in LaTeX as the title of the chapter with the
717  * index of all namespaces.
718  */
720  { return "فهرست فضاهای نام"; }
721 
722  /*! This is used in LaTeX as the title of the chapter containing
723  * the documentation of all namespaces.
724  */
726  { return "توضيحات فضای نام"; }
727 
728 //////////////////////////////////////////////////////////////////////////
729 // new since 0.49-990522
730 //////////////////////////////////////////////////////////////////////////
731 
732  /*! This is used in the documentation before the list of all
733  * namespaces in a file.
734  */
736  { return "فضاهای نام"; }
737 
738 //////////////////////////////////////////////////////////////////////////
739 // new since 0.49-990728
740 //////////////////////////////////////////////////////////////////////////
741 
742  /*! This is put at the bottom of a class documentation page and is
743  * followed by a list of files that were used to generate the page.
744  */
746  bool single)
747  { // here s is one of " Class", " Struct" or " Union"
748  // single is true implies a single file
749  QCString result=(QCString)"مستندات اين ";
750  switch(compType)
751  {
752  case ClassDef::Class: result+="کلاس"; break;
753  case ClassDef::Struct: result+="ساختار داده"; break;
754  case ClassDef::Union: result+="union"; break;
755  case ClassDef::Interface: result+="interface"; break;
756  case ClassDef::Protocol: result+="protocol"; break;
757  case ClassDef::Category: result+="category"; break;
758  case ClassDef::Exception: result+="exception"; break;
759  default: break;
760  }
761  result+=" از روی پرونده ";
762  if (single) result+=""; else result+="های ";
763  result+="زير توليد شده است :";
764  return result;
765  }
766 
767 //////////////////////////////////////////////////////////////////////////
768 // new since 0.49-990901
769 //////////////////////////////////////////////////////////////////////////
770 
771  /*! This is used as the heading text for the retval command. */
773  { return "مقادير بازگشتی"; }
774 
775  /*! This is in the (quick) index as a link to the main page (index.html)
776  */
778  { return "صفحه ی اصلی"; }
779 
780  /*! This is used in references to page that are put in the LaTeX
781  * documentation. It should be an abbreviation of the word page.
782  */
784  { return "ص."; }
785 
786 //////////////////////////////////////////////////////////////////////////
787 // new since 0.49-991003
788 //////////////////////////////////////////////////////////////////////////
790  {
791  return ".در خط @0 از پرونده @1 تعريف شده است";
792  }
794  {
795  return ".در فايل @0 تعريف شده است";
796  }
797 
798 //////////////////////////////////////////////////////////////////////////
799 // new since 0.49-991205
800 //////////////////////////////////////////////////////////////////////////
801 
803  {
804  return "منسوخ شده";
805  }
806 
807 //////////////////////////////////////////////////////////////////////////
808 // new since 1.0.0
809 //////////////////////////////////////////////////////////////////////////
810 
811  /*! this text is put before a collaboration diagram */
812  virtual QCString trCollaborationDiagram(const char *clName)
813  {
814  return (QCString)"Collaboration diagram for "+clName+":";
815  }
816  /*! this text is put before an include dependency graph */
817  virtual QCString trInclDepGraph(const char *fName)
818  {
819  return (QCString)"نمودار شامل شدن ها برای "+fName+":";
820  }
821  /*! header that is put before the list of constructor/destructors. */
823  {
824  return "مستندات توباع آغازین و پایانی";
825  }
826  /*! Used in the file documentation to point to the corresponding sources. */
828  {
829  return "کد منبع اين پرونده.";
830  }
831  /*! Used in the file sources to point to the corresponding documentation. */
833  {
834  return "توضيحات اين پرونده.";
835  }
836  /*! Text for the \\pre command */
838  {
839  return "پیش شرط";
840  }
841  /*! Text for the \\post command */
843  {
844  return "پس شرط";
845  }
846  /*! Text for the \\invariant command */
848  {
849  return "Invariant";
850  }
851  /*! Text shown before a multi-line variable/enum initialization */
853  {
854  return "مقدار اوليه :";
855  }
856  /*! Text used the source code in the file index */
857  virtual QCString trCode()
858  {
859  return "کد";
860  }
862  {
863  return "سلسله مراتب گرافيکی کلاس";
864  }
866  {
867  return "نمایش نمودار درختی گرافیکی کلاس";
868  }
870  {
871  return "نمایش نمودار درختی متنی کلاس";
872  }
874  {
875  return "فهرست صفحات";
876  }
877 
878 //////////////////////////////////////////////////////////////////////////
879 // new since 1.1.0
880 //////////////////////////////////////////////////////////////////////////
881 
882  virtual QCString trNote()
883  {
884  return "نکته";
885  }
887  {
888  return "های عمومی Type";
889  }
891  {
892  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
893  {
894  return "فضاهای داده ها";
895  }
896  else
897  {
898  return "خواص (متغييرهای) عمومی";
899  }
900  }
902  {
903  return "خواص (متغييرهای) عمومی ثابت";
904  }
906  {
907  return "های حفاظت شده Type";
908  }
910  {
911  return "خواص (متغييرهای) حفاظت شده";
912  }
914  {
915  return "خواص (متغييرهای) حفاظت شده ثابت";
916  }
918  {
919  return "های خصوصی Type";
920  }
922  {
923  return "خواص (متغييرهای) خصوصی";
924  }
926  {
927  return "خواص (متغييرهای) خصوصی ثابت";
928  }
929 
930 //////////////////////////////////////////////////////////////////////////
931 // new since 1.1.3
932 //////////////////////////////////////////////////////////////////////////
933 
934  /*! Used as a marker that is put before a \\todo item */
935  virtual QCString trTodo()
936  {
937  return "برای انجام";
938  }
939  /*! Used as the header of the todo list */
941  {
942  return "ليست کارهاي آينده";
943  }
944 
945 //////////////////////////////////////////////////////////////////////////
946 // new since 1.1.4
947 //////////////////////////////////////////////////////////////////////////
948 
950  {
951  return " استفاده شده توسط ";
952  }
953  virtual QCString trRemarks()
954  {
955  return "ملاحظات";
956  }
958  {
959  return "توجه";
960  }
962  {
963  return "این نمودار فایل هایی را که این فایل را به طور مستقیم یا غیر مستقیم استفاده کرده اند نشان می دهد";
964  }
965  virtual QCString trSince()
966  {
967  return "از";
968  }
969 
970 //////////////////////////////////////////////////////////////////////////
971 // new since 1.1.5
972 //////////////////////////////////////////////////////////////////////////
973 
974  /*! title of the graph legend page */
976  {
977  return "راهنمای نمودار";
978  }
979  /*! page explaining how the dot graph's should be interpreted
980  * The %A in the text below are to prevent link to classes called "A".
981  */
983  {
984  return
985  "This page explains how to interpret the graphs that are generated "
986  "by doxygen.<p>\n"
987  "Consider the following example:\n"
988  "\\code\n"
989  "/*! Invisible class because of truncation */\n"
990  "class Invisible { };\n\n"
991  "/*! Truncated class, inheritance relation is hidden */\n"
992  "class Truncated : public Invisible { };\n\n"
993  "/* Class not documented with doxygen comments */\n"
994  "class Undocumented { };\n\n"
995  "/*! Class that is inherited using public inheritance */\n"
996  "class PublicBase : public Truncated { };\n\n"
997  "/*! A template class */\n"
998  "template<class T> class Templ { };\n\n"
999  "/*! Class that is inherited using protected inheritance */\n"
1000  "class ProtectedBase { };\n\n"
1001  "/*! Class that is inherited using private inheritance */\n"
1002  "class PrivateBase { };\n\n"
1003  "/*! Class that is used by the Inherited class */\n"
1004  "class Used { };\n\n"
1005  "/*! Super class that inherits a number of other classes */\n"
1006  "class Inherited : public PublicBase,\n"
1007  " protected ProtectedBase,\n"
1008  " private PrivateBase,\n"
1009  " public Undocumented\n"
1010  " public Templ<int>\n"
1011  "{\n"
1012  " private:\n"
1013  " Used *m_usedClass;\n"
1014  "};\n"
1015  "\\endcode\n"
1016  "If the \\c MAX_DOT_GRAPH_HEIGHT tag in the configuration file "
1017  "is set to 240 this will result in the following graph:"
1018  "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1019  "<p>\n"
1020  "The boxes in the above graph have the following meaning:\n"
1021  "<ul>\n"
1022  "<li>%A filled black box represents the struct or class for which the "
1023  "graph is generated.\n"
1024  "<li>%A box with a black border denotes a documented struct or class.\n"
1025  "<li>%A box with a gray border denotes an undocumented struct or class.\n"
1026  "<li>%A box with a red border denotes a documented struct or class for"
1027  "which not all inheritance/containment relations are shown. %A graph is "
1028  "truncated if it does not fit within the specified boundaries.\n"
1029  "</ul>\n"
1030  "The arrows have the following meaning:\n"
1031  "<ul>\n"
1032  "<li>%A dark blue arrow is used to visualize a public inheritance "
1033  "relation between two classes.\n"
1034  "<li>%A dark green arrow is used for protected inheritance.\n"
1035  "<li>%A dark red arrow is used for private inheritance.\n"
1036  "<li>%A purple dashed arrow is used if a class is contained or used "
1037  "by another class. The arrow is labeled with the variable(s) "
1038  "through which the pointed class or struct is accessible.\n"
1039  "<li>%A yellow dashed arrow denotes a relation between a template instance and "
1040  "the template class it was instantiated from. The arrow is labeled with "
1041  "the template parameters of the instance.\n"
1042  "</ul>\n";
1043  }
1044  /*! text for the link to the legend page */
1045  virtual QCString trLegend()
1046  {
1047  return "راهنما";
1048  }
1049 
1050 //////////////////////////////////////////////////////////////////////////
1051 // new since 1.2.0
1052 //////////////////////////////////////////////////////////////////////////
1053 
1054  /*! Used as a marker that is put before a test item */
1055  virtual QCString trTest()
1056  {
1057  return "تست";
1058  }
1059  /*! Used as the header of the test list */
1061  {
1062  return "Test List";
1063  }
1064 
1065 //////////////////////////////////////////////////////////////////////////
1066 // new since 1.2.2
1067 //////////////////////////////////////////////////////////////////////////
1068 
1069  /*! Used as a section header for IDL properties */
1071  {
1072  return "خاصیت ها";
1073  }
1074  /*! Used as a section header for IDL property documentation */
1076  {
1077  return "مستندات خاصیت";
1078  }
1079 
1080 //////////////////////////////////////////////////////////////////////////
1081 // new since 1.2.4
1082 //////////////////////////////////////////////////////////////////////////
1083 
1084  /*! Used for Java classes in the summary section of Java packages */
1086  {
1087  if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
1088  {
1089  return "ساختار های داده";
1090  }
1091  else
1092  {
1093  return "كلاس ها";
1094  }
1095  }
1096  /*! Used as the title of a Java package */
1097  virtual QCString trPackage(const char *name)
1098  {
1099  return (QCString)"Package "+name;
1100  }
1101  /*! Title of the package index page */
1103  {
1104  return "لیست بسته ها";
1105  }
1106  /*! The description of the package index page */
1108  {
1109  return "لیست بسته ها به همراه توضیح مختر در صورت وجود :";
1110  }
1111  /*! The link name in the Quick links header for each page */
1113  {
1114  return "بسته ها";
1115  }
1116  /*! Text shown before a multi-line define */
1118  {
1119  return "مقدار:";
1120  }
1121 
1122 //////////////////////////////////////////////////////////////////////////
1123 // new since 1.2.5
1124 //////////////////////////////////////////////////////////////////////////
1125 
1126  /*! Used as a marker that is put before a \\bug item */
1127  virtual QCString trBug()
1128  {
1129  return "اشکال";
1130  }
1131  /*! Used as the header of the bug list */
1133  {
1134  return "ليست اشکالات";
1135  }
1136 
1137 //////////////////////////////////////////////////////////////////////////
1138 // new since 1.2.6
1139 //////////////////////////////////////////////////////////////////////////
1140 
1141  /*! Used as ansicpg for RTF file
1142  *
1143  * The following table shows the correlation of Charset name, Charset Value and
1144  * <pre>
1145  * Codepage number:
1146  * Charset Name Charset Value(hex) Codepage number
1147  * ------------------------------------------------------
1148  * DEFAULT_CHARSET 1 (x01)
1149  * SYMBOL_CHARSET 2 (x02)
1150  * OEM_CHARSET 255 (xFF)
1151  * ANSI_CHARSET 0 (x00) 1252
1152  * RUSSIAN_CHARSET 204 (xCC) 1251
1153  * EE_CHARSET 238 (xEE) 1250
1154  * GREEK_CHARSET 161 (xA1) 1253
1155  * TURKISH_CHARSET 162 (xA2) 1254
1156  * BALTIC_CHARSET 186 (xBA) 1257
1157  * HEBREW_CHARSET 177 (xB1) 1255
1158  * ARABIC _CHARSET 178 (xB2) 1256
1159  * SHIFTJIS_CHARSET 128 (x80) 932
1160  * HANGEUL_CHARSET 129 (x81) 949
1161  * GB2313_CHARSET 134 (x86) 936
1162  * CHINESEBIG5_CHARSET 136 (x88) 950
1163  * </pre>
1164  *
1165  */
1167  {
1168  return "1256";
1169  }
1170 
1171 
1172  /*! Used as ansicpg for RTF fcharset
1173  * \see trRTFansicp() for a table of possible values.
1174  */
1176  {
1177  return "178";
1178  }
1179 
1180  /*! Used as header RTF general index */
1182  {
1183  return "فهرست";
1184  }
1185 
1186  /*! This is used for translation of the word that will possibly
1187  * be followed by a single name or by a list of names
1188  * of the category.
1189  */
1190  virtual QCString trClass(bool first_capital, bool singular)
1191  {
1192  QCString result((first_capital ? "کلاس" : "کلاس"));
1193  if (!singular) result+="ها";
1194  return result;
1195  }
1196 
1197  /*! This is used for translation of the word that will possibly
1198  * be followed by a single name or by a list of names
1199  * of the category.
1200  */
1201  virtual QCString trFile(bool /*first_capital*/, bool singular)
1202  {
1203  QCString result("پرونده");
1204  if (!singular) result=result+" ها";
1205  return result;
1206  }
1207 
1208  /*! This is used for translation of the word that will possibly
1209  * be followed by a single name or by a list of names
1210  * of the category.
1211  */
1212  virtual QCString trNamespace(bool first_capital, bool singular)
1213  {
1214  QCString result((first_capital ? "فضای نام " : "فضای نام "));
1215  if (!singular) result+="ها";
1216  return result;
1217  }
1218 
1219  /*! This is used for translation of the word that will possibly
1220  * be followed by a single name or by a list of names
1221  * of the category.
1222  */
1223  virtual QCString trGroup(bool first_capital, bool singular)
1224  {
1225  QCString result((first_capital ? "Group" : "group"));
1226  if (!singular) result+="s";
1227  return result;
1228  }
1229 
1230  /*! This is used for translation of the word that will possibly
1231  * be followed by a single name or by a list of names
1232  * of the category.
1233  */
1234  virtual QCString trPage(bool first_capital, bool singular)
1235  {
1236  QCString result((first_capital ? "صفحه" : "صفحه"));
1237  if (!singular) result+=" ها ";
1238  return result;
1239  }
1240 
1241  /*! This is used for translation of the word that will possibly
1242  * be followed by a single name or by a list of names
1243  * of the category.
1244  */
1245  virtual QCString trMember(bool first_capital, bool singular)
1246  {
1247  QCString result((first_capital ? "عضو" : "عضو"));
1248  if (!singular) result+="ها";
1249  return result;
1250  }
1251 
1252  /*! This is used for translation of the word that will possibly
1253  * be followed by a single name or by a list of names
1254  * of the category.
1255  */
1256  virtual QCString trGlobal(bool first_capital, bool singular)
1257  {
1258  QCString result((first_capital ? "Global" : "global"));
1259  if (!singular) result+="s";
1260  return result;
1261  }
1262 
1263 //////////////////////////////////////////////////////////////////////////
1264 // new since 1.2.7
1265 //////////////////////////////////////////////////////////////////////////
1266 
1267  /*! This text is generated when the \\author command is used and
1268  * for the author section in man pages. */
1269  virtual QCString trAuthor(bool first_capital, bool singular)
1270  {
1271  QCString result((first_capital ? "Author" : "author"));
1272  if (!singular) result+="s";
1273  return result;
1274  }
1275 
1276 //////////////////////////////////////////////////////////////////////////
1277 // new since 1.2.11
1278 //////////////////////////////////////////////////////////////////////////
1279 
1280  /*! This text is put before the list of members referenced by a member
1281  */
1283  {
1284  return "را استفاده ميکند ";
1285  }
1286 
1287 //////////////////////////////////////////////////////////////////////////
1288 // new since 1.2.13
1289 //////////////////////////////////////////////////////////////////////////
1290 
1291  /*! used in member documentation blocks to produce a list of
1292  * members that are implemented by this one.
1293  */
1294  virtual QCString trImplementedFromList(int numEntries)
1295  {
1296  return "را تکميل می کند "+trWriteList(numEntries)+".";
1297  }
1298 
1299  /*! used in member documentation blocks to produce a list of
1300  * all members that implement this abstract member.
1301  */
1302  virtual QCString trImplementedInList(int numEntries)
1303  {
1304  return ".تکميل شده است "+trWriteList(numEntries)+" در";
1305  }
1306 
1307 //////////////////////////////////////////////////////////////////////////
1308 // new since 1.2.16
1309 //////////////////////////////////////////////////////////////////////////
1310 
1311  /*! used in RTF documentation as a heading for the Table
1312  * of Contents.
1313  */
1315  {
1316  return "فهرست";
1317  }
1318 
1319 //////////////////////////////////////////////////////////////////////////
1320 // new since 1.2.17
1321 //////////////////////////////////////////////////////////////////////////
1322 
1323  /*! Used as the header of the list of item that have been
1324  * flagged deprecated
1325  */
1327  {
1328  return "لیست آیتم های از رده خارج";
1329  }
1330 
1331 //////////////////////////////////////////////////////////////////////////
1332 // new since 1.2.18
1333 //////////////////////////////////////////////////////////////////////////
1334 
1335  /*! Used as a header for declaration section of the events found in
1336  * a C# program
1337  */
1338  virtual QCString trEvents()
1339  {
1340  return "رویداد ها";
1341  }
1342  /*! Header used for the documentation section of a class' events. */
1344  {
1345  return "مستندات رویداد";
1346  }
1347 
1348 //////////////////////////////////////////////////////////////////////////
1349 // new since 1.3
1350 //////////////////////////////////////////////////////////////////////////
1351 
1352  /*! Used as a heading for a list of Java class types with package scope.
1353  */
1355  {
1356  return "انواع بسته ها";
1357  }
1358  /*! Used as a heading for a list of Java class functions with package
1359  * scope.
1360  */
1362  {
1363  return "توابع بسته ها";
1364  }
1365  /*! Used as a heading for a list of static Java class functions with
1366  * package scope.
1367  */
1369  {
1370  return "Static Package Functions";
1371  }
1372  /*! Used as a heading for a list of Java class variables with package
1373  * scope.
1374  */
1376  {
1377  return "خواص بسته ها";
1378  }
1379  /*! Used as a heading for a list of static Java class variables with
1380  * package scope.
1381  */
1383  {
1384  return "Static Package Attributes";
1385  }
1386 
1387 //////////////////////////////////////////////////////////////////////////
1388 // new since 1.3.1
1389 //////////////////////////////////////////////////////////////////////////
1390 
1391  /*! Used in the quick index of a class/file/namespace member list page
1392  * to link to the unfiltered list of all members.
1393  */
1394  virtual QCString trAll()
1395  {
1396  return "همه";
1397  }
1398  /*! Put in front of the call graph for a function. */
1400  {
1401  return "نمودار صدا زدن برای این تابع :";
1402  }
1403 
1404 //////////////////////////////////////////////////////////////////////////
1405 // new since 1.3.3
1406 //////////////////////////////////////////////////////////////////////////
1407 
1408  /*! This string is used as the title for the page listing the search
1409  * results.
1410  */
1412  {
1413  return "نتايج جستجو";
1414  }
1415  /*! This string is put just before listing the search results. The
1416  * text can be different depending on the number of documents found.
1417  * Inside the text you can put the special marker $num to insert
1418  * the number representing the actual number of search results.
1419  * The @a numDocuments parameter can be either 0, 1 or 2, where the
1420  * value 2 represents 2 or more matches. HTML markup is allowed inside
1421  * the returned string.
1422  */
1423  virtual QCString trSearchResults(int numDocuments)
1424  {
1425  if (numDocuments==0)
1426  {
1427  return "متاسفانه هیچ صفحه ای برای جستجو ی شما یافت نشد.";
1428  }
1429  else if (numDocuments==1)
1430  {
1431  return "یک سند برای این مورد یافت شد.";
1432  }
1433  else
1434  {
1435  return "Found <b>$num</b> documents matching your query. "
1436  "Showing best matches first.";
1437  }
1438  }
1439  /*! This string is put before the list of matched words, for each search
1440  * result. What follows is the list of words that matched the query.
1441  */
1443  {
1444  return "Matches:";
1445  }
1446 
1447 //////////////////////////////////////////////////////////////////////////
1448 // new since 1.3.8
1449 //////////////////////////////////////////////////////////////////////////
1450 
1451  /*! This is used in HTML as the title of page with source code for file filename
1452  */
1454  {
1455  return filename + " کد و پرونده منبع";
1456  }
1457 
1458 //////////////////////////////////////////////////////////////////////////
1459 // new since 1.3.9
1460 //////////////////////////////////////////////////////////////////////////
1461 
1462  /*! This is used as the name of the chapter containing the directory
1463  * hierarchy.
1464  */
1466  { return "ساختار و سلسله مراتب شاخه ها"; }
1467 
1468  /*! This is used as the name of the chapter containing the documentation
1469  * of the directories.
1470  */
1472  { return "مستندات دايرکتوری"; }
1473 
1474  /*! This is used as the title of the directory index and also in the
1475  * Quick links of an HTML page, to link to the directory hierarchy.
1476  */
1478  { return "شاخه ها"; }
1479 
1480  /*! This returns a sentences that introduces the directory hierarchy.
1481  * and the fact that it is sorted alphabetically per level
1482  */
1484  { return "در ذيل ساختار شاخه ها و دايرکتوری ها را نسبتا مرتب شده می بينيد :";
1485  }
1486 
1487  /*! This returns the title of a directory page. The name of the
1488  * directory is passed via \a dirName.
1489  */
1490  virtual QCString trDirReference(const char *dirName)
1491  { QCString result=dirName; result+=" مرجع شاخه ی"; return result; }
1492 
1493  /*! This returns the word directory with or without starting capital
1494  * (\a first_capital) and in sigular or plural form (\a singular).
1495  */
1496  virtual QCString trDir(bool /*first_capital*/, bool singular)
1497  {
1498  QCString result("شاخه");
1499  if (singular) result+=" ها "+result;
1500  return result;
1501  }
1502 
1503 //////////////////////////////////////////////////////////////////////////
1504 // new since 1.4.1
1505 //////////////////////////////////////////////////////////////////////////
1506 
1507  /*! This text is added to the documentation when the \\overload command
1508  * is used for a overloaded function.
1509  */
1511  {
1512  return "This is an overloaded member function, "
1513  "provided for convenience. It differs from the above "
1514  "function only in what argument(s) it accepts.";
1515  }
1516 
1517 //////////////////////////////////////////////////////////////////////////
1518 // new since 1.4.6
1519 //////////////////////////////////////////////////////////////////////////
1520 
1521  /*! This is used to introduce a caller (or called-by) graph */
1523  {
1524  return "نمودار صدا زننده های این تابع:";
1525  }
1526 //////////////////////////////////////////////////////////////////////////
1527 // new since 1.5.4 (mainly for Fortran)
1528 //////////////////////////////////////////////////////////////////////////
1529 
1530  /*! header that is put before the list of member subprograms (Fortran). */
1532  { return "مستندات توابع عضو"; }
1533 
1534  /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1536  { return "لیست ساختار های داده"; }
1537 
1538  /*! This is put above each page as a link to all members of compounds (Fortran). */
1540  { return "فیلدهای اطلاعات"; }
1541 
1542  /*! This is an introduction to the annotated compound list (Fortran). */
1544  { return "ساختارهای داده به همراه توضیح کوتاه :"; }
1545 
1546  /*! This is an introduction to the page with all data types (Fortran). */
1548  {
1549  return "توضیحات اعضا ساختارها به همراه مستندات ساختار داده ی مربوطه";
1550  }
1551 
1552  /*! This is used in LaTeX as the title of the chapter with the
1553  * annotated compound index (Fortran).
1554  */
1556  { return "Data Type Index"; }
1557 
1558  /*! This is used in LaTeX as the title of the chapter containing
1559  * the documentation of all data types (Fortran).
1560  */
1562  { return "Data Type Documentation"; }
1563 
1564  /*! This is used in the documentation of a file as a header before the
1565  * list of (global) subprograms (Fortran).
1566  */
1568  { return "توابع و زیربرنامه ها"; }
1569 
1570  /*! This is used in the documentation of a file/namespace before the list
1571  * of documentation blocks for subprograms (Fortran)
1572  */
1574  { return "مستندات توابع و زیربرنامه ها"; }
1575 
1576  /*! This is used in the documentation of a file/namespace/group before
1577  * the list of links to documented compounds (Fortran)
1578  */
1580  { return "ساختار های داده"; }
1581 
1582  /*! used as the title of page containing all the index of all modules (Fortran). */
1584  { return "لیست ماژول ها"; }
1585 
1586  /*! used as an introduction to the modules list (Fortran) */
1588  {
1589  QCString result="لیست ماژول ها به همراه توضیحات کوتاه";
1590  return result;
1591  }
1592 
1593  /*! used as the title of the HTML page of a module/type (Fortran) */
1594  virtual QCString trCompoundReferenceFortran(const char *clName,
1595  ClassDef::CompoundType compType,
1596  bool isTemplate)
1597  {
1598  QCString result=(QCString)clName;
1599  switch(compType)
1600  {
1601  case ClassDef::Class: result+=" Module"; break;
1602  case ClassDef::Struct: result+=" Type"; break;
1603  case ClassDef::Union: result+=" Union"; break;
1604  case ClassDef::Interface: result+=" Interface"; break;
1605  case ClassDef::Protocol: result+=" Protocol"; break;
1606  case ClassDef::Category: result+=" Category"; break;
1607  case ClassDef::Exception: result+=" Exception"; break;
1608  default: break;
1609  }
1610  if (isTemplate) result+=" Template";
1611  result+=" Reference";
1612  return result;
1613  }
1614  /*! used as the title of the HTML page of a module (Fortran) */
1615  virtual QCString trModuleReference(const char *namespaceName)
1616  {
1617  QCString result=namespaceName;
1618  result+=" Module Reference";
1619  return result;
1620  }
1621 
1622  /*! This is put above each page as a link to all members of modules. (Fortran) */
1624  { return "اعضاء ماژول"; }
1625 
1626  /*! This is an introduction to the page with all modules members (Fortran) */
1628  {
1629  QCString result="لیست اعضاء ماژول ها به همراه مستندات ماژول مربوطه";
1630  return result;
1631  }
1632 
1633  /*! This is used in LaTeX as the title of the chapter with the
1634  * index of all modules (Fortran).
1635  */
1637  { return "Modules Index"; }
1638 
1639  /*! This is used for translation of the word that will possibly
1640  * be followed by a single name or by a list of names
1641  * of the category.
1642  */
1643  virtual QCString trModule(bool, bool singular)
1644  {
1645  QCString result("ماژول");
1646  if (!singular) result+=" ها";
1647  return result;
1648  }
1649  /*! This is put at the bottom of a module documentation page and is
1650  * followed by a list of files that were used to generate the page.
1651  */
1653  bool single)
1654  { // here s is one of " Module", " Struct" or " Union"
1655  // single is true implies a single file
1656  QCString result=(QCString)"The documentation for this ";
1657  switch(compType)
1658  {
1659  case ClassDef::Class: result+="module"; break;
1660  case ClassDef::Struct: result+="type"; break;
1661  case ClassDef::Union: result+="union"; break;
1662  case ClassDef::Interface: result+="interface"; break;
1663  case ClassDef::Protocol: result+="protocol"; break;
1664  case ClassDef::Category: result+="category"; break;
1665  case ClassDef::Exception: result+="exception"; break;
1666  default: break;
1667  }
1668  result+=" was generated from the following file";
1669  if (single) result+=":"; else result+="s:";
1670  return result;
1671  }
1672  /*! This is used for translation of the word that will possibly
1673  * be followed by a single name or by a list of names
1674  * of the category.
1675  */
1676  virtual QCString trType(bool first_capital, bool singular)
1677  {
1678  QCString result((first_capital ? "Type" : "type"));
1679  if (!singular) result+="s";
1680  return result;
1681  }
1682  /*! This is used for translation of the word that will possibly
1683  * be followed by a single name or by a list of names
1684  * of the category.
1685  */
1686  virtual QCString trSubprogram(bool, bool singular)
1687  {
1688  QCString result("زیربرنامه");
1689  if (!singular) result+=" ها ";
1690  return result;
1691  }
1692 
1693  /*! C# Type Constraint list */
1695  {
1696  return "Type Constraints";
1697  }
1698 
1699 //////////////////////////////////////////////////////////////////////////
1700 // new since 1.6.0 (mainly for the new search engine)
1701 //////////////////////////////////////////////////////////////////////////
1702 
1703  /*! directory relation for \a name */
1704  virtual QCString trDirRelation(const char *name)
1705  {
1706  return QCString(name) + " Relation";
1707  }
1708 
1709  /*! Loading message shown when loading search results */
1711  {
1712  return "در حال بارگذاری...";
1713  }
1714 
1715  /*! Label used for search results in the global namespace */
1717  {
1718  return "فضای نام جهانی";
1719  }
1720 
1721  /*! Message shown while searching */
1723  {
1724  return "در حال جستجو...";
1725  }
1726 
1727  /*! Text shown when no search results are found */
1729  {
1730  return "یافت نشد";
1731  }
1732 
1733 //////////////////////////////////////////////////////////////////////////
1734 // new since 1.6.3 (missing items for the directory pages)
1735 //////////////////////////////////////////////////////////////////////////
1736 
1737  /*! when clicking a directory dependency label, a page with a
1738  * table is shown. The heading for the first column mentions the
1739  * source file that has a relation to another file.
1740  */
1741  virtual QCString trFileIn(const char *name)
1742  {
1743  return (QCString)"پرونده ای در "+name;
1744  }
1745 
1746  /*! when clicking a directory dependency label, a page with a
1747  * table is shown. The heading for the second column mentions the
1748  * destination file that is included.
1749  */
1750  virtual QCString trIncludesFileIn(const char *name)
1751  {
1752  return (QCString)"Includes file in "+name;
1753  }
1754 
1755  /** Compiles a date string.
1756  * @param year Year in 4 digits
1757  * @param month Month of the year: 1=January
1758  * @param day Day of the Month: 1..31
1759  * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1760  * @param hour Hour of the day: 0..23
1761  * @param minutes Minutes in the hour: 0..59
1762  * @param seconds Seconds within the minute: 0..59
1763  * @param includeTime Include time in the result string?
1764  */
1765  virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1766  int hour,int minutes,int seconds,
1767  bool includeTime)
1768  {
1769  static const char *days[] = { "دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه","یکشنبه" };
1770  static const char *months[] = { "ژانویه","فوریه","مارس","آوریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر" };
1771  QCString sdate;
1772  sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
1773  if (includeTime)
1774  {
1775  QCString stime;
1776  stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1777  sdate+=stime;
1778  }
1779  return convertDigitsToFarsi(sdate);
1780  }
1781 
1782 };
1783 
1784 #endif
static QCString name
Definition: declinfo.cpp:673
virtual QCString trSubprogramDocumentation()
virtual QCString trNote()
virtual QCString trPageDocumentation()
virtual QCString trRelatedFunctions()
Definition: translator_fa.h:97
virtual QCString trDefineValue()
virtual QCString trModulesList()
virtual QCString trModule(bool, bool singular)
virtual QCString trLegend()
virtual QCString trPrivateMembers()
virtual QCString trAttention()
virtual QCString trDataTypes()
virtual QCString trDirReference(const char *dirName)
virtual QCString trPage(bool first_capital, bool singular)
virtual QCString trCompoundMembersDescriptionFortran(bool)
virtual QCString trIncludingInheritedMembers()
virtual QCString trReferences()
virtual QCString trProtectedSlots()
virtual QCString trGotoGraphicalHierarchy()
virtual QCString trSince()
QCString generateMarker(int id)
Definition: util.cpp:266
static QCString result
virtual QCString trPostcondition()
virtual QCString trTodo()
uint length() const
Definition: qcstring.h:195
virtual QCString trReturns()
virtual QCString trPublicAttribs()
virtual QCString trCallerGraph()
virtual QCString trPackage(const char *name)
virtual QCString trFileIn(const char *name)
virtual QCString trEnumerationValueDocumentation()
virtual QCString trProtectedAttribs()
virtual QCString trGraphicalHierarchy()
virtual QCString trNamespaceMemberDescription(bool extractAll)
virtual QCString trTypeDocumentation()
virtual QCString trSourceFile(QCString &filename)
virtual QCString trExamplesDescription()
virtual QCString trFileDocumentation()
virtual QCString trCompoundListDescriptionFortran()
virtual QCString trFunctions()
char & at(uint i) const
Definition: qcstring.h:326
virtual QCString trAll()
virtual QCString trTypedefDocumentation()
virtual QCString trEnumerations()
virtual QCString trVariableDocumentation()
virtual QCString trClassHierarchyDescription()
virtual QCString trInitialValue()
virtual QCString trProperties()
virtual QCString trFileMembersDescription(bool extractAll)
virtual QCString trRTFCharSet()
virtual QCString trGlobal(bool first_capital, bool singular)
virtual QCString trDirIndex()
virtual QCString trPackageListDescription()
virtual QCString trMemberList()
virtual QCString trDir(bool, bool singular)
virtual QCString trPropertyDocumentation()
virtual QCString trEnumerationValues()
virtual QCString trThisIsTheListOfAllMembers()
virtual QCString trSubprogram(bool, bool singular)
virtual QCString trGroup(bool first_capital, bool singular)
virtual QCString trReferencedBy()
virtual QCString trCompoundList()
virtual QCString trAuthor(bool first_capital, bool singular)
virtual QCString trIncludesFileIn(const char *name)
virtual QCString trNamespace(bool first_capital, bool singular)
virtual QCString trSearching()
virtual QCString trMember(bool first_capital, bool singular)
virtual QCString trDefinedIn()
virtual QCString trSeeAlso()
virtual QCString trStaticPublicAttribs()
virtual QCString trNamespaceIndex()
string filename
Definition: train.py:213
virtual QCString trEnumerationTypeDocumentation()
virtual QCString trDirRelation(const char *name)
virtual QCString trCompoundListFortran()
virtual QCString trClassDocumentation()
virtual QCString trNamespaceDocumentation()
virtual QCString trFileIndex()
virtual QCString trCompoundMembers()
virtual QCString trModules()
virtual QCString trCompoundMembersDescription(bool extractAll)
virtual QCString trPrecondition()
virtual QCString trTypeConstraints()
virtual QCString trLegendTitle()
virtual QCString trTypedefs()
virtual QCString trVersion()
virtual QCString trRTFGeneralIndex()
virtual QCString trPageIndex()
virtual QCString trInvariant()
virtual QCString trRTFTableOfContents()
virtual QCString trBugList()
virtual QCString trPageAbbreviation()
virtual QCString trStaticProtectedAttribs()
virtual QCString trEvents()
virtual QCString trNoMatches()
virtual QCString trPublicTypes()
virtual QCString trImplementedInList(int numEntries)
virtual QCString trNamespaces()
QCString convertDigitsToFarsi(QCString str)
Definition: translator_fa.h:47
virtual QCString trEnumValue()
virtual QCString trMore()
virtual QCString trExampleDocumentation()
virtual QCString trFriends()
virtual QCString trDate()
virtual QCString trCode()
virtual QCString trType(bool first_capital, bool singular)
fileName
Definition: dumpTree.py:9
virtual QCString trListOfAllMembers()
virtual QCString trFileListDescription(bool extractAll)
virtual QCString trDefineDocumentation()
second seconds
Alias for common language habits.
Definition: spacetime.h:88
virtual QCString trTest()
virtual QCString trHierarchicalIndex()
virtual QCString trGotoDocumentation()
virtual QCString trModulesDescription()
virtual QCString trDefinedInSourceFile()
virtual QCString trSignals()
virtual QCString trDirDocumentation()
virtual QCString trTestList()
virtual QCString trNamespaceReference(const char *namespaceName)
virtual QCString trMemberEnumerationDocumentation()
virtual QCString trDirDescription()
virtual QCString trOverloadText()
virtual QCString trCollaborationDiagram(const char *clName)
virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single)
virtual QCString trStaticProtectedMembers()
virtual QCString trNamespaceList()
virtual QCString trLoading()
virtual QCString trModuleDocumentation()
virtual QCString trWarning()
virtual QCString trReferenceManual()
virtual QCString trEnumName()
virtual QCString trDirectories()
virtual QCString trDefinedAtLineInSourceFile()
virtual QCString trSearchResults(int numDocuments)
virtual QCString trDeprecated()
virtual QCString trSearch()
virtual QCString trTodoList()
virtual QCString trPublicMembers()
virtual QCString trGotoTextualHierarchy()
#define Config_getBool(val)
Definition: config.cpp:664
virtual QCString trClass(bool first_capital, bool singular)
virtual QCString trModuleIndex()
virtual QCString trClasses()
virtual QCString trCompoundMembersFortran()
virtual QCString trPackageTypes()
QCString getDotImageExtension(void)
Definition: util.cpp:8562
virtual QCString trFunctionDocumentation()
virtual QCString trStaticPrivateMembers()
virtual QCString trInclByDepGraph()
virtual QCString trRelatedSubscript()
virtual QCString trStaticPrivateAttribs()
virtual QCString trStaticPublicMembers()
virtual QCString trCompoundIndex()
virtual QCString trMainPage()
virtual QCString trGlobalNamespace()
virtual QCString trPrivateSlots()
virtual QCString trLegendDocs()
virtual QCString trRelatedFunctionDocumentation()
QCString & sprintf(const char *format,...)
Definition: qcstring.cpp:27
virtual QCString trProtectedTypes()
virtual QCString trInheritedByList(int numEntries)
virtual QCString trMemberTypedefDocumentation()
virtual QCString trFile(bool, bool singular)
virtual QCString trEventDocumentation()
virtual QCString trGotoSourceCode()
virtual QCString trDeprecatedList()
virtual QCString trCompounds()
#define HtmlDivEnd
Definition: translator_fa.h:39
virtual QCString trGeneratedAutomatically(const char *s)
virtual QCString trImplementedFromList(int numEntries)
virtual QCString trGeneratedAt(const char *date, const char *projName)
virtual QCString trClassHierarchy()
virtual QCString trReturnValues()
virtual QCString trBug()
virtual QCString trClassDiagram(const char *clName)
virtual QCString trCompoundIndexFortran()
virtual QCString trStaticPackageAttribs()
virtual QCString trPublicSlots()
virtual QCString trReimplementedFromList(int numEntries)
virtual QCString trModulesMemberDescription(bool)
virtual QCString trPackageMembers()
virtual QCString trProtectedMembers()
virtual QCString trMemberFunctionDocumentationFortran()
virtual QCString trConstructorDocumentation()
virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate)
virtual QCString trForInternalUseOnly()
virtual QCString trInheritsList(int numEntries)
virtual QCString trParameters()
CompoundType
Definition: classdef.h:63
virtual QCString trModulesMembers()
virtual QCString trStaticPackageMembers()
virtual QCString trDetailedDescription()
virtual QCString trMemberDataDocumentation()
virtual QCString trPackages()
virtual QCString trPrivateTypes()
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single)
virtual QCString trExceptions()
virtual QCString trModuleReference(const char *namespaceName)
virtual QCString trSearchResultsTitle()
virtual QCString trExamples()
virtual QCString trNamespaceMembers()
virtual QCString trCompoundReferenceFortran(const char *clName, ClassDef::CompoundType compType, bool isTemplate)
virtual QCString trFileMembers()
virtual QCString trReimplementedInList(int numEntries)
virtual QCString trMemberFunctionDocumentation()
virtual QCString trPackageList()
virtual QCString trSubprograms()
virtual QCString trFileList()
#define HtmlRightToLeft
Definition: translator_fa.h:37
virtual QCString trNamespaceListDescription(bool extractAll)
virtual QCString trDateTime(int year, int month, int day, int dayOfWeek, int hour, int minutes, int seconds, bool includeTime)
virtual QCString trRTFansicp()
virtual QCString trDocumentation()
virtual QCString trModulesListDescription(bool)
virtual QCString trVariables()
virtual QCString idLanguage()
Definition: translator_fa.h:72
virtual QCString trWriteList(int numEntries)
virtual QCString trInclDepGraph(const char *fName)
virtual QCString trRelatedPages()
virtual QCString trModulesIndex()
virtual QCString trPrivateAttribs()
virtual QCString trRemarks()
static QCString * s
Definition: config.cpp:1042
virtual QCString trPackageAttribs()
virtual QCString trGeneratedBy()
static QCString str
virtual QCString trCallGraph()
virtual QCString trDefines()
virtual QCString trCompoundListDescription()
virtual QCString trSearchMatches()
virtual QCString trFileReference(const char *fileName)
virtual QCString trRelatedPagesDescription()
virtual QCString latexLanguageSupportCommand()
Definition: translator_fa.h:89