//#region src/i18n/format.ts
/** Replace `{{key}}` placeholders (server i18n; keep keys ASCII). */
function formatI18n(template, vars) {
	let out = template;
	for (const [k, v] of Object.entries(vars)) out = out.split(`{{${k}}}`).join(String(v));
	return out;
}
//#endregion
export { formatI18n };

//# sourceMappingURL=format.js.map