Fix typos discovered by codespell (#80)
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
"notes": [
|
||||
"Support file associations for one-click open with Readest.",
|
||||
"Support APP auto updater.",
|
||||
"Suppport online web version."
|
||||
"Support online web version."
|
||||
]
|
||||
},
|
||||
"0.7.9": {
|
||||
|
||||
@@ -96,7 +96,7 @@ pub fn run() {
|
||||
let mut files = Vec::new();
|
||||
// NOTICE: `args` may include URL protocol (`your-app-protocol://`)
|
||||
// or arguments (`--`) if your app supports them.
|
||||
// files may aslo be passed as `file://path/to/file`
|
||||
// files may also be passed as `file://path/to/file`
|
||||
for maybe_file in std::env::args().skip(1) {
|
||||
// skip flags like -f or --flag
|
||||
if maybe_file.starts_with("-") {
|
||||
|
||||
@@ -6,7 +6,7 @@ import { TextSelection } from '@/utils/sel';
|
||||
import { BookNote } from '@/types/book';
|
||||
|
||||
interface NoteEditorProps {
|
||||
onSave: (selction: TextSelection, note: string) => void;
|
||||
onSave: (selection: TextSelection, note: string) => void;
|
||||
onEdit: (annotation: BookNote) => void;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ export interface SectionItem {
|
||||
|
||||
export interface BookDoc {
|
||||
metadata: {
|
||||
// NOTE: the title and author fields should be formated
|
||||
// NOTE: the title and author fields should be formatted
|
||||
title: string | LanguageMap;
|
||||
author: string | Contributor;
|
||||
language: string | string[];
|
||||
|
||||
@@ -19,9 +19,9 @@ interface ViewState {
|
||||
progress: BookProgress | null;
|
||||
ribbonVisible: boolean;
|
||||
/* View settings for the view:
|
||||
generally view settings have a hirarchy of global settings < book settings < view settings
|
||||
generally view settings have a hierarchy of global settings < book settings < view settings
|
||||
view settings for primary view are saved to book config which is persisted to config file
|
||||
ommitting settings that are not changed from global settings */
|
||||
omitting settings that are not changed from global settings */
|
||||
viewSettings: ViewSettings | null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user