Fix typos

Found via `codespell -S ./libraries,./package-lock.json -L tabel,tabels,uptodate,isnt,edn,falsy`
This commit is contained in:
Kian-Meng Ang
2023-06-23 00:26:47 +08:00
parent bbe3f436d3
commit 712304bbc6
27 changed files with 30 additions and 30 deletions

View File

@@ -26,7 +26,7 @@ export default class AbstractBulkAction {
}
}
// to be overriden
// to be overridden
doRender() {}
async saveAction(data) {

View File

@@ -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() {

View File

@@ -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.

View File

@@ -9584,7 +9584,7 @@ const icons = [
"term": [
"honor",
"honour",
"acheivement"
"achievement"
]
},
{
@@ -9595,7 +9595,7 @@ const icons = [
"term": [
"honor",
"honour",
"acheivement"
"achievement"
]
},
{

View File

@@ -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;

View File

@@ -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);

View File

@@ -39,7 +39,7 @@ export default class AbstractSearchOption extends Component {
}
}
// to be overriden
// to be overridden
doRender() {}
async deleteOption() {

View File

@@ -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:

View File

@@ -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))
))
);

View File

@@ -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;
}