diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-09-04 07:49:28 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-09-04 07:49:28 (GMT) |
commit | bc681c7440c7bfe30236bf5a36a82e4390462c9d (patch) | |
tree | 90862bbe4ee933e62043fcd540ecce0be6bfa556 /doc | |
parent | 2f7c7c94d82598f82bc9908bd2bf2cfec4a467f7 (diff) | |
download | Doxygen-bc681c7440c7bfe30236bf5a36a82e4390462c9d.zip Doxygen-bc681c7440c7bfe30236bf5a36a82e4390462c9d.tar.gz Doxygen-bc681c7440c7bfe30236bf5a36a82e4390462c9d.tar.bz2 |
Regenerated language.doc
Diffstat (limited to 'doc')
-rw-r--r-- | doc/language.doc | 81 |
1 files changed, 41 insertions, 40 deletions
diff --git a/doc/language.doc b/doc/language.doc index 570bf4c..2e04667 100644 --- a/doc/language.doc +++ b/doc/language.doc @@ -1,11 +1,11 @@ /****************************************************************************** - * Do not edit this file. It was generated by the translator.py script. + * Do not edit this file. It was generated by the translator.py script. * * 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. * @@ -22,7 +22,7 @@ text fragments, generated by doxygen, can be produced in languages other than English (the default). The output language is chosen through the configuration file (with default name and known as Doxyfile). -Currently (version 1.8.4), 40 languages +Currently (version 1.8.5), 40 languages are supported (sorted alphabetically): Afrikaans, Arabic, Armenian, Brazilian Portuguese, Catalan, Chinese, Chinese Traditional, Croatian, Czech, Danish, Dutch, English, @@ -245,9 +245,9 @@ when the translator was updated. </tr> <tr bgcolor="#ffffff"> <td>Russian</td> - <td>Alexandr Chelpanov</td> - <td>cav at cryptopro dot ru</td> - <td>1.7.5</td> + <td>Brilliantov Kirill Vladimirovich<br/>Alexandr Chelpanov</td> + <td>brilliantov at byterg dot ru<br/>cav at cryptopro dot ru</td> + <td>up-to-date</td> </tr> <tr bgcolor="#ffffff"> <td>Serbian</td> @@ -406,7 +406,8 @@ when the translator was updated. Romanian & Ionut Dumitrascu & {\tt\tiny reddumy at yahoo dot com} & up-to-date \\ ~ & Alexandru Iosup & {\tt\tiny aiosup at yahoo dot com} & ~ \\ \hline - Russian & Alexandr Chelpanov & {\tt\tiny cav at cryptopro dot ru} & 1.7.5 \\ + Russian & Brilliantov Kirill Vladimirovich & {\tt\tiny brilliantov at byterg dot ru} & up-to-date \\ + ~ & Alexandr Chelpanov & {\tt\tiny cav at cryptopro dot ru} & ~ \\ \hline Serbian & Dejan Milosavljevic & {\tt\tiny [unreachable] dmilos at email dot com} & 1.6.0 \\ \hline @@ -436,10 +437,10 @@ when the translator was updated. Most people on the list have indicated that they were also busy -doing other things, so if you want to help to speed things up please +doing other things, so if you want to help to speed things up please let them (or me) know. -If you want to add support for a language that is not yet listed +If you want to add support for a language that is not yet listed please read the next section. @@ -450,12 +451,12 @@ This short HOWTO explains how to add support for the new language to Doxygen: Just follow these steps: <ol> <li>Tell me for which language you want to add support. If no one else - is already working on support for that language, you will be - assigned as the maintainer for the language. -<li>Create a copy of translator_en.h and name it + is already working on support for that language, you will be + assigned as the maintainer for the language. +<li>Create a copy of translator_en.h and name it translator_\<your_2_letter_country_code\>.h I'll use xx in the rest of this document. -<li>Add definition of the symbol for your language in the configure +<li>Add definition of the symbol for your language in the configure at two places in the script: <ol> <li>After the <code>f_langs=</code> is statement, in lower case. @@ -464,7 +465,7 @@ at two places in the script: The rerun the configure script such that is generates src/lang_cfg.h. This file should now contain a \#define for your language code. <li>Edit language.cpp: - Add a + Add a \verbatim #ifdef LANG_xx #include<translator_xx.h> @@ -481,31 +482,31 @@ This file should now contain a \#define for your language code. { theTranslator = new TranslatorYourLanguage; } -#endif +#endif \endverbatim after the <code>if { ... }</code>. I.e., it must be placed after the code - for creating the English translator at the beginning, and before the - <code>else { ... }</code> part that creates the translator for the + for creating the English translator at the beginning, and before the + <code>else { ... }</code> part that creates the translator for the default language (English again). -<li>Edit libdoxygen.pro.in and add \c translator_xx.h to +<li>Edit libdoxygen.pro.in and add \c translator_xx.h to the \c HEADERS line. <li>Edit <code>translator_xx.h</code>: <ul> - <li>Rename <code>TRANSLATOR_EN_H</code> to <code>TRANSLATOR_XX_H</code> - twice (i.e. in the \c \#ifndef and \c \#define preprocessor commands at + <li>Rename <code>TRANSLATOR_EN_H</code> to <code>TRANSLATOR_XX_H</code> + twice (i.e. in the \c \#ifndef and \c \#define preprocessor commands at the beginning of the file). - <li>Rename TranslatorEnglish to TranslatorYourLanguage - <li>In the member <code>idLanguage()</code> change "english" into the + <li>Rename TranslatorEnglish to TranslatorYourLanguage + <li>In the member <code>idLanguage()</code> change "english" into the name of your language (use lower case characters only). Depending - on the language you may also wish to change the member functions + on the language you may also wish to change the member functions latexLanguageSupportCommand(), idLanguageCharset() and others (you will recognize them when you start the work). - <li>Edit all the strings that are returned by the member functions that - start with tr. + <li>Edit all the strings that are returned by the member functions that + start with tr. Try to match punctuation and capitals! To enter special characters (with accents) you can: <ul> - <li> Enter them directly if your keyboard supports that and you are + <li> Enter them directly if your keyboard supports that and you are using a Latin-1 font. Doxygen will translate the characters to proper \f$\mbox{\LaTeX}\f$ and leave the HTML and man output for what it is (which is fine, if @@ -514,9 +515,9 @@ This file should now contain a \#define for your language code. See the HTML specification for the codes. </ul> </ul> -<li>Run configure and make again from the root of the distribution, +<li>Run configure and make again from the root of the distribution, in order to regenerated the Makefiles. -<li>Now you can use <code>OUTPUT_LANGUAGE = your_language_name</code> +<li>Now you can use <code>OUTPUT_LANGUAGE = your_language_name</code> in the config file to generate output in your language. <li>Send <code>translator_xx.h</code> to me so I can add it to doxygen. Send also your name and e-mail address to be included in the @@ -536,7 +537,7 @@ until all language maintainers have translated the new sentences and sent the results would not be very practical. The following text describes the usage of translator adapters to solve the problem. -<b>The role of Translator Adapters.</b> +<b>The role of Translator Adapters.</b> Whenever the \c Translator class interface changes in the new release, the new class \c TranslatorAdapter_x_y_z is added to the \c translator_adapter.h file (here x, y, and z are numbers that @@ -552,7 +553,7 @@ TranslatorAdapter_x_y_z class may use the obsolete method to get the result which is as close as possible to the older result in the target language. If it is not possible, the result (the default translation) is obtained using the English translator, which is (by -definition) always up-to-date. +definition) always up-to-date. <b>For example,</b> when the new \c trFile() method with parameters (to determine the capitalization of the first letter and @@ -582,7 +583,7 @@ of the translator adapter classes: The \c trFiles() is not present in the \c TranslatorEnglish class, because it was removed as obsolete. However, it was used until now -and its call was replaced by +and its call was replaced by \verbatim trFile(true, false) @@ -648,16 +649,16 @@ translator adapter classes. <b>To simplify the maintenance of the language translator classes</b> for the supported languages, the \c translator.py Python -script was developed (located in \c doxygen/doc directory). +script was developed (located in \c doxygen/doc directory). It extracts the important information about obsolete and -new methods from the source files for each of the languages. +new methods from the source files for each of the languages. The information is stored in the translator report ASCII file -(\c translator_report.txt). +(\c translator_report.txt). \htmlonly If you compiled this documentation from sources and if you have also doxygen sources available the link <a href="../doc/translator_report.txt" -><code>doxygen/doc/translator_report.txt</code></a> should be valid.\endhtmlonly +><code>doxygen/doc/translator_report.txt</code></a> should be valid.\endhtmlonly Looking at the base class of the language translator, the script guesses also the status of the translator -- see the last column of @@ -680,7 +681,7 @@ expected, you can always decide use some suitable translator adapter to finish the changes later and still make your translator working. <b>The most radical way of updating the language translator</b> is -to make your translator class derive directly +to make your translator class derive directly from the abstract class \c Translator and provide translations for the methods that are required to be implemented -- the compiler will tell you if you forgot to implement some of them. If you are in @@ -693,7 +694,7 @@ because the adapter classes do implement also the obsolete methods In other words, the up-to-date language translators do not need the \c TranslatorAdapter_x_y_z classes at all, and you do not need to implement anything else than the methods required by the Translator -class (i.e. the pure virtual methods of the \c Translator -- they +class (i.e. the pure virtual methods of the \c Translator -- they end with <code>=0;</code>). If everything compiles fine, try to run \c translator.py, and have a @@ -728,7 +729,7 @@ report shorter (also produced faster) -- it will contain only the information related to your translator. Once you reach the state when the base class should be changed to some newer adapter, you will see the note in the translator report. - + Warning: Don't forget to compile Doxygen to discover, whether it is compilable. The \c translator.py does not check if everything is correct with respect to the compiler. Because of that, it may lie @@ -743,7 +744,7 @@ When doing so, all the missing methods will be replaced by the English translation. This means that not-implemented methods will always return the English result. Such translators are marked using word \c obsolete. You should read it <b>really obsolete</b>. No -guess about the last update can be done. +guess about the last update can be done. Often, it is possible to construct better result from the obsolete methods. Because of that, the translator adapter classes should be |