You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param locale - A locale, optional, override locale that global scope or local scope
866
866
*
867
-
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the Key is not translatable.
867
+
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is translatable.
* @param locale - A locale, optional, override locale that global scope or local scope
871
871
*
872
-
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the Key is not translatable.
872
+
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is translatable.
* @param locale - A locale, it will be used over than global scope or local scope
1385
1404
*
1386
-
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the Key is not translatable.
1405
+
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is translatable.
1387
1406
*/
1388
1407
te<
1389
1408
Strextendsstring,
@@ -1860,6 +1879,17 @@ export function createComposer(options: any = {}, VueI18nLegacy?: any): any {
[I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE]: `Component name legacy compatible: '{name}' -> 'i18n'`,
28
29
[I18nWarnCodes.NOT_FOUND_PARENT_SCOPE]: `Not found parent scope. use the global scope.`,
29
30
[I18nWarnCodes.IGNORE_OBJ_FLATTEN]: `Ignore object flatten: '{key}' key has an string value`,
30
-
[I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION]: `'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze`
31
+
[I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION]: `'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze`,
32
+
[I18nWarnCodes.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]: `'translateExistCompatible' option will be dropped in the next major version.`
* @param locale - A locale, optional, override locale that global scope or local scope
871
871
*
872
-
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the Key is not translatable.
872
+
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is translatable.
0 commit comments