mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
Fix typos
Found via `codespell -S ./libraries,./package-lock.json -L tabel,tabels,uptodate,isnt,edn,falsy`
This commit is contained in:
@@ -26,7 +26,7 @@ export default class AbstractBulkAction {
|
||||
}
|
||||
}
|
||||
|
||||
// to be overriden
|
||||
// to be overridden
|
||||
doRender() {}
|
||||
|
||||
async saveAction(data) {
|
||||
|
||||
@@ -50,7 +50,7 @@ export default class RightDropdownButtonWidget extends BasicWidget {
|
||||
this.$widget.find(".dropdown-menu").append(this.$dropdownContent);
|
||||
}
|
||||
|
||||
// to be overriden
|
||||
// to be overridden
|
||||
async dropdownShow() {}
|
||||
|
||||
hideDropdown() {
|
||||
|
||||
@@ -25,7 +25,7 @@ const TPL = `
|
||||
</div>
|
||||
|
||||
<div class="checkbox">
|
||||
<label title="Normal (soft) deletion only marks the notes as deleted and they can be undeleted (in recent changes dialog) within a period of time. Checking this option will erase the notes immediatelly and it won't be possible to undelete the notes.">
|
||||
<label title="Normal (soft) deletion only marks the notes as deleted and they can be undeleted (in recent changes dialog) within a period of time. Checking this option will erase the notes immediately and it won't be possible to undelete the notes.">
|
||||
<input class="erase-notes" value="1" type="checkbox">
|
||||
|
||||
erase notes permanently (can't be undone), including all clones. This will force application reload.
|
||||
|
||||
@@ -9584,7 +9584,7 @@ const icons = [
|
||||
"term": [
|
||||
"honor",
|
||||
"honour",
|
||||
"acheivement"
|
||||
"achievement"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -9595,7 +9595,7 @@ const icons = [
|
||||
"term": [
|
||||
"honor",
|
||||
"honour",
|
||||
"acheivement"
|
||||
"achievement"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -166,7 +166,7 @@ export default class NoteMapWidget extends NoteContextAwareWidget {
|
||||
|
||||
generateColorFromString(str) {
|
||||
if (this.themeStyle === "dark") {
|
||||
str = `0${str}`; // magic lightening modifier
|
||||
str = `0${str}`; // magic lightning modifier
|
||||
}
|
||||
|
||||
let hash = 0;
|
||||
|
||||
@@ -1139,7 +1139,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
const note = froca.getNoteFromCache(ecAttr.noteId);
|
||||
|
||||
if (note && note.getChildNoteIds().includes(ecAttr.value)) {
|
||||
// there's new/deleted imageLink betwen note and its image child - which can show/hide
|
||||
// there's new/deleted imageLink between note and its image child - which can show/hide
|
||||
// the image (if there is a imageLink relation between parent and child
|
||||
// then it is assumed to be "contained" in the note and thus does not have to be displayed in the tree)
|
||||
noteIdsToReload.add(ecAttr.noteId);
|
||||
|
||||
@@ -39,7 +39,7 @@ export default class AbstractSearchOption extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
// to be overriden
|
||||
// to be overridden
|
||||
doRender() {}
|
||||
|
||||
async deleteOption() {
|
||||
|
||||
@@ -78,7 +78,7 @@ const TPL = `
|
||||
*
|
||||
* Discussion of storing svg in the note:
|
||||
* - Pro: we will combat bit-rot. Showing the SVG will be very fast and easy, since it is already there.
|
||||
* - Con: The note will get bigger (~40-50%?), we will generate more bandwith. However, using trilium
|
||||
* - Con: The note will get bigger (~40-50%?), we will generate more bandwidth. However, using trilium
|
||||
* desktop instance mitigates that issue.
|
||||
*
|
||||
* Roadmap:
|
||||
|
||||
@@ -96,7 +96,7 @@ export default class EtapiOptions extends OptionsWidget {
|
||||
.append($("<td>").append(
|
||||
$('<span class="bx bx-pen token-table-button" title="Rename this token"></span>')
|
||||
.on("click", () => this.renameToken(token.etapiTokenId, token.name)),
|
||||
$('<span class="bx bx-trash token-table-button" title="Delete / deactive this token"></span>')
|
||||
$('<span class="bx bx-trash token-table-button" title="Delete / deactivate this token"></span>')
|
||||
.on("click", () => this.deleteToken(token.etapiTokenId, token.name))
|
||||
))
|
||||
);
|
||||
|
||||
@@ -412,7 +412,7 @@ export default class RelationMapTypeWidget extends TypeWidget {
|
||||
}
|
||||
});
|
||||
|
||||
// if there's no event, then this has been triggered programatically
|
||||
// if there's no event, then this has been triggered programmatically
|
||||
if (!originalEvent) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user