mirror of
https://github.com/zadam/trilium.git
synced 2025-12-11 18:04:24 +01:00
refactor(client): inconsistent prefix for messages
This commit is contained in:
parent
cd27160905
commit
f1ee79e75a
@ -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_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_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_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": {
|
"empty": {
|
||||||
"open_note_instruction": "Open a note by typing the note's title into the input below or choose a note in the tree.",
|
"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",
|
"move-to-available-launchers": "Move to available launchers",
|
||||||
"duplicate-launcher": "Duplicate launcher <kbd data-command=\"duplicateSubtree\">"
|
"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": {
|
"highlighting": {
|
||||||
"title": "Code Blocks",
|
"title": "Code Blocks",
|
||||||
"description": "Controls the syntax highlighting for code blocks inside text notes, code notes will not be affected.",
|
"description": "Controls the syntax highlighting for code blocks inside text notes, code notes will not be affected.",
|
||||||
|
|||||||
@ -322,7 +322,7 @@ function useWatchdogCrashHandling() {
|
|||||||
// timeout: 20_000
|
// timeout: 20_000
|
||||||
});
|
});
|
||||||
} else if (currentState === "crashedPermanently") {
|
} else if (currentState === "crashedPermanently") {
|
||||||
dialog.info(t("editable-text.keeps-crashing"));
|
dialog.info(t("editable_text.keeps-crashing"));
|
||||||
watchdog.editor?.enableReadOnlyMode("crashed-editor");
|
watchdog.editor?.enableReadOnlyMode("crashed-editor");
|
||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|||||||
@ -220,7 +220,7 @@ function buildListOfLanguages() {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
language: mimeTypesService.MIME_TYPE_AUTO,
|
language: mimeTypesService.MIME_TYPE_AUTO,
|
||||||
label: t("editable-text.auto-detect-language")
|
label: t("editable_text.auto-detect-language")
|
||||||
},
|
},
|
||||||
...userLanguages
|
...userLanguages
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user