diff --git a/ftl/copy-core-string.sh b/ftl/copy-core-string.sh new file mode 100755 index 000000000..463a710cf --- /dev/null +++ b/ftl/copy-core-string.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# - sync ftl +# - ./copy-core-string.sh scheduling-review browsing-sidebar-card-state-review +# - confirm changes in core-repo/ correct +# - commit and push changes, then update submodule in main repo +./ftl string copy ftl/core-repo/core ftl/core-repo/core $1 $2 diff --git a/ftl/core-repo b/ftl/core-repo index 4335024ea..853c5459b 160000 --- a/ftl/core-repo +++ b/ftl/core-repo @@ -1 +1 @@ -Subproject commit 4335024ea5ae3a7341a3b33781fddb4df57263b4 +Subproject commit 853c5459bbec60dcac6b59863409ddd7cfd53c3c diff --git a/ftl/core/browsing.ftl b/ftl/core/browsing.ftl index 1aac56835..cba5480c0 100644 --- a/ftl/core/browsing.ftl +++ b/ftl/core/browsing.ftl @@ -164,10 +164,10 @@ browsing-reparented-decks = *[other] Renamed { $count } decks. } - ## NO NEED TO TRANSLATE. This text is no longer used by Anki, and will be removed in the future. # Exactly one character representing 'Cards'; should differ from browsing-note-initial. browsing-card-initial = C # Exactly one character representing 'Notes'; should differ from browsing-card-initial. browsing-note-initial = N +browsing-sidebar-card-state-review = Review diff --git a/qt/aqt/browser/sidebar/tree.py b/qt/aqt/browser/sidebar/tree.py index 8d4904b3e..d7dcefc2a 100644 --- a/qt/aqt/browser/sidebar/tree.py +++ b/qt/aqt/browser/sidebar/tree.py @@ -670,7 +670,7 @@ class SidebarTreeView(QTreeView): search_node=SearchNode(card_state=SearchNode.CARD_STATE_LEARN), ) root.add_simple( - name=tr.scheduling_review(), + name=tr.browsing_sidebar_card_state_review(), icon=colored_icon.with_color(colors.STATE_REVIEW), type=type, search_node=SearchNode(card_state=SearchNode.CARD_STATE_REVIEW),