Strings (rinoh.strings
)¶
- class rinoh.strings.String(description)¶
Descriptor used to describe a configurable string
- Parameters
description (str) – a short description for this string
- class rinoh.strings.StringCollection(**strings)¶
A collection of related configurable strings
- Subclasses
- class rinoh.strings.UserStrings(**strings)¶
Collection of user-specified strings
Unlike other string collections, these are not limited to a predefined set.
Attributes:
- class rinoh.strings.Strings(*string_collections)¶
Stores several
StringCollection
s
- class rinoh.strings.StringField(strings_class, key, style=None, parent=None, source=None)¶
Styled text that will be substituted with a configured string
The displayed string is either the localized string as determined by the language set for the document or the user-supplied string passed to the
TemplateConfiguration
.