test: 💍 更新 i18n 相关测试用例的快照

This commit is contained in:
Clarence-pan 2022-04-11 00:29:52 +08:00
parent 1e9e388ce9
commit c228907fe4
25 changed files with 25 additions and 25 deletions

View File

@ -42,7 +42,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -42,7 +42,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -42,7 +42,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -42,7 +42,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -49,7 +49,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -49,7 +49,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -49,7 +49,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -49,7 +49,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -49,7 +49,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -49,7 +49,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -42,7 +42,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -49,7 +49,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -42,7 +42,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -60,7 +60,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -60,7 +60,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的

View File

@ -51,7 +51,7 @@ const _inject2 = (target) => {
// 优先取直接传过来的语料
const localMsg = t[locale] ?? t[String(locale).replace("-", "_")];
if (localMsg != null) {
return format(localMsg, variables);
return format(localMsg, t.params);
}
// 其次用项目级别的