mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 03:01:16 +00:00
test: 💍 更新 i18n 相关测试用例的快照
This commit is contained in:
parent
20c6fca03e
commit
2ccd1804cb
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
// 其次用项目级别的
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user