diff --git a/apps/meteor/app/utils/lib/i18n.ts b/apps/meteor/app/utils/lib/i18n.ts index d70361d8e02..309585ee284 100644 --- a/apps/meteor/app/utils/lib/i18n.ts +++ b/apps/meteor/app/utils/lib/i18n.ts @@ -9,9 +9,10 @@ export const addSprinfToI18n = function (t: (typeof i18n)['t']): typeof t & { (key: string, ...replaces: any): string; } { return function (key: string, ...replaces: any): string { - if (isObject(replaces[0])) { + if (replaces[0] === undefined || isObject(replaces[0])) { return t(key, ...replaces); } + return t(key, { postProcess: 'sprintf', sprintf: replaces,