7 lines
176 B
TypeScript
7 lines
176 B
TypeScript
import { Dictionary } from "farmbot";
|
|
import I from "i18next";
|
|
|
|
export function t(str: string, map: Dictionary<string | number> = {}): string {
|
|
return I.t(str, map) || "";
|
|
}
|