mirror of https://gitee.com/answerdev/answer.git
fix: footer add i18n
This commit is contained in:
parent
efa4b3ab69
commit
3e292d9b34
|
@ -1,16 +1,19 @@
|
|||
import React from 'react';
|
||||
import { Container } from 'react-bootstrap';
|
||||
import { Trans } from 'react-i18next';
|
||||
|
||||
const Index = () => {
|
||||
return (
|
||||
<footer className="bg-light py-3">
|
||||
<Container>
|
||||
<p className="text-center mb-0 fs-14 text-secondary">
|
||||
Built on
|
||||
<a href="/"> Answer </a>
|
||||
- the open source source software that power knowledge communities.
|
||||
<br />
|
||||
Made with love. © 2022 Answer .
|
||||
<Trans i18nKey="footer.build_on">
|
||||
Built on
|
||||
<a href="/"> Answer </a>
|
||||
- the open source source software that power knowledge communities.
|
||||
<br />
|
||||
Made with love. © 2022 Answer .
|
||||
</Trans>
|
||||
</p>
|
||||
</Container>
|
||||
</footer>
|
||||
|
|
|
@ -397,6 +397,9 @@
|
|||
"placeholder": "Search"
|
||||
}
|
||||
},
|
||||
"footer": {
|
||||
"build_on": "Build on <1> Answer </1>- the open source source software that power knowledge communities.<br />Made with love. © 2022 Answer."
|
||||
},
|
||||
"upload_img": {
|
||||
"name": "Change",
|
||||
"loading": "loading..."
|
||||
|
@ -842,4 +845,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,5 +55,8 @@
|
|||
"different": "两次输入密码不一致"
|
||||
}
|
||||
}
|
||||
},
|
||||
"footer": {
|
||||
"build_on": "由 <1> Answer </1>构建- 为知识社区提供动力的开源软件.<br />Made with love. © 2022 Answer ."
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue