Name Description Size
__init__.py 481
add_entries.py Modifies `target` by adding entries from `source` that are not already present in `target`. Standalone comments are not added. If `use_source_entries` is set, entries from `source` override those in `target` when they differ, as well as updating section comments and metadata from `source`. Entries are not copied, so further changes will be reflected in both resources. Returns a count of added or changed entries and sections. 4153
android
data.py The metadata value type. 6138
dtd
fluent
format.py Identifier for a supported resource format. 4197
inc
ini
l10n_equal.py Compares the localization-relevant content (id, comment, metadata, message values) of two resources. Sections with no message entries are ignored, and the order of sections, entries, and metadata is ignored. 2537
parse_resource.py Parse a Resource from its string representation. The first argument may be an explicit Format, the file path as a string, or None. For the latter two types, an attempt is made to detect the appropriate format. If the first argument is a string path, the `source` argument is optional, as the file will be opened and read. 3048
plain_json
po
properties
serialize_resource.py Serialize a Resource as its string representation. If `format` is set, it overrides the `resource.format` value. With `trim_comments`, all standalone and attached comments are left out of the serialization. 3215
webext
xliff