GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: 🐛 修正 i18n 里面的一个参数命名问题 · BeckSun/lowcode-engine@20c6fca

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • modules/code-generator/src/plugins/project
    • i18n.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎modules/code-generator/src/plugins/project/i18n.ts‎

Copy file name to clipboardExpand all lines: modules/code-generator/src/plugins/project/i18n.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const pluginFactory: BuilderComponentPluginFactory<unknown> = () => {
7171
// 优先取直接传过来的语料
7272
const localMsg = t[locale] ?? t[String(locale).replace('-', '_')]
7373
if (localMsg != null) {
74-
return format(localMsg, variables);
74+
return format(localMsg, t.params);
7575
}
7676
7777
// 其次用项目级别的

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.