refactor(client): inconsistent prefix for messages

This commit is contained in:
Elian Doran 2025-12-07 22:23:19 +02:00
parent cd27160905
commit f1ee79e75a
No known key found for this signature in database
3 changed files with 5 additions and 7 deletions

View File

@ -993,7 +993,9 @@
"editor_crashed_content": "Your content was recovered successfully, but a few of your most recent changes may not have been saved.",
"editor_crashed_details_button": "View more details...",
"editor_crashed_details_intro": "If you experience this error several times, consider reporting it on GitHub by pasting the information below.",
"editor_crashed_details_title": "Technical information"
"editor_crashed_details_title": "Technical information",
"auto-detect-language": "Auto-detected",
"keeps-crashing": "Editing component keeps crashing. Please try restarting Trilium. If problem persists, consider creating a bug report."
},
"empty": {
"open_note_instruction": "Open a note by typing the note's title into the input below or choose a note in the tree.",
@ -1832,10 +1834,6 @@
"move-to-available-launchers": "Move to available launchers",
"duplicate-launcher": "Duplicate launcher <kbd data-command=\"duplicateSubtree\">"
},
"editable-text": {
"auto-detect-language": "Auto-detected",
"keeps-crashing": "Editing component keeps crashing. Please try restarting Trilium. If problem persists, consider creating a bug report."
},
"highlighting": {
"title": "Code Blocks",
"description": "Controls the syntax highlighting for code blocks inside text notes, code notes will not be affected.",

View File

@ -322,7 +322,7 @@ function useWatchdogCrashHandling() {
// timeout: 20_000
});
} else if (currentState === "crashedPermanently") {
dialog.info(t("editable-text.keeps-crashing"));
dialog.info(t("editable_text.keeps-crashing"));
watchdog.editor?.enableReadOnlyMode("crashed-editor");
}
}, []);

View File

@ -220,7 +220,7 @@ function buildListOfLanguages() {
return [
{
language: mimeTypesService.MIME_TYPE_AUTO,
label: t("editable-text.auto-detect-language")
label: t("editable_text.auto-detect-language")
},
...userLanguages
];