From e029cdff8766ab1095e9e284cfa9c106ec676c41 Mon Sep 17 00:00:00 2001 From: Clark Winkelmann Date: Thu, 24 May 2018 18:50:54 +0200 Subject: [PATCH] Fix history usage (introduces new translation) --- extensions/tags/js/forum/src/components/TagsPage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/tags/js/forum/src/components/TagsPage.js b/extensions/tags/js/forum/src/components/TagsPage.js index 0692548e9..a10ad2487 100644 --- a/extensions/tags/js/forum/src/components/TagsPage.js +++ b/extensions/tags/js/forum/src/components/TagsPage.js @@ -2,7 +2,6 @@ import Page from 'flarum/components/Page'; import IndexPage from 'flarum/components/IndexPage'; import listItems from 'flarum/helpers/listItems'; import humanTime from 'flarum/helpers/humanTime'; -import icon from 'flarum/helpers/icon'; import tagLabel from 'flarum/tags/helpers/tagLabel'; import sortTags from 'flarum/tags/utils/sortTags'; @@ -13,7 +12,7 @@ export default class TagsPage extends Page { this.tags = sortTags(app.store.all('tags').filter(tag => !tag.parent())); - app.history.push('tags', icon('fas fa-th-large')); + app.history.push('tags', app.translator.trans('flarum-tags.forum.header.back_to_tags_tooltip')); } view() {