Skip to content

Commit

Permalink
doc: update the i18n about intro.xxx in Home page
Browse files Browse the repository at this point in the history
  • Loading branch information
wqcstrong committed Oct 11, 2024
1 parent a81ec06 commit baabf5b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
"doesTitle": "Inspect Runtime,<br/>Remote!",
"provides": "What we provide",
"providesTitle": "Out-of-box <1>SDK</1> and<br /> <4>debugger client</4>",
"load-script": "First, load the file",
"init-instance": "Then, configure (optional) and initialize",
"welcome": "Welcome to use PageSpy"
},
"selConn": {
Expand Down
2 changes: 2 additions & 0 deletions src/assets/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
"doesTitle": "ランタイムの検出、<br />リモート操作!",
"provides": "提供するもの",
"providesTitle": "使用準備の整った <1>SDK</1> および<br /> <4>クライアントデバッグ</4>",
"load-script": "まず、ファイルを読み込む",
"init-instance": "次に、設定(任意)して初期化する",
"welcome": "PageSpyへようこそ"
},
"selConn": {
Expand Down
4 changes: 3 additions & 1 deletion src/assets/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@
"does": "PageSpy가 할 수 있는 일",
"doesTitle": "런타임 감지, <br /> 원격 조작!",
"provides": "제공하는 것",
"providesTitle": "사용 준비가 된 <1>SDK</1> 및 <4>클라이언트 디버그</4>",
"providesTitle": "사용 준비가 된 <1>SDK</1><br />및 <4>클라이언트 디버그</4>",
"load-script": "먼저, 파일을 로드합니다",
"init-instance": "그런 다음, 설정(선택 사항)하고 초기화합니다",
"welcome": "PageSpy에 오신 것을 환영합니다."
},
"selConn": {
Expand Down
2 changes: 2 additions & 0 deletions src/assets/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
"doesTitle": "检测运行时,<br />远程操作!",
"provides": "我们提供",
"providesTitle": "开箱即用的 <1>SDK</1> 和<br /> <4>调试的客户端</4>",
"load-script": "首先,引入文件",
"init-instance": "然后,配置(可选的)并初始化",
"welcome": "欢迎使用 PageSpy"
},
"selConn": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,11 @@ const SDKPanel = () => {
const steps = useMemo(() => {
return [
{
title: t('inject.load-script'),
title: t('intro.load-script'),
code: `<script crossorigin="anonymous" src="https://{domain}/page-spy/index.min.js"></script>`,
},
{
title: (
<Trans i18nKey="inject.init-instance">
Then, config (optional) and init
</Trans>
),
title: t('intro.init-instance'),
code: `<script>
new PageSpy();
</script>`,
Expand Down

0 comments on commit baabf5b

Please sign in to comment.