diff --git a/packages/locale/index.ts b/packages/locale/index.ts index 13f0b3026e..a2d61c8bfd 100644 --- a/packages/locale/index.ts +++ b/packages/locale/index.ts @@ -43,7 +43,6 @@ const defaultTranslator = (...args: any[]) => { } export const t = (...args: any[]): string => { - console.warn if (i18nHandler) { const translation = i18nHandler(...args) return translation || defaultTranslator(...args) @@ -57,7 +56,7 @@ export const use = (l: Language): void => { console.warn(`[deprecation]: The previous i18n usage is deprecated please update to the new one to get reactive i18n translations, refer to: - https://element-plus.org/#/en-US/i18n + https://element-plus.org/#/en-US/component/i18n `) }