Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CatalogEntries

The set of translations found in a Catalog.

This interface is used internally. You will only need it if you want to write your own message retrieval method or want to inspect a loaded Catalog.

The translations are looked up by their singular form in the original language. The value is an array of strings. The first item is the singular translation, the optional following items are the plural forms.

If a translation has a message context, the key is the context joined with the translation by a '\u0004' character. For example, the key for the msgid "Open" with the msgctxt "Menu|File" would be Menu|File\u0004Open.

Hierarchy

  • CatalogEntries

Indexable

[key: string]: Array<string>

The set of translations found in a Catalog.

This interface is used internally. You will only need it if you want to write your own message retrieval method or want to inspect a loaded Catalog.

The translations are looked up by their singular form in the original language. The value is an array of strings. The first item is the singular translation, the optional following items are the plural forms.

If a translation has a message context, the key is the context joined with the translation by a '\u0004' character. For example, the key for the msgid "Open" with the msgctxt "Menu|File" would be Menu|File\u0004Open.

Generated using TypeDoc