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