Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: proper lingo for plural notes & topics

thecodrred40b2a3f6df
diff --git a/apps/web/src/views/topics.js b/apps/web/src/views/topics.js
index e1ba9e03b..e64b686fa 100644
--- a/apps/web/src/views/topics.js
+++ b/apps/web/src/views/topics.js
@@ -92,7 +92,8 @@ function NotebookHeader({ notebook }) {
</Text>
)}
<Text as="em" variant="subBody" mt={2}>
- {topics.length} topic, {getTotalNotes(notebook)} notes
+ {topics.length} {topics.length > 1 ? "topics" : "topic"},{" "}
+ {getTotalNotes(notebook)} {topics.length > 1 ? "notes" : "note"}
</Text>
</Flex>
);