Language (rinoh.language)

class rinoh.language.Language(code, name, **localized_strings)

Collects localized strings for a particular language

Parameters:
code : str

short code identifying the language

name : str

native name of the language

paragraph

label for referencing paragraphs

section

label for referencing sections

chapter

label for top-level sections

figure

caption label for figures

table

caption label for tables

listing

caption label for (source code) listings

contents

title for the table of contents section

list_of_figures

title for the list of figures section

list_of_tables

title for the list of tables section

index

title for the index section

attention

title for attention admonitions

caution

title for caution admonitions

danger

title for danger admonitions

error

title for error admonitions

hint

title for hint admonitions

important

title for important admonitions

note

title for note admonitions

tip

title for tip admonitions

warning

title for warning admonitions

seealso

title for see-also admonitions

index_see

title for see label index entries

index_seealso

title for see-also label index entries

languages = {'cs': <weakref at 0x7ff8b1156980; to 'rinoh.language.cls.Language'>, 'de': <weakref at 0x7ff8b13bc1d0; to 'rinoh.language.cls.Language'>, 'en': <weakref at 0x7ff8b12dbec0; to 'rinoh.language.cls.Language'>, 'es': <weakref at 0x7ff8b0f47740; to 'rinoh.language.cls.Language'>, 'fr': <weakref at 0x7ff8b12dbb50; to 'rinoh.language.cls.Language'>, 'hu': <weakref at 0x7ff8b0f47ab0; to 'rinoh.language.cls.Language'>, 'it': <weakref at 0x7ff8b13bc090; to 'rinoh.language.cls.Language'>, 'nl': <weakref at 0x7ff8b13bc130; to 'rinoh.language.cls.Language'>, 'pl': <weakref at 0x7ff8b13bc400; to 'rinoh.language.cls.Language'>}

Dictionary mapping codes to Languages

The following languages are supported:

rinoh.language.CS = Language('cs', 'čeština')

Localized strings for čeština :figure: Obrázek :table: Tabulka :contents: Obsah :list_of_figures: Seznam obrázků :list_of_tables: Seznam tabulek :chapter: Kapitola :index: Rejstřík :attention: Opatrnost! :caution: Pozornost! :danger: !NEBEZPEČÍ! :error: Chyba :hint: Poznámka :important: Důležité :note: Poznámka :tip: Tip :warning: Varování :seealso: Viz také :index_see: viz :index_seealso: viz také

rinoh.language.EN = Language('en', 'English')

Localized strings for English :paragraph: Paragraph :section: Section :chapter: Chapter :figure: Figure :table: Table :listing: Listing :equation: Equation :contents: Table of Contents :list_of_figures: List of Figures :list_of_tables: List of Tables :index: Index :attention: Attention! :caution: Caution! :danger: !DANGER! :error: Error :hint: Hint :important: Important :note: Note :tip: Tip :warning: Warning :seealso: See also :index_see: see :index_seealso: see also

rinoh.language.ES = Language('es', 'español')

Localized strings for español :figure: Figura :table: Tabla :contents: Contenidos :list_of_figures: Índice de figuras :list_of_tables: Índice de tablas :chapter: Capítulo :index: Índice :attention: ¡Atención! :caution: ¡Cuidado! :danger: ¡PELIGRO! :error: Error :hint: Pista :important: Importante :note: Nota :tip: Consejo :warning: Precaución :seealso: Véase también :index_see: véase :index_seealso: véase también

rinoh.language.FR = Language('fr', 'français')

Localized strings for français :figure: Figure :table: Tableau :contents: Table des matières :list_of_figures: Liste des figures :list_of_tables: Liste des tableaux :chapter: Chapitre :index: Index :attention: Attention ! :caution: Prudence ! :danger: ! DANGER ! :error: Erreur :hint: Conseil :important: Important :note: Note :tip: Astuce :warning: Avertissement :seealso: Voir aussi :index_see: voir :index_seealso: voir aussi

rinoh.language.HU = Language('hu', 'magyar')

Localized strings for magyar :contents: Tartalomjegyzék :list_of_figures: Ábrák listája :list_of_tables: Táblázatok listája :chapter: Fejezet :index: Index :attention: Figyelem! :caution: Vigyázat!! :danger: !VESZÉLY! :error: Hiba :hint: Tanács :important: Fontos :note: Megjegyzés :tip: Tipp :warning: Figyelmeztetés :seealso: Lásd még :index_see: lásd :index_seealso: lásd még

rinoh.language.IT = Language('it', 'italiano')

Localized strings for italiano :figure: Figura :table: Tabella :contents: Contenuti :list_of_figures: Elenco delle figure :list_of_tables: Elenco delle tabelle :chapter: Capitolo :index: Indice :attention: Attenzione! :caution: Prudenza! :danger: !PERICOLO! :error: Errore :hint: Consiglio :important: Importante :note: Nota :tip: Suggerimento :warning: Avvertimento :seealso: Vedi anche :index_see: vedi :index_seealso: vedi anche

rinoh.language.NL = Language('nl', 'Nederlands')

Localized strings for Nederlands :paragraph: Paragraaf :section: Sectie :chapter: Hoofdstuk :figure: Figuur :table: Tabel :listing: Lijst :contents: Inhoudsopgave :list_of_figures: Lijst van Figuren :list_of_tables: Lijst van Tabellen :index: Index :attention: Opgelet! :caution: Pas op! :danger: !GEVAAR! :error: Fout :hint: Hint :important: Belangrijk :note: Noot :tip: Tip :warning: Waarschuwing :seealso: Zie ook :index_see: zie :index_seealso: zie ook

rinoh.language.PL = Language('pl', 'polski')

Localized strings for polski :figure: Ilustracja :table: Tabela :contents: Spis treści :list_of_figures: Spis ilustracji :list_of_tables: Spis tabel :chapter: Rozdział :index: Skorowidz :attention: Uwaga! :caution: Ostrożnie! :danger: !NIEBEZPIECZEŃSTWO! :error: Błąd :hint: Wskazówka :important: Ważne :note: Notatka :tip: Porada :warning: Ostrzeżenie :seealso: Zobacz również :index_see: zobacz :index_seealso: zobacz również