Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
small text changes
zadamac608b933443
diff --git a/.idea/vcs.xml b/.idea/vcs.xmlindex 35eb1ddfbb..8fe5bdbdc5 100644--- a/.idea/vcs.xml+++ b/.idea/vcs.xml@@ -2,5 +2,6 @@<project version="4"><component name="VcsDirectoryMappings"><mapping directory="" vcs="Git" />+ <mapping directory="$PROJECT_DIR$/../.." vcs="Git" /></component></project>\ No newline at end of filediff --git a/src/public/app/widgets/protected_note_switch.js b/src/public/app/widgets/protected_note_switch.jsindex 4750bbefc6..1a8c031f7c 100644--- a/src/public/app/widgets/protected_note_switch.js+++ b/src/public/app/widgets/protected_note_switch.js@@ -5,12 +5,12 @@ const TPL = `<div class="btn-group btn-group-xs"><button type="button"class="btn btn-sm icon-button bx bx-check-shield protect-button"- title="Protected note can be viewed and edited only after entering password">+ title="Set this note as protected which means it will possible to view and edit this note only after entering password"></button><button type="button"class="btn btn-sm icon-button bx bx-shield-x unprotect-button"- title="Not protected note can be viewed without entering password">+ title="Set this note as unprotected which will make it viewable and editable without entering password"></button></div>`;``;diff --git a/src/routes/api/login.js b/src/routes/api/login.jsindex 23d78807ab..1c06305e03 100644--- a/src/routes/api/login.js+++ b/src/routes/api/login.js@@ -27,7 +27,7 @@ async function loginSync(req) {// login token is valid for 5 minutesif (Math.abs(timestamp.getTime() - now.getTime()) > 5 * 60 * 1000) {- return [400, { message: 'Auth request time is out of sync' }];+ return [400, { message: 'Auth request time is out of sync, please check that both client and server have correct time.' }];}const syncVersion = req.body.syncVersion;