UX: i18n text for topic list column headers

This commit is contained in:
Justin DiRose 2019-11-18 11:10:05 -06:00
parent 1dd582e1b1
commit 043e6447b0
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<table class="topic-list"> <table class="topic-list">
<thead> <thead>
<th {{action "sortListTitle"}}> <th {{action "sortListTitle"}}>
Topic {{i18n 'knowledge_explorer.column_titles.topic'}}
{{#if sortTitle}} {{#if sortTitle}}
{{#if ascending}} {{#if ascending}}
{{d-icon 'angle-up'}} {{d-icon 'angle-up'}}
@ -12,7 +12,7 @@
{{/if}} {{/if}}
</th> </th>
<th {{action "sortListActivity"}}> <th {{action "sortListActivity"}}>
Activity {{i18n 'knowledge_explorer.column_titles.activity'}}
{{#if sortActivity}} {{#if sortActivity}}
{{#if ascending}} {{#if ascending}}
{{d-icon 'angle-up'}} {{d-icon 'angle-up'}}

View File

@ -2,6 +2,9 @@ en:
js: js:
knowledge_explorer: knowledge_explorer:
title: "Knowledge Explorer" title: "Knowledge Explorer"
column_titles:
topic: "Topic"
activity: "Activity"
no_topics: "No topics in Knowledge Explorer." no_topics: "No topics in Knowledge Explorer."
categories: "Categories" categories: "Categories"
tags: "Tags" tags: "Tags"