mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +02:00
Make front-end localizable
This commit is contained in:
@@ -37,7 +37,7 @@ export default class HeaderSecondary extends Component {
|
||||
} else {
|
||||
items.add('signUp',
|
||||
Button.component({
|
||||
children: 'Sign Up',
|
||||
children: app.trans('core.sign_up'),
|
||||
className: 'Button Button--link',
|
||||
onclick: () => app.modal.show(new SignUpModal())
|
||||
})
|
||||
@@ -45,7 +45,7 @@ export default class HeaderSecondary extends Component {
|
||||
|
||||
items.add('logIn',
|
||||
Button.component({
|
||||
children: 'Log In',
|
||||
children: app.trans('core.log_in'),
|
||||
className: 'Button Button--link',
|
||||
onclick: () => app.modal.show(new LogInModal())
|
||||
})
|
||||
|
Reference in New Issue
Block a user