Skip to content

Commit

Permalink
Changes per code review - fixing some formatted strings
Browse files Browse the repository at this point in the history
  • Loading branch information
katherinejensen00 committed Nov 8, 2024
1 parent 89ded30 commit 695878f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"%wordList_fullWordCount_titleFormat%": "Words ({fullWordCount}) \\{sortingDirectionIcon\\}",
"%wordList_openListForProject_prompt%": "Please select project to open in the word list:",
"%wordList_openListForProject_title%": "Open Word List",
"%wordList_partialWordCount_titleFormat%": "Words ({wordListLength} of {fullWordCount}) \\{sortingDirectionIcon\\}",
"%wordList_partialWordCount_titleFormat%": "Words ({wordListLength} of {fullWordCount}) {sortingDirectionIcon}",
"%wordList_tableView_label%": "Table",
"%wordList_title_format%": "Word List",
"%wordList_title_format%": "Word List {projectName}",
"%wordList_titleWithProjectName_format%": "Word List for project {projectName}",
"%wordList_view_label%": "view",
"%wordList_wordCount_format%": "Count {sortingDirectionIcon}"
Expand Down
1 change: 1 addition & 0 deletions src/paratext-bible-word-list/src/word-table.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default function WordTable({ wordList, fullWordCount, onWordClick }: Word
: formatReplacementString(localizedPartialCountFormat, {
wordListLength: wordList.length,
fullWordCount,
sortingDirectionIcon: '{sortingDirectionIcon}',
});
}, [fullWordCount, localizedFullCountFormat, localizedPartialCountFormat, wordList.length]);

Expand Down

0 comments on commit 695878f

Please sign in to comment.