Made sort cards feature translatable.

This commit is contained in:
Lauri Ojansivu 2021-02-24 16:45:16 +02:00
parent 70e7534933
commit 09a13ef75f
4 changed files with 37 additions and 32 deletions

View file

@ -31,9 +31,9 @@ template(name="boardHeaderBar")
if $eq watchLevel "muted"
i.fa.fa-bell-slash
span {{_ watchLevel}}
a.board-header-btn.js-sort-cards(title="Sort Cards")
a.board-header-btn.js-sort-cards(title="{{_ 'sort-cards'}}")
i.fa.fa-sort
| Sort By {{sortCardsBy.get}}
| {{_ 'sort-cards'}} {{sortCardsBy.get}}
else
a.board-header-btn.js-log-in(
@ -255,14 +255,14 @@ template(name="boardCreateRulePopup")
template(name="cardsSortPopup")
ul.pop-over-list
li
a.js-sort-due Due Date
a.js-sort-due {{_ 'due-date'}}
hr
li
a.js-sort-title Title(Alphabetically)
a.js-sort-title {{_ 'title-alphabetically'}}
hr
li
a.js-sort-created-desc Created At(Newest First)
a.js-sort-created-desc {{_ 'created-at-newest-first'}}
hr
li
a.js-sort-created-asc Created At(Oldest First)
a.js-sort-created-asc {{_ 'created-at-oldest-first'}}