@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
28 lines (27 loc) • 821 B
TypeScript
import { INode } from "../NodeSystem/INode.js";
import { NodeItem } from "../NodeSystem/NodeItem.js";
import { ILocalizationItemOptions } from "./ILocalizationItemOptions.js";
import { Localization } from "./Localization.js";
/**
* Represents a node which contains translations.
*/
export declare class LocalizationItem extends NodeItem {
/**
* The translations of the node.
*/
private translations;
/**
* Initializes a new instance of the {@link LocalizationItem `LocalizationItem`} class.
*
* @param node
* The node of the item.
*
* @param options
* The options for generating the object.
*/
constructor(node: INode, options: ILocalizationItemOptions);
/**
* Gets the translations of the node.
*/
get Translations(): Localization;
}