Skip to content

Commit

Permalink
Improve login button text
Browse files Browse the repository at this point in the history
  • Loading branch information
S33G committed Nov 5, 2024
1 parent 42afe86 commit fdb7e5c
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 @@ -42,7 +42,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: {
resolution: 'Resolution',
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 @@ -92,7 +92,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 fdb7e5c

Please sign in to comment.