From 4b6aadfe625746a1c979c5c1530c1c73af8fa9f8 Mon Sep 17 00:00:00 2001 From: Gustaf-C <106698658+Gustaf-C@users.noreply.github.com> Date: Fri, 20 Oct 2023 10:46:09 +0800 Subject: [PATCH] Tweak browser column labels to card type, note type (#2751) * Tweak browser column labels to card type, note type * Apply suggestions from code review --- CONTRIBUTORS | 1 + rslib/src/browser_table.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 84e339462..2d2f53365 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -146,6 +146,7 @@ Dominique Martinet Virinci chandraiyengar user1823 <92206575+user1823@users.noreply.github.com> +Gustaf Carefall ******************** diff --git a/rslib/src/browser_table.rs b/rslib/src/browser_table.rs index fac69220c..cc5370fa4 100644 --- a/rslib/src/browser_table.rs +++ b/rslib/src/browser_table.rs @@ -152,7 +152,7 @@ impl Column { match self { Self::Answer => tr.browsing_answer(), Self::CardMod => tr.search_card_modified(), - Self::Cards => tr.browsing_card(), + Self::Cards => tr.card_stats_card_template(), Self::Deck => tr.decks_deck(), Self::Due => tr.statistics_due_date(), Self::Custom => tr.browsing_addon(), @@ -161,7 +161,7 @@ impl Column { Self::Lapses => tr.scheduling_lapses(), Self::NoteCreation => tr.browsing_created(), Self::NoteMod => tr.search_note_modified(), - Self::Notetype => tr.browsing_note(), + Self::Notetype => tr.notetypes_notetype(), Self::Question => tr.browsing_question(), Self::Reps => tr.scheduling_reviews(), Self::SortField => tr.browsing_sort_field(),