Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7fc7716

Browse files
committed
add trans for error component
1 parente920c68 commit7fc7716

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎client/packages/lowcoder/src/pages/setting/environments/components/ErrorComponent.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import{Card,Button,Typography}from'antd';
33
import{HomeOutlined}from'@ant-design/icons';
44
importhistoryfrom'@lowcoder-ee/util/history';
5+
import{trans}from'i18n';
56

67
const{ Title, Text}=Typography;
78

@@ -20,7 +21,7 @@ const ErrorComponent: React.FC<ErrorComponentProps> = ({ errorMessage, returnPat
2021
{errorMessage}
2122
</Title>
2223
<Texttype="secondary"style={{display:'block',margin:'16px 0'}}>
23-
The item you're looking for doesn't exist or you don't have permission to view it.
24+
{trans("enterprise.environments.error.itemNotFound")}
2425
</Text>
2526
<Button
2627
type="primary"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp