/****************************************************************************** * * * * Copyright (C) 1997-2006 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 * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * */ #ifndef TRANSLATOR_ID_H #define TRANSLATOR_ID_H /*! Indonesian translator based on Doxygen 1.4.2. \author Hendy Irawan */ class TranslatorIndonesian : public TranslatorAdapter_1_4_6 { public: // --- Language control methods ------------------- /*! 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 * the identification used in language.cpp. */ virtual QCString idLanguage() { return "indonesian"; } /*! 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 *
"\\usepackage[german]{babel}\n"
     *  
* or *
"\\usepackage{polski}\n"
     *  "\\usepackage[latin2]{inputenc}\n"
     *  "\\usepackage[T1]{fontenc}\n"
     *  
* * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ virtual QCString latexLanguageSupportCommand() { return ""; } /*! return the language charset. This will be used for the HTML output */ virtual QCString idLanguageCharset() { return "iso-8859-1"; } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() { return "Fungsi-fungsi Terkait"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() { return "(Catatan: Fungsi-fungsi tersebut bukan fungsi anggota.)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() { return "Keterangan Lengkap"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Dokumentasi Anggota: Tipe"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Dokumentasi Anggota: Enumerasi"; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Dokumentasi Anggota: Fungsi"; } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Dokumentasi Variabel"; } else { return "Dokumentasi Anggota: Data"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() { return "Selengkapnya..."; } /*! put in the class documentation */ virtual QCString trListOfAllMembers() { return "Daftar semua anggota."; } /*! used as the title of the "list of all members" page of a class */ virtual QCString trMemberList() { return "Daftar anggota"; } /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() { return "Berikut ini daftar lengkap anggota untuk "; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", termasuk semua anggota yang diwariskan."; } /*! 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="Dihasilkan secara otomatis oleh Doxygen"; if (s) result+=(QCString)" untuk "+s; result+=" dari kode sumber."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "nama enumerasi"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "nilai enumerasi"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "didefinisikan di"; } // quick reference sections /*! 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 "Modul"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Struktur Kelas"; } /*! 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"; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Daftar File"; } /*! This is put above each page as a link to the list of all verbatim headers */ virtual QCString trHeaderFiles() { return "File Header"; } /*! 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"; } else { 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 Global"; } else { return "Daftar File"; } } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() { return "Halaman Terkait"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() { return "Contoh"; } /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() { return "Cari"; } /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() { return "Struktur kelas ini diurutkan hampir sepenuhnya diurutkan berdasarkan abjad:"; } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool extractAll) { QCString result="Berikut ini daftar seluruh file dengan penjelasan singkat"; if (!extractAll) result+=" yang didokumentasikan"; result += ":"; return result; } /*! 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 beserta penjelasan singkat:"; } else { return "Berikut ini daftar kelas, struktur, gabungan, dan interface beserta penjelasan singkat:"; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result="Berikut ini daftar seluruh "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="variabel struktur dan gabungan"; } else { result+="kelas"; } if (!extractAll) { result+=" yang didokumentasikan"; } result+=" dengan link ke "; if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="dokumentasi struktur/gabungan untuk tiap variabel:"; } else { result+="dokumentasi kelas untuk tiap anggota:"; } } else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="struktur/gabungan induk:"; } else { result+="kelas induk:"; } } return result; } /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool extractAll) { QCString result="Berikut ini daftar "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="fungsi, variabel, konstanta, enumerasi, dan tipe"; } else { result+="file"; } if (!extractAll) result+=" yang didokumentasikan"; result+=" dengan link ke "; if (extractAll) result+="file induk:"; else result+="dokumentasi:"; return result; } /*! This is an introduction to the page with the list of all header files. */ virtual QCString trHeaderFilesDescription() { return "Berikut ini daftar file header yang melingkupi API (Application Programming Interface) ini:"; } /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Berikut ini daftar semua contoh:"; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() { return "Berikut ini daftar semua halaman dokumentasi yang terkait:"; } /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() { return "Berikut ini daftar semua modul:"; } /*! This sentences is used in the annotated class/file lists if no brief * description is given. */ virtual QCString trNoDescriptionAvailable() { return "Tidak ada keterangan tersedia"; } // 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 * index of all groups. */ virtual QCString trModuleIndex() { return "Indeks Modul"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Indeks Struktur Kelas"; } /*! 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"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ virtual QCString trFileIndex() { return "Indeks File"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() { return "Dokumentasi Modul"; } /*! 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 "Dokumentasi Struktur Data"; } else { return "Dokumentasi Kelas"; } } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ virtual QCString trFileDocumentation() { return "Dokumentasi File"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() { return "Dokumentasi Contoh"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ virtual QCString trPageDocumentation() { return "Dokumentasi Halaman"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Dokumentasi Referensi"; } /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Konstanta"; } /*! 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 * list of typedefs */ virtual QCString trTypedefs() { return "Definisi Tipe"; } /*! 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 * list of (global) functions */ virtual QCString trFunctions() { return "Fungsi"; } /*! 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 * list of (global) variables */ virtual QCString trEnumerationValues() { return "Nilai enumerasi"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Dokumentasi Konstanta"; } /*! 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 * 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 * 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 * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() { return "Dokumentasi Nilai Enumerasi"; } /*! 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 * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Dokumentasi Variabel"; } /*! 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"; } else { return "Kelas"; } } /*! 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)"Dihasilkan pada tanggal "+date; if (projName) result+=(QCString)" untuk "+projName; result+=(QCString)" oleh"; return result; } /*! This is part of the sentence used in the standard footer of each page. */ virtual QCString trWrittenBy() { return "ditulis oleh"; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Diagram struktur kelas untuk "+clName+":"; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Untuk kalangan sendiri."; } /*! this text is generated when the \\reimp command is used. */ virtual QCString trReimplementedForInternalReasons() { return "Di-reimplementasikan karena alasan internal; API tidak berubah."; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Peringatan"; } /*! this text is generated when the \\bug command is used. */ virtual QCString trBugsAndLimitations() { return "Bug dan keterbatasan"; } /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Versi"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() { return "Tanggal"; } /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() { return "Mengembalikan"; } /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() { return "Lihat juga"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() { return "Parameter"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Exception"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Dihasilkan oleh"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Daftar Namespace"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { QCString result="Berikut ini daftar namespace beserta keterangan singkat"; if (!extractAll) result+=" yang didokumentasikan"; result+=":"; return result; } /*! used in the class documentation as a header before the list of all * friends of a class */ virtual QCString trFriends() { return "Friend"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Dokumentasi Friend Dan Fungsi Terkait"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) { QCString result=(QCString)clName; switch(compType) { case ClassDef::Class: result+=" Kelas"; break; case ClassDef::Struct: result+=" Struktur"; break; case ClassDef::Union: result+=" Gabungan"; break; case ClassDef::Interface: result+=" Interface"; break; case ClassDef::Protocol: result+=" Protokol"; break; case ClassDef::Category: result+=" Kategori"; break; case ClassDef::Exception: result+=" Exception"; break; } if (isTemplate) result+=" Template"; result+=" Referensi"; return result; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { QCString result=fileName; result+=" Referensi File"; return result; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { QCString result=namespaceName; result+=" Referensi Namespace"; return result; } virtual QCString trPublicMembers() { return "Fungsi Anggota Publik"; } virtual QCString trPublicSlots() { return "Slot Publik"; } virtual QCString trSignals() { return "Signal"; } virtual QCString trStaticPublicMembers() { return "Fungsi Anggota Publik Statis"; } virtual QCString trProtectedMembers() { return "Fungsi Anggota Diproteksi"; } virtual QCString trProtectedSlots() { return "Slot Diproteksi"; } virtual QCString trStaticProtectedMembers() { return "Fungsi Anggota Diproteksi Statis"; } virtual QCString trPrivateMembers() { return "Fungsi Anggota Privat"; } virtual QCString trPrivateSlots() { return "Slot Privat"; } virtual QCString trStaticPrivateMembers() { return "Fungsi Anggota Privat Statis"; } /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ virtual QCString trWriteList(int numEntries) { QCString result; int i; // the inherits list contain `numEntries' classes for (i=0;i