UNPKG

@criticalmanufacturing/dev-i18n-transform

Version:
20 lines (19 loc) 606 B
import { Writer, FileOutputInformation } from "./writer.interface"; import { Package } from "../model/package"; export declare class PoWriter implements Writer { private _package; private _language; private _fileHeader; constructor(pack: Package, language: string); private writeMessage; /** * Writes a modal file into a Buffer in the PO format * @param file File to analyse and generate the PO */ private writeFile; /** * Run the writer * @returns Buffer containing the file content */ run(): FileOutputInformation[]; }