Catalog class
The PO file catalog representation.
https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html
Constructors
-
Catalog({Entry? header, List<
Entry> entries = const [], required ExtractSettings settings}) - Catalog.fromFile(ExtractSettings settings, File file)
-
factory
- Catalog.fromString(ExtractSettings settings, String catalog)
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reduceDuplicates(
) → void - Join together duplicate entries.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
formatPoDateTime(
DateTime dt) → String -
getDefaultHeaderEntry(
ExtractSettings settings) → Entry -
getHeaderComment(
{String? package, String? copyrightHolder}) → List< String> -
getHeaderMsgstr(
{String? package, String? version, String reportBugsTo = "", String? potCreationDate, String poRevisionDate = "YEAR-MO-DA HO:MI+ZONE", String lastTranslator = "FULL NAME <EMAIL@ADDRESS>", String languageTeam = "LANGUAGE <LL@li.org>", String language = "", String charset = "CHARSET", int? nplurals, String plural = "EXPRESSION"}) → String