Skip to content

Commit

Permalink
fix: update locales
Browse files Browse the repository at this point in the history
  • Loading branch information
wwsun committed Aug 29, 2024
1 parent 5e29ad1 commit 12c2b8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions i18n/zh-Hans/code.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"homepage.layout.title": {
"message": "源码驱动的低代码引擎"
"homepage.hero.title": {
"message": "一个源码驱动的低代码引擎"
},
"homepage.layout.subtitle": {
"homepage.hero.subtitle": {
"message": "基于代码库开发低代码应用"
},
"homepage.hero.button.document": {
Expand Down
6 changes: 3 additions & 3 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function HomepageHeader() {
<h1 className="hero__title">
{translate({
id: 'homepage.hero.title',
message: 'Code Driven LowCode Builder',
message: 'A Code Driven LowCode Builder Framework',
})}
</h1>
<p className="hero__subtitle">
Expand Down Expand Up @@ -55,11 +55,11 @@ export default function Home(): JSX.Element {
return (
<Layout
title={translate({
id: 'homepage.layout.title',
id: 'homepage.hero.title',
message: 'Code Driven LowCode Builder',
})}
description={translate({
id: 'homepage.layout.subtitle',
id: 'homepage.hero.subtitle',
message: 'Description will go into a meta tag in <head /> ',
})}>
<HomepageHeader />
Expand Down

0 comments on commit 12c2b8d

Please sign in to comment.