Tweak browser column labels to card type, note type (#2751)

* Tweak browser column labels to card type, note type

* Apply suggestions from code review
This commit is contained in:
Gustaf-C 2023-10-20 10:46:09 +08:00 committed by GitHub
parent 1b8f5496f9
commit 4b6aadfe62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -146,6 +146,7 @@ Dominique Martinet <asmadeus@codewreck.org>
Virinci Virinci
chandraiyengar <github.com/chandraiyengar> chandraiyengar <github.com/chandraiyengar>
user1823 <92206575+user1823@users.noreply.github.com> user1823 <92206575+user1823@users.noreply.github.com>
Gustaf Carefall <https://github.com/Gustaf-C>
******************** ********************

View file

@ -152,7 +152,7 @@ impl Column {
match self { match self {
Self::Answer => tr.browsing_answer(), Self::Answer => tr.browsing_answer(),
Self::CardMod => tr.search_card_modified(), Self::CardMod => tr.search_card_modified(),
Self::Cards => tr.browsing_card(), Self::Cards => tr.card_stats_card_template(),
Self::Deck => tr.decks_deck(), Self::Deck => tr.decks_deck(),
Self::Due => tr.statistics_due_date(), Self::Due => tr.statistics_due_date(),
Self::Custom => tr.browsing_addon(), Self::Custom => tr.browsing_addon(),
@ -161,7 +161,7 @@ impl Column {
Self::Lapses => tr.scheduling_lapses(), Self::Lapses => tr.scheduling_lapses(),
Self::NoteCreation => tr.browsing_created(), Self::NoteCreation => tr.browsing_created(),
Self::NoteMod => tr.search_note_modified(), Self::NoteMod => tr.search_note_modified(),
Self::Notetype => tr.browsing_note(), Self::Notetype => tr.notetypes_notetype(),
Self::Question => tr.browsing_question(), Self::Question => tr.browsing_question(),
Self::Reps => tr.scheduling_reviews(), Self::Reps => tr.scheduling_reviews(),
Self::SortField => tr.browsing_sort_field(), Self::SortField => tr.browsing_sort_field(),