Skip to content

PoEntry

PoEntry = object

Defined in: packages/format-po/src/po-entry.ts:25

readonly context: string | null

Defined in: packages/format-po/src/po-entry.ts:35

msgctxt, which disambiguates two messages with the same msgid.


readonly extractedComments: readonly string[]

Defined in: packages/format-po/src/po-entry.ts:29

#. comments, extracted from the source by xgettext.


readonly flags: readonly string[]

Defined in: packages/format-po/src/po-entry.ts:32

#, flags — fuzzy, c-format, no-python-brace-format, …


readonly id: string

Defined in: packages/format-po/src/po-entry.ts:36


readonly idPlural: string | null

Defined in: packages/format-po/src/po-entry.ts:38

msgid_plural, present exactly when the entry has plural forms.


readonly obsolete: boolean

Defined in: packages/format-po/src/po-entry.ts:45

Whether the entry was commented out with #~.


readonly previous: PoPrevious | null

Defined in: packages/format-po/src/po-entry.ts:33


readonly references: readonly PoReference[]

Defined in: packages/format-po/src/po-entry.ts:30


readonly strings: readonly string[]

Defined in: packages/format-po/src/po-entry.ts:43

msgstr, or msgstr[0]…msgstr[n] for a plural entry. A single empty string means untranslated, which is not the same as absent.


readonly translatorComments: readonly string[]

Defined in: packages/format-po/src/po-entry.ts:27

# comments, written by hand.