Files
klz-cables.com/.pnpm-store/v10/files/6b/a83cc5fdf7b89adaa7fe976e4b693f1746ae102c67752ed5a45f09ce2c610e10132ada8fd653a8b753928f49c4d03e0267c3876d9c1c45a03391ef54037dae
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

41 lines
1.1 KiB
Plaintext

type Entry = {
msgctxt?: string;
msgid: string;
msgstr: string;
references?: Array<{
path: string;
line?: number;
}>;
extractedComments?: Array<string>;
flags?: Array<string>;
};
type Catalog = {
meta?: Record<string, string>;
messages?: Array<Entry>;
};
declare class POParser {
private static readonly KEYWORDS;
private static readonly COMMENTS;
private static readonly QUOTE;
private static readonly NEWLINE;
private static readonly FILE_COLUMN_SEPARATOR;
private static readonly META_SEPARATOR;
private static readonly FLAG_SEPARATOR;
private static readonly ESCAPE_LOOKUP;
private static readonly UNESCAPE_LOOKUP;
static parse(content: string): Catalog;
private static isMetaEntry;
static serialize(catalog: Catalog): string;
private static lineStartsWithPrefix;
private static throwWithLine;
private static splitLines;
private static ensureEntry;
private static finishEntry;
private static extractQuotedString;
private static escape;
private static unescape;
}
export { POParser as default };
export type { Entry };