mirror of
https://github.com/flarum/core.git
synced 2025-08-07 08:56:38 +02:00
Make Tags item translateable
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user