Files
bentopdf/src/js/workflow/errors.ts
T

9 lines
187 B
TypeScript

import { t } from '../i18n/i18n';
export function wfError(
key: string,
params?: Record<string, string | number>
): string {
return t(`tools:pdfWorkflow.errors.${key}`, params);
}