mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
capitalization of options titles
This commit is contained in:
parent
59de1925a9
commit
f591e954f3
@ -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>`;
|
||||
|
@ -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>`;
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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">
|
||||
|
@ -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 them
|
||||
from Recent Notes dialog. After a period of time, deleted notes are "erased" which means
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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 from
|
||||
the 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);
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user