1
0
mirror of https://github.com/flarum/core.git synced 2025-10-13 07:54:25 +02:00

Make front-end localizable

This commit is contained in:
Toby Zerner
2015-07-17 17:43:28 +09:30
parent 7e75eb16ff
commit f93ff7cb3f
49 changed files with 438 additions and 148 deletions

View File

@@ -62,7 +62,7 @@ export default class AvatarEditor extends Component {
items.add('upload',
Button.component({
icon: 'upload',
children: 'Upload',
children: app.trans('core.upload'),
onclick: this.upload.bind(this)
})
);
@@ -70,7 +70,7 @@ export default class AvatarEditor extends Component {
items.add('remove',
Button.component({
icon: 'times',
children: 'Remove',
children: app.trans('core.remove'),
onclick: this.remove.bind(this)
})
);