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
capitalization of options titles
zadamf591e954f363
diff --git a/src/public/app/widgets/type_widgets/options/advanced/consistency_checks.js b/src/public/app/widgets/type_widgets/options/advanced/consistency_checks.jsindex e48746ab17..617de4fcd0 100644--- a/src/public/app/widgets/type_widgets/options/advanced/consistency_checks.js+++ b/src/public/app/widgets/type_widgets/options/advanced/consistency_checks.js@@ -4,7 +4,7 @@ import server from "../../../../services/server.js";const TPL = `<div class="options-section">- <h4>Consistency checks</h4>+ <h4>Consistency Checks</h4><button class="find-and-fix-consistency-issues-button btn">Find and fix consistency issues</button></div>`;diff --git a/src/public/app/widgets/type_widgets/options/advanced/database_anonymization.js b/src/public/app/widgets/type_widgets/options/advanced/database_anonymization.jsindex 3a0c534e26..a17e0675b1 100644--- a/src/public/app/widgets/type_widgets/options/advanced/database_anonymization.js+++ b/src/public/app/widgets/type_widgets/options/advanced/database_anonymization.js@@ -4,20 +4,20 @@ import server from "../../../../services/server.js";const TPL = `<div class="options-section">- <h4>Database anonymization</h4>+ <h4>Database Anonymization</h4>- <h5>Full anonymization</h5>+ <h5>Full Anonymization</h5><p>This action will create a new copy of the database and anonymize it (remove all note content and leave only structure and some non-sensitive metadata)for sharing online for debugging purposes without fear of leaking your personal data.</p><button class="anonymize-full-button btn">Save fully anonymized database</button>- <h5>Light anonymization</h5>+ <h5>Light Anonymization</h5>- <p>This action will create a new copy of the database and do a light anonymization on it - specifically only content of all notes will be removed, but titles and attributes will remain. Additionally, custom JS frontend/backend script notes and custom widgets will remain. This provides more context to debug the issues.</p>+ <p>This action will create a new copy of the database and do a light anonymization on it — specifically only content of all notes will be removed, but titles and attributes will remain. Additionally, custom JS frontend/backend script notes and custom widgets will remain. This provides more context to debug the issues.</p>- <p>You can decide yourself if you want to provide fully or lightly anonymized database. Even fully anonymized DB is very useful, however in some cases lightly anonymized database can speed up the process of bug identification and fixing.</p>+ <p>You can decide yourself if you want to provide a fully or lightly anonymized database. Even fully anonymized DB is very useful, however in some cases lightly anonymized database can speed up the process of bug identification and fixing.</p><button class="anonymize-light-button btn">Save lightly anonymized database</button></div>`;diff --git a/src/public/app/widgets/type_widgets/options/advanced/database_integrity_check.js b/src/public/app/widgets/type_widgets/options/advanced/database_integrity_check.jsindex 6e734379bb..16321a159f 100644--- a/src/public/app/widgets/type_widgets/options/advanced/database_integrity_check.js+++ b/src/public/app/widgets/type_widgets/options/advanced/database_integrity_check.js@@ -4,7 +4,7 @@ import server from "../../../../services/server.js";const TPL = `<div class="options-section">- <h4>Database integrity check</h4>+ <h4>Database Integrity Check</h4><p>This will check that the database is not corrupted on the SQLite level. It might take some time, depending on the DB size.</p>diff --git a/src/public/app/widgets/type_widgets/options/advanced/vacuum_database.js b/src/public/app/widgets/type_widgets/options/advanced/vacuum_database.jsindex 4ac6adda0f..bdd8ed49cb 100644--- a/src/public/app/widgets/type_widgets/options/advanced/vacuum_database.js+++ b/src/public/app/widgets/type_widgets/options/advanced/vacuum_database.js@@ -4,7 +4,7 @@ import server from "../../../../services/server.js";const TPL = `<div class="options-section">- <h4>Vacuum database</h4>+ <h4>Vacuum Database</h4><p>This will rebuild the database which will typically result in a smaller database file. No data will be actually changed.</p>diff --git a/src/public/app/widgets/type_widgets/options/appearance/fonts.js b/src/public/app/widgets/type_widgets/options/appearance/fonts.jsindex d1ce6ce0cb..059c987405 100644--- a/src/public/app/widgets/type_widgets/options/appearance/fonts.js+++ b/src/public/app/widgets/type_widgets/options/appearance/fonts.js@@ -31,7 +31,7 @@ const TPL = `<div class="options-section"><h4>Fonts</h4>- <h5>Main font</h5>+ <h5>Main Font</h5><div class="form-group row"><div class="col-6">@@ -51,7 +51,7 @@ const TPL = `</div></div>- <h5>Note tree font</h5>+ <h5>Note Tree Font</h5><div class="form-group row"><div class="col-4">@@ -71,7 +71,7 @@ const TPL = `</div></div>- <h5>Note detail font</h5>+ <h5>Note Detail Font</h5><div class="form-group row"><div class="col-4">@@ -91,7 +91,7 @@ const TPL = `</div></div>- <h5>Monospace (code) font</h5>+ <h5>Monospace (code) Font</h5><div class="form-group row"><div class="col-4">diff --git a/src/public/app/widgets/type_widgets/options/appearance/max_content_width.js b/src/public/app/widgets/type_widgets/options/appearance/max_content_width.jsindex ddf692a474..0ec42923bc 100644--- a/src/public/app/widgets/type_widgets/options/appearance/max_content_width.js+++ b/src/public/app/widgets/type_widgets/options/appearance/max_content_width.js@@ -3,7 +3,7 @@ import utils from "../../../../services/utils.js";const TPL = `<div class="options-section">- <h4>Content width</h4>+ <h4>Content Width</h4><p>Trilium by default limits max content width to improve readability for maximized screens on wide screens.</p>diff --git a/src/public/app/widgets/type_widgets/options/appearance/native_title_bar.js b/src/public/app/widgets/type_widgets/options/appearance/native_title_bar.jsindex b91e6ea413..c2b479cf63 100644--- a/src/public/app/widgets/type_widgets/options/appearance/native_title_bar.js+++ b/src/public/app/widgets/type_widgets/options/appearance/native_title_bar.js@@ -2,7 +2,7 @@ import OptionsWidget from "../options_widget.js";const TPL = `<div class="options-section">- <h4>Native title bar (requires app restart)</h4>+ <h4>Native Title Bar (requires app restart)</h4><select class="native-title-bar-select form-control"><option value="show">enabled</option>diff --git a/src/public/app/widgets/type_widgets/options/appearance/zoom_factor.js b/src/public/app/widgets/type_widgets/options/appearance/zoom_factor.jsindex f6e07abc69..ae5b0415e6 100644--- a/src/public/app/widgets/type_widgets/options/appearance/zoom_factor.js+++ b/src/public/app/widgets/type_widgets/options/appearance/zoom_factor.js@@ -4,7 +4,7 @@ import utils from "../../../../services/utils.js";const TPL = `<div class="options-section">- <h4>Zoom factor (desktop build only)</h4>+ <h4>Zoom Factor (desktop build only)</h4><input type="number" class="zoom-factor-select form-control options-number-input" min="0.3" max="2.0" step="0.1"/><p>Zooming can be controlled with CTRL+- and CTRL+= shortcuts as well.</p>diff --git a/src/public/app/widgets/type_widgets/options/code_notes/code_auto_read_only_size.js b/src/public/app/widgets/type_widgets/options/code_notes/code_auto_read_only_size.jsindex 8925b87e89..2c788b1a0c 100644--- a/src/public/app/widgets/type_widgets/options/code_notes/code_auto_read_only_size.js+++ b/src/public/app/widgets/type_widgets/options/code_notes/code_auto_read_only_size.js@@ -2,7 +2,7 @@ import OptionsWidget from "../options_widget.js";const TPL = `<div class="options-section">- <h4>Automatic read-only size</h4>+ <h4>Automatic Read-Only Size</h4><p>Automatic read-only note size is the size after which notes will be displayed in a read-only mode (for performance reasons).</p>diff --git a/src/public/app/widgets/type_widgets/options/other/attachment_erasure_timeout.js b/src/public/app/widgets/type_widgets/options/other/attachment_erasure_timeout.jsindex 347eb64f21..e0d25f2bdc 100644--- a/src/public/app/widgets/type_widgets/options/other/attachment_erasure_timeout.js+++ b/src/public/app/widgets/type_widgets/options/other/attachment_erasure_timeout.js@@ -4,7 +4,7 @@ import toastService from "../../../../services/toast.js";const TPL = `<div class="options-section">- <h4>Attachment erasure timeout</h4>+ <h4>Attachment Erasure Timeout</h4><p>Attachments get automatically deleted (and erased) if they are not referenced by their note anymore after a defined time out.</p>diff --git a/src/public/app/widgets/type_widgets/options/other/network_connections.js b/src/public/app/widgets/type_widgets/options/other/network_connections.jsindex 6dea5a332d..f4cedb9680 100644--- a/src/public/app/widgets/type_widgets/options/other/network_connections.js+++ b/src/public/app/widgets/type_widgets/options/other/network_connections.js@@ -2,7 +2,7 @@ import OptionsWidget from "../options_widget.js";const TPL = `<div class="options-section">- <h4>Network connections</h4>+ <h4>Network Connections</h4><label><input class="check-for-updates" type="checkbox" name="check-for-updates">diff --git a/src/public/app/widgets/type_widgets/options/other/note_erasure_timeout.js b/src/public/app/widgets/type_widgets/options/other/note_erasure_timeout.jsindex 1c991c4ae5..e58f95fc3b 100644--- a/src/public/app/widgets/type_widgets/options/other/note_erasure_timeout.js+++ b/src/public/app/widgets/type_widgets/options/other/note_erasure_timeout.js@@ -4,7 +4,7 @@ import toastService from "../../../../services/toast.js";const TPL = `<div class="options-section">- <h4>Note erasure timeout</h4>+ <h4>Note Erasure Timeout</h4><p>Deleted notes (and attributes, revisions...) are at first only marked as deleted and it is possible to recover themfrom Recent Notes dialog. After a period of time, deleted notes are "erased" which meansdiff --git a/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.js b/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.jsindex 226685607d..7bd6315c62 100644--- a/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.js+++ b/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.js@@ -2,7 +2,7 @@ import OptionsWidget from "../options_widget.js";const TPL = `<div class="options-section">- <h4>Note revisions snapshot interval</h4>+ <h4>Note Revisions Snapshot Interval</h4><p>Note revision snapshot time interval is time in seconds after which a new note revision will be created for the note. See <a href="https://github.com/zadam/trilium/wiki/Note-revisions" class="external">wiki</a> for more info.</p>diff --git a/src/public/app/widgets/type_widgets/options/other/search_engine.js b/src/public/app/widgets/type_widgets/options/other/search_engine.jsindex a27a5fedf6..4d387a4b04 100644--- a/src/public/app/widgets/type_widgets/options/other/search_engine.js+++ b/src/public/app/widgets/type_widgets/options/other/search_engine.js@@ -3,8 +3,6 @@ import utils from "../../../../services/utils.js";const TPL = `<div class="options-section">--<h4>Search Engine</h4><p>Custom search engine requires both a name and a URL to be set. If either of these is not set, DuckDuckGo will be used as the default search engine.</p>diff --git a/src/public/app/widgets/type_widgets/options/password.js b/src/public/app/widgets/type_widgets/options/password.jsindex 794042171f..783154718a 100644--- a/src/public/app/widgets/type_widgets/options/password.js+++ b/src/public/app/widgets/type_widgets/options/password.js@@ -34,7 +34,7 @@ const TPL = `</div><div class="options-section">- <h4>Protected session timeout</h4>+ <h4>Protected Session Timeout</h4><p>Protected session timeout is a time period after which the protected session is wiped fromthe browser's memory. This is measured from the last interaction with protected notes. See <a href="https://github.com/zadam/trilium/wiki/Protected-notes" class="external">wiki</a> for more info.</p>@@ -79,8 +79,8 @@ export default class PasswordOptions extends OptionsWidget {const isPasswordSet = options.isPasswordSet === 'true';this.$widget.find(".old-password-form-group").toggle(isPasswordSet);- this.$passwordHeading.text(isPasswordSet ? 'Change password' : 'Set password');- this.$savePasswordButton.text(isPasswordSet ? 'Change password' : 'Set password');+ this.$passwordHeading.text(isPasswordSet ? 'Change Password' : 'Set Password');+ this.$savePasswordButton.text(isPasswordSet ? 'Change Password' : 'Set Password');this.$protectedSessionTimeout.val(options.protectedSessionTimeout);}diff --git a/src/public/app/widgets/type_widgets/options/shortcuts.js b/src/public/app/widgets/type_widgets/options/shortcuts.jsindex b37975b086..9430ba85f2 100644--- a/src/public/app/widgets/type_widgets/options/shortcuts.js+++ b/src/public/app/widgets/type_widgets/options/shortcuts.js@@ -25,7 +25,7 @@ const TPL = `}</style>- <h4>Keyboard shortcuts</h4>+ <h4>Keyboard Shortcuts</h4><p>Multiple shortcuts for the same action can be separated by comma.diff --git a/src/public/app/widgets/type_widgets/options/spellcheck.js b/src/public/app/widgets/type_widgets/options/spellcheck.jsindex 36d144434d..1f714ca0bc 100644--- a/src/public/app/widgets/type_widgets/options/spellcheck.js+++ b/src/public/app/widgets/type_widgets/options/spellcheck.js@@ -3,7 +3,7 @@ import OptionsWidget from "./options_widget.js";const TPL = `<div class="options-section">- <h4>Spell check</h4>+ <h4>Spell Check</h4><p>These options apply only for desktop builds, browsers will use their own native spell check. App restart is required after change.</p>diff --git a/src/public/app/widgets/type_widgets/options/sync.js b/src/public/app/widgets/type_widgets/options/sync.jsindex ade20b129c..01b0e29ee4 100644--- a/src/public/app/widgets/type_widgets/options/sync.js+++ b/src/public/app/widgets/type_widgets/options/sync.js@@ -4,7 +4,7 @@ import OptionsWidget from "./options_widget.js";const TPL = `<div class="options-section">- <h4 style="margin-top: 0px;">Sync configuration</h4>+ <h4 style="margin-top: 0px;">Sync Configuration</h4><form class="sync-setup-form"><div class="form-group">@@ -33,7 +33,7 @@ const TPL = `</div><div class="options-section">- <h4>Sync test</h4>+ <h4>Sync Test</h4><p>This will test the connection and handshake to the sync server. If the sync server isn't initialized, this will set it up to sync with the local document.</p>diff --git a/src/public/app/widgets/type_widgets/options/text_notes/heading_style.js b/src/public/app/widgets/type_widgets/options/text_notes/heading_style.jsindex a50ae7b4ca..cfe22b0a68 100644--- a/src/public/app/widgets/type_widgets/options/text_notes/heading_style.js+++ b/src/public/app/widgets/type_widgets/options/text_notes/heading_style.js@@ -2,7 +2,8 @@ import OptionsWidget from "../options_widget.js";const TPL = `<div class="options-section">- <h4>Heading style</h4>+ <h4>Heading Style</h4>+<select class="heading-style form-control"><option value="plain">Plain</option><option value="underline">Underline</option>diff --git a/src/public/app/widgets/type_widgets/options/text_notes/table_of_contents.js b/src/public/app/widgets/type_widgets/options/text_notes/table_of_contents.jsindex 4372ba6c4a..3795b86704 100644--- a/src/public/app/widgets/type_widgets/options/text_notes/table_of_contents.js+++ b/src/public/app/widgets/type_widgets/options/text_notes/table_of_contents.js@@ -2,7 +2,7 @@ import OptionsWidget from "../options_widget.js";const TPL = `<div class="options-section">- <h4>Table of contents</h4>+ <h4>Table of Contents</h4>Table of contents will appear in text notes when the note has more than a defined number of headings. You can customize this number:diff --git a/src/public/app/widgets/type_widgets/options/text_notes/text_auto_read_only_size.js b/src/public/app/widgets/type_widgets/options/text_notes/text_auto_read_only_size.jsindex 275ee8b1a6..28be14b8d1 100644--- a/src/public/app/widgets/type_widgets/options/text_notes/text_auto_read_only_size.js+++ b/src/public/app/widgets/type_widgets/options/text_notes/text_auto_read_only_size.js@@ -2,7 +2,7 @@ import OptionsWidget from "../options_widget.js";const TPL = `<div class="options-section">- <h4>Automatic read-only size</h4>+ <h4>Automatic Read-Only Size</h4><p>Automatic read-only note size is the size after which notes will be displayed in a read-only mode (for performance reasons).</p>