mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +08:00
Make Tags item translateable
This commit is contained in:
parent
21338c3d75
commit
7b24c82f6f
|
@ -13,7 +13,7 @@ export default function() {
|
|||
extend(IndexPage.prototype, 'navItems', function(items) {
|
||||
items.add('tags', LinkButton.component({
|
||||
icon: 'th-large',
|
||||
children: 'Tags',
|
||||
children: app.trans('tags.tags'),
|
||||
href: app.route('tags')
|
||||
}), -10);
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
tags:
|
||||
tags: Tags2
|
||||
discussion_tagged_post:
|
||||
one: "{username} {action} tag."
|
||||
other: "{username} {action} tags."
|
||||
|
|
|
@ -29,6 +29,7 @@ class AddClientAssets
|
|||
$event->forumBootstrapper('tags/main');
|
||||
|
||||
$event->forumTranslations([
|
||||
'tags.tags',
|
||||
'tags.discussion_tagged_post',
|
||||
'tags.added_tags',
|
||||
'tags.removed_tags',
|
||||
|
|
Loading…
Reference in New Issue
Block a user