/****************************************************************************** * * * * Copyright (C) 1997-2012 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 /* * Translasi berikut didasarkan pada versi translator_en.h dalam * Doxygen 1.7.5.1. * * Penterjemah: Adhi Hargo */ class TranslatorIndonesian : public TranslatorAdapter_1_8_0 { 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 "\\usepackage[bahasa]{babel}"; } /*! 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 "(Perhatikan bahwa 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="Dibangkitkan 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 "Hierarki 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 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 Definisi Global"; } else { return "Daftar Anggota 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 "Hierarki kelas ini diurutkan kurang-lebih" " berdasarkan abjad:"; } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool extractAll) { QCString result="Berikut ini daftar seluruh file"; if (!extractAll) result+=" yang didokumentasikan"; result += ", dengan penjelasan singkat:"; 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, dengan penjelasan singkat:"; } else { return "Berikut ini daftar kelas, struct, union, dan interface, dengan 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 anggota struct dan union"; } else { result+="kelas"; } if (!extractAll) { result+=" yang didokumentasikan"; } result+=", dengan tautan ke "; if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="dokumentasi struct/union untuk setiap variabel:"; } else { result+="dokumentasi kelas untuk setiap anggota:"; } } else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="struct/union yang memuatnya:"; } else { result+="kelas yang memuatnya:"; } } 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, makro definisi, enumerasi, dan tipe"; } else { result+="file"; } if (!extractAll) result+=" yang didokumentasikan"; result+=", dengan tautan ke "; if (extractAll) result+="file yang memuatnya:"; else result+="dokumentasinya:"; return result; } /*! 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:"; } // 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 Hierarki 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 "Dokumen Referensi"; } /*! 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 * 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 Makro Definisi"; } /*! 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 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)"Dibangkitkan 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 hierarki kelas untuk "+clName+":"; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Hanya untuk digunakan secara internal."; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Peringatan"; } /*! 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 "Eksepsi"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Dibangkitkan 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"; if (!extractAll) result+=" yang didokumentasikan"; result+=", dengan keterangan singkat:"; 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="Referensi"; switch(compType) { case ClassDef::Class: result+=" Kelas "; break; case ClassDef::Struct: result+=" Struct "; break; case ClassDef::Union: result+=" Union "; break; case ClassDef::Interface: result+=" Interface "; break; case ClassDef::Protocol: result+=" Protokol "; break; case ClassDef::Category: result+=" Kategori "; break; case ClassDef::Exception: result+=" Eksepsi "; break; } if (isTemplate) result+=" Template "; result+=(QCString)clName; return result; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { QCString result="Referensi File "; result+=fileName; return result; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { QCString result="Referensi Namespace "; result+=namespaceName; 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