From 92928c5838d6463d297762b75f793a716d9e1bc4 Mon Sep 17 00:00:00 2001 From: Petr Prikryl Date: Thu, 20 Jun 2013 10:08:34 +0200 Subject: Slovene converted to UTF-8. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There was an encoding bug introduced in the past. The characters 'š', 'č', and 'ž' were substitued in editor instead of the funny nochars. --- doc/language.doc | 4 +- src/translator_si.h | 299 ++++++++++++++++++++++++++-------------------------- 2 files changed, 149 insertions(+), 154 deletions(-) diff --git a/doc/language.doc b/doc/language.doc index 4cab6ac..570bf4c 100644 --- a/doc/language.doc +++ b/doc/language.doc @@ -91,7 +91,7 @@ when the translator was updated. Chinese Traditional Daniel YC Lin
Gary Lee dlin dot tw at gmail dot com
garywlee at gmail dot com - 1.8.0 + up-to-date Croatian @@ -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 \\ diff --git a/src/translator_si.h b/src/translator_si.h index 7295e44..8568b1e 100644 --- a/src/translator_si.h +++ b/src/translator_si.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * 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