Commit dcf13520 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge pull request #12 from pepr/master

Almost all translators converted to UTF-8
parents d63fb848 4bc65b54
mailto.txt
\ No newline at end of file
......@@ -91,7 +91,7 @@ when the translator was updated.
<td>Chinese Traditional</td>
<td>Daniel YC Lin<br/>Gary Lee</td>
<td>dlin dot tw at gmail dot com<br/>garywlee at gmail dot com</td>
<td>1.8.0</td>
<td>up-to-date</td>
</tr>
<tr bgcolor="#ffffff">
<td>Croatian</td>
......@@ -173,7 +173,7 @@ when the translator was updated.
</tr>
<tr bgcolor="#ffffff">
<td>Japanese</td>
<td>Hiroki Iseri<br/>Ryunosuke Satoh<br/>Kenji Nagamatsu<br/>Iwasa Kazmi</td>
<td>Hiroki Iseri<br/>Ryūnosuke Satoh<br/>Kenji Nagamatsu<br/>Iwasa Kazmi</td>
<td>goyoki at gmail dot com<br/>sun594 at hotmail dot com<br/>naga at joyful dot club dot ne dot jp<br/><span style="color: brown">[unreachable]</span></td>
<td>1.6.0</td>
</tr>
......@@ -335,7 +335,7 @@ when the translator was updated.
~ & Li Daobing & {\tt\tiny lidaobing at gmail dot com} & ~ \\
~ & Wei Liu & {\tt\tiny liuwei at asiainfo dot com} & ~ \\
\hline
Chinese Traditional & Daniel YC Lin & {\tt\tiny dlin dot tw at gmail dot com} & 1.8.0 \\
Chinese Traditional & Daniel YC Lin & {\tt\tiny dlin dot tw at gmail dot com} & up-to-date \\
~ & Gary Lee & {\tt\tiny garywlee at gmail dot com} & ~ \\
\hline
Croatian & Boris Bralo & {\tt\tiny boris dot bralo at gmail dot com} & 1.8.2 \\
......@@ -371,7 +371,7 @@ when the translator was updated.
~ & Ahmed Aldo Faisal & {\tt\tiny aaf23 at cam dot ac dot uk} & ~ \\
\hline
Japanese & Hiroki Iseri & {\tt\tiny goyoki at gmail dot com} & 1.6.0 \\
~ & Ryunosuke Satoh & {\tt\tiny sun594 at hotmail dot com} & ~ \\
~ & Ryūnosuke Satoh & {\tt\tiny sun594 at hotmail dot com} & ~ \\
~ & Kenji Nagamatsu & {\tt\tiny naga at joyful dot club dot ne dot jp} & ~ \\
~ & Iwasa Kazmi & {\tt\tiny [unreachable] iwasa at cosmo-system dot jp} & ~ \\
\hline
......
......@@ -86,7 +86,7 @@ Ahmed Aldo Faisal: aaf23 at cam dot ac dot uk
TranslatorJapanese
Hiroki Iseri: goyoki at gmail dot com
Ryunosuke Satoh: sun594 at hotmail dot com
Ryūnosuke Satoh: sun594 at hotmail dot com
Kenji Nagamatsu: naga at joyful dot club dot ne dot jp
Iwasa Kazmi: [unreachable] iwasa at cosmo-system dot jp
......
......@@ -16,9 +16,7 @@
Originally, the script was written in Perl and was known as translator.pl.
The last Perl version was dated 2002/05/21 (plus some later corrections)
$Id$
Petr Prikryl (prikrylp@skil.cz)
Petr Prikryl (prikryl at atlas dot cz)
History:
--------
......
......@@ -10,7 +10,7 @@ Macedonian, Norwegian, Persian, Polish, Portuguese, Romanian, Russian,
Serbian, SerbianCyrilic, Slovak, Slovene, Spanish, Swedish, Turkish,
Ukrainian, and Vietnamese.
Of them, 9 translators are up-to-date, 31 translators are based on
Of them, 10 translators are up-to-date, 30 translators are based on
some adapter class, and 2 are English based.
----------------------------------------------------------------------
......@@ -19,6 +19,7 @@ alphabetically). This means that they derive from the Translator class
and they implement all 250 of the required methods. Anyway, there
still may be some details listed even for them:
TranslatorChinesetraditional -- The MAX_DOT_GRAPH_HEIGHT found in trLegendDocs()
TranslatorCzech
TranslatorDutch
TranslatorEnglish
......@@ -45,12 +46,7 @@ must be implemented to become up-to-date:
TranslatorChinese 1.8.2 15 methods to implement (6 %)
TranslatorPortuguese 1.8.0 22 methods to implement (8 %)
TranslatorIndonesian 1.8.0 22 methods to implement (8 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorDanish 1.8.0 22 methods to implement (8 %)
TranslatorChinesetraditional 1.8.0 22 methods to implement (8 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorCatalan 1.8.0 22 methods to implement (8 %)
TranslatorBrazilian 1.8.0 22 methods to implement (8 %)
TranslatorArmenian 1.8.0 22 methods to implement (8 %)
......@@ -59,23 +55,13 @@ must be implemented to become up-to-date:
TranslatorPersian 1.7.5 25 methods to implement (10 %)
TranslatorVietnamese 1.6.0 34 methods to implement (13 %)
TranslatorSwedish 1.6.0 34 methods to implement (13 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorSerbian 1.6.0 34 methods to implement (13 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorSerbianCyrilic 1.6.0 34 methods to implement (13 %)
TranslatorMacedonian 1.6.0 34 methods to implement (13 %)
TranslatorJapanese 1.6.0 33 methods to implement (13 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorFinnish 1.6.0 34 methods to implement (13 %)
TranslatorAfrikaans 1.6.0 34 methods to implement (13 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorSlovene 1.4.6 58 methods to implement (23 %)
Note: Reimplementation using UTF-8 suggested.
TranslatorNorwegian 1.4.6 56 methods to implement (22 %)
TranslatorLithuanian 1.4.6 58 methods to implement (23 %)
TranslatorHungarian 1.4.6 58 methods to implement (23 %)
......@@ -348,35 +334,10 @@ TranslatorChinese (TranslatorAdapter_1_8_2) 15 methods to implement (6 %)
virtual QCString trInstanceMethods()
TranslatorChinesetraditional (TranslatorAdapter_1_8_0) 22 methods to implement (8 %)
TranslatorChinesetraditional (Translator)
----------------------------
Implements 228 of the required methods (91 %).
Missing methods (should be implemented):
virtual QCString trDetailLevel()
virtual QCString trTemplateParameters()
virtual QCString trServices()
virtual QCString trClassMethods()
virtual QCString trProvidedByCategory()
virtual QCString trSingletonGeneratedFromFiles(bool single)
virtual QCString trServiceReference(const char * sName)
virtual QCString trDesignOverview()
virtual QCString trAndMore(const QCString & number)
virtual QCString trConstantGroups()
virtual QCString trMethodDocumentation()
virtual QCString trEnumReference(const char * name)
virtual QCString trInheritedFrom(const char * members, const char * what)
virtual QCString trAdditionalInheritedMembers()
virtual QCString trInterfaces()
virtual QCString trServiceGeneratedFromFiles(bool single)
virtual QCString trEnumGeneratedFromFiles(bool single)
virtual QCString trConstantGroupReference(const char * namespaceName)
virtual QCString trPanelSynchronisationTooltip(bool enable)
virtual QCString trExtendsClass()
virtual QCString trSingletonReference(const char * sName)
virtual QCString trInstanceMethods()
Implements 250 of the required methods (100 %).
TranslatorCroatian (TranslatorAdapter_1_8_2) 15 methods to implement (6 %)
......
......@@ -189,7 +189,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_SV
else if (L_EQUAL("swedish"))
{
theTranslator=new TranslatorDecoder(new TranslatorSwedish);
theTranslator=new TranslatorSwedish;
}
#endif
#ifdef LANG_CZ
......@@ -207,7 +207,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_ID
else if (L_EQUAL("indonesian"))
{
theTranslator=new TranslatorDecoder(new TranslatorIndonesian);
theTranslator=new TranslatorIndonesian;
}
#endif
#ifdef LANG_IT
......@@ -225,7 +225,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_JP
else if (L_EQUAL("japanese"))
{
theTranslator=new TranslatorDecoder(new TranslatorJapanese);
theTranslator=new TranslatorJapanese;
}
#endif
#ifdef LANG_JE
......@@ -297,7 +297,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_SI
else if (L_EQUAL("slovene"))
{
theTranslator=new TranslatorDecoder(new TranslatorSlovene);
theTranslator=new TranslatorSlovene;
}
#endif
#ifdef LANG_CN
......@@ -309,7 +309,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_TW
else if (L_EQUAL("chinese-traditional"))
{
theTranslator=new TranslatorDecoder(new TranslatorChinesetraditional);
theTranslator=new TranslatorChinesetraditional;
}
#endif
#ifdef LANG_NO
......@@ -351,7 +351,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_SR
else if (L_EQUAL("serbian"))
{
theTranslator=new TranslatorDecoder(new TranslatorSerbian);
theTranslator=new TranslatorSerbian;
}
#endif
#ifdef LANG_SC
......@@ -381,7 +381,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_ZA
else if (L_EQUAL("afrikaans"))
{
theTranslator=new TranslatorDecoder(new TranslatorAfrikaans);
theTranslator=new TranslatorAfrikaans;
}
#endif
#ifdef LANG_AR
......
/******************************************************************************
*
*
*
*
* 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.
*
......@@ -18,7 +18,7 @@
#ifndef TRANSLATOR_ID_H
#define TRANSLATOR_ID_H
/*
/*
* Translasi berikut didasarkan pada versi translator_en.h dalam
* Doxygen 1.7.5.1.
*
......@@ -30,18 +30,18 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// --- 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 English 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 "indonesian"; }
/*! 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
......@@ -49,7 +49,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
......@@ -61,7 +61,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "iso-8859-1";
return "utf-8";
}
// --- Language translation methods -------------------
......@@ -92,19 +92,19 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Dokumentasi Variabel";
return "Dokumentasi Variabel";
}
else
{
return "Dokumentasi Anggota: Data";
return "Dokumentasi Anggota: Data";
}
}
/*! this is the text of a link put after brief descriptions. */
virtual QCString trMore()
virtual QCString trMore()
{ return "Selengkapnya..."; }
/*! put in the class documentation */
......@@ -129,7 +129,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trGeneratedAutomatically(const char *s)
{ QCString result="Dibangkitkan secara otomatis oleh Doxygen";
if (s) result+=(QCString)" untuk "+s;
result+=" dari kode sumber.";
result+=" dari kode sumber.";
return result;
}
......@@ -147,7 +147,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// 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()
......@@ -159,14 +159,14 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! 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 "Struktur Data";
}
else
{
return "Daftar Kelas";
return "Daftar Kelas";
}
}
......@@ -176,23 +176,23 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! 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 "Variabel Data";
return "Variabel Data";
}
else
{
return "Daftar Anggota Kelas";
return "Daftar Anggota Kelas";
}
}
/*! 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 "Daftar Definisi Global";
return "Daftar Definisi Global";
}
else
{
......@@ -229,11 +229,11 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! This is an introduction to the annotated compound list. */
virtual QCString trCompoundListDescription()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Berikut ini daftar struktur data, dengan penjelasan singkat:";
return "Berikut ini daftar struktur data, dengan penjelasan singkat:";
}
else
{
......@@ -258,7 +258,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
result+=" yang didokumentasikan";
}
result+=", dengan tautan ke ";
if (!extractAll)
if (!extractAll)
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
......@@ -269,7 +269,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
result+="dokumentasi kelas untuk setiap anggota:";
}
}
else
else
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
......@@ -298,9 +298,9 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
}
if (!extractAll) result+=" yang didokumentasikan";
result+=", dengan tautan ke ";
if (extractAll)
if (extractAll)
result+="file yang memuatnya:";
else
else
result+="dokumentasinya:";
return result;
}
......@@ -317,43 +317,43 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trModulesDescription()
{ return "Berikut ini daftar semua modul:"; }
// 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 "Dokumentasi"; }
/*! 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 "Indeks Modul"; }
/*! 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 "Indeks Hierarki Kelas"; }
/*! 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 "Indeks Struktur Data";
}
else
{
return "Indeks Kelas";
return "Indeks Kelas";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
virtual QCString trFileIndex()
virtual QCString trFileIndex()
{ return "Indeks File"; }
/*! This is used in LaTeX as the title of the chapter containing
......@@ -366,14 +366,14 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
* the documentation of all classes, structs and unions.
*/
virtual QCString trClassDocumentation()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Dokumentasi Struktur Data";
return "Dokumentasi Struktur Data";
}
else
{
return "Dokumentasi Kelas";
return "Dokumentasi Kelas";
}
}
......@@ -399,43 +399,43 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trReferenceManual()
{ return "Dokumen Referensi"; }
/*! 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 "Makro Definisi"; }
/*! 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 "Prototipe Fungsi"; }
/*! 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 "Definisi Tipe"; }
/*! 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 "Enumerasi"; }
/*! 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 "Fungsi"; }
/*! 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 "Variabel"; }
/*! 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()
......@@ -447,56 +447,56 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trDefineDocumentation()
{ return "Dokumentasi Makro Definisi"; }
/*! 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 "Dokumentasi Prototipe Fungsi"; }
/*! 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 "Dokumentasi Definisi Tipe"; }
/*! 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 "Dokumentasi Tipe Enumerasi"; }
/*! 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 "Dokumentasi Fungsi"; }
/*! 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 "Dokumentasi Variabel"; }
/*! 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 "Struktur Data";
return "Struktur Data";
}
else
{
return "Kelas";
return "Kelas";
}
}
/*! 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=(QCString)"Dibangkitkan pada tanggal "+date;
if (projName) result+=(QCString)" untuk "+projName;
result+=(QCString)" oleh";
......@@ -579,7 +579,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
* related classes
*/
virtual QCString trRelatedFunctionDocumentation()
{ return "Dokumentasi Friend Dan Fungsi Terkait"; }
......@@ -614,7 +614,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trFileReference(const char *fileName)
{
QCString result="Referensi File ";
result+=fileName;
result+=fileName;
return result;
}
......@@ -655,21 +655,21 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
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+=", dan ";
}
}
return result;
return result;
}
/*! used in class documentation to produce a list of base classes,
......@@ -688,7 +688,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
return "Diwariskan ke "+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)
......@@ -710,17 +710,17 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll)
{
{
QCString result="Berikut ini daftar anggota namespace";
if (!extractAll) result+=" yang didokumentasikan";
result+=", dengan tautan ke ";
if (extractAll)
if (extractAll)
result+="dokumentasi namespace untuk setiap anggota:";
else
else
result+="namespace yang memuatnya:";
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()
......@@ -790,7 +790,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trMainPage()
{ return "Halaman Utama"; }
/*! 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()
......@@ -835,7 +835,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
return "Dokumentasi Konstruktor & Destruktor";
return "Dokumentasi Konstruktor & Destruktor";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
......@@ -992,12 +992,12 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
{
return "Keterangan Bagan";
}
/*! 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
"Halaman ini berisi keterangan cara membaca bagan yang dibangkitkan "
"oleh doxygen.<p>\n"
"Contoh:\n"
......@@ -1161,9 +1161,9 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// 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
......@@ -1184,7 +1184,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*
*/
virtual QCString trRTFansicp()
{
......@@ -1192,7 +1192,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
}
/*! Used as ansicpg for RTF fcharset
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
virtual QCString trRTFCharSet()
......@@ -1207,80 +1207,80 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
}
/*! 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 ? "Kelas" : "kelas"));
if (!singular) result+="-kelas";
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((first_capital ? "File" : "file"));
if (!singular) result+="-file";
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)
{
{
QCString result((first_capital ? "Namespace" : "namespace"));
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 ? "Kelompok" : "kelompok"));
if (!singular) result+="-kelompok";
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 ? "Halaman" : "halaman"));
if (!singular) result+="-halaman";
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 ? "Anggota" : "anggota"));
if (!singular) result+="-anggota";
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 ? "Definisi" : "definisi"));
if (!singular) result+="-definisi";
result += " global";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1290,10 +1290,10 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! 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)
{
{
QCString result((first_capital ? "Penulis" : "penulis"));
//if (!singular) result+="s";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1311,7 +1311,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// 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)
......@@ -1343,8 +1343,8 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// 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()
{
......@@ -1355,7 +1355,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// 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()
......@@ -1375,35 +1375,35 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
/*! Used as a heading for a list of Java class types with package scope.
*/
virtual QCString trPackageTypes()
{
{
return "Jenis Paket";
}
/*! 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 "Daftar Fungsi Paket";
}
/*! 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 "Daftar Fungsi Statis Paket";
}
/*! 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 "Daftar Atribut Paket";
}
/*! 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 "Daftar Atribut Statis Paket";
}
......@@ -1411,7 +1411,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// 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()
......@@ -1428,9 +1428,9 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// 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()
{
......@@ -1447,7 +1447,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
* 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.
*/
......@@ -1461,13 +1461,13 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
{
return "Ditemukan <b>1</b> dokumen yang cocok.";
}
else
else
{
return "Ditemukan <b>$num</b> documents yang cocok. "
"Menampilkan hasil terbaik lebih awal.";
}
}
/*! 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()
......@@ -1508,7 +1508,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trDirectories()
{ return "Daftar Direktori"; }
/*! 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()
......@@ -1525,10 +1525,10 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
* (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool first_capital, bool)
{
{
QCString result((first_capital ? "Direktori" : "direktori"));
//if (singular) result+="y"; else result+="ies";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1555,7 +1555,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
return "Berikut ini bagan fungsi-pemanggil untuk fungsi ini:";
}
/*! 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()
......@@ -1564,12 +1564,12 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran()
{ return "Dokumentasi Fungsi/Subrutin Anggota"; }
/*! 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 "Daftar Tipe Data"; }
......@@ -1590,18 +1590,18 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
result+="terdokumentasi ";
}
result+=" dengan tautan ke ";
if (!extractAll)
if (!extractAll)
{
result+="dokumentasi struktur data untuk setiap anggota:";
}
else
else
{
result+="tipe data yang memuatnya:";
}
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
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
......@@ -1613,24 +1613,24 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trTypeDocumentation()
{ return "Dokumentasi Tipe Data"; }
/*! 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 "Fungsi/Subrutin"; }
/*! 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 "Dokumentasi Fungsi/Subrutin"; }
/*! 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 "Tipe Data"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return "Modules List"; }
......@@ -1672,43 +1672,43 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
result+=namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return "Anggota Modul"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
{
{
QCString result="Berikut daftar semua anggota modul ";
if (!extractAll) result+="terdokumentasi ";
result+="dengan tautan ke ";
if (extractAll)
if (extractAll)
{
result+="dokumentasi modul untuk setiap anggota:";
}
else
else
{
result+="modul yang memuatnya:";
}
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 "Indeks Modul"; }
/*! 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 first_capital, bool singular)
{
{
QCString result((first_capital ? "Modul" : "modul"));
if (!singular) result+="-modul";
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.
......@@ -1735,24 +1735,24 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
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 ? "Tipe" : "tipe"));
if (!singular) result+="-tipe";
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 first_capital, bool singular)
{
{
QCString result((first_capital ? "Subprogram" : "subprogram"));
if (!singular) result+="-subprogram";
return result;
return result;
}
/*! C# Type Constraint list */
......@@ -1823,7 +1823,7 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
return (QCString)"Memuat file dalam "+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
......
......@@ -16,7 +16,7 @@
*/
/*
* translator_jp.h
* translator_jp.h
* Updates:
* 1.2.5)
* First Translation
......@@ -34,19 +34,6 @@
class TranslatorJapanese : public TranslatorAdapter_1_6_0
{
private:
/*! The decode() can change euc into sjis */
inline QCString decode(const QCString & sInput)
{
//if (Config_getBool("USE_WINDOWS_ENCODING"))
//{
// return JapaneseEucToSjis(sInput);
//}
//else
//{
return sInput;
//}
}
public:
virtual QCString idLanguage()
{ return "japanese"; }
......@@ -57,46 +44,39 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset()
{
//if (Config_getBool("USE_WINDOWS_ENCODING"))
//{
// return "Shift_JIS";
//}
//else
//{
return "euc-jp";
//}
return "utf-8";
}
/*! used in the compound documentation before a list of related functions. */
virtual QCString trRelatedFunctions()
{ return decode("関連する関数"); }
{ return "関連する関数"; }
/*! subscript for the related functions. */
virtual QCString trRelatedSubscript()
{ return decode("(これらはメソッドでないことに注意)"); }
{ return "(これらはメソッドでないことに注意)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
virtual QCString trDetailedDescription()
{ return decode("説明"); }
{ return "説明"; }
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return decode("型定義"); }
{ return "型定義"; }
/*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation()
{ return decode("列挙型"); }
{ return "列挙型"; }
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
{
{
if( Config_getBool("OPTIMIZE_OUTPUT_JAVA"))
{
return decode("メソッド");
return "メソッド";
}
else
{
return decode("関数");
return "関数";
}
}
......@@ -105,55 +85,55 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{
if( Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode("構造体");
return "構造体";
}
else
{
return decode("変数");
return "変数";
}
}
/*! this is the text of a link put after brief descriptions. */
virtual QCString trMore()
{ return decode("[詳細]"); }
{ return "[詳細]"; }
/*! put in the class documentation */
virtual QCString trListOfAllMembers()
{ return decode("すべてのメンバ一覧"); }
{ return "すべてのメンバ一覧"; }
/*! used as the title of the "list of all members" page of a class */
virtual QCString trMemberList()
{ return decode("メンバ一覧"); }
{ return "メンバ一覧"; }
/*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers()
{ return decode("これは全メンバの一覧です。"); }
{ return "これは全メンバの一覧です。"; }
/*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers()
{ return decode("継承メンバも含んでいます。"); }
{ 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+decode("の");
result+=decode("ソースから Doxygen により生成しました。");
if (s) result=(QCString)s+"の";
result+="ソースから Doxygen により生成しました。";
return result;
}
/*! put after an enum name in the list of all members */
virtual QCString trEnumName()
{ return decode("Enum"); }
{ return "Enum"; }
/*! put after an enum value in the list of all members */
virtual QCString trEnumValue()
{ return decode("Enum 値"); }
{ return "Enum 値"; }
/*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn()
{ return decode("次で定義されています。"); }
{ return "次で定義されています。"; }
// quick reference sections
......@@ -161,43 +141,43 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* compounds or files (see the \\group command).
*/
virtual QCString trModules()
{ return decode("モジュール"); }
{ return "モジュール"; }
/*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy()
{ return decode("クラス階層"); }
{ 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 decode("データ構造");
return "データ構造";
}
else
{
return decode("構成");
return "構成";
}
}
/*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList()
{ return decode("ファイル一覧"); }
{ return "ファイル一覧"; }
/*! This is put above each page as a link to the list of all verbatim headers */
virtual QCString trHeaderFiles()
{ return decode("ヘッダファイル"); }
{ 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 decode("データフィールド");
return "データフィールド";
}
else
{
return decode("構成メンバ");
return "構成メンバ";
}
}
......@@ -206,36 +186,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode("グローバル");
return "グローバル";
}
else
{
return decode("ファイルメンバ");
return "ファイルメンバ";
}
}
/*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages()
{ return decode("関連ページ"); }
{ return "関連ページ"; }
/*! This is put above each page as a link to all examples. */
virtual QCString trExamples()
{ return decode("例"); }
{ return "例"; }
/*! This is put above each page as a link to the search engine. */
virtual QCString trSearch()
{ return decode("検索"); }
{ return "検索"; }
/*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription()
{ return decode("この継承一覧はおおまかにはソートされていますが、"
"完全にアルファベット順でソートされてはいません。");
{ return "この継承一覧はおおまかにはソートされていますが、"
"完全にアルファベット順でソートされてはいません。";
}
/*! This is an introduction to the list with all files. */
virtual QCString trFileListDescription(bool /*extractAll*/)
{
QCString result=decode("これは");
result+=decode("ファイル一覧です。");
QCString result="これは";
result+="ファイル一覧です。";
return result;
}
......@@ -244,88 +224,88 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode("データ構造の説明です。");
return "データ構造の説明です。";
}
else
{
return decode("クラス、構造体、共用体、インタフェースの説明です。");
return "クラス、構造体、共用体、インタフェースの説明です。";
}
}
/*! This is an introduction to the page with all class members. */
virtual QCString trCompoundMembersDescription(bool extractAll)
{
QCString result=decode("これは");
QCString result="これは";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+=decode("フィールドの一覧でそれぞれ");
if (extractAll) result+=decode("が属している構造体/共用体");
result+="フィールドの一覧でそれぞれ";
if (extractAll) result+="が属している構造体/共用体";
}
else
{
result+=decode("クラスメンバの一覧で、それぞれ");
if (extractAll) result+=decode("が属しているクラス");
result+="クラスメンバの一覧で、それぞれ";
if (extractAll) result+="が属しているクラス";
}
result+=decode("の説明へリンクしています。");
result+="の説明へリンクしています。";
return result;
}
/*! This is an introduction to the page with all file members. */
virtual QCString trFileMembersDescription(bool /*extractAll*/)
{
QCString result=decode("これは");
QCString result="これは";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+=decode("関数、変数、マクロ、Enum、Typedef の");
result+="関数、変数、マクロ、Enum、Typedef の";
}
else
{
result+=decode("ファイルメンバの");
result+="ファイルメンバの";
}
result+=decode("一覧です。それぞれが属しているファイルの説明へリンクしています。");
result+="一覧です。それぞれが属しているファイルの説明へリンクしています。";
return result;
}
/*! This is an introduction to the page with the list of all header files. */
virtual QCString trHeaderFilesDescription()
{ return decode("APIを構成するヘッダファイルです。"); }
{ return "APIを構成するヘッダファイルです。"; }
/*! This is an introduction to the page with the list of all examples */
virtual QCString trExamplesDescription()
{ return decode("すべての例の一覧です。"); }
{ return "すべての例の一覧です。"; }
/*! This is an introduction to the page with the list of related pages */
virtual QCString trRelatedPagesDescription()
{ return decode("関連ページの一覧です。"); }
{ return "関連ページの一覧です。"; }
/*! This is an introduction to the page with the list of class/file groups */
virtual QCString trModulesDescription()
{ return decode("すべてのモジュールの一覧です。"); }
{ return "すべてのモジュールの一覧です。"; }
/*! This sentences is used in the annotated class/file lists if no brief
* description is given.
*/
virtual QCString trNoDescriptionAvailable()
{ return decode("ドキュメントが記述されていません。"); }
{ return "ドキュメントが記述されていません。"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation()
{ return decode("ドキュメント"); }
{ return "ドキュメント"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
virtual QCString trModuleIndex()
{ return decode("モジュール索引"); }
{ return "モジュール索引"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
virtual QCString trHierarchicalIndex()
{ return decode("階層索引"); }
{ return "階層索引"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
......@@ -334,11 +314,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode("データ構造索引");
return "データ構造索引";
}
else
{
return decode("構成索引");
return "構成索引";
}
}
......@@ -346,13 +326,13 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* list of all files.
*/
virtual QCString trFileIndex()
{ return decode("ファイル索引"); }
{ return "ファイル索引"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
virtual QCString trModuleDocumentation()
{ return decode("モジュール"); }
{ return "モジュール"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
......@@ -361,11 +341,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode("データ構造");
return "データ構造";
}
else
{
return decode("クラス");
return "クラス";
}
}
......@@ -373,100 +353,100 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* the documentation of all files.
*/
virtual QCString trFileDocumentation()
{ return decode("ファイル"); }
{ return "ファイル"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples.
*/
virtual QCString trExampleDocumentation()
{ return decode("例"); }
{ return "例"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all related pages.
*/
virtual QCString trPageDocumentation()
{ return decode("ページ"); }
{ return "ページ"; }
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return decode("リファレンスマニュアル"); }
{ return "リファレンスマニュアル"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
virtual QCString trDefines()
{ return decode("マクロ定義"); }
{ return "マクロ定義"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return decode("関数プロトタイプ"); }
{ return "関数プロトタイプ"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
virtual QCString trTypedefs()
{ return decode("型定義"); }
{ return "型定義"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
virtual QCString trEnumerations()
{ return decode("列挙型"); }
{ return "列挙型"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
virtual QCString trFunctions()
{ return decode("関数"); }
{ return "関数"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trVariables()
{ return decode("変数"); }
{ return "変数"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trEnumerationValues()
{ return decode("列挙型の値"); }
{ return "列挙型の値"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
virtual QCString trDefineDocumentation()
{ return decode("マクロ定義"); }
{ return "マクロ定義"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return decode("関数プロトタイプ"); }
{ return "関数プロトタイプ"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
virtual QCString trTypedefDocumentation()
{ return decode("型定義"); }
{ return "型定義"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
virtual QCString trEnumerationTypeDocumentation()
{ return decode("列挙型"); }
{ return "列挙型"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
virtual QCString trFunctionDocumentation()
{ return decode("関数"); }
{ return "関数"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
virtual QCString trVariableDocumentation()
{ return decode("変数"); }
{ return "変数"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
......@@ -475,11 +455,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode("データ構造");
return "データ構造";
}
else
{
return decode("構成");
return "構成";
}
}
/*! This is used in the standard footer of each page and indicates when
......@@ -488,67 +468,67 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trGeneratedAt(const char *date,const char *projName)
{
QCString result;
if (projName) result+=(QCString)projName+decode("に対して");
result+=(QCString)date+decode("に生成されました。");
if (projName) result+=(QCString)projName+"に対して";
result+=(QCString)date+"に生成されました。";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return decode("作者");
return "作者";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
{
return (QCString)clName+decode("に対する継承グラフ");
return (QCString)clName+"に対する継承グラフ";
}
/*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly()
{ return decode("内部使用のみ。"); }
{ return "内部使用のみ。"; }
/*! this text is generated when the \\reimp command is used. */
virtual QCString trReimplementedForInternalReasons()
{ return decode("内部的な理由により再実装されましたが、APIには影響しません。");
{ return "内部的な理由により再実装されましたが、APIには影響しません。";
}
/*! this text is generated when the \\warning command is used. */
virtual QCString trWarning()
{ return decode("警告"); }
{ return "警告"; }
/*! this text is generated when the \\bug command is used. */
virtual QCString trBugsAndLimitations()
{ return decode("バグと制限"); }
{ return "バグと制限"; }
/*! this text is generated when the \\version command is used. */
virtual QCString trVersion()
{ return decode("バージョン"); }
{ return "バージョン"; }
/*! this text is generated when the \\date command is used. */
virtual QCString trDate()
{ return decode("日付"); }
{ return "日付"; }
/*! this text is generated when the \\return command is used. */
virtual QCString trReturns()
{ return decode("戻り値"); }
{ return "戻り値"; }
/*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso()
{ return decode("参照"); }
{ return "参照"; }
/*! this text is generated when the \\param command is used. */
virtual QCString trParameters()
{ return decode("引数"); }
{ return "引数"; }
/*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions()
{ return decode("例外"); }
{ return "例外"; }
/*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy()
{ return decode("作成:"); }
{ return "作成:"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
......@@ -556,21 +536,19 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList()
{ return decode("ネームスペース一覧"); }
{ return "ネームスペース一覧"; }
/*! used as an introduction to the namespace list */
virtual QCString trNamespaceListDescription(bool /*extractAll*/)
{
QCString result=decode("");
result+=decode("ネームスペースの一覧です。");
return result;
return "ネームスペースの一覧です。";
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
virtual QCString trFriends()
{ return decode("フレンド"); }
{ return "フレンド"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
......@@ -580,7 +558,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* related classes
*/
virtual QCString trRelatedFunctionDocumentation()
{ return decode("フレンドと関連する関数"); }
{ return "フレンドと関連する関数"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
......@@ -594,16 +572,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
QCString result="";
switch(compType)
{
case ClassDef::Class: result+=decode("クラス "); break;
case ClassDef::Struct: result+=decode("構造体 "); break;
case ClassDef::Union: result+=decode("共用体 "); break;
case ClassDef::Interface: result+=decode("インタフェース "); break;
case ClassDef::Protocol: result+=decode("プロトコル "); break;
case ClassDef::Category: result+=decode("カテゴリ "); break;
case ClassDef::Exception: result+=decode("例外 "); break;
case ClassDef::Class: result+="クラス "; break;
case ClassDef::Struct: result+="構造体 "; break;
case ClassDef::Union: result+="共用体 "; break;
case ClassDef::Interface: result+="インタフェース "; break;
case ClassDef::Protocol: result+="プロトコル "; break;
case ClassDef::Category: result+="カテゴリ "; break;
case ClassDef::Exception: result+="例外 "; break;
default: break;
}
if (isTemplate) result+=decode("テンプレート ");
if (isTemplate) result+="テンプレート ";
result+=(QCString)clName;
return result;
}
......@@ -611,38 +589,38 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! used as the title of the HTML page of a file */
virtual QCString trFileReference(const char *fileName)
{
QCString result=decode("")+(QCString)fileName;
QCString result=""+(QCString)fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
virtual QCString trNamespaceReference(const char *namespaceName)
{
QCString result=decode("ネームスペース ")+(QCString)namespaceName;
QCString result="ネームスペース "+(QCString)namespaceName;
return result;
}
/* these are for the member sections of a class, struct or union */
virtual QCString trPublicMembers()
{ return decode("Public メソッド"); }
{ return "Public メソッド"; }
virtual QCString trPublicSlots()
{ return decode("Public スロット"); }
{ return "Public スロット"; }
virtual QCString trSignals()
{ return decode("シグナル"); }
{ return "シグナル"; }
virtual QCString trStaticPublicMembers()
{ return decode("Static Public メソッド"); }
{ return "Static Public メソッド"; }
virtual QCString trProtectedMembers()
{ return decode("Protected メソッド"); }
{ return "Protected メソッド"; }
virtual QCString trProtectedSlots()
{ return decode("Protected スロット"); }
{ return "Protected スロット"; }
virtual QCString trStaticProtectedMembers()
{ return decode("Static Protected メソッド"); }
{ return "Static Protected メソッド"; }
virtual QCString trPrivateMembers()
{ return decode("Private メソッド"); }
{ return "Private メソッド"; }
virtual QCString trPrivateSlots()
{ return decode("Private スロット"); }
{ return "Private スロット"; }
virtual QCString trStaticPrivateMembers()
{ return decode("Static Private メソッド"); }
{ return "Static Private メソッド"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
......@@ -661,9 +639,9 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=decode(", ");
result+=", ";
else // the fore last entry
result+=decode(", と ");
result+=", と ";
}
}
return result;
......@@ -674,7 +652,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trInheritsList(int numEntries)
{
return trWriteList(numEntries)+decode("を継承しています。");
return trWriteList(numEntries)+"を継承しています。";
}
/*! used in class documentation to produce a list of super classes,
......@@ -682,7 +660,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trInheritedByList(int numEntries)
{
return trWriteList(numEntries)+decode("に継承されています。");
return trWriteList(numEntries)+"に継承されています。";
}
/*! used in member documentation blocks to produce a list of
......@@ -690,7 +668,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trReimplementedFromList(int numEntries)
{
return trWriteList(numEntries)+decode("を再定義しています。");
return trWriteList(numEntries)+"を再定義しています。";
}
/*! used in member documentation blocks to produce a list of
......@@ -698,36 +676,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trReimplementedInList(int numEntries)
{
return trWriteList(numEntries)+decode("で再定義されています。");
return trWriteList(numEntries)+"で再定義されています。";
}
/*! This is put above each page as a link to all members of namespaces. */
virtual QCString trNamespaceMembers()
{ return decode("ネームスペースメンバ"); }
{ return "ネームスペースメンバ"; }
/*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll)
{
QCString result=decode("これは");
result+=decode("ネームスペースの一覧です。それぞれ");
QCString result="これは";
result+="ネームスペースの一覧です。それぞれ";
if (extractAll)
result+=decode("のネームスペース");
result+="のネームスペース";
else
result+=decode("が属しているネームスペース");
result+=decode("へリンクしています。");
result+="が属しているネームスペース";
result+="へリンクしています。";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
virtual QCString trNamespaceIndex()
{ return decode("ネームスペース索引"); }
{ return "ネームスペース索引"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
virtual QCString trNamespaceDocumentation()
{ return decode("ネームスペース"); }
{ return "ネームスペース"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
......@@ -737,7 +715,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* namespaces in a file.
*/
virtual QCString trNamespaces()
{ return decode("ネームスペース"); }
{ return "ネームスペース"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
......@@ -750,19 +728,19 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
bool)
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result=(QCString)decode("この");
QCString result=(QCString)"この";
switch(compType)
{
case ClassDef::Class: result+=decode("クラス"); break;
case ClassDef::Struct: result+=decode("構造体"); break;
case ClassDef::Union: result+=decode("共用体"); break;
case ClassDef::Interface: result+=decode("インタフェース"); break;
case ClassDef::Protocol: result+=decode("プロトコル"); break;
case ClassDef::Category: result+=decode("カテゴリ"); break;
case ClassDef::Exception: result+=decode("例外"); break;
case ClassDef::Class: result+="クラス"; break;
case ClassDef::Struct: result+="構造体"; break;
case ClassDef::Union: result+="共用体"; break;
case ClassDef::Interface: result+="インタフェース"; break;
case ClassDef::Protocol: result+="プロトコル"; break;
case ClassDef::Category: result+="カテゴリ"; break;
case ClassDef::Exception: result+="例外"; break;
default: break;
}
result+=decode("の説明は次のファイルから生成されました:");
result+="の説明は次のファイルから生成されました:";
return result;
}
......@@ -770,7 +748,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* list.
*/
virtual QCString trAlphabeticalList()
{ return decode("アルファベット順一覧"); }
{ return "アルファベット順一覧"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
......@@ -778,18 +756,18 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues()
{ return decode("戻り値"); }
{ return "戻り値"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
virtual QCString trMainPage()
{ return decode("メインページ"); }
{ return "メインページ"; }
/*! 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()
{ return decode("p."); }
{ return "p."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
......@@ -797,15 +775,15 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trSources()
{
return decode("ソース");
return "ソース";
}
virtual QCString trDefinedAtLineInSourceFile()
{
return decode(" @1 の @0 行で定義されています。");
return " @1 の @0 行で定義されています。";
}
virtual QCString trDefinedInSourceFile()
{
return decode(" @0 で定義されています。");
return " @0 で定義されています。";
}
//////////////////////////////////////////////////////////////////////////
......@@ -814,7 +792,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trDeprecated()
{
return decode("非推奨");
return "非推奨";
}
//////////////////////////////////////////////////////////////////////////
......@@ -824,68 +802,68 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName)
{
return (QCString)clName+decode("のコラボレーション図");
return (QCString)clName+"のコラボレーション図";
}
/*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName)
{
return (QCString)fName+decode("のインクルード依存関係図");
return (QCString)fName+"のインクルード依存関係図";
}
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
return decode("コンストラクタとデストラクタ");
return "コンストラクタとデストラクタ";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
{
return decode("ソースコードを見る。");
return "ソースコードを見る。";
}
/*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation()
{
return decode("説明を見る。");
return "説明を見る。";
}
/*! Text for the \\pre command */
virtual QCString trPrecondition()
{
return decode("事前条件");
return "事前条件";
}
/*! Text for the \\post command */
virtual QCString trPostcondition()
{
return decode("事後条件");
return "事後条件";
}
/*! Text for the \\invariant command */
virtual QCString trInvariant()
{
return decode("不変");
return "不変";
}
/*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue()
{
return decode("初期値:");
return "初期値:";
}
/*! Text used the source code in the file index */
virtual QCString trCode()
{
return decode("コード");
return "コード";
}
virtual QCString trGraphicalHierarchy()
{
return decode("クラス階層図");
return "クラス階層図";
}
virtual QCString trGotoGraphicalHierarchy()
{
return decode("クラス階層図を見る。");
return "クラス階層図を見る。";
}
virtual QCString trGotoTextualHierarchy()
{
return decode("クラス階層図を見る。");
return "クラス階層図を見る。";
}
virtual QCString trPageIndex()
{
return decode("ページ索引");
return "ページ索引";
}
//////////////////////////////////////////////////////////////////////////
......@@ -894,50 +872,50 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trNote()
{
return decode("覚え書き");
return "覚え書き";
}
virtual QCString trPublicTypes()
{
return decode("Public 型");
return "Public 型";
}
virtual QCString trPublicAttribs()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode("変数");
return "変数";
}
else
{
return decode("Public 変数");
return "Public 変数";
}
}
virtual QCString trStaticPublicAttribs()
{
return decode("Static Public 変数");
return "Static Public 変数";
}
virtual QCString trProtectedTypes()
{
return decode("Protected 型");
return "Protected 型";
}
virtual QCString trProtectedAttribs()
{
return decode("Protected 変数");
return "Protected 変数";
}
virtual QCString trStaticProtectedAttribs()
{
return decode("Static Protected 変数");
return "Static Protected 変数";
}
virtual QCString trPrivateTypes()
{
return decode("Private 型");
return "Private 型";
}
virtual QCString trPrivateAttribs()
{
return decode("Private 変数");
return "Private 変数";
}
virtual QCString trStaticPrivateAttribs()
{
return decode("Static Private 変数");
return "Static Private 変数";
}
//////////////////////////////////////////////////////////////////////////
......@@ -947,12 +925,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a marker that is put before a todo item */
virtual QCString trTodo()
{
return decode("TODO");
return "TODO";
}
/*! Used as the header of the todo list */
virtual QCString trTodoList()
{
return decode("TODO一覧");
return "TODO一覧";
}
//////////////////////////////////////////////////////////////////////////
......@@ -961,24 +939,24 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trReferencedBy()
{
return decode("参照元");
return "参照元";
}
virtual QCString trRemarks()
{
return decode("意見");
return "意見";
}
virtual QCString trAttention()
{
return decode("注意");
return "注意";
}
virtual QCString trInclByDepGraph()
{
return decode("このグラフは、どのファイルから直接、間接的に"
"インクルードされているかを示しています。");
return "このグラフは、どのファイルから直接、間接的に"
"インクルードされているかを示しています。";
}
virtual QCString trSince()
{
return decode("から");
return "から";
}
//////////////////////////////////////////////////////////////////////////
......@@ -988,33 +966,33 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! title of the graph legend page */
virtual QCString trLegendTitle()
{
return decode("グラフの凡例");
return "グラフの凡例";
}
/*! page explaining how the dot graph's should be interpreted */
virtual QCString trLegendDocs()
{
return
decode("このページでは、doxygen で生成されたグラフをどのようにみたらよいかを"
"説明します。<p>\n"
"次の例を考えてみます。\n"
"このページでは、doxygen で生成されたグラフをどのようにみたらよいかを"
"説明します。<p>\n"
"次の例を考えてみます。\n"
"\\code\n"
"/*! 省略されて見えないクラス */\n"
"/*! 略されて見えないクラス */\n"
"class Invisible { };\n\n"
"/*! 省略されたクラス(継承関係は隠されている) */\n"
"/*! 省略されたクラス(継承関係は隠されている) */\n"
"class Truncated : public Invisible { };\n\n"
"/* doxygen コメントによるドキュメントがないクラス */\n"
"/* doxygen コメントによるドキュメントがないクラス */\n"
"class Undocumented { };\n\n"
"/*! public で継承されたクラス */\n"
"/*! public 継承されたクラス */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n"
"template<class T> class Templ { };\n\n"
"/*! protected で継承されたクラス */\n"
"/*! protected 継承されたクラス */\n"
"class ProtectedBase { };\n\n"
"/*! private で継承されたクラス */\n"
"/*! private 継承されたクラス */\n"
"class PrivateBase { };\n\n"
"/*! 継承されたクラスで使われているクラス */\n"
"/*! 継承されたクラスで使われているクラス */\n"
"class Used { };\n\n"
"/*! 複数のクラスを継承している上位クラス */\n"
"/*! 数のクラスを継承している上位クラス */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
......@@ -1025,34 +1003,34 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"設定ファイル中で、タグ \\c MAX_DOT_GRAPH_HEIGHT が 200 にセットされた"
"場合、次のようなグラフとなります。"
"設定ファイル中で、タグ \\c MAX_DOT_GRAPH_HEIGHT が 200 にセットされた"
"合、次のようなグラフとなります。"
"<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n"
"上のグラフ内のボックスには次のような意味があります。\n"
"上のグラフ内のボックスには次のような意味があります。\n"
"<ul>\n"
"<li>黒く塗りつぶされたボックスは、このグラフに対応する構造体やクラスを"
"表します。\n"
"<li>黒枠のボックスはドキュメントがある構造体やクラスを表します。\n"
"<li>灰色の枠のボックスはドキュメントがない構造体やクラスを表します。\n"
"<li>赤枠のボックスはドキュメントがある構造体やクラスを表しますが、"
"指定されたサイズに収まらないために継承・包含関係をすべて図示する"
"ことができなかったことを示します。"
"<li>黒く塗りつぶされたボックスは、このグラフに対応する構造体やクラスを"
"表します。\n"
"<li>黒枠のボックスはドキュメントがある構造体やクラスを表します。\n"
"<li>色の枠のボックスはドキュメントがない構造体やクラスを表します。\n"
"<li>赤枠のボックスはドキュメントがある構造体やクラスを表しますが、"
"指定されたサイズに収まらないために継承・包含関係をすべて図示する"
"とができなかったことを示します。"
"</ul>\n"
"矢印には次のような意味があります。\n"
"矢印には次のような意味があります。\n"
"<ul>\n"
"<li>青い矢印は二つのクラス間の public 継承関係を示します。\n"
"<li>緑の矢印は protected 継承関係を示します。\n"
"<li>赤の矢印は private 継承関係を示します。\n"
"<li>紫の破線矢印は、そのクラスが他のクラスに含まれていたり、"
"利用されていることを示します。また、矢印が指しているクラスや構造体を"
"どの変数でアクセスできるかを矢印のラベルとして示しています。\n"
"</ul>\n");
"<li>青い矢印は二つのクラス間の public 継承関係を示します。\n"
"<li>緑の矢印は protected 継承関係を示します。\n"
"<li>赤の矢印は private 継承関係を示します。\n"
"<li>紫の破線矢印は、そのクラスが他のクラスに含まれていたり、"
"用されていることを示します。また、矢印が指しているクラスや構造体を"
"どの変数でアクセスできるかを矢印のラベルとして示しています。\n"
"</ul>\n";
}
/*! text for the link to the legend page */
virtual QCString trLegend()
{
return decode("凡例");
return "凡例";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1062,12 +1040,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
return decode("テスト");
return "テスト";
}
/*! Used as the header of the test list */
virtual QCString trTestList()
{
return decode("テスト一覧");
return "テスト一覧";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1077,7 +1055,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return decode("DCOPメソッド");
return "DCOPメソッド";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1087,12 +1065,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a section header for IDL properties */
virtual QCString trProperties()
{
return decode("プロパティ");
return "プロパティ";
}
/*! Used as a section header for IDL property documentation */
virtual QCString trPropertyDocumentation()
{
return decode("プロパティ");
return "プロパティ";
}
......@@ -1103,49 +1081,49 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used for Java interfaces in the summary section of Java packages */
virtual QCString trInterfaces()
{
return decode("インターフェース");
return "インターフェース";
}
/*! Used for Java classes in the summary section of Java packages */
virtual QCString trClasses()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode("データ構造");
return "データ構造";
}
else
{
return decode("クラス");
return "クラス";
}
}
/*! Used as the title of a Java package */
virtual QCString trPackage(const char *name)
{
return (QCString)decode("パッケージ ")+name;
return (QCString)"パッケージ "+name;
}
/*! Title of the package index page */
virtual QCString trPackageList()
{
return decode("パッケージ一覧");
return "パッケージ一覧";
}
/*! The description of the package index page */
virtual QCString trPackageListDescription()
{
return decode("これはパッケージ一覧です。");
return "これはパッケージ一覧です。";
}
/*! The link name in the Quick links header for each page */
virtual QCString trPackages()
{
return decode("パッケージ");
return "パッケージ";
}
/*! Used as a chapter title for Latex & RTF output */
virtual QCString trPackageDocumentation()
{
return decode("パッケージ");
return "パッケージ";
}
/*! Text shown before a multi-line define */
virtual QCString trDefineValue()
{
return decode("値:");
return "値:";
}
......@@ -1156,12 +1134,12 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a marker that is put before a \\bug item */
virtual QCString trBug()
{
return decode("バグ");
return "バグ";
}
/*! Used as the header of the bug list */
virtual QCString trBugList()
{
return decode("バグ一覧");
return "バグ一覧";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1210,7 +1188,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as header RTF general index */
virtual QCString trRTFGeneralIndex()
{
return decode("索引");
return "索引";
}
/*! This is used for translation of the word that will possibly
......@@ -1219,8 +1197,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trClass(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("クラス"));
return result;
return "クラス";
}
/*! This is used for translation of the word that will possibly
......@@ -1229,8 +1206,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trFile(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("ファイル"));
return result;
return "ファイル";
}
/*! This is used for translation of the word that will possibly
......@@ -1239,8 +1215,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trNamespace(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("ネームスペース"));
return result;
return "ネームスペース";
}
/*! This is used for translation of the word that will possibly
......@@ -1249,8 +1224,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trGroup(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("グループ"));
return result;
return "グループ";
}
/*! This is used for translation of the word that will possibly
......@@ -1259,8 +1233,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trPage(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("ページ"));
return result;
return "ページ";
}
/*! This is used for translation of the word that will possibly
......@@ -1269,8 +1242,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trMember(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("メンバ"));
return result;
return "メンバ";
}
/*! This is used for translation of the word that will possibly
......@@ -1279,8 +1251,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trField(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("フィールド"));
return result;
return "フィールド";
}
/*! This is used for translation of the word that will possibly
......@@ -1289,8 +1260,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("グローバル"));
return result;
return "グローバル";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1301,8 +1271,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* for the author section in man pages. */
virtual QCString trAuthor(bool /*first_capital*/, bool /*singular*/)
{
QCString result(decode("作者"));
return result;
return "作者";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1313,7 +1282,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trReferences()
{
return decode("参照先");
return "参照先";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1325,7 +1294,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trImplementedFromList(int numEntries)
{
return trWriteList(numEntries)+decode("を実装しています。");
return trWriteList(numEntries)+"を実装しています。";
}
/*! used in member documentation blocks to produce a list of
......@@ -1333,7 +1302,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trImplementedInList(int numEntries)
{
return trWriteList(numEntries)+decode("で実装されています。");
return trWriteList(numEntries)+"で実装されています。";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
......@@ -1344,36 +1313,36 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trRTFTableOfContents()
{
return decode("目次");
return "目次";
}
//////////////////////////////////////////////////////////////////////////
// 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()
{
return decode("非推奨一覧");
return "非推奨一覧";
}
//////////////////////////////////////////////////////////////////////////
// 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()
{
return decode("イベント");
return "イベント";
}
/*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation()
{
return decode("イベント");
return "イベント";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1383,79 +1352,79 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
/*! Used as a heading for a list of Java class types with package scope.
*/
virtual QCString trPackageTypes()
{
return decode("パッケージ内の型定義");
{
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 decode("関数");
{
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 decode("スタティック関数");
{
return "スタティック関数";
}
/*! 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 decode("変数");
{
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 decode("スタティック変数");
{
return "スタティック変数";
}
//////////////////////////////////////////////////////////////////////////
// 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()
{
return decode("全て");
return "全て";
}
/*! Put in front of the call graph for a function. */
virtual QCString trCallGraph()
{
return decode("関数の呼び出しグラフ:");
return "関数の呼び出しグラフ:";
}
//////////////////////////////////////////////////////////////////////////
// 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()
{
return decode("検索");
return "検索";
}
/*! This string is used as the title for the page listing the search
* results.
*/
virtual QCString trSearchResultsTitle()
{
return decode("検索結果");
return "検索結果";
}
/*! This string is put just before listing the search results. The
* 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.
*/
......@@ -1463,24 +1432,24 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
{
if (numDocuments==0)
{
return decode("入力された条件にマッチするドキュメントがありませんでした.");
return "入力された条件にマッチするドキュメントがありませんでした.";
}
else if (numDocuments==1)
{
return decode("入力された条件にマッチするドキュメントが <b>1</b> 件みつかりました.");
return "入力された条件にマッチするドキュメントが <b>1</b> 件みつかりました.";
}
else
else
{
return decode("入力された条件にマッチするドキュメントが <b>$num</b> 件みつかりました. "
"最も一致しているものから表示されます.");
return "入力された条件にマッチするドキュメントが <b>$num</b> 件みつかりました. "
"最も一致しているものから表示されます.";
}
}
/*! 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()
{
return decode("マッチした単語:");
return "マッチした単語:";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1491,7 +1460,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trSourceFile(QCString& filename)
{
return filename + decode(" ソースファイル");
return filename + " ソースファイル";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1502,40 +1471,40 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
* hierarchy.
*/
virtual QCString trDirIndex()
{ return decode("ディレクトリ索引"); }
{ return "ディレクトリ索引"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
virtual QCString trDirDocumentation()
{ return decode("ディレクトリ構成"); }
{ return "ディレクトリ構成"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
virtual QCString trDirectories()
{ return decode("ディレクトリ"); }
{ 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()
{ return decode("このディレクトリ一覧はおおまかにはソートされていますが、"
"完全にアルファベット順でソートされてはいません。");
{ return "このディレクトリ一覧はおおまかにはソートされていますが、"
"完全にアルファベット順でソートされてはいません。";
}
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
virtual QCString trDirReference(const char *dirName)
{ QCString result=dirName; result+=decode(" ディレクトリリファレンス"); return result; }
{ QCString result=dirName; result+=" ディレクトリリファレンス"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool, bool)
{
return decode("ディレクトリ");
{
return "ディレクトリ";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1547,9 +1516,9 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
*/
virtual QCString trOverloadText()
{
return decode("これはオーバーロードされたメンバ関数です。"
"利便性のために用意されています。"
"元の関数との違いは引き数のみです。");
return "これはオーバーロードされたメンバ関数です。"
"利便性のために用意されています。"
"元の関数との違いは引き数のみです。";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1560,90 +1529,90 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trCallerGraph()
{
// return "Here is the caller graph for this function:";
return decode("呼出しグラフ:");
return "呼出しグラフ:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
virtual QCString trEnumerationValueDocumentation()
{ return decode("列挙型"); }
{ return "列挙型"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran()
{ return decode("関数/サブルーチン"); }
{ 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 decode("データ型"); }
{ return "データ型"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
virtual QCString trCompoundMembersFortran()
{ return decode("データフィールド"); }
{ return "データフィールド"; }
/*! This is an introduction to the annotated compound list (Fortran). */
virtual QCString trCompoundListDescriptionFortran()
{ return decode("これはデータ型の一覧です"); }
{ return "これはデータ型の一覧です"; }
/*! This is an introduction to the page with all data types (Fortran). */
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
{
QCString result=decode("これは");
result+=decode("フィールドの一覧です。それぞれ");
QCString result="これは";
result+="フィールドの一覧です。それぞれ";
if (extractAll)
{
result+=decode("が属しているデータ型");
result+="が属しているデータ型";
}
result+=decode("の説明へリンクしています。");
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
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
{ return decode("データ型索引"); }
{ return "データ型索引"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
virtual QCString trTypeDocumentation()
{ return decode("データ型"); }
{ 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) subprograms (Fortran).
*/
virtual QCString trSubprograms()
{ return decode("関数/サブルーチン"); }
{ 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 decode("関数/サブルーチン"); }
{ 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 decode("データ型"); }
{ return "データ型"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return decode("モジュール一覧"); }
{ return "モジュール一覧"; }
/*! used as an introduction to the modules list (Fortran) */
virtual QCString trModulesListDescription(bool extractAll)
{
QCString result=decode("これは");
if (!extractAll) result+=decode("生成された");
result+=decode("モジュール一覧です");
QCString result="これは";
if (!extractAll) result+="生成された";
result+="モジュール一覧です";
return result;
}
......@@ -1655,16 +1624,16 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
QCString result="";
switch(compType)
{
case ClassDef::Class: result+=decode("モジュール "); break;
case ClassDef::Struct: result+=decode("TYPE "); break;
case ClassDef::Union: result+=decode("共用体 "); break;
case ClassDef::Interface: result+=decode("インターフェース "); break;
case ClassDef::Protocol: result+=decode("プロトコル "); break;
case ClassDef::Category: result+=decode("カテゴリ "); break;
case ClassDef::Exception: result+=decode("例外 "); break;
case ClassDef::Class: result+="モジュール "; break;
case ClassDef::Struct: result+="TYPE "; break;
case ClassDef::Union: result+="共用体 "; break;
case ClassDef::Interface: result+="インターフェース "; break;
case ClassDef::Protocol: result+="プロトコル "; break;
case ClassDef::Category: result+="カテゴリ "; break;
case ClassDef::Exception: result+="例外 "; break;
default: break;
}
if (isTemplate) result += decode("テンプレート ");
if (isTemplate) result += "テンプレート ";
result+=(QCString)clName;
return result;
}
......@@ -1672,39 +1641,39 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trModuleReference(const char *namespaceName)
{
QCString result=namespaceName;
result+=decode("モジュール");
result+="モジュール";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return decode("モジュールメンバ"); }
{ return "モジュールメンバ"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
{
QCString result=decode("これはモジュールメンバ一覧です。それぞれ ");
if (extractAll)
{
QCString result="これはモジュールメンバ一覧です。それぞれ ";
if (extractAll)
{
result+=decode("属しているモジュール");
result+="属しているモジュール";
}
result+=decode("の説明へリンクしています。");
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 decode("モジュール索引"); }
{ 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 trModule(bool /*first_capital*/, bool /*singular*/)
{
return decode("モジュール");
{
return "モジュール";
}
/*! 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.
......@@ -1716,41 +1685,41 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
QCString result="";
switch(compType)
{
case ClassDef::Class: result+=decode("モジュール"); break;
case ClassDef::Struct: result+=decode("TYPE"); break;
case ClassDef::Union: result+=decode("共用体"); break;
case ClassDef::Interface: result+=decode("インターフェース"); break;
case ClassDef::Protocol: result+=decode("プロトコル"); break;
case ClassDef::Category: result+=decode("カテゴリ"); break;
case ClassDef::Exception: result+=decode("例外"); break;
case ClassDef::Class: result+="モジュール"; break;
case ClassDef::Struct: result+="TYPE"; break;
case ClassDef::Union: result+="共用体"; break;
case ClassDef::Interface: result+="インターフェース"; break;
case ClassDef::Protocol: result+="プロトコル"; break;
case ClassDef::Category: result+="カテゴリ"; break;
case ClassDef::Exception: result+="例外"; break;
default: break;
}
result+=decode(decode("の説明は次のファイルから生成されました:"));
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 trType(bool /*first_capital*/, bool /*singular*/)
{
QCString result = decode("TYPE");
return result;
{
QCString result = "TYPE";
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 /*first_capital*/, bool /*singular*/)
{
QCString result = decode("サブプログラム");
return result;
{
QCString result = "サブプログラム";
return result;
}
/*! C# Type Constraint list */
virtual QCString trTypeConstraints()
{
return decode("型制約");
return "型制約";
}
};
......
/******************************************************************************
*
*
*
*
* 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,6 @@
class TranslatorSlovene : public TranslatorAdapter_1_4_6
//public TranslatorAdapter_1_2_16
{
protected:
friend class TranslatorAdapterBase;
......@@ -40,12 +39,8 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
return "\\usepackage[slovene]{babel}\n\\usepackage[T1]{fontenc}\n";
}
QCString idLanguageCharset()
{
//#ifdef _WIN32
return "windows-1250";
//#else
// return "iso-8859-2";
//#endif
{
return "utf-8";
}
QCString trRelatedFunctions()
{ return "Povezane funkcije"; }
......@@ -54,11 +49,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trDetailedDescription()
{ return "Podroben opis"; }
QCString trMemberTypedefDocumentation()
{ return "Opis uporabni¹ko definiranih tipov"; }
{ return "Opis uporabniško definiranih tipov"; }
QCString trMemberEnumerationDocumentation()
{ return "Opis komponent na¹tevnih tipov"; }
{ return "Opis komponent naštevnih tipov"; }
/* QCString trEnumerationValueDocumentation() */
/* { return "Opis vrednosti na¹tevnih tipov (enum) "; } */
/* { return "Opis vrednosti naštevnih tipov (enum) "; } */
QCString trMemberFunctionDocumentation()
{ return "Opis metod"; }
QCString trMemberDataDocumentation()
......@@ -72,17 +67,17 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trThisIsTheListOfAllMembers()
{ return "Seznam metod razreda "; }
QCString trIncludingInheritedMembers()
{ return ", vkljuèujoè dedovane metode in atribute."; }
{ return ", vključujoč dedovane metode in atribute."; }
QCString trGeneratedAutomatically(const char *s)
{ QCString result="zgenerirano z Doxygen-om";
{ QCString result="zgenerirano z Doxygen-om";
if (s) result+=(QCString)" za "+s;
result+=" iz izvorne kode.";
result+=" iz izvorne kode.";
return result;
}
QCString trEnumName()
{ return "na¹tevno ime"; }
{ return "naštevno ime"; }
QCString trEnumValue()
{ return "na¹tevna vrednost"; }
{ return "naštevna vrednost"; }
QCString trDefinedIn()
{ return "definirano v"; }
QCString trModules()
......@@ -104,9 +99,9 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trExamples()
{ return "Primeri"; }
QCString trSearch()
{ return "I¹èi"; }
{ return "Išči"; }
QCString trClassHierarchyDescription()
{ return "Hierarhièno drevo je (okvirno) sortirano po abecedi. ";
{ return "Hierarhično drevo je (okvirno) sortirano po abecedi. ";
}
QCString trFileListDescription(bool extractAll)
{
......@@ -116,8 +111,8 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
return result;
}
QCString trCompoundListDescription()
{ return "Seznam razredov, mno¾ic in struktur "
"s kratkim opisom :";
{ return "Seznam razredov, množic in struktur "
"s kratkim opisom :";
}
QCString trCompoundMembersDescription(bool extractAll)
{
......@@ -153,10 +148,10 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trModuleIndex()
{ return "seznam modulov"; }
QCString trHierarchicalIndex()
{ return "Hierarhièni indeks"; }
{ return "Hierarhični indeks"; }
QCString trCompoundIndex()
{ return "abecedni seznam"; }
QCString trFileIndex()
QCString trFileIndex()
{ return "seznam datotek"; }
QCString trModuleDocumentation()
{ return "Dokumentacija modulov"; }
......@@ -169,30 +164,30 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trPageDocumentation()
{ return "Opis povezanih strani"; }
QCString trReferenceManual()
{ return "Priroènik"; }
{ return "Priročnik"; }
QCString trDefines()
{ return "Makro deklaracije"; }
QCString trFuncProtos()
{ return "Prototipi funkcij"; }
QCString trTypedefs()
{ return "Uporabni¹ko definirani tipi"; }
{ return "Uporabniško definirani tipi"; }
QCString trEnumerations()
{ return "Na¹tevni tipi"; }
{ return "Naštevni tipi"; }
QCString trFunctions()
{ return "Funkcije"; }
QCString trVariables()
{ return "Spremenljivke"; }
QCString trEnumerationValues()
{ return "Vrednosti na¹tevnih tipov"; }
{ return "Vrednosti naštevnih tipov"; }
QCString trDefineDocumentation()
{ return "Opis makro definicije"; }
QCString trFunctionPrototypeDocumentation()
{ return "Opis prototipa funkcije"; }
QCString trTypedefDocumentation()
{ return "Opis uporabni¹ko definiranega tipa"; }
{ return "Opis uporabniško definiranega tipa"; }
QCString trEnumerationTypeDocumentation()
{ return "Opis na¹tevnega (enum) tipa"; }
{ return "Opis naštevnega (enum) tipa"; }
QCString trFunctionDocumentation()
{ return "Opis funkcije"; }
QCString trVariableDocumentation()
......@@ -200,7 +195,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trCompounds()
{ return "Strukture"; }
QCString trGeneratedAt(const char *date,const char *projName)
{
{
QCString result=(QCString)"Generirano "+date;
if (projName) result+=(QCString)" projekt: "+projName;
result+=(QCString)" generator: ";
......@@ -237,12 +232,12 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trExceptions()
{ return "Prekinitve"; }
QCString trGeneratedBy()
{ return "Izdelano s pomoèjo"; }
{ return "Izdelano s pomočjo"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
QCString trNamespaceList()
{ return "imenski prostori"; }
QCString trNamespaceListDescription(bool extractAll)
......@@ -258,10 +253,10 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
QCString trRelatedFunctionDocumentation()
{ return "Podatki o poveznih funkcijah"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
......@@ -276,7 +271,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
case ClassDef::Class: result+=" Razred "; break;
case ClassDef::Struct: result+=" Struktura "; break;
case ClassDef::Union: result+=" Mno¾ica "; break;
case ClassDef::Union: result+=" Množica "; break;
case ClassDef::Interface: result+=" IDL vmesnik "; break;
case ClassDef::Protocol: result+=" protocol "; break; // translate me!
case ClassDef::Category: result+=" category "; break; // translate me!
......@@ -284,13 +279,13 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
default: break;
}
result += (QCString)clName;
return result;
}
QCString trFileReference(const char *fileName)
// used as the title of the HTML page of a file
{
QCString result="Datoteka ";
QCString result="Datoteka ";
result+=fileName;
return result;
}
......@@ -299,11 +294,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
QCString result ="Imenski prostor ";
result+=namespaceName;
return result;
}
// these are for the member sections of a class, struct or union
// these are for the member sections of a class, struct or union
QCString trPublicMembers()
{ return "Javne metode"; }
QCString trPublicSlots()
......@@ -311,21 +306,21 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trSignals()
{ return "Programske prekinitve"; }
QCString trStaticPublicMembers()
{ return "Statiène javne metode in atributi"; }
{ return "Statične javne metode in atributi"; }
QCString trProtectedMembers()
{ return "Za¹èitene metode in atributi"; }
{ return "Zaščitene metode in atributi"; }
QCString trProtectedSlots()
{ return "Za¹èiteni sloti"; }
{ return "Zaščiteni sloti"; }
QCString trStaticProtectedMembers()
{ return "Statiène za¹èitene metode in atributi"; }
{ return "Statične zaščitene metode in atributi"; }
QCString trPrivateMembers()
{ return "Skrite metode in atributi"; }
QCString trPrivateSlots()
{ return "Skriti slotovi"; }
QCString trStaticPrivateMembers()
{ return "Statiène skrite metode in atributi"; }
// end of member sections
{ return "Statične skrite metode in atributi"; }
// end of member sections
QCString trWriteList(int numEntries)
{
// this function is used to produce a comma-separated list of items.
......@@ -333,23 +328,23 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
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+=" in ";
}
}
return result;
return result;
}
QCString trInheritsList(int numEntries)
// used in class documentation to produce a list of base classes,
// if class diagrams are disabled.
......@@ -363,7 +358,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
return "Naslijeðena u "+trWriteList(numEntries)+".";
}
QCString trReimplementedFromList(int 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.
{
return "Skrije implementacijo iz "+trWriteList(numEntries)+".";
......@@ -380,18 +375,18 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{ return "elementi imenskega prostora"; }
QCString trNamespaceMemberDescription(bool extractAll)
// This is an introduction to the page with all namespace members
{
{
QCString result="Seznam vseh ";
if (!extractAll) result+="dokumentiranih ";
result+="elementov imenskega prostora s povezavami na ";
if (extractAll)
if (extractAll)
result+="opis vsakega elementa:";
else
else
result+="imenski prostor, ki mu pripadajo:";
return result;
}
QCString trNamespaceIndex()
// 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.
{ return "Indeks imenskih prostorov"; }
QCString trNamespaceDocumentation()
......@@ -458,7 +453,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
QCString trMainPage()
{ return "prva stran"; }
/*! 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.
*/
QCString trPageAbbreviation()
......@@ -504,16 +499,16 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
return (QCString)"Graf prikazuje seznam datotek, "
"ki jih datoteka \""+fName+"\" "
"direktno ali indirektno vkljuèuje. Pravokotniki ponazarjajo datoteke, pu¹èice "
"direktno ali indirektno vključuje. Pravokotniki ponazarjajo datoteke, puščice "
"predstavljajo relacije med njimi. "
"Èrn pravokotnik ponazarja datoteko "+fName+". Pu¹èice A->B ponazarjajo "
"usmerjeno relacijo \"A vkljuèuje B\"."
"črn pravokotnik ponazarja datoteko "+fName+". Puščice A->B ponazarjajo "
"usmerjeno relacijo \"A vključuje B\"."
;
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation()
{
return "Opis konstruktorjev in destruktorjev ";
return "Opis konstruktorjev in destruktorjev ";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode()
......@@ -523,7 +518,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation()
{
return "dokumenacija tekoèe datoteke.";
return "dokumenacija tekoče datoteke.";
}
/*! Text for the \pre command */
QCString trPrecondition()
......@@ -543,7 +538,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue()
{
return "Zaèetna vrednost / definicija :";
return "Začetna vrednost / definicija :";
}
/*! Text used the source code in the file index */
QCString trCode()
......@@ -552,11 +547,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
}
QCString trGraphicalHierarchy()
{
return "Hierarhija razredov v grafièni obliki";
return "Hierarhija razredov v grafični obliki";
}
QCString trGotoGraphicalHierarchy()
{
return "Dedovalna hierarhija v grafièni obliki";
return "Dedovalna hierarhija v grafični obliki";
}
QCString trGotoTextualHierarchy()
{
......@@ -570,7 +565,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote()
{
return "Opomba";
......@@ -585,19 +580,19 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
}
QCString trStaticPublicAttribs()
{
return "Statièni javni atributi";
return "Statični javni atributi";
}
QCString trProtectedTypes()
{
return "Za¹èiteni tipi";
return "Zaščiteni tipi";
}
QCString trProtectedAttribs()
{
return "Za¹èiteni atributi";
return "Zaščiteni atributi";
}
QCString trStaticProtectedAttribs()
{
return "Statièni za¹èiteni tipi";
return "Statični zaščiteni tipi";
}
QCString trPrivateTypes()
{
......@@ -609,7 +604,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
}
QCString trStaticPrivateAttribs()
{
return "Statièni skriti atributi";
return "Statični skriti atributi";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
......@@ -623,7 +618,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/*! Used as the header of the todo list */
virtual QCString trTodoList()
{
return "Seznam nedokonèanih opravil";
return "Seznam nedokončanih opravil";
}
//////////////////////////////////////////////////////////////////////////
......@@ -645,12 +640,12 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
virtual QCString trInclByDepGraph()
{
return "Graf prikazuje datoteke, ki posredno ali neposredno "
"vkljuèujejo tekoèo datoteko. Pravokotniki simbolizirajo datoteke, "
"pu¹èice pa relacije med datotekami. Tekoèa datoteka je prikazana "
"kot pravokotnik s èrno podlago, ostale pa kot pravokotnik brez podlage. "
"Smer pu¹èice A->B definira relacijo \"A vkljuèuje B\". "
"Vse datoteke, ki torej mejijo na tekoèo (t.j. obstaja povezava med èrnim in "
"praznim pravokotnikom), jo direktno vkljuèujejo, medtem, ko jo ostale vkljuèujejo "
"vključujejo tekočo datoteko. Pravokotniki simbolizirajo datoteke, "
"puščice pa relacije med datotekami. Tekoča datoteka je prikazana "
"kot pravokotnik s črno podlago, ostale pa kot pravokotnik brez podlage. "
"Smer puščice A->B definira relacijo \"A vključuje B\". "
"Vse datoteke, ki torej mejijo na tekočo (t.j. obstaja povezava med črnim in "
"praznim pravokotnikom), jo direktno vključujejo, medtem, ko jo ostale vključujejo "
"le posredno. "
;
}
......@@ -668,13 +663,13 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
return "Legenda grafa";
}
/*! 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
"Tekoèa stran pojasnjuje naèin interpretacije grafov, ki jih izri¹e "
return
"Tekoča stran pojasnjuje način interpretacije grafov, ki jih izriše "
"doxygen.<p>\n"
"Poglejmo si naslednji primer:\n"
"\\code\n"
......@@ -684,13 +679,13 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
"class Truncated : public Invisible { };\n\n"
"/* razred, ki ni opisan z doxygen komentarji */\n"
"class Undocumented { };\n\n"
"/*! Razred, ki ga dedujemo s pomoèjo javnega dedovanja */\n"
"/*! Razred, ki ga dedujemo s pomočjo javnega dedovanja */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n"
"template<class T> class Templ { };\n\n"
"/*! Razred, ki ga dedujemo s pomoèjo za¹èitenega dedovanja */\n"
"/*! Razred, ki ga dedujemo s pomočjo zaščitenega dedovanja */\n"
"class ProtectedBase { };\n\n"
"/*! Razred, ki ga dedujemo s pomoèjo skritega dedovanja */\n"
"/*! Razred, ki ga dedujemo s pomočjo skritega dedovanja */\n"
"class PrivateBase { };\n\n"
"/*! Razred, ki ga uporablja dedovani razred */\n"
"class Used { };\n\n"
......@@ -735,11 +730,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
return "legenda";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
......@@ -827,11 +822,11 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
return "Vrednost:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
virtual QCString trBug()
{
......@@ -847,9 +842,9 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
// 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
......@@ -870,15 +865,15 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*
*/
virtual QCString trRTFansicp()
{
return "1250";
}
/*! Used as ansicpg for RTF fcharset
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
virtual QCString trRTFCharSet()
......@@ -891,76 +886,76 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
return "Indeks";
}
/*! 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 ? "Razred" : "razred"));
if (!singular) result+="i";
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((first_capital ? "Datotek" : "datotek"));
if (!singular) result+="e";
else result += "a";
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 ? "Imenski prostor" : "imenski prostor"));
if (!singular) result+="i";
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 ? "Skupina" : "skupina"));
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 ? "Stran" : "stran"));
if (!singular) result+="i";
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 ? "Element" : "element"));
if (!singular) result+="i";
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 trField(bool first_capital, bool singular) */
......@@ -972,14 +967,14 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/* } */
/*! 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;
}
//////////////////////////////////////////////////////////////////////////
......@@ -989,10 +984,10 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/*! 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 ? "Avtor" : "avtor"));
if (!singular) result+="ji";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
......@@ -1008,7 +1003,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
// 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)
......@@ -1040,8 +1035,8 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
// 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()
{
......@@ -1052,7 +1047,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
// 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()
......@@ -1072,43 +1067,43 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
/*! Used as a heading for a list of Java class types with package scope.
*/
virtual QCString trPackageTypes()
{
{
return "Tipi paketov";
}
/*! 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 "Funkcije paketa"; /* don't know the context */
}
/*! 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 "Statične funkcije paketa";
}
/*! 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 "Atributi paketa";
}
/*! 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 "Statični atributi paketa";
}
//////////////////////////////////////////////////////////////////////////
// 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()
......@@ -1125,9 +1120,9 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
// 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()
{
......@@ -1144,7 +1139,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
* 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.
*/
......@@ -1162,13 +1157,13 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
return "Našel sem <b>2</b> dokumenta, ki ustrezata vašemu povpraševanju.";
}
else
else
{
return "Našel sem <b>$num</b> dokumentov, ki ustrezajo vašemu povpraševanju. "
"Dokumenti z najboljšo stopnjo ujemanja se nahajajo na začetku.";
}
}
/*! 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()
......@@ -1209,7 +1204,7 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
virtual QCString trDirectories()
{ return "Imeniki"; }
/*! 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()
......@@ -1220,19 +1215,19 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
* directory is passed via \a dirName.
*/
virtual QCString trDirReference(const char *dirName)
{ QCString result=dirName;
{ QCString result=dirName;
result+=" imeniške reference"; /* not sure for context */
return result;
return result;
}
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Imenik" : "imenik"));
if (singular) result+="i"; else result+="";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......
......@@ -26,17 +26,6 @@
class TranslatorSerbian : public TranslatorAdapter_1_6_0
{
private:
QCString decode(const QCString& sInput)
{
//#ifdef _WIN32
// return ISO88592ToWin1250(sInput);
//#else
return sInput;
//#endif
}
public:
// --- Language control methods -------------------
......@@ -73,11 +62,7 @@ private:
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
//#ifdef _WIN32
// { return "windows-1250"; }
//#else
{ return "UTF-8"; }
//#endif
return "utf-8";
}
// --- Language translation methods -------------------
......@@ -86,61 +71,61 @@ private:
virtual QCString trRelatedFunctions()
//! Čini se da je ovako manje loše nego "Povezane funkcije",
//! što uopšte ne izgleda dobro jer ta kartica sadrži prijatelje i globalne funkcije
{ return decode( "Relevantne funkcije" ); }
{ return "Relevantne funkcije"; }
/*! subscript for the related functions. */
virtual QCString trRelatedSubscript()
{ return decode( "(To nisu funkcije članice.)" ); }
{ return "(To nisu funkcije članice.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
virtual QCString trDetailedDescription()
{ return decode( "Opširniji opis" ); }
{ return "Opširniji opis"; }
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return decode( "Dokumentacija unutrašnjih definicija tipa" ); }
{ return "Dokumentacija unutrašnjih definicija tipa"; }
/*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation()
//! Ovo je u skladu sa "unutrašnja klasa" što se može videti u knjizi.
{ return decode( "Dokumentacija unutrašnjih nabrajanja" ); }
{ return "Dokumentacija unutrašnjih nabrajanja"; }
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
{ return decode( "Dokumentacija funkcija članica" ); }
{ return "Dokumentacija funkcija članica"; }
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode( "Dokumentacija polja" );
return "Dokumentacija polja";
}
else
{
return decode( "Dokumentacija atributa" );
return "Dokumentacija atributa";
}
}
/*! this is the text of a link put after brief descriptions. */
virtual QCString trMore()
{ return decode( "Još..." ); }
{ return "Još..."; }
/*! put in the class documentation */
virtual QCString trListOfAllMembers()
{ return decode( "Spisak svih članova" ); }
{ return "Spisak svih članova"; }
/*! used as the title of the "list of all members" page of a class */
virtual QCString trMemberList()
{ return decode( "Spisak članova" ); }
{ return "Spisak članova"; }
/*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers()
{ return decode( "Ovo je spisak svih članova " ); }
{ return "Ovo je spisak svih članova "; }
/*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers()
{ return decode( ", uključujući nasleđene članove." ); }
{ return ", uključujući nasleđene članove."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
......@@ -149,20 +134,20 @@ private:
{ QCString result="Napravljeno automatski korišćenjem alata Doxygen";
if( s ) result+=(QCString)" za projekat " + s;
result+=" od izvornog koda.";
return decode( result );
return result;
}
/*! put after an enum name in the list of all members */
virtual QCString trEnumName()
{ return decode( "ime nabrajanja " ); }
{ return "ime nabrajanja "; }
/*! put after an enum value in the list of all members */
virtual QCString trEnumValue()
{ return decode( "vrednost nabrojane konstante" ); }
{ return "vrednost nabrojane konstante"; }
/*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn()
{ return decode( "definicija u" ); }
{ return "definicija u"; }
// quick reference sections
......@@ -170,39 +155,39 @@ private:
* compounds or files (see the \\group command).
*/
virtual QCString trModules()
{ return decode( "Moduli" ); }
{ return "Moduli"; }
/*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy()
{ return decode( "Hijerarhija klasa" ); }
{ return "Hijerarhija klasa"; }
/*! 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 decode( "Spisak struktura" );
return "Spisak struktura";
}
else
{
return decode( "Spisak klasa" );
return "Spisak klasa";
}
}
/*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList()
{ return decode( "Spisak datoteka" ); }
{ return "Spisak datoteka"; }
/*! 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 decode( "Sva polja struktura" );
return "Sva polja struktura";
}
else
{
return decode( "Svi članovi klasa" );
return "Svi članovi klasa";
}
}
......@@ -211,31 +196,29 @@ private:
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode( "Članovi datoteke" );
return "Članovi datoteke";
}
else
{
return decode( "Članovi datoteke" );
return "Članovi datoteke";
}
}
/*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages()
{ return decode( "Stranice koje imaju veze sa ovom stranicom" ); }
{ return "Stranice koje imaju veze sa ovom stranicom"; }
/*! This is put above each page as a link to all examples. */
virtual QCString trExamples()
{ return decode( "Primeri" ); }
{ return "Primeri"; }
/*! This is put above each page as a link to the search engine. */
virtual QCString trSearch()
{ return decode( "Traži" ); }
{ return "Traži"; }
/*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription()
{ return decode( "Hijerahija klasa uređena približno "
"po abecedi:" );
}
{ return "Hijerahija klasa uređena približno po abecedi:"; }
/*! This is an introduction to the list with all files. */
virtual QCString trFileListDescription(bool extractAll)
......@@ -243,7 +226,7 @@ private:
QCString result="Spisak svih ";
if (!extractAll) result+="dokumentovanih ";
result+="datoteka, sa kratkim opisima:";
return decode( result );
return result;
}
/*! This is an introduction to the annotated compound list. */
......@@ -252,12 +235,11 @@ private:
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode( "Spisak struktura sa kratkim opisima:" );
return "Spisak struktura sa kratkim opisima:";
}
else
{
return decode( "Spisak klasa, struktura, "
"unija i interfejsa sa kratkim opisima:" );
return "Spisak klasa, struktura, unija i interfejsa sa kratkim opisima:";
}
}
......@@ -300,7 +282,7 @@ private:
result+="klasama kojima pripadaju:";
}
}
return decode( result );
return result;
}
/*! This is an introduction to the page with all file members. */
......@@ -322,38 +304,38 @@ private:
result+="datotekama u kojima se nalaze:";
else
result+="dokumentaciji:";
return decode( result );
return result;
}
/*! This is an introduction to the page with the list of all examples */
virtual QCString trExamplesDescription()
{ return decode( "Spisak svih primera:" ); }
{ return "Spisak svih primera:"; }
/*! This is an introduction to the page with the list of related pages */
virtual QCString trRelatedPagesDescription()
{ return decode( "Spisak stranica koje imaju veze sa ovom stranicom:" ); }
{ return "Spisak stranica koje imaju veze sa ovom stranicom:"; }
/*! This is an introduction to the page with the list of class/file groups */
virtual QCString trModulesDescription()
{ return decode( "Spisak svih modula:" ); }
{ return "Spisak svih modula:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation()
{ return decode("Dokumentacija" ); }
{ return "Dokumentacija"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
virtual QCString trModuleIndex()
{ return decode( "Indeks modula" ); }
{ return "Indeks modula"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
virtual QCString trHierarchicalIndex()
{ return decode( "Hijerarhijski sadržaj" ); }
{ return "Hijerarhijski sadržaj"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
......@@ -362,11 +344,11 @@ private:
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode( "Spisak struktura/unija" );
return "Spisak struktura/unija";
}
else
{
return decode( "Spisak klasa" );
return "Spisak klasa";
}
}
......@@ -374,13 +356,13 @@ private:
* list of all files.
*/
virtual QCString trFileIndex()
{ return decode( "Indeks datoteka" ); }
{ return "Indeks datoteka"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
virtual QCString trModuleDocumentation()
{ return decode( "Dokumentacija modula" ); }
{ return "Dokumentacija modula"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
......@@ -389,11 +371,11 @@ private:
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode( "Dokumentacija stuktura/unija" );
return "Dokumentacija stuktura/unija";
}
else
{
return decode( "Dokumentacija klasa" );
return "Dokumentacija klasa";
}
}
......@@ -401,101 +383,101 @@ private:
* the documentation of all files.
*/
virtual QCString trFileDocumentation()
{ return decode( "Dokumentacija datoteke" ); }
{ return "Dokumentacija datoteke"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples.
*/
virtual QCString trExampleDocumentation()
{ return decode( "Dokumentacija primera" ); }
{ return "Dokumentacija primera"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all related pages.
*/
virtual QCString trPageDocumentation()
{ return decode( "Dokumentacija stranice" ); }
{ return "Dokumentacija stranice"; }
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return decode( "Priručnik" ); }
{ return "Priručnik"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
virtual QCString trDefines()
{ return decode( "Makro zamene" ); }
{ return "Makro zamene"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return decode( "Deklaracije funkcija" ); }
{ return "Deklaracije funkcija"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
virtual QCString trTypedefs()
{ return decode( "Definicije tipa" ); }
{ return "Definicije tipa"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
virtual QCString trEnumerations()
{ return decode( "Nabrajanja" ); }
{ return "Nabrajanja"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
virtual QCString trFunctions()
{ return decode( "Funkcije" ); }
{ return "Funkcije"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trVariables()
{ return decode( "Promenljive" ); }
{ return "Promenljive"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trEnumerationValues()
{ return decode( "Vrednosti nabrojanih konstanti" ); }
{ return "Vrednosti nabrojanih konstanti"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
virtual QCString trDefineDocumentation()
{ return decode( "Dokumentacija makro zamene" ); }
{ return "Dokumentacija makro zamene"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return decode( "Dokumentacija deklaracije funkcije" ); }
{ return "Dokumentacija deklaracije funkcije"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
virtual QCString trTypedefDocumentation()
{ return decode( "Dokumentacija definicije tipa" ); }
{ return "Dokumentacija definicije tipa"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
virtual QCString trEnumerationTypeDocumentation()
{ return decode( "Dokumentacija nabrajanja" ); }
{ return "Dokumentacija nabrajanja"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
virtual QCString trFunctionDocumentation()
{ return decode( "Dokumentacija funkcije" ); }
{ return "Dokumentacija funkcije"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
virtual QCString trVariableDocumentation()
{ return decode( "Dokumentacija promenljive" ); }
{ return "Dokumentacija promenljive"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
......@@ -504,11 +486,11 @@ private:
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode( "Strukture i unije" );
return "Strukture i unije";
}
else
{
return decode( "Klase, strukture i unije" );
return "Klase, strukture i unije";
}
}
......@@ -520,56 +502,56 @@ private:
QCString result=(QCString)"[" + date + "] Napravljeno automatski ";
if ( projName ) result+=(QCString)" za projekat " + projName;
result+=(QCString)" upotrebom ";
return decode( result );
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return decode( "napisao" );
return "napisao";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
{
return decode( QCString("Dijagram nasleđivanja za klasu ") + clName + ":" );
return QCString("Dijagram nasleđivanja za klasu ") + clName + ":";
}
/*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly()
{ return decode( "Samo za unutrašnju upotrebu." ); }
{ return "Samo za unutrašnju upotrebu."; }
/*! this text is generated when the \\warning command is used. */
virtual QCString trWarning()
{ return decode( "Upozorenje" ); }
{ return "Upozorenje"; }
/*! this text is generated when the \\version command is used. */
virtual QCString trVersion()
{ return decode( "Verzija" ); }
{ return "Verzija"; }
/*! this text is generated when the \\date command is used. */
virtual QCString trDate()
{ return decode( "Datum" ); }
{ return "Datum"; }
/*! this text is generated when the \\return command is used. */
virtual QCString trReturns()
{ return decode( "Vrednost funkcije" ); }
{ return "Vrednost funkcije"; }
/*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso()
{ return decode( "Takođe pogledati" ); }
{ return "Takođe pogledati"; }
/*! this text is generated when the \\param command is used. */
virtual QCString trParameters()
{ return decode( "Parametri" ); }
{ return "Parametri"; }
/*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions()
{ return decode( "Izuzeci" ); }
{ return "Izuzeci"; }
/*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy()
{ return decode( "Napravio" ); }
{ return "Napravio"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
......@@ -577,7 +559,7 @@ private:
/*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList()
{ return decode( "Spisak prostora imena" ); }
{ return "Spisak prostora imena"; }
/*! used as an introduction to the namespace list */
virtual QCString trNamespaceListDescription(bool extractAll)
......@@ -585,14 +567,14 @@ private:
QCString result="Spisak svih ";
if (!extractAll) result+="dokumentovanih ";
result+="prostora imena sa kratkim opisom:";
return decode( result );
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
virtual QCString trFriends()
{ return decode( "Prijatelji" ); }
{ return "Prijatelji"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
......@@ -602,7 +584,7 @@ private:
* related classes
*/
virtual QCString trRelatedFunctionDocumentation()
{ return decode( "Dokumentacija prijatelja i relevantnih funkcija" ); }
{ return "Dokumentacija prijatelja i relevantnih funkcija"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
......@@ -627,7 +609,7 @@ private:
}
if (isTemplate) result += "šablona ";
result += clName;
return decode( result );
return result;
}
/*! used as the title of the HTML page of a file */
......@@ -635,7 +617,7 @@ private:
{
QCString result = "Opis datoteke ";
result += fileName;
return decode( result );
return result;
}
/*! used as the title of the HTML page of a namespace */
......@@ -643,29 +625,29 @@ private:
{
QCString result="Opis prostora imena ";
result += namespaceName;
return decode( result );
return result;
}
virtual QCString trPublicMembers()
{ return decode("Javni članovi"); }
{ return "Javni članovi"; }
virtual QCString trPublicSlots()
{ return decode( "Javni slotovi" ); }
{ return "Javni slotovi"; }
virtual QCString trSignals()
{ return decode( "Signali" ); }
{ return "Signali"; }
virtual QCString trStaticPublicMembers()
{ return decode("Zajednički javni članovi"); }
{ return "Zajednički javni članovi"; }
virtual QCString trProtectedMembers()
{ return decode("Zaštićeni članovi"); }
{ return "Zaštićeni članovi"; }
virtual QCString trProtectedSlots()
{ return decode("Zaštićeni slotovi"); }
{ return "Zaštićeni slotovi"; }
virtual QCString trStaticProtectedMembers()
{ return decode("Zajednički zaštićeni članovi"); }
{ return "Zajednički zaštićeni članovi"; }
virtual QCString trPrivateMembers()
{ return decode("Privatni članovi"); }
{ return "Privatni članovi"; }
virtual QCString trPrivateSlots()
{ return decode("Privatni slotovi"); }
{ return "Privatni slotovi"; }
virtual QCString trStaticPrivateMembers()
{ return decode("Zajednički privatni članovi"); }
{ return "Zajednički privatni članovi"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
......@@ -697,7 +679,7 @@ private:
*/
virtual QCString trInheritsList(int numEntries)
{
return decode("Spisak osnovnih klasa: "+trWriteList(numEntries)+".");
return "Spisak osnovnih klasa: ";
}
/*! used in class documentation to produce a list of derived classes,
......@@ -705,7 +687,7 @@ private:
*/
virtual QCString trInheritedByList(int numEntries)
{
return decode( "Spisak izvedenih klasa: "+trWriteList(numEntries)+"." );
return "Spisak izvedenih klasa: ";
}
/*! used in member documentation blocks to produce a list of
......@@ -713,7 +695,7 @@ private:
*/
virtual QCString trReimplementedFromList(int numEntries)
{
return decode("Menja definiciju iz "+trWriteList(numEntries)+"." );
return "Menja definiciju iz "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
......@@ -721,12 +703,12 @@ private:
*/
virtual QCString trReimplementedInList(int numEntries)
{ //! Ako već ne možemo jednu reč (redefinicija), da uskladimo sa prethodnim i izbacimo upotrebu roda
return decode("Definicija je izmenjena u "+trWriteList(numEntries)+"." );
return "Definicija je izmenjena u "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
virtual QCString trNamespaceMembers()
{ return decode("Članovi prostora imena"); }
{ return "Članovi prostora imena"; }
/*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll)
......@@ -738,19 +720,19 @@ private:
result+="dokumentaciji svakog člana prostora imena: ";
else
result+="prostorima imena kojima pripadaju: ";
return decode( result );
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
virtual QCString trNamespaceIndex()
{ return decode( "Indeks prostora imena" ); }
{ return "Indeks prostora imena"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
virtual QCString trNamespaceDocumentation()
{ return decode( "Dokumentacija prostora imena" ); }
{ return "Dokumentacija prostora imena"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
......@@ -760,7 +742,7 @@ private:
* namespaces in a file.
*/
virtual QCString trNamespaces()
{ return decode( "Prostori imena" ); }
{ return "Prostori imena"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
......@@ -787,14 +769,14 @@ private:
}
result+=" je napravljena na osnovu ";
if (single) result+="datoteke "; else result+="sledećih datoteka:";
return decode( result );
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return decode( "Abecedni spisak" ); }
{ return "Abecedni spisak"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
......@@ -802,18 +784,18 @@ private:
/*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues()
{ return decode( "Karakteristične vrednosti funkcije" ); }
{ return "Karakteristične vrednosti funkcije"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
virtual QCString trMainPage()
{ return decode( "Glavna strana" ); }
{ return "Glavna strana"; }
/*! 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()
{ return decode( "str." ); }
{ return "str."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
......@@ -821,11 +803,11 @@ private:
virtual QCString trDefinedAtLineInSourceFile()
{ //! Izbacujemo rod
return decode( "Definicija je u redu @0 datoteke @1." );
return "Definicija je u redu @0 datoteke @1.";
}
virtual QCString trDefinedInSourceFile()
{ //! Izbacujemo rod
return decode( "Definicija je u datoteci @0." );
return "Definicija je u datoteci @0.";
}
//////////////////////////////////////////////////////////////////////////
......@@ -834,7 +816,7 @@ private:
virtual QCString trDeprecated()
{
return decode( "Zastarelo" );
return "Zastarelo";
}
//////////////////////////////////////////////////////////////////////////
......@@ -844,68 +826,68 @@ private:
/*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName)
{
return decode( (QCString)"Klasni dijagram za "+clName+":" );
return (QCString)"Klasni dijagram za "+clName+":";
}
/*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName)
{
return decode( (QCString)"Graf zavisnosti datoteka za "+fName+":" );
return (QCString)"Graf zavisnosti datoteka za "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
return decode( "Dokumentacija konstruktora i destruktora" );
return "Dokumentacija konstruktora i destruktora";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
{
return decode( "Izvorni kod." );
return "Izvorni kod.";
}
/*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation()
{
return decode( "Dokumentacija." );
return "Dokumentacija.";
}
/*! Text for the \\pre command */
virtual QCString trPrecondition()
{
return decode( "Preduslovi" );
return "Preduslovi";
}
/*! Text for the \\post command */
virtual QCString trPostcondition()
{
return decode( "Stanje po izvršenju" );
return "Stanje po izvršenju";
}
/*! Text for the \\invariant command */
virtual QCString trInvariant()
{
return decode( "Invarijanta" );
return "Invarijanta";
}
/*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue()
{
return decode( "Početna vrednost:" );
return "Početna vrednost:";
}
/*! Text used the source code in the file index */
virtual QCString trCode()
{
return decode( "programski kod" );
return "programski kod";
}
virtual QCString trGraphicalHierarchy()
{
return decode( "Hijerarhija klasa u obliku grafa" );
return "Hijerarhija klasa u obliku grafa";
}
virtual QCString trGotoGraphicalHierarchy()
{
return decode( "Prikaz hijerarhije klasa u obliku grafa" );
return "Prikaz hijerarhije klasa u obliku grafa";
}
virtual QCString trGotoTextualHierarchy()
{
return decode( "Prikaz hijerarhije klasa u obliku nazubljenog teksta" );
return "Prikaz hijerarhije klasa u obliku nazubljenog teksta";
}
virtual QCString trPageIndex()
{
return decode( "Indeks stranice" );
return "Indeks stranice";
}
//////////////////////////////////////////////////////////////////////////
......@@ -914,50 +896,50 @@ private:
virtual QCString trNote()
{
return decode( "Beleška" );
return "Beleška";
}
virtual QCString trPublicTypes()
{
return decode( "Javni tipovi" );
return "Javni tipovi";
}
virtual QCString trPublicAttribs()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode( "Polja" );
return "Polja";
}
else
{
return decode( "Javni članovi" );
return "Javni članovi";
}
}
virtual QCString trStaticPublicAttribs()
{
return decode( "Zajednički javni članovi");
return "Zajednički javni članovi";
}
virtual QCString trProtectedTypes()
{
return decode( "Zaštićeni tipovi" );
return "Zaštićeni tipovi";
}
virtual QCString trProtectedAttribs()
{
return decode( "Zaštićeni članovi" );
return "Zaštićeni članovi";
}
virtual QCString trStaticProtectedAttribs()
{
return decode( "Zajednički zaštićeni članovi" );
return "Zajednički zaštićeni članovi";
}
virtual QCString trPrivateTypes()
{
return decode( "Privatni tipovi" );
return "Privatni tipovi";
}
virtual QCString trPrivateAttribs()
{
return decode( "Privatni članovi" );
return "Privatni članovi";
}
virtual QCString trStaticPrivateAttribs()
{
return decode( "Zajednički privatni članovi" );
return "Zajednički privatni članovi";
}
//////////////////////////////////////////////////////////////////////////
......@@ -967,12 +949,12 @@ private:
/*! Used as a marker that is put before a \\todo item */
virtual QCString trTodo()
{
return decode( "Uraditi" );
return "Uraditi";
}
/*! Used as the header of the todo list */
virtual QCString trTodoList()
{
return decode("Spisak stvari koje treba uraditi");
return "Spisak stvari koje treba uraditi";
}
//////////////////////////////////////////////////////////////////////////
......@@ -981,24 +963,24 @@ private:
virtual QCString trReferencedBy()
{ //! Izbegavanje roda. Uskladjivanje sa trReferences
return decode( "Korisnici: " );
return "Korisnici: ";
}
virtual QCString trRemarks()
{
return decode( "Napomene" );
return "Napomene";
}
virtual QCString trAttention()
{
return decode( "Pažnja" );
return "Pažnja";
}
virtual QCString trInclByDepGraph()
{
return decode("Ovaj graf pokazuje koje datoteke direktno "
"ili indirektno uključuju ovu datoteku: ");
return "Ovaj graf pokazuje koje datoteke direktno "
"ili indirektno uključuju ovu datoteku: ";
}
virtual QCString trSince()
{
return decode( "Od" );
return "Od";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1008,15 +990,15 @@ private:
/*! title of the graph legend page */
virtual QCString trLegendTitle()
{
return decode( "Objašnjenje korišćenih simbola" );
return "Objašnjenje korišćenih simbola";
}
/*! 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 decode(
"Ova stranica objašnjava kako tumačiti grafikone koje je napravio "
return
"Ova stranica objašnjava kako tumačiti grafikone koje je napravio "
"doxygen.<p>\n"
"Na primer:\n"
"\\code\n"
......@@ -1072,12 +1054,12 @@ private:
" šablona klase od kojeg je primerak napravljen. "
"Strelica je označena stvarnim argumentima šablona.\n"
"</ul>\n"
);
;
}
/*! text for the link to the legend page */
virtual QCString trLegend()
{
return decode( "Objašnjenje korišćenih simbola" );
return "Objašnjenje korišćenih simbola";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1087,12 +1069,12 @@ private:
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
return decode( "Test" );
return "Test";
}
/*! Used as the header of the test list */
virtual QCString trTestList()
{
return decode( "Spisak testova" );
return "Spisak testova";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1102,7 +1084,7 @@ private:
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return decode( "DCOP metode" );
return "DCOP metode";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1112,12 +1094,12 @@ private:
/*! Used as a section header for IDL properties */
virtual QCString trProperties()
{
return decode( "Osobine" );
return "Osobine";
}
/*! Used as a section header for IDL property documentation */
virtual QCString trPropertyDocumentation()
{
return decode( "Dokumentacija osobina" );
return "Dokumentacija osobina";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1129,11 +1111,11 @@ private:
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return decode( "Strukture i unije" );
return "Strukture i unije";
}
else
{
return decode( "Klase" );
return "Klase";
}
}
/*! Used as the title of a Java package */
......@@ -1144,22 +1126,22 @@ private:
/*! Title of the package index page */
virtual QCString trPackageList()
{
return decode( "Spisak paketa" );
return "Spisak paketa";
}
/*! The description of the package index page */
virtual QCString trPackageListDescription()
{
return decode( "Paketi s kratkim opisom (ukoliko postoji):" );
return "Paketi s kratkim opisom (ukoliko postoji):";
}
/*! The link name in the Quick links header for each page */
virtual QCString trPackages()
{
return decode( "Paketi" );
return "Paketi";
}
/*! Text shown before a multi-line define */
virtual QCString trDefineValue()
{
return decode( "Vrednost:" );
return "Vrednost:";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1169,12 +1151,12 @@ private:
/*! Used as a marker that is put before a \\bug item */
virtual QCString trBug()
{
return decode( "Greška" );
return "Greška";
}
/*! Used as the header of the bug list */
virtual QCString trBugList()
{
return decode( "Spisak grešaka" );
return "Spisak grešaka";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1223,7 +1205,7 @@ private:
/*! Used as header RTF general index */
virtual QCString trRTFGeneralIndex()
{
return decode( "Sadržaj" );
return "Sadržaj";
}
/*! This is used for translation of the word that will possibly
......@@ -1234,7 +1216,7 @@ private:
{
QCString result( (first_capital ? "Klas" : "klas") );
result+= (singular ? "a" : "e");
return decode( result );
return result;
}
/*! This is used for translation of the word that will possibly
......@@ -1245,7 +1227,7 @@ private:
{
QCString result((first_capital ? "Datotek" : "datotek"));
result+= (singular ? "a" : "e");
return decode( result );
return result;
}
/*! This is used for translation of the word that will possibly
......@@ -1257,7 +1239,7 @@ private:
QCString result((first_capital ? "Prostor" : "prostor"));
result += (singular ? "" : "i");
result += " imena";
return decode( result );
return result;
}
/*! This is used for translation of the word that will possibly
......@@ -1268,7 +1250,7 @@ private:
{
QCString result((first_capital ? "Grup" : "grup"));
result+= (singular ? "a" : "e");
return decode( result );
return result;
}
/*! This is used for translation of the word that will possibly
......@@ -1279,7 +1261,7 @@ private:
{
QCString result((first_capital ? "Stran" : "stran"));
result+= (singular ? "a" : "e");
return decode( result );
return result;
}
/*! This is used for translation of the word that will possibly
......@@ -1290,7 +1272,7 @@ private:
{
QCString result((first_capital ? "Član" : "član"));
result+= (singular ? "" : "ovi");
return decode( result );
return result;
}
/*! This is used for translation of the word that will possibly
......@@ -1301,7 +1283,7 @@ private:
{
QCString result((first_capital ? "Globalni " : "globalni "));
result+= (singular ? "podatak" : "podaci");
return decode( result );
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1314,7 +1296,7 @@ private:
{
QCString result((first_capital ? "Autor" : "autor"));
result+= (singular ? "" : "i");
return decode( result );
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1325,7 +1307,7 @@ private:
*/
virtual QCString trReferences()
{
return decode( "Koristi" );
return "Koristi";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1337,7 +1319,7 @@ private:
*/
virtual QCString trImplementedFromList(int numEntries)
{ //! "Definiše" je previše kratko, ispada sa de definišu same apstraktne klase
return decode( "Definiše apstraktnu funkciju deklarisanu u "+trWriteList(numEntries)+"." );
return "Definiše apstraktnu funkciju deklarisanu u ";
}
/*! used in member documentation blocks to produce a list of
......@@ -1345,7 +1327,7 @@ private:
*/
virtual QCString trImplementedInList(int numEntries)
{ //! Izbegavanje roda
return decode( "Definicija u " + trWriteList(numEntries) + "." );
return "Definicija u ";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1357,7 +1339,7 @@ private:
*/
virtual QCString trRTFTableOfContents()
{
return decode( "Sadržaj" );
return "Sadržaj";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1369,7 +1351,7 @@ private:
*/
virtual QCString trDeprecatedList()
{
return decode( "Spisak zastarelih stvari" );
return "Spisak zastarelih stvari";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1381,12 +1363,12 @@ private:
*/
virtual QCString trEvents()
{
return decode( "Događaji" );
return "Događaji";
}
/*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation()
{
return decode( "Dokumentacija događaja" );
return "Dokumentacija događaja";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1397,35 +1379,35 @@ private:
*/
virtual QCString trPackageTypes()
{
return decode( "Tipovi u paketu" );
return "Tipovi u paketu";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
virtual QCString trPackageMembers()
{
return decode( "Funkcije u paketu" );
return "Funkcije u paketu";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
virtual QCString trStaticPackageMembers()
{
return decode( "Statičke funkcije u paketu" ); // Zajednicke funkcije u paketu
return "Statičke funkcije u paketu"; // Zajednicke funkcije u paketu
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
virtual QCString trPackageAttribs()
{
return decode( "Atributi u paketu" ); // Clanovi u paketu
return "Atributi u paketu"; // Clanovi u paketu
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
virtual QCString trStaticPackageAttribs()
{
return decode( "Statički atributi u paketu" ); // Zajednicki clanovi u paketu
return "Statički atributi u paketu"; // Zajednicki clanovi u paketu
}
//////////////////////////////////////////////////////////////////////////
......@@ -1437,12 +1419,12 @@ private:
*/
virtual QCString trAll()
{
return decode( "Sve" );
return "Sve";
}
/*! Put in front of the call graph for a function. */
virtual QCString trCallGraph()
{
return decode( "Graf poziva iz ove funkcije:" );
return "Graf poziva iz ove funkcije:";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1455,14 +1437,14 @@ private:
*/
virtual QCString trSearchForIndex()
{
return decode("Traži");
return "Traži";
}
/*! This string is used as the title for the page listing the search
* results.
*/
virtual QCString trSearchResultsTitle()
{
return decode( "Rezultati pretraživanja" );
return "Rezultati pretraživanja";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
......@@ -1476,16 +1458,16 @@ private:
{
if (numDocuments==0)
{
return decode("Nema dokumenata koji odgovaraju Vašem upitu.");
return "Nema dokumenata koji odgovaraju Vašem upitu.";
}
else if (numDocuments==1)
{ return decode("Nađen je <b>1</b> dokument koji odgovara vašem upitu."); }
{ return "Nađen je <b>1</b> dokument koji odgovara vašem upitu."; }
else if (numDocuments<5)
{ return decode("Nađena su <b>$num</b> dokumenta koji odgovaraju vašem upitu."
"Najbolji su prikazani prvi."); }
{ return "Nađena su <b>$num</b> dokumenta koji odgovaraju vašem upitu."
" Najbolji su prikazani prvi."; }
else
{ return decode("Nađeno je <b>$num</b> dokumenata koji odgovaraju vašem upitu."
"Najbolji su prikazani prvi.");
{ return "Nađeno je <b>$num</b> dokumenata koji odgovaraju vašem upitu."
" Najbolji su prikazani prvi.";
}
}
/*! This string is put before the list of matched words, for each search
......@@ -1493,7 +1475,7 @@ private:
*/
virtual QCString trSearchMatches()
{
return decode( "Pronađeno:" );
return "Pronađeno:";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1504,7 +1486,7 @@ private:
*/
virtual QCString trSourceFile(QCString& filename)
{
return decode( "Izvorni kod datoteke " + filename ) ;
return "Izvorni kod datoteke " + filename;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1515,33 +1497,31 @@ private:
* hierarchy.
*/
virtual QCString trDirIndex()
{ return decode( "Hijerarhija direktorijuma" ); }
{ return "Hijerarhija direktorijuma"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
virtual QCString trDirDocumentation()
{ return decode( "Dokumentacija direktorijuma" ); }
{ return "Dokumentacija direktorijuma"; }
/*! This is used as the title of the directory index and also in the
* Quick links of a HTML page, to link to the directory hierarchy.
*/
virtual QCString trDirectories()
{ return decode( "Direktorijumi" ); }
{ return "Direktorijumi"; }
/*! This returns a sentences that introduces the directory hierarchy.
* and the fact that it is sorted alphabetically per level
*/
virtual QCString trDirDescription()
{ return decode( "Hijerarhija direktorijuma uređena približno "
"po abecedi:" );
}
{ return "Hijerarhija direktorijuma uređena približno po abecedi:"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
virtual QCString trDirReference(const char *dirName)
{ QCString result=dirName; result+="Opis direktorijuma"; return decode( result ); }
{ QCString result=dirName; result+="Opis direktorijuma"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
......@@ -1550,7 +1530,7 @@ private:
{
QCString result((first_capital ? "Direktorijum" : "direktorijum"));
if (!singular) result+="i";
return decode( result );
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1562,8 +1542,8 @@ private:
*/
virtual QCString trOverloadText()
{
return decode ( "Ovo je funkcija prekopljenog imena, razlikuje se "
"od gore navedene samo po argumentima koje prihvata." );
return "Ovo je funkcija prekopljenog imena, razlikuje se "
"od gore navedene samo po argumentima koje prihvata.";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1573,14 +1553,14 @@ private:
/*! This is used to introduce a caller (or called-by) graph */
virtual QCString trCallerGraph()
{ //! Možda je bolje "Graf pozivalaca ove funkcije"
return decode( "Graf funkcija koje pozivaju ovu funkciju:" );
return "Graf funkcija koje pozivaju ovu funkciju:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
virtual QCString trEnumerationValueDocumentation()
{ return decode( "Dokumentacija enum vrednosti" ); }
{ return "Dokumentacija enum vrednosti"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
......@@ -1789,17 +1769,17 @@ private:
// /*! This is put above each page as a link to the list of all verbatim headers */
// virtual QCString trHeaderFiles()
// { return decode( "Zaglavlja" ); }
// { return "Zaglavlja"; }
//
// /*! This is an introduction to the page with the list of all header files. */
// virtual QCString trHeaderFilesDescription()
// { return decode( "Zaglavlja koje izgraduju API:" ); }
// { return "Zaglavlja koje izgraduju API:"; }
//
// /*! This sentences is used in the annotated class/file lists if no brief
// * description is given.
// */
// virtual QCString trNoDescriptionAvailable()
// { return decode( "Opis nije dostupan" ); }
// { return "Opis nije dostupan"; }
//
// /*! this text is generated when the \\reimp command is used. */
// virtual QCString trReimplementedForInternalReasons()
......@@ -1807,7 +1787,7 @@ private:
//
// /*! this text is generated when the \\bug command is used. */
// virtual QCString trBugsAndLimitations()
// { return decode( "Greske i ogranicenja" ); }
// { return "Greske i ogranicenja"; }
//
// virtual QCString trSources()
// {
......@@ -1817,13 +1797,13 @@ private:
// /*! Used for Java interfaces in the summary section of Java packages */
// virtual QCString trInterfaces()
// {
// return decode( "Interfejsi" ); //!< Radna okruzenja. Ali to je dve reci.
// return "Interfejsi"; //!< Radna okruzenja. Ali to je dve reci.
// }
//
// /*! Used as a chapter title for Latex & RTF output */
// virtual QCString trPackageDocumentation()
// {
// return decode( "Dokumentacija paketa" );
// return "Dokumentacija paketa";
// }
//
// /*! This is used for translation of the word that will possibly
......@@ -1834,7 +1814,7 @@ private:
// {
// QCString result((first_capital ? "Polj" : "polj"));
// result+= (singular ? "e" : "a");
// return decode( result );
// return result;
// }
};
......
/******************************************************************************
*
*
*
*
* 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.
*
......@@ -17,8 +17,8 @@
/*
==================================================================================
Svensk versttning av:
Samuel Hgglund <sahag96@ite.mh.se>
Svensk översättning av:
Samuel Hägglund <sahag96@ite.mh.se>
Xet Erixon <xet@xeqt.com>
Mikael Hallin <mikaelhallin@yahoo.se> 2003-07-28
==================================================================================
......@@ -26,17 +26,17 @@ Uppdateringar.
1999/04/29
* Omskrivningar av en hel del ordval, t.ex.
ENG INNAN EFTER
compound inhngnad sammansatt
compound inhängnad sammansatt
structs structs strukter
unions unions unioner
osv...
* Alla versttnings-strngar returnerar i alla fall en ngot s nr vettig
frklaring...
* Alla översättnings-strängar returnerar i alla fall en något så när vettig
förklaring...
1999/05/27
* Det verkade som vi glmt en del mellanslag i vissa strngar vilket resulterade
* Det verkade som vi glömt en del mellanslag i vissa strängar vilket resulterade
i att en del ord blev ihopskrivna.
* Bytt en del ordval igen...
......@@ -44,26 +44,26 @@ Uppdateringar.
reference manual Uppslagsbok referensmanual
* Skrivit ihop en del ord som innan hade bindestreck
* En del nya versttningar r tillagda.
* Gamla versttningar borttagna
* En del nya översättningar är tillagda.
* Gamla översättningar borttagna
===================================================================================
Problem!
Slot: nn hygglig svensk versttning???
Slot: nån hygglig svensk översättning???
Skicka grna synpunkter.
Skicka gärna synpunkter.
===================================================================================
1999/09/01
* Det verkar som om "namnrymd" r en hyggligt vedertagen svensk versttning
av "namespace", s jag kr med det frn och med nu.
* "interface" heter numera "grnssnitt"
* Det verkar som om "namnrymd" är en hyggligt vedertagen svensk översättning
av "namespace", så jag kör med det från och med nu.
* "interface" heter numera "gränssnitt"
2003/07/28
* Jag har updaterat versttningen efter ett par rs trda..
* Jag har updaterat översättningen efter ett par års träda..
Problem!
Deprecated: nn hygglig svensk versttning???
Deprecated: nån hygglig svensk översättning???
Skicka grna synpunkter.
Skicka gärna synpunkter.
*/
#ifndef TRANSLATOR_SE_H
......@@ -76,9 +76,9 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString idLanguage()
{ return "swedish"; }
/*! 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
......@@ -86,7 +86,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
......@@ -98,14 +98,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "iso-8859-1";
return "utf-8";
}
virtual QCString trRelatedFunctions()
{ return "Beslktade funktioner"; }
{ return "Besläktade funktioner"; }
virtual QCString trRelatedSubscript()
{ return "(Observera att dessa inte r medlemsfunktioner)"; }
{ return "(Observera att dessa inte är medlemsfunktioner)"; }
virtual QCString trDetailedDescription()
{ return "Detaljerad beskrivning"; }
......@@ -114,7 +114,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "Dokumentation av typdefinierade medlemmar"; }
virtual QCString trMemberEnumerationDocumentation()
{ return "Dokumentation av egenupprknande medlemmar"; }
{ return "Dokumentation av egenuppräknande medlemmar"; }
virtual QCString trMemberFunctionDocumentation()
{ return "Dokumentation av medlemsfunktioner"; }
......@@ -123,7 +123,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Flt dokumentation";
return "Fält dokumentation";
}
else
{
......@@ -135,21 +135,21 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "Mer..."; }
virtual QCString trListOfAllMembers()
{ return "Lista ver alla medlemmar"; }
{ return "Lista över alla medlemmar"; }
virtual QCString trMemberList()
{ return "Medlemslista"; }
virtual QCString trThisIsTheListOfAllMembers()
{ return "Det hr r en fullstndig lista ver medlemmar fr "; }
{ return "Det här är en fullständig lista över medlemmar för "; }
virtual QCString trIncludingInheritedMembers()
{ return " med alla rvda medlemmar."; }
{ return " med alla ärvda medlemmar."; }
virtual QCString trGeneratedAutomatically(const char *s)
{ QCString result="Automatiskt skapad av Doxygen";
if (s) result+=(QCString)" fr "+s;
result+=" frn kllkoden.";
if (s) result+=(QCString)" för "+s;
result+=" från källkoden.";
return result;
}
......@@ -157,14 +157,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "enum namn"; }
virtual QCString trEnumValue()
{ return "enum vrde"; }
{ return "enum värde"; }
virtual QCString trDefinedIn()
{ return "definierad i"; }
/*
QCString trVerbatimText(const char *f)
{ return (QCString)"Detta r den ordagranna texten frn inkluderingsfilen "+f; }
{ return (QCString)"Detta är den ordagranna texten från inkluderingsfilen "+f; }
*/
virtual QCString trModules()
{ return "Moduler"; }
......@@ -191,7 +191,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Data flt";
return "Data fält";
}
else
{
......@@ -200,10 +200,10 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
}
virtual QCString trFileMembers()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Globala symboler";
return "Globala symboler";
}
else
{
......@@ -212,78 +212,78 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
}
virtual QCString trRelatedPages()
{ return "Beslktade sidor"; }
{ return "Besläktade sidor"; }
virtual QCString trExamples()
{ return "Exempel"; }
virtual QCString trSearch()
{ return "Sk"; }
{ return "Sök"; }
virtual QCString trClassHierarchyDescription()
{ return "Denna lista ver arv r grovt, men inte helt, "
{ return "Denna lista över arv är grovt, men inte helt, "
"sorterad i alfabetisk ordning:";
}
virtual QCString trFileListDescription(bool extractAll)
{
QCString result="Hr fljer en lista ver alla ";
QCString result="Här följer en lista över alla ";
if (!extractAll) result+="dokumenterade ";
result+="filer, med en kort beskrivning:";
return result;
}
virtual QCString trCompoundListDescription()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Hr fljer datastrukturerna med korta beskrivningar:";
return "Här följer datastrukturerna med korta beskrivningar:";
}
else
{
return "Hr fljer klasserna, strukterna, unionerna och "
"grnssnitten med korta beskrivningar:";
return "Här följer klasserna, strukterna, unionerna och "
"gränssnitten med korta beskrivningar:";
}
}
/*! This is an introduction to the page with all class members. */
virtual QCString trCompoundMembersDescription(bool extractAll)
{
QCString result="Hr r en lista ver alla ";
QCString result="Här är en lista över alla ";
if (!extractAll)
{
result+="dokumenterade ";
}
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="struktur- och unions-flt";
result+="struktur- och unions-fält";
}
else
{
result+="klassmedlemmar";
}
result+=" med lnkar till ";
if (!extractAll)
result+=" med länkar till ";
if (!extractAll)
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="struktur/unions-dokumentationen fr varje flt:";
result+="struktur/unions-dokumentationen för varje fält:";
}
else
{
result+="klassdokumentationen fr varje medlem:";
result+="klassdokumentationen för varje medlem:";
}
}
else
else
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+=" strukturerna/unionerna de tillhr:";
result+=" strukturerna/unionerna de tillhör:";
}
else
{
result+="klasserna de tillhr:";
result+="klasserna de tillhör:";
}
}
return result;
......@@ -291,7 +291,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trFileMembersDescription(bool extractAll)
{
QCString result="Hr fljer en lista ver alla ";
QCString result="Här följer en lista över alla ";
if (!extractAll) result+="dokumenterade ";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
......@@ -303,22 +303,22 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{
result+= "filmedlemmar";
}
result+= " med lnkar till ";
result+= " med länkar till ";
if (extractAll)
result+= "filerna som de tillhr:";
result+= "filerna som de tillhör:";
else
result+= "dokumentationen:";
return result;
}
virtual QCString trExamplesDescription()
{ return "Hr fljer en lista med alla exempel:"; }
{ return "Här följer en lista med alla exempel:"; }
virtual QCString trRelatedPagesDescription()
{ return "Hr fljer en lista ver alla beslktade dokumentationssidor:";}
{ return "Här följer en lista över alla besläktade dokumentationssidor:";}
virtual QCString trModulesDescription()
{ return "Hr fljer en lista ver alla moduler:"; }
{ return "Här följer en lista över alla moduler:"; }
virtual QCString trDocumentation()
{ return "Dokumentation"; }
......@@ -335,9 +335,9 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trCompoundIndex()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
return "Index ver datastrukturer";
return "Index över datastrukturer";
} else {
return "Index ver sammensatta typer";
return "Index över sammensatta typer";
}
}
......@@ -345,28 +345,28 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "Filindex"; }
virtual QCString trModuleDocumentation()
{ return "Dokumentation ver moduler"; }
{ return "Dokumentation över moduler"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
virtual QCString trClassDocumentation()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Dokumentation ver datastrukturer";
return "Dokumentation över datastrukturer";
}
else
{
return "Documentation ver klasser";
return "Documentation över klasser";
}
}
virtual QCString trFileDocumentation()
{ return "Dokumentation ver filer"; }
{ return "Dokumentation över filer"; }
virtual QCString trExampleDocumentation()
{ return "Dokumentation ver exempel"; }
{ return "Dokumentation över exempel"; }
virtual QCString trPageDocumentation()
{ return "Dokumentation av sidor"; }
......@@ -381,52 +381,52 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trTypedefs()
{ return "Typdefinitioner"; }
virtual QCString trEnumerations()
{ return "Egenupprknande typer"; }
{ return "Egenuppräknande typer"; }
virtual QCString trFunctions()
{ return "Funktioner"; }
virtual QCString trVariables()
{ return "Variabler"; }
virtual QCString trEnumerationValues()
{ return "Egenupprknade typers vrden"; }
{ return "Egenuppräknade typers värden"; }
virtual QCString trDefineDocumentation()
{ return "Dokumentation ver definitioner"; }
{ return "Dokumentation över definitioner"; }
virtual QCString trFunctionPrototypeDocumentation()
{ return "Dokumentation ver funktionsprototyper"; }
{ return "Dokumentation över funktionsprototyper"; }
virtual QCString trTypedefDocumentation()
{ return "Dokumentation ver typdefinitioner"; }
{ return "Dokumentation över typdefinitioner"; }
virtual QCString trEnumerationTypeDocumentation()
{ return "Dokumentation ver egenupprknande typer"; }
{ return "Dokumentation över egenuppräknande typer"; }
virtual QCString trFunctionDocumentation()
{ return "Dokumentation ver funktioner"; }
{ return "Dokumentation över funktioner"; }
virtual QCString trVariableDocumentation()
{ return "Dokumentation ver variabler"; }
{ return "Dokumentation över variabler"; }
/*! 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 "Datastrukturer";
}
else
{
return "Sammansttning";
return "Sammansättning";
}
}
virtual QCString trGeneratedAt(const char *date,const char *projName)
{
QCString result=(QCString)"Skapad "+date;
if (projName) result+=(QCString)" fr "+projName;
if (projName) result+=(QCString)" för "+projName;
result+=(QCString)" av";
return result;
}
......@@ -438,11 +438,11 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trClassDiagram(const char *clName)
{
return (QCString)"Klassdiagram fr "+clName;
return (QCString)"Klassdiagram för "+clName;
}
virtual QCString trForInternalUseOnly()
{ return "Endast fr internt bruk."; }
{ return "Endast för internt bruk."; }
virtual QCString trWarning()
{ return "Varning"; }
......@@ -457,7 +457,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{ return "Returnerar"; }
virtual QCString trSeeAlso()
{ return "Se ven"; }
{ return "Se även"; }
virtual QCString trParameters()
{ return "Parametrar"; }
......@@ -475,21 +475,21 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trNamespaceListDescription(bool extractAll)
{
QCString result="Hr r en lista ver alla ";
QCString result="Här är en lista över alla ";
if (!extractAll) result+="dokumenterade ";
result+="namnrymder med en kort beskrivning:";
return result;
}
virtual QCString trFriends()
{ return "Vnner"; }
{ return "Vänner"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
virtual QCString trRelatedFunctionDocumentation()
{ return "Vnners och beslktade funktioners dokumentation"; }
{ return "Vänners och besläktade funktioners dokumentation"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
......@@ -505,7 +505,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
case ClassDef::Class: result+=" klass"; break;
case ClassDef::Struct: result+=" strukt"; break;
case ClassDef::Union: result+=" union"; break;
case ClassDef::Interface: result+=" grnssnitt"; break;
case ClassDef::Interface: result+=" gränssnitt"; break;
case ClassDef::Protocol: result+=" protocol"; break; // translate me!
case ClassDef::Category: result+=" category"; break; // translate me!
case ClassDef::Exception: result+=" undantag"; break;
......@@ -580,38 +580,38 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
// used in class documentation to produce a list of base classes,
// if class diagrams are disabled.
{
return "rver "+trWriteList(numEntries)+".";
return "Ärver "+trWriteList(numEntries)+".";
}
virtual QCString trInheritedByList(int numEntries)
// used in class documentation to produce a list of super classes,
// if class diagrams are disabled.
{
return "rvd av "+trWriteList(numEntries)+".";
return "Ärvd av "+trWriteList(numEntries)+".";
}
virtual QCString trReimplementedFromList(int numEntries)
// used in member documentation blocks to produce a list of
// members that are hidden by this one.
{
return "terskapad frn "+trWriteList(numEntries)+".";
return "Återskapad från "+trWriteList(numEntries)+".";
}
virtual QCString trReimplementedInList(int numEntries)
{
// used in member documentation blocks to produce a list of
// all member that overwrite the implementation of this member.
return "terskapad i "+trWriteList(numEntries)+".";
return "Återskapad i "+trWriteList(numEntries)+".";
}
virtual QCString trNamespaceMembers()
{ return "Namnrymdsmedlemmar"; }
virtual QCString trNamespaceMemberDescription(bool extractAll)
{
QCString result="Hr r en lista ver alla ";
QCString result="Här är en lista över alla ";
if (!extractAll) result+="dokumenterade ";
result+="namnrymdsmedlemmar med lnkar till ";
result+="namnrymdsmedlemmar med länkar till ";
if (extractAll)
result+=" namnrymd-dokumentationen fr varje medlem:";
result+=" namnrymd-dokumentationen för varje medlem:";
else
result+="de namnrymder de tillhr:";
result+="de namnrymder de tillhör:";
return result;
}
......@@ -641,19 +641,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
bool single)
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result=(QCString)"Dokumentationen fr ";
QCString result=(QCString)"Dokumentationen för ";
switch(compType)
{
case ClassDef::Class: result+="denna klass "; break;
case ClassDef::Struct: result+="denna strukt "; break;
case ClassDef::Union: result+="denna union "; break;
case ClassDef::Interface: result+="detta grnssnitt "; break;
case ClassDef::Interface: result+="detta gränssnitt "; break;
case ClassDef::Protocol: result+="protocol"; break; // translate me!
case ClassDef::Category: result+="category"; break; // translate me!
case ClassDef::Exception: result+="detta undantag "; break;
default: break;
}
result+="var genererad frn fljande fil";
result+="var genererad från följande fil";
if (single) result+=":"; else result+="er:";
return result;
}
......@@ -671,14 +671,14 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues()
{ return "Returvrden"; }
{ return "Returvärden"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
virtual QCString trMainPage()
{ return "Huvudsida"; }
/*! 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()
......@@ -690,7 +690,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trDefinedAtLineInSourceFile()
{
return "Definition p rad @0 i filen @1.";
return "Definition på rad @0 i filen @1.";
}
virtual QCString trDefinedInSourceFile()
{
......@@ -703,7 +703,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trDeprecated()
{
return "Frldrad";
return "Föråldrad";
}
//////////////////////////////////////////////////////////////////////////
......@@ -713,37 +713,37 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName)
{
return (QCString)"Samarbetsdiagram fr "+clName+":";
return (QCString)"Samarbetsdiagram för "+clName+":";
}
/*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName)
{
return (QCString)"Include-beroendediagram fr "+fName+":";
return (QCString)"Include-beroendediagram för "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
return "Dokumentation av konstruktorer och destruktorer";
return "Dokumentation av konstruktorer och destruktorer";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
{
return "G till denna fils kllkod.";
return "Gå till denna fils källkod.";
}
/*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation()
{
return "G till denna fils dokumentation.";
return "Gå till denna fils dokumentation.";
}
/*! Text for the \\pre command */
virtual QCString trPrecondition()
{
return "Frhandsvillkor";
return "Förhandsvillkor";
}
/*! Text for the \\post command */
......@@ -761,12 +761,12 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue()
{
return "Begynnelsevrde:";
return "Begynnelsevärde:";
}
/*! Text used the source code in the file index */
virtual QCString trCode()
{
return "kllkod";
return "källkod";
}
virtual QCString trGraphicalHierarchy()
......@@ -775,21 +775,21 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
}
virtual QCString trGotoGraphicalHierarchy()
{
return "G till den grafiska klasshierarkin";
return "Gå till den grafiska klasshierarkin";
}
virtual QCString trGotoTextualHierarchy()
{
return "G till den textbaserade klasshierarkin";
return "Gå till den textbaserade klasshierarkin";
}
virtual QCString trPageIndex()
{
return "Sidindex";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trNote()
{
return "Notera";
......@@ -802,7 +802,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Dataflt";
return "Datafält";
}
else
{
......@@ -845,12 +845,12 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Used as a marker that is put before a \\todo item */
virtual QCString trTodo()
{
return "Att-gra";
return "Att-göra";
}
/*! Used as the header of the todo list */
virtual QCString trTodoList()
{
return "Att-gra lista";
return "Att-göra lista";
}
//////////////////////////////////////////////////////////////////////////
......@@ -863,7 +863,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
}
virtual QCString trRemarks()
{
return "Lgg mrke till";
return "Lägg märke till";
}
virtual QCString trAttention()
{
......@@ -871,7 +871,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
}
virtual QCString trInclByDepGraph()
{
return "Den hr grafen visar vilka filer som direkt eller "
return "Den här grafen visar vilka filer som direkt eller "
"indirekt inkluderar denna filen.";
}
virtual QCString trSince()
......@@ -886,36 +886,36 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! title of the graph legend page */
virtual QCString trLegendTitle()
{
return "Graffrklaring";
return "Grafförklaring";
}
/*! 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
"Den hr sidan frklarar hur man ska tolka de grafer som doxygen "
return
"Den här sidan förklarar hur man ska tolka de grafer som doxygen "
"genererar.<p>\n"
"Tag fljande exempel:\n"
"Tag följande exempel:\n"
"\\code\n"
"/*! Osynlig klass p grund av stympning */\n"
"/*! Osynlig klass på grund av stympning */\n"
"class Invisible { };\n\n"
"/*! Stympad klass, rvningsrelationen r dold */\n"
"/*! Stympad klass, ärvningsrelationen är dold */\n"
"class Truncated : public Invisible { };\n\n"
"/* Klass utan doxygen-kommentarer */\n"
"class Undocumented { };\n\n"
"/*! Klass som rvs med publikt arv */\n"
"/*! Klass som ärvs med publikt arv */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! En template-klass */\n"
"template<class T> class Templ { };\n\n"
"/*! Klass som rvs med skyddat arv */\n"
"/*! Klass som ärvs med skyddat arv */\n"
"class ProtectedBase { };\n\n"
"/*! Klass som rvs med privat arv */\n"
"/*! Klass som ärvs med privat arv */\n"
"class PrivateBase { };\n\n"
"/*! Klass som anvnds av Inherited klassen */\n"
"/*! Klass som används av Inherited klassen */\n"
"class Used { };\n\n"
"/*! Super klassen som rver ett antal andra klasser */\n"
"/*! Super klassen som ärver ett antal andra klasser */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
......@@ -926,47 +926,47 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Om \\c MAX_DOT_GRAPH_HEIGHT r satt till 240 i konfigurationsfilen, "
"kommer fljande graf att generas:"
"Om \\c MAX_DOT_GRAPH_HEIGHT är satt till 240 i konfigurationsfilen, "
"kommer följande graf att generas:"
"<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n"
"Rektanglarna i den ovanstende grafen har fljande betydelser:\n"
"Rektanglarna i den ovanstående grafen har följande betydelser:\n"
"<ul>\n"
"<li>%En fylld svart rektangel representerar den strukt eller klass "
"som har genererat grafen.\n"
"<li>%En rektangel med svart kant symboliserar en dokumenterad "
"strukt eller klass.\n"
"<li>%En rektangel med gr kant symboliserar en odokumenterad strukt "
"<li>%En rektangel med grå kant symboliserar en odokumenterad strukt "
"eller klass.\n"
"<li>%En klass med rd kant symboliserar en strukt eller klass dr "
"alla dess relationer inte visas. %En graf stympas om den inte fr "
"plats inom de givna grnserna.\n"
"<li>%En klass med röd kant symboliserar en strukt eller klass där "
"alla dess relationer inte visas. %En graf stympas om den inte får "
"plats inom de givna gränserna.\n"
"</ul>\n"
"Pilarna har fljande betydelser:\n"
"Pilarna har följande betydelser:\n"
"<ul>\n"
"<li>%En mrkbl pil anvnds fr att visualisera en publik arvrelation "
"mellan tv klasser.\n"
"<li>%En mrkgrn pil anvnds fr en skyddad arvsrelation.\n"
"<li>%En mrkrd pil anvnds fr en privat arvsrelation.\n"
"<li>%En strckad lila pil anvnds om en klass r innesluten eller "
"anvnd av en annan klass. Vid pilen str namnet p den eller de "
"variabler som klassen pilen pekar p kommer t.\n"
"<li>%En strckad gul pil symboliserar frhllandet mellan en "
"template-instans och template-klassen, som den instantierades frn.\n"
"Vid pilen str instansens template-parametrar.\n"
"<li>%En mörkblå pil används för att visualisera en publik arvrelation "
"mellan två klasser.\n"
"<li>%En mörkgrön pil används för en skyddad arvsrelation.\n"
"<li>%En mörkröd pil används för en privat arvsrelation.\n"
"<li>%En sträckad lila pil används om en klass är innesluten eller "
"använd av en annan klass. Vid pilen står namnet på den eller de "
"variabler som klassen pilen pekar på kommer åt.\n"
"<li>%En sträckad gul pil symboliserar förhållandet mellan en "
"template-instans och template-klassen, som den instantierades från.\n"
"Vid pilen står instansens template-parametrar.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
virtual QCString trLegend()
{
return "frklaring";
return "förklaring";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
......@@ -1032,8 +1032,8 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! The description of the package index page */
virtual QCString trPackageListDescription()
{
return "Hr r en lista ver paketen med en kort beskrivning "
"(om sdan finns):";
return "Här är en lista över paketen med en kort beskrivning "
"(om sådan finns):";
}
/*! The link name in the Quick links header for each page */
virtual QCString trPackages()
......@@ -1043,13 +1043,13 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Text shown before a multi-line define */
virtual QCString trDefineValue()
{
return "Vrde:";
return "Värde:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
virtual QCString trBug()
{
......@@ -1091,83 +1091,83 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
}
/*! 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 ? "Klass" : "klass"));
if (!singular) result+="er";
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((first_capital ? "Fil" : "fil"));
if (!singular) result+="er";
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 ? "Namnrymd" : "namnrynd"));
if (!singular) result+="er";
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 ? "Grupp" : "grupp"));
if (!singular) result+="er";
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 ? "Sid" : "sid"));
if (singular)
result+="a";
else
result+="or";
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 ? "Medlem" : "medlem"));
if (!singular) result+="mar";
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+="er";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1178,8 +1178,8 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
* for the author section in man pages. */
virtual QCString trAuthor(bool first_capital, bool /*singular*/)
{
QCString result((first_capital ? "Frfattare" : "frfattare"));
return result;
QCString result((first_capital ? "Författare" : "författare"));
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1197,7 +1197,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
// 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)
......@@ -1222,36 +1222,36 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/
virtual QCString trRTFTableOfContents()
{
return "Innehllsfrteckning";
return "Innehållsförteckning";
}
//////////////////////////////////////////////////////////////////////////
// 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()
{
return "Lista ver frldrade";
return "Lista över föråldrade";
}
//////////////////////////////////////////////////////////////////////////
// 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()
{
return "Hndelser";
return "Händelser";
}
/*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation()
{
return "Hndelse Dokumentation";
return "Händelse Dokumentation";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1261,43 +1261,43 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Used as a heading for a list of Java class types with package scope.
*/
virtual QCString trPackageTypes()
{
{
return "Paket typer";
}
/*! 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 "Paket funktioner";
}
/*! 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 "Statiska paket funktioner";
}
/*! 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 "Paket attribut";
}
/*! 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 "Statiska paket attribut";
}
//////////////////////////////////////////////////////////////////////////
// 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()
......@@ -1307,33 +1307,33 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! Put in front of the call graph for a function. */
virtual QCString trCallGraph()
{
return "Hr r anropnings diagrammet fr den hr funktionen:";
return "Här är anropnings diagrammet för den här funktionen:";
}
//////////////////////////////////////////////////////////////////////////
// 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()
{
return "Sk efter";
return "Sök efter";
}
/*! This string is used as the title for the page listing the search
* results.
*/
virtual QCString trSearchResultsTitle()
{
return "Skresultat";
return "Sökresultat";
}
/*! This string is put just before listing the search results. The
* 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.
*/
......@@ -1341,24 +1341,24 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
{
if (numDocuments==0)
{
return "Tyvrr finns det inga dokument som matchar din skning.";
return "Tyvärr finns det inga dokument som matchar din sökning.";
}
else if (numDocuments==1)
{
return "Hittade <b>1</b> dokument som matchar din skning.";
return "Hittade <b>1</b> dokument som matchar din sökning.";
}
else
else
{
return "Hittade <b>$num</b> dokument som matchar din skning. "
"Visar de bsta trffarna frst.";
return "Hittade <b>$num</b> dokument som matchar din sökning. "
"Visar de bästa träffarna först.";
}
}
/*! 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()
{
return "Trffar:";
return "Träffar:";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1369,7 +1369,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/
virtual QCString trSourceFile(QCString& filename)
{
return "Kllkodsfilen " + filename;
return "Källkodsfilen " + filename;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1394,11 +1394,11 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
virtual QCString trDirectories()
{ return "Kataloger"; }
/*! 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()
{ return "Den hr katalogen r grovt sorterad, "
{ return "Den här katalogen är grovt sorterad, "
"men inte helt, i alfabetisk ordning:";
}
......@@ -1412,10 +1412,10 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
* (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Katalog" : "katalog"));
if (!singular) result+="er";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1427,9 +1427,9 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/
virtual QCString trOverloadText()
{
return "Det hr r en verlagrad medlemsfunktion "
"tillhandahllen fr bekvmlighet. Den enda som "
"skiljer sig frn ovanstende funktion r vilka "
return "Det här är en överlagrad medlemsfunktion "
"tillhandahållen för bekvämlighet. Den enda som "
"skiljer sig från ovanstående funktion är vilka "
"argument den tar emot.";
}
......@@ -1440,7 +1440,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! This is used to introduce a caller (or called-by) graph */
virtual QCString trCallerGraph()
{
return "Hr r katalog-grafen fr denna funktion:";
return "Här är katalog-grafen för denna funktion:";
}
/*! This is used in the documentation of a file/namespace before the list
......@@ -1448,7 +1448,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
*/
virtual QCString trEnumerationValueDocumentation()
{
return "Upprknings-dokumentation";
return "Uppräknings-dokumentation";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1465,29 +1465,29 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! This is put above each page as a link to all members of compounds (Fortran). */
virtual QCString trCompoundMembersFortran()
{ return "Data flt"; }
{ return "Data fält"; }
/*! This is an introduction to the annotated compound list (Fortran). */
virtual QCString trCompoundListDescriptionFortran()
{ return "Hr r datatyperna med en kort beskrivning:"; }
{ return "Här är datatyperna med en kort beskrivning:"; }
/*! This is an introduction to the page with all data types (Fortran). */
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
{
QCString result="Hr r en lista av alla ";
QCString result="Här är en lista av alla ";
if (!extractAll)
{
result+="dokumenterade ";
}
result+="datatyps medlemmar";
result+=" med lnkar till ";
result+=" med länkar till ";
if (!extractAll)
{
result+="datastrukturs documentation fr varje medlem";
result+="datastrukturs documentation för varje medlem";
}
else
{
result+="klasserna de hr till:";
result+="klasserna de hör till:";
}
return result;
}
......@@ -1529,7 +1529,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! used as an introduction to the modules list (Fortran) */
virtual QCString trModulesListDescription(bool extractAll)
{
QCString result="Hr r en lista p alla ";
QCString result="Här är en lista på alla ";
if (!extractAll) result+="dokumenterade ";
result+="moduler med en kort beskrivning:";
return result;
......@@ -1546,7 +1546,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
case ClassDef::Class: result+=" Modul"; break;
case ClassDef::Struct: result+=" Typ"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Grnssnitt"; break;
case ClassDef::Interface: result+=" Gränssnitt"; break;
case ClassDef::Protocol: result+=" Protokoll"; break;
case ClassDef::Category: result+=" Kategori"; break;
case ClassDef::Exception: result+=" Undantag"; break;
......@@ -1571,16 +1571,16 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
{
QCString result="Hr r en lista p alla ";
QCString result="Här är en lista på alla ";
if (!extractAll) result+="documented ";
result+="modul medlemmar med lnkar till ";
result+="modul medlemmar med länkar till ";
if (extractAll)
{
result+="modul dokumentationen fr varje medlem:";
result+="modul dokumentationen för varje medlem:";
}
else
{
result+="modulerna de hr till:";
result+="modulerna de hör till:";
}
return result;
}
......@@ -1606,19 +1606,19 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
bool single)
{
// single is true implies a single file
QCString result=(QCString)"Dokumentationen fr denna ";
QCString result=(QCString)"Dokumentationen för denna ";
switch(compType)
{
case ClassDef::Class: result+="modul"; break;
case ClassDef::Struct: result+="typ"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="grnssnitt"; break;
case ClassDef::Interface: result+="gränssnitt"; break;
case ClassDef::Protocol: result+="protokoll"; break;
case ClassDef::Category: result+="kategori"; break;
case ClassDef::Exception: result+="undantag"; break;
default: break;
}
result+=" genererades frn fljade fil";
result+=" genererades från följade fil";
if (single) result+=":"; else result+="er:";
return result;
}
......@@ -1643,7 +1643,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
/*! C# Type Constraint list */
virtual QCString trTypeConstraints()
{
return "Typbegrnsningar";
return "Typbegränsningar";
}
/*---------- For internal use: ----------------------------------------*/
......@@ -1660,7 +1660,7 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
return result;
}
};
#endif
......@@ -41,7 +41,7 @@
// Translator class (by the local maintainer) when the localized
// translator is made up-to-date again.
class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
class TranslatorChinesetraditional : public Translator
{
public:
......@@ -78,7 +78,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "big5";
return "utf-8";
}
// --- Language translation methods -------------------
......@@ -624,7 +624,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
case ClassDef::Struct: result+=" 結構"; break;
case ClassDef::Union: result+=" 聯合"; break;
case ClassDef::Interface: result+=" 介面"; break;
case ClassDef::Protocol: result+=" 協定"; break;
case ClassDef::Protocol: result+=" 協定"; break;
case ClassDef::Category: result+=" 分類"; break;
case ClassDef::Exception: result+=" 例外"; break;
default: break;
......@@ -1495,7 +1495,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
{
return filename + " 原始程式檔";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
......@@ -1518,7 +1518,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
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()
......@@ -1538,7 +1538,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
{
return QCString("目錄");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
......@@ -1565,12 +1565,12 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
//////////////////////////////////////////////////////////////////////////
// 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 "資料型態列表"; }
......@@ -1592,18 +1592,18 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
}
result+="資料型別成員函數";
result+=" 附帶連結到 ";
if (!extractAll)
if (!extractAll)
{
result+="每個成員函數的資料結構文件";
}
else
else
{
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
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
......@@ -1615,24 +1615,24 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
virtual QCString trTypeDocumentation()
{ 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) 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 "模組列表"; }
......@@ -1674,42 +1674,42 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
result+="模組參考文件";
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 extractAll)
{
{
QCString result="此處列出所有";
if (!extractAll) result+="有文件的";
result+="模組成員附帶連結到";
if (extractAll)
if (extractAll)
{
result+="每個函數的模組文件:";
}
else
else
{
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 "模組索引"; }
/*! 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 /* first_capital */, bool /* singular */)
{
{
QCString 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.
......@@ -1734,22 +1734,22 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
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("型別");
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 /* first_capital */, bool /* singular */)
{
{
QCString result("子程式");
return result;
return result;
}
/*! C# Type Constraint list */
......@@ -1757,7 +1757,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
{
return "型別限制條件";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
......@@ -1820,7 +1820,7 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
return (QCString)"含入檔案在"+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
......@@ -1863,6 +1863,165 @@ class TranslatorChinesetraditional : public TranslatorAdapter_1_8_0
virtual QCString trDirDepGraph(const char *name)
{ return QCString(name)+"的目錄關連圖"+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
virtual QCString trDetailLevel()
{ return "詳細程度"; }
/*! Section header for list of template parameters */
virtual QCString trTemplateParameters()
{ return "樣版參數"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
virtual QCString trAndMore(const QCString &number)
{ return "及 "+number+" 個更多..."; }
/*! Used file list for a Java enum */
virtual QCString trEnumGeneratedFromFiles(bool single)
{ QCString result = "此列舉型態的文件是由下列檔案所產生";
if (!single) result += "";
result+=":";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
virtual QCString trEnumReference(const char *name)
{ return QCString(name)+" 列舉型態參考"; }
/*! Used for a section containing inherited members */
virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" 繼承自 "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
virtual QCString trAdditionalInheritedMembers()
{ return "額外的繼承成員"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
virtual QCString trPanelSynchronisationTooltip(bool enable)
{
QCString opt = enable ? "啟用" : "停用";
return "點擊 "+opt+" 面板進行同步";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
virtual QCString trProvidedByCategory()
{
return "由 @1 分類所提供.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
virtual QCString trExtendsClass()
{
return "延伸 @1 類別 .";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
virtual QCString trClassMethods()
{
return "類別方法";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
virtual QCString trInstanceMethods()
{
return "實體方法";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
virtual QCString trMethodDocumentation()
{
return "方法文件";
}
/*! Used as the title of the design overview picture created for the
* VHDL output.
*/
virtual QCString trDesignOverview()
{
return "設計概述";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
virtual QCString trInterfaces()
{ return "導出介面"; }
/** old style UNO IDL services: inherited services */
virtual QCString trServices()
{ return "引入的服務"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroups()
{ return "常數群組"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroupReference(const char *namespaceName)
{
QCString result=namespaceName;
result+="常數群組參考";
return result;
}
/** UNO IDL service page title */
virtual QCString trServiceReference(const char *sName)
{
QCString result=(QCString)sName;
result+="服務參考";
return result;
}
/** UNO IDL singleton page title */
virtual QCString trSingletonReference(const char *sName)
{
QCString result=(QCString)sName;
result+="Singleton參考";
return result;
}
/** UNO IDL service page */
virtual QCString trServiceGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"本服務的文件由以下的檔案"
"所產生";
if (single) result+=":"; else result+=":";
return result;
}
/** UNO IDL singleton page */
virtual QCString trSingletonGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"本singleton的文件由下面的檔案"
"所產生";
if (single) result+=":"; else result+=":";
return result;
}
//////////////////////////////////////////////////////////////////////////
};
#endif
/******************************************************************************
*
*
*
*
* 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.
*
......@@ -17,7 +17,7 @@
/*
* Bronne vir hierdie vertaling (Sources for this translation):
* Die Stigting vir Afrikaans se rekenaartermelys:
* Die Stigting vir Afrikaans se rekenaartermelys:
* - http://www.afrikaans.com/rekenaarterme.html
* Werkgroep vir Afrikaanse IT-terme:
* - http://www.vertaal.org/index.html
......@@ -31,19 +31,19 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
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 English 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 "afrikaans"; }
/*! 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
......@@ -51,7 +51,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
*
* The Afrikaans LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
......@@ -65,7 +65,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "iso-8859-1";
return "utf-8";
}
// --- Language translation methods -------------------
......@@ -85,30 +85,30 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return "Lede Typedef Dokumentasie"; }
/*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation()
{ return "Lede Enumerasie Dokumentasie"; }
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
{ return "Lede Funksie Dokumentasie"; }
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Veld Dokumentasie";
return "Veld Dokumentasie";
}
else
{
return "Lede Data Dokumentasie";
return "Lede Data Dokumentasie";
}
}
/*! this is the text of a link put after brief descriptions. */
virtual QCString trMore()
virtual QCString trMore()
{ return "Meer detail..."; }
/*! put in the class documentation */
......@@ -126,81 +126,81 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers()
{ return ", insluitend alle afgeleide lede."; }
/*! 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="Automaties gegenereer deur Doxygen";
if (s) result+=(QCString)" vir "+s;
result+=" van die bron kode af.";
result+=" van die bron kode af.";
return result;
}
/*! put after an enum name in the list of all members */
virtual QCString trEnumName()
{ return "enum naam"; }
/*! put after an enum value in the list of all members */
virtual QCString trEnumValue()
{ return "enum waarde"; }
/*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn()
{ return "gedefinie&euml;r in"; }
{ return "gedefinieër in"; }
// 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 "Klas Hierargie"; }
/*! 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 "Data Strukture";
}
else
{
return "Klas Lys";
return "Klas Lys";
}
}
/*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList()
{ return "Le&euml;r Lys"; }
{ return "Leër Lys"; }
/*! 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 "Data Velde";
return "Data Velde";
}
else
{
return "Klas Lede";
return "Klas Lede";
}
}
/*! 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 "Le&euml;r Lede";
return "Leër Lede";
}
}
......@@ -218,7 +218,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription()
{
{
return "Hierdie afgeleide lys word rofweg gesorteer: ";
}
......@@ -227,22 +227,22 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
QCString result="Hier is 'n lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
result+="le&euml;rs met kort beskrywings:";
result+="leërs met kort beskrywings:";
return result;
}
/*! This is an introduction to the annotated compound list. */
virtual QCString trCompoundListDescription()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return " Data strukture met kort beskrywings:";
return " Data strukture met kort beskrywings:";
}
else
{
return "Klasse, structs, "
"unions en intervlakke met kort beskrywings:";
"unions en intervlakke met kort beskrywings:";
}
}
......@@ -263,7 +263,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
result+="klas lede";
}
result+=" met skakels na ";
if (!extractAll)
if (!extractAll)
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
......@@ -274,7 +274,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
result+="die klas dokumentasie vir elke lid:";
}
}
else
else
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
......@@ -293,19 +293,19 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
QCString result="'n Lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="funksies, veranderlikes, defines, enums, en typedefs";
}
else
{
result+="le&euml;r lede";
result+="leër lede";
}
result+=" met skakels na ";
if (extractAll)
result+="die le&euml;rs waaraan hulle behoort:";
else
if (extractAll)
result+="die leërs waaraan hulle behoort:";
else
result+="die dokumentasie:";
return result;
}
......@@ -326,38 +326,38 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trDocumentation()
{ return "Dokumentasie"; }
/*! 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 "Module Indeks"; }
/*! 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 "Hierargiese Indeks"; }
/*! 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 "Data Strukture Indeks";
}
else
{
return "Klas Indeks";
return "Klas Indeks";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
virtual QCString trFileIndex()
{ return "Le&euml;r Indeks"; }
virtual QCString trFileIndex()
{ return "Leër Indeks"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
......@@ -369,14 +369,14 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* the documentation of all classes, structs and unions.
*/
virtual QCString trClassDocumentation()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Data Strukture Dokumentasie";
return "Data Strukture Dokumentasie";
}
else
{
return "Klas Dokumentasie";
return "Klas Dokumentasie";
}
}
......@@ -384,7 +384,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* the documentation of all files.
*/
virtual QCString trFileDocumentation()
{ return "Le&euml;r Dokumentasie"; }
{ return "Leër Dokumentasie"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples.
......@@ -401,105 +401,105 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return "Verwysings Handleiding"; }
/*! 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 "Definiesies"; }
/*! 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 "Funksie Prototipes"; }
/*! 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 "Typedefs"; }
/*! 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 "Enumerations"; }
/*! 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 "Funksies"; }
/*! 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 "Veranderlikes"; }
/*! 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 "Enumeration waardes"; }
/*! 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 "Funksie Prototipe Dokumentasie"; }
/*! 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 Dokumentasie"; }
/*! 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 "Enumeration Type Dokumentasie"; }
/*! 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 "Funksie Dokumentasie"; }
/*! 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 "Veranderlike Dokumentasie"; }
/*! 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 "Data Strukture";
return "Data Strukture";
}
else
{
return "Klasse";
return "Klasse";
}
}
/*! 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=(QCString)"Gegenereer op "+date;
if (projName) result+=(QCString)" vir "+projName;
result+=(QCString)" deur";
......@@ -517,7 +517,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
return (QCString)"Afleidings diagram vir "+clName+":";
}
/*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly()
{ return "Slegs vir interne gebruik."; }
......@@ -549,7 +549,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions()
{ return "Exceptions"; }
/*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy()
{ return "Gegenereer deur"; }
......@@ -557,7 +557,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList()
{ return "Namespace Lys"; }
......@@ -576,17 +576,17 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
*/
virtual QCString trFriends()
{ return "Friends"; }
//////////////////////////////////////////////////////////////////////////
// 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 "Friends En Verwante Funksie Dokumentasie"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
......@@ -617,7 +617,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trFileReference(const char *fileName)
{
QCString result=fileName;
result+=" Le&euml;r Verwysing";
result+=" Leër Verwysing";
return result;
}
......@@ -628,7 +628,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
result+=" Namespace Verwysing";
return result;
}
virtual QCString trPublicMembers()
{ return "Publieke Lede Funksies"; }
virtual QCString trPublicSlots()
......@@ -649,7 +649,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{ return "Private Slots"; }
virtual QCString trStaticPrivateMembers()
{ return "Statiese Private Lede Funksies"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
......@@ -658,23 +658,23 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
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+=", en ";
}
}
return result;
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
......@@ -691,7 +691,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
return "Afgelei van"+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)
......@@ -713,17 +713,17 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll)
{
{
QCString result="'n Lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
result+="namespace lede met skakels na ";
if (extractAll)
if (extractAll)
result+="die namespace dokumentasie vir elke lid:";
else
else
result+="die namespaces waaraan hulle behoort:";
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()
......@@ -768,7 +768,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
case ClassDef::Exception: result+="eksepsie"; break;
default: break;
}
result+=" is gegenereer vanaf die volgende le&euml;r";
result+=" is gegenereer vanaf die volgende leër";
if (single) result+=":"; else result+="s:";
return result;
}
......@@ -792,7 +792,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trMainPage()
{ return "Hoof Bladsy"; }
/*! 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()
......@@ -804,11 +804,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trDefinedAtLineInSourceFile()
{
return "Gedefinie&euml;r by lyn @0 van le&euml;r @1.";
return "Gedefinieër by lyn @0 van leër @1.";
}
virtual QCString trDefinedInSourceFile()
{
return "Definisie in le&euml;r @0.";
return "Definisie in leër @0.";
}
//////////////////////////////////////////////////////////////////////////
......@@ -837,17 +837,17 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
return "Konstruktor & Destruktor Dokumentasie";
return "Konstruktor & Destruktor Dokumentasie";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
{
return "Skakel na die bron kode van hierdie le&euml;r.";
return "Skakel na die bron kode van hierdie leër.";
}
/*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation()
{
return "Skakel na die dokumentasie van hierdie le&euml;r.";
return "Skakel na die dokumentasie van hierdie leër.";
}
/*! Text for the \\pre command */
virtual QCString trPrecondition()
......@@ -894,7 +894,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trNote()
{
return "Nota";
......@@ -976,14 +976,14 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
}
virtual QCString trInclByDepGraph()
{
return "Hierdie diagram verduidelik watter le&euml;rs direk of"
"indirek hierdie le&euml;r insluit:";
return "Hierdie diagram verduidelik watter leërs direk of"
"indirek hierdie leër insluit:";
}
virtual QCString trSince()
{
return "Sederd";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
......@@ -993,12 +993,12 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
return "Diagram beskrywing";
}
/*! 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
"Hierdie bladsy beskryf die diagram konvensies wat gebruik word "
"deur doxygen.<p>\n"
"in hierdie voorbeeld:\n"
......@@ -1030,7 +1030,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"As die \\c MAX_DOT_GRAPH_HEIGHT merker in die konfigurasie le&euml;r "
"As die \\c MAX_DOT_GRAPH_HEIGHT merker in die konfigurasie leër "
"aan 240 gelyk gestel is, word die volgende diagram geproduseer:"
"<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n"
......@@ -1063,11 +1063,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
return "beskrywing";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
......@@ -1145,11 +1145,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
return "Waarde:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
virtual QCString trBug()
{
......@@ -1165,9 +1165,9 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
// 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
......@@ -1188,15 +1188,15 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*
*/
virtual QCString trRTFansicp()
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
virtual QCString trRTFCharSet()
......@@ -1209,82 +1209,82 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
return "Indeks";
}
/*! 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 ? "Klas" : "klas"));
if (!singular) result+="se";
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((first_capital ? "Le&euml;r" : "le&euml;r"));
{
QCString result((first_capital ? "Leër" : "leër"));
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 trNamespace(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Namespace" : "namespace"));
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 trGroup(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Groep" : "groep"));
if (!singular) result+="e";
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 ? "Bladsy" : "bladsy"));
if (!singular) result+="e";
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 ? "Lid" : "lid"));
if (!singular) result = (first_capital ? "Lede" : "lede");
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;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1294,10 +1294,10 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! 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 ? "Outeur" : "outeur"));
if (!singular) result+="s";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1315,7 +1315,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
// 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)
......@@ -1347,8 +1347,8 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
// 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()
{
......@@ -1359,7 +1359,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
// 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()
......@@ -1379,43 +1379,43 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! Used as a heading for a list of Java class types with package scope.
*/
virtual QCString trPackageTypes()
{
{
return "Pakket Tipes";
}
/*! 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 "Pakket Funksies";
}
/*! 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 "Statiese Pakket Funksies";
}
/*! 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 "Pakket Eienskappe";
}
/*! 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 "Statiese Pakket Eienskappe";
}
//////////////////////////////////////////////////////////////////////////
// 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()
......@@ -1432,9 +1432,9 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
// 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()
{
......@@ -1451,7 +1451,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* 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.
*/
......@@ -1465,13 +1465,13 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
return "Die soektog het <b>1</b> dokument gevind na gelang van jou navraag.";
}
else
else
{
return "Die soektog het <b>$num</b> dokumente gevind na gelang van jou navraag. "
"Beste resultate eerste.";
}
}
/*! 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()
......@@ -1487,7 +1487,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
*/
virtual QCString trSourceFile(QCString& filename)
{
return filename + " Bron kode Le&euml;r";
return filename + " Bron kode Leër";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1498,7 +1498,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* hierarchy.
*/
virtual QCString trDirIndex()
{ return "Directory Hi&euml;rargie"; }
{ return "Directory Hiërargie"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
......@@ -1512,11 +1512,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trDirectories()
{ return "Directories"; }
/*! 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()
{ return "Hierdie directory hi&euml;rargie is min of meer alfabeties "
{ return "Hierdie directory hiërargie is min of meer alfabeties "
"gesorteer:";
}
......@@ -1530,10 +1530,10 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Director" : "director"));
if (singular) result+="y"; else result+="ies";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1560,7 +1560,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
return "Hier is die roep skema vir die funksie:";
}
/*! 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()
......@@ -1569,12 +1569,12 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran()
{ return "Lede Funksie/Subroetine Dokumentasie"; }
/*! 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 "Data Tipes Lys"; }
......@@ -1596,18 +1596,18 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
}
result+="data tipe lede";
result+=" met skakels na ";
if (!extractAll)
if (!extractAll)
{
result+="die data strukture dokumentasie vir elke lid";
}
else
else
{
result+="die data tipes waaraan hulle behoort:";
}
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
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
......@@ -1619,24 +1619,24 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trTypeDocumentation()
{ return "Data Tipe Dokumentasie"; }
/*! 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 "Funksies/Subroetines"; }
/*! 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 "Funksies/Subroetine Dokumentasie"; }
/*! 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 "Data Tipes"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return "Modules Lys"; }
......@@ -1675,46 +1675,46 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trModuleReference(const char *namespaceName)
{
QCString result=namespaceName;
result+=" Module Bron";
result+=" Module Bron";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return "Module Lede"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
{
{
QCString result="Hier is 'n lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
result+="module lede met skakels na ";
if (extractAll)
if (extractAll)
{
result+="die module dokumentasie vir elke lid:";
}
else
else
{
result+="die modules waaraan hulle behoort:";
}
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 Indeks"; }
/*! 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 first_capital, bool singular)
{
{
QCString result((first_capital ? "Module" : "module"));
if (!singular) result+="s";
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.
......@@ -1740,24 +1740,24 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
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 ? "Tipe" : "tipe"));
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 first_capital, bool singular)
{
{
QCString result((first_capital ? "Subprogram" : "subprogram"));
if (!singular) result+="me";
return result;
return result;
}
/*! C# Type Constraint list */
......
#! python2
from __future__ import print_function
import os
import re
import shutil
import subprocess
import sys
import textwrap
def getCurrentSubdirName():
subdir, fname = os.path.split(os.path.realpath(__file__))
return os.path.basename(subdir)
def getCurrentBranchName():
result = None
cmd = 'git branch --list --no-color'
pipe = subprocess.Popen(cmd, stdout=subprocess.PIPE).stdout
for line in pipe:
line = line.decode('utf-8')
if line.startswith('*'):
result = line[2:].rstrip()
pipe.close()
return result
def getUserName():
user = None # init
p = subprocess.Popen('git config user.name', stdout=subprocess.PIPE)
user = p.communicate()[0]
user = user.decode('utf-8')
p.wait()
return user
def getUserInitials():
user = getUserName()
return ''.join(s[0] for s in user.split())
def gitSHA_date_time():
cmd = 'git rev-parse --short HEAD'
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
output = p.communicate()[0]
output = output.decode('ASCII')
p.wait()
sha = output.strip()
cmd = 'git show -s --format="%ci" ' + sha
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
output = p.communicate()[0]
output = output.decode('ASCII')
p.wait()
date = output.strip()
lst = date.split() # string like '2013-06-21 09:23:47 +0200'
dstamp = lst[0].replace('-', '') # '20130621' for the date
tstamp = lst[1].replace(':', '') # '092347' for the time
return sha, dstamp, tstamp
def gitDescribe():
result = None
cmd = 'git describe'
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
descr = p.communicate()[0]
descr = descr.decode('utf-8')
p.wait()
return descr.strip()
def getDoxygenVersion():
# ... from the VERSION file.
sdir, fname = getThisScriptPathAndName()
version_fname = os.path.join(sdir, '..', 'VERSION')
with open(version_fname) as f:
lst = f.readlines()
doxver = lst[0].strip()
m = re.match(r'^(?P<ver>[0-9.]+)(-(?P<date>\d{8}))?', doxver)
assert m
ver = m.group('ver')
return ver
def getThisScriptPathAndName():
script_fname = os.path.realpath(__file__)
sdir, fname = os.path.split(script_fname)
return sdir, fname
def getEmptyDistribDir():
# Get this script full path, name, and the script subdir name
# (for checking the location).
sdir, fname = getThisScriptPathAndName()
subdir = os.path.basename(sdir)
assert subdir == 'winbuild'
# The distribution directory will be a subdirectory of the "../__put"
# (created if it does not exist, not the part of the git repo).
target_dir = os.path.normpath(os.path.join(sdir, '..', '__put'))
if not os.path.exists(target_dir):
os.mkdir(target_dir)
assert os.path.isdir(target_dir)
# The distribution subdir is composed out of 'Doxygen-', version stamp,
# timestamp, and commit id (partial SHA). Ignore the date from the VERSION
# file, take the commit date.
ver = getDoxygenVersion()
sha, dstamp, tstamp = gitSHA_date_time()
dist_subdir = 'Doxygen-' + ver + '-' + dstamp + tstamp
dist_dir = os.path.join(target_dir, dist_subdir)
print(dist_dir)
if os.path.isdir(dist_dir):
print("Removing the existing '{}'".format(dist_dir))
shutil.rmtree(dist_dir)
assert not os.path.exists(dist_dir)
print("Creating the new '{}'".format(dist_dir))
os.mkdir(dist_dir)
assert os.path.isdir(dist_dir)
return dist_dir
def copyBinaries(dist_dir, subdir):
'''Copy the Windows binaries (doxygen.exe only) to the dist_dir directory.'''
# Source file should exist.
sdir, fname = getThisScriptPathAndName()
src = os.path.normpath(os.path.join(sdir, '..', 'bin', subdir, 'doxygen.exe'))
assert os.path.isfile(src)
# Destination directory must not exist. It must be created first.
dst_dir = os.path.normpath(os.path.join(dist_dir, 'bin', subdir))
assert not os.path.isdir(dst_dir)
os.makedirs(dst_dir)
# Copy the file.
print("Copying '{}'".format(src))
shutil.copy2(src, dst_dir)
def getBinariesZipBareName():
ver = getDoxygenVersion()
sha, dstamp, tstamp = gitSHA_date_time()
fname = 'doxygenw{}_{}.zip'.format(dstamp, ver.replace('.', '_'))
return fname
def getTranslatorReportZipBareName():
ver = getDoxygenVersion()
sha, dstamp, tstamp = gitSHA_date_time()
fname = 'tr{}_{}.zip'.format(dstamp, ver.replace('.', '_'))
return fname
def zipBinaries(distr_dir):
# Build the zip filename. It is to be located at the same level as distr_dir.
zip_bare_name = getBinariesZipBareName()
dst, distr_subdir = os.path.split(distr_dir)
zip_full_name = os.path.join(dst, zip_bare_name)
if os.path.isfile(zip_full_name):
print("Removing the existing '{}'".format(zip_full_name))
os.remove(zip_full_name)
# Change the working directory to destination directory and zip from
# there using the bare names so that the full path is not zipped inside.
wd = os.getcwd()
os.chdir(dst)
print("Zipping new '{}'".format(zip_full_name))
subprocess.call('zip -r {} {}'.format(zip_bare_name, distr_subdir), shell=True)
os.chdir(wd) # back to the original working directory
def buildAndZipTranslatorReport(distr_dir):
# Build the translator report zip filename. It is to be located at the same
# level as distr_dir.
zip_bare_name = getTranslatorReportZipBareName()
dst, subdir = os.path.split(distr_dir)
zip_full_name = os.path.join(dst, zip_bare_name)
if os.path.isfile(zip_full_name):
print("Removing the existing '{}'".format(zip_full_name))
os.remove(zip_full_name)
print("Zipping new '{}'".format(zip_full_name))
# Change the working directory to the doc one and generate
# the translator report.
sdir, fname = getThisScriptPathAndName()
docdir = os.path.join(sdir, '..', 'doc')
assert os.path.isdir(docdir)
wd = os.getcwd()
os.chdir(docdir)
subprocess.call('python translator.py', shell=True)
# Zip the generated translator_report.txt.
subprocess.call('zip -r {} {}'.format(zip_full_name,
'translator_report.txt'), shell=True)
os.chdir(wd) # back to the original working directory
def xxx():
# Vytvoříme dopis.
subject = 'Windows binaries available for %s in SVN' % doxdir
subject = subject.replace(' ', '%20')
body = textwrap.dedent('''\
Hi,
If interested, you can download the doxygen binaries
compiled for MS Windows from
http://sourceforge.net/projects/doxygen/files/snapshots/doxygen-1.8-svn/windows
This is the place where you should find also the next
releases. Name of the archive file is
%s
The related translator report can be found inside the directory
http://sourceforge.net/projects/doxygen/files/snapshots/doxygen-1.8-svn/translator_reports/
Name of the archive file is
%s
The binaries are NOT created automatically, so it may
happen that some newer SVN sources were not compiled
because I am not present to do that or I forgot... ;)
Regards,
Petr
--
Petr Prikryl (prikryl at atlas dot cz)''') % (doxzipname, trzipname)
body = body.replace('\n', '%0d')
# Zkonstruujeme URI a spustíme mailer pro odeslání dopisu.
to_addr = 'doxygen-users@lists.sourceforge.net'
mailtoURI = 'mailto:%s?subject=%s&body=%s' % (to_addr, subject, body)
os.startfile(mailtoURI)
if __name__ == '__main__':
# Create the empty directory for the distribution files.
dist_dir = getEmptyDistribDir()
# Copy the compiled binaries to the distribution directory and zip them.
copyBinaries(dist_dir, 'Debug')
copyBinaries(dist_dir, 'Debug64')
copyBinaries(dist_dir, 'Release')
copyBinaries(dist_dir, 'Release64')
zipBinaries(dist_dir)
# The translator report...
buildAndZipTranslatorReport(dist_dir)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment