From f591e954f363e83706a4bf7e9826a906f62ad30d Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 15 Jul 2023 09:26:18 +0200 Subject: [PATCH] capitalization of options titles --- .../options/advanced/consistency_checks.js | 2 +- .../options/advanced/database_anonymization.js | 10 +++++----- .../options/advanced/database_integrity_check.js | 2 +- .../type_widgets/options/advanced/vacuum_database.js | 2 +- .../widgets/type_widgets/options/appearance/fonts.js | 8 ++++---- .../options/appearance/max_content_width.js | 2 +- .../options/appearance/native_title_bar.js | 2 +- .../type_widgets/options/appearance/zoom_factor.js | 2 +- .../options/code_notes/code_auto_read_only_size.js | 2 +- .../options/other/attachment_erasure_timeout.js | 2 +- .../type_widgets/options/other/network_connections.js | 2 +- .../type_widgets/options/other/note_erasure_timeout.js | 2 +- .../options/other/revisions_snapshot_interval.js | 2 +- .../type_widgets/options/other/search_engine.js | 2 -- .../app/widgets/type_widgets/options/password.js | 6 +++--- .../app/widgets/type_widgets/options/shortcuts.js | 2 +- .../app/widgets/type_widgets/options/spellcheck.js | 2 +- src/public/app/widgets/type_widgets/options/sync.js | 4 ++-- .../type_widgets/options/text_notes/heading_style.js | 3 ++- .../options/text_notes/table_of_contents.js | 2 +- .../options/text_notes/text_auto_read_only_size.js | 2 +- 21 files changed, 31 insertions(+), 32 deletions(-) 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.js index e48746ab1..617de4fcd 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 = `
-

Consistency checks

+

Consistency Checks

`; 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.js index 3a0c534e2..a17e0675b 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 = `
-

Database anonymization

+

Database Anonymization

-
Full anonymization
+
Full Anonymization

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.

-
Light anonymization
+
Light Anonymization
-

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.

+

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.

-

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.

+

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.

`; 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.js index 6e734379b..16321a159 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 = `
-

Database integrity check

+

Database Integrity Check

This will check that the database is not corrupted on the SQLite level. It might take some time, depending on the DB size.

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.js index 4ac6adda0..bdd8ed49c 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 = `
-

Vacuum database

+

Vacuum Database

This will rebuild the database which will typically result in a smaller database file. No data will be actually changed.

diff --git a/src/public/app/widgets/type_widgets/options/appearance/fonts.js b/src/public/app/widgets/type_widgets/options/appearance/fonts.js index d1ce6ce0c..059c98740 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 = `

Fonts

-
Main font
+
Main Font
@@ -51,7 +51,7 @@ const TPL = `
-
Note tree font
+
Note Tree Font
@@ -71,7 +71,7 @@ const TPL = `
-
Note detail font
+
Note Detail Font
@@ -91,7 +91,7 @@ const TPL = `
-
Monospace (code) font
+
Monospace (code) Font
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.js index ddf692a47..0ec42923b 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 = `
-

Content width

+

Content Width

Trilium by default limits max content width to improve readability for maximized screens on wide screens.

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.js index b91e6ea41..c2b479cf6 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 = `
-

Native title bar (requires app restart)

+

Native Title Bar (requires app restart)

Zooming can be controlled with CTRL+- and CTRL+= shortcuts as well.

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.js index 8925b87e8..2c788b1a0 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 = `
-

Automatic read-only size

+

Automatic Read-Only Size

Automatic read-only note size is the size after which notes will be displayed in a read-only mode (for performance reasons).

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.js index 347eb64f2..e0d25f2bd 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 = `
-

Attachment erasure timeout

+

Attachment Erasure Timeout

Attachments get automatically deleted (and erased) if they are not referenced by their note anymore after a defined time out.

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.js index 6dea5a332..f4cedb968 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 = `
-

Network connections

+

Network Connections