poe-i18n
Version:
i18n utility for Path of Exile
14 lines (13 loc) • 506 B
TypeScript
import { Description, Translation } from '../types/StatDescription';
export declare type Stat = {
id: string;
value: number | [number, number];
alias?: string;
};
export declare const NO_DESCRIPTION = "NO_DESCRIPTION";
export default function translate(description: Description, provided: Map<string, Stat>,
/**
* @param t
* @param count {number} number of params
*/
getFormatters?: (t: Translation, count: number) => Translation['formatters'], range_message?: string): string | undefined;