Commit 30b01891 authored by Petr Prikryl's avatar Petr Prikryl

Afrikaans translator converted to UTF-8.

The ë replaced by the character.
parent 0651fff2
...@@ -381,7 +381,7 @@ bool setTranslator(const char *langName) ...@@ -381,7 +381,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_ZA #ifdef LANG_ZA
else if (L_EQUAL("afrikaans")) else if (L_EQUAL("afrikaans"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorAfrikaans); theTranslator=new TranslatorAfrikaans;
} }
#endif #endif
#ifdef LANG_AR #ifdef LANG_AR
......
...@@ -65,7 +65,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -65,7 +65,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! return the language charset. This will be used for the HTML output */ /*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
return "iso-8859-1"; return "utf-8";
} }
// --- Language translation methods ------------------- // --- Language translation methods -------------------
...@@ -147,7 +147,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -147,7 +147,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! put after an undocumented member in the list of all members */ /*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn() virtual QCString trDefinedIn()
{ return "gedefinieër in"; } { return "gedefinieër in"; }
// quick reference sections // quick reference sections
...@@ -176,7 +176,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -176,7 +176,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! This is put above each page as a link to the list of documented files */ /*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList() virtual QCString trFileList()
{ return "Leër Lys"; } { return "Leër Lys"; }
/*! This is put above each page as a link to all members of compounds. */ /*! This is put above each page as a link to all members of compounds. */
virtual QCString trCompoundMembers() virtual QCString trCompoundMembers()
...@@ -200,7 +200,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -200,7 +200,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
} }
else else
{ {
return "Leër Lede"; return "Leër Lede";
} }
} }
...@@ -227,7 +227,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -227,7 +227,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{ {
QCString result="Hier is 'n lys van alle "; QCString result="Hier is 'n lys van alle ";
if (!extractAll) result+="gedokumenteerde "; if (!extractAll) result+="gedokumenteerde ";
result+="leërs met kort beskrywings:"; result+="leërs met kort beskrywings:";
return result; return result;
} }
...@@ -300,11 +300,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -300,11 +300,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
} }
else else
{ {
result+="leër lede"; result+="leër lede";
} }
result+=" met skakels na "; result+=" met skakels na ";
if (extractAll) if (extractAll)
result+="die leërs waaraan hulle behoort:"; result+="die leërs waaraan hulle behoort:";
else else
result+="die dokumentasie:"; result+="die dokumentasie:";
return result; return result;
...@@ -357,7 +357,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -357,7 +357,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* list of all files. * list of all files.
*/ */
virtual QCString trFileIndex() virtual QCString trFileIndex()
{ return "Leër Indeks"; } { return "Leër Indeks"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups. * the documentation of all groups.
...@@ -384,7 +384,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -384,7 +384,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* the documentation of all files. * the documentation of all files.
*/ */
virtual QCString trFileDocumentation() virtual QCString trFileDocumentation()
{ return "Leër Dokumentasie"; } { return "Leër Dokumentasie"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples. * the documentation of all examples.
...@@ -617,7 +617,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -617,7 +617,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trFileReference(const char *fileName) virtual QCString trFileReference(const char *fileName)
{ {
QCString result=fileName; QCString result=fileName;
result+=" Leër Verwysing"; result+=" Leër Verwysing";
return result; return result;
} }
...@@ -768,7 +768,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -768,7 +768,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
case ClassDef::Exception: result+="eksepsie"; break; case ClassDef::Exception: result+="eksepsie"; break;
default: break; default: break;
} }
result+=" is gegenereer vanaf die volgende leër"; result+=" is gegenereer vanaf die volgende leër";
if (single) result+=":"; else result+="s:"; if (single) result+=":"; else result+="s:";
return result; return result;
} }
...@@ -804,11 +804,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -804,11 +804,11 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
virtual QCString trDefinedAtLineInSourceFile() virtual QCString trDefinedAtLineInSourceFile()
{ {
return "Gedefinieër by lyn @0 van leër @1."; return "Gedefinieër by lyn @0 van leër @1.";
} }
virtual QCString trDefinedInSourceFile() virtual QCString trDefinedInSourceFile()
{ {
return "Definisie in leër @0."; return "Definisie in leër @0.";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -842,12 +842,12 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -842,12 +842,12 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
/*! Used in the file documentation to point to the corresponding sources. */ /*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode() virtual QCString trGotoSourceCode()
{ {
return "Skakel na die bron kode van hierdie leër."; return "Skakel na die bron kode van hierdie leër.";
} }
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation() virtual QCString trGotoDocumentation()
{ {
return "Skakel na die dokumentasie van hierdie leër."; return "Skakel na die dokumentasie van hierdie leër.";
} }
/*! Text for the \\pre command */ /*! Text for the \\pre command */
virtual QCString trPrecondition() virtual QCString trPrecondition()
...@@ -976,8 +976,8 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -976,8 +976,8 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
} }
virtual QCString trInclByDepGraph() virtual QCString trInclByDepGraph()
{ {
return "Hierdie diagram verduidelik watter leërs direk of" return "Hierdie diagram verduidelik watter leërs direk of"
"indirek hierdie leër insluit:"; "indirek hierdie leër insluit:";
} }
virtual QCString trSince() virtual QCString trSince()
{ {
...@@ -1030,7 +1030,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1030,7 +1030,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"As die \\c MAX_DOT_GRAPH_HEIGHT merker in die konfigurasie leër " "As die \\c MAX_DOT_GRAPH_HEIGHT merker in die konfigurasie leër "
"aan 240 gelyk gestel is, word die volgende diagram geproduseer:" "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><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
...@@ -1227,7 +1227,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1227,7 +1227,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trFile(bool first_capital, bool singular) 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"; if (!singular) result+="s";
return result; return result;
} }
...@@ -1487,7 +1487,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1487,7 +1487,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
*/ */
virtual QCString trSourceFile(QCString& filename) 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 ...@@ -1498,7 +1498,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* hierarchy. * hierarchy.
*/ */
virtual QCString trDirIndex() virtual QCString trDirIndex()
{ return "Directory Hi&euml;rargie"; } { return "Directory Hiërargie"; }
/*! This is used as the name of the chapter containing the documentation /*! This is used as the name of the chapter containing the documentation
* of the directories. * of the directories.
...@@ -1516,7 +1516,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0 ...@@ -1516,7 +1516,7 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
* and the fact that it is sorted alphabetically per level * and the fact that it is sorted alphabetically per level
*/ */
virtual QCString trDirDescription() 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:"; "gesorteer:";
} }
......
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