@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
67 lines (66 loc) • 1.71 kB
TypeScript
import { Package } from "../../Package.js";
import { InstructionSet } from "../InstructionSet.js";
import { ILocalizationInstruction } from "./ILocalizationInstruction.js";
/**
* Provides the functionality to expose an {@link ILocalizationInstruction `ILocalizationInstruction`}s translations.
*/
export declare class LocalizationProviderInstruction implements ILocalizationInstruction {
/**
* The instruction containing the localized messages.
*/
private instruction;
/**
* Initializes a new instance of the {@link LocalizationProviderInstruction `LocalizationProviderInstruction`} class.
*
* @param instruction
* The instruction containing the localized messages.
*/
constructor(instruction: ILocalizationInstruction);
/**
* Gets the instruction containing the localized messages.
*/
protected get Instruction(): ILocalizationInstruction;
/**
* @inheritdoc
*/
get Type(): string;
/**
* @inheritdoc
*/
get Collection(): InstructionSet;
/**
* @inheritdoc
*/
get Package(): Package;
/**
* @inheritdoc
*/
get DestinationRoot(): string;
/**
* @inheritdoc
*/
get FileName(): string;
/**
* @inheritdoc
*/
get FullName(): string;
/**
* @inheritdoc
*/
get Standalone(): boolean;
/**
* @inheritdoc
*/
get ObjectsByID(): Record<string, unknown>;
/**
* @inheritdoc
*/
get TranslationDirectory(): string;
/**
* @inheritdoc
*
* @returns
* The messages of the options-instruction.
*/
GetMessages(): Record<string, Record<string, Record<string, string>>>;
}