Skip to content

Commit

Permalink
Merge pull request #133 from S33G/improve-login-button-text
Browse files Browse the repository at this point in the history
Improve login button text
  • Loading branch information
wj-xiao authored Nov 15, 2024
2 parents 74a303b + fdb7e5c commit 97b9929
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion web/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ const en = {
reset3: '2. Delete the file in the device: ',
reset4: '3. Use the default account to login: ',
ok: 'Ok',
cancel: 'Cancel'
cancel: 'Cancel',
loginButtonText: 'Login',
},
screen: {
video: 'Video Mode',
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/auth/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const Login = () => {

<Form.Item>
<Button type="primary" htmlType="submit" className="w-full">
{t('auth.ok')}
{t('auth.loginButtonText')}
</Button>
</Form.Item>

Expand Down

0 comments on commit 97b9929

Please sign in to comment.