Skip to content

Commit

Permalink
Correct spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardBetts authored and fguillot committed May 14, 2021
1 parent 0c56b4d commit 264f4db
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ Version 2.0.13 (Nov 25, 2018)

* Add man page
* Add support for Systemd Socket Activation (experimental)
* Add the possiblity to listen on Unix sockets
* Add the possibility to listen on Unix sockets
* Add config options to disable HTTP and scheduler services
* Archive more read entries in cleanup job
* Change default database connection string (backward compatible)
Expand Down
4 changes: 2 additions & 2 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func Parse() {
return
}

// Run migrations and start the deamon.
// Run migrations and start the daemon.
if config.Opts.RunMigrations() {
if err := database.Migrate(db); err != nil {
logger.Fatal(`%v`, err)
Expand All @@ -182,7 +182,7 @@ func Parse() {
logger.Fatal(`You must run the SQL migrations, %v`, err)
}

// Create admin user and start the deamon.
// Create admin user and start the daemon.
if config.Opts.CreateAdmin() {
createAdmin(store)
}
Expand Down
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (c *Client) MarkCategoryAsRead(categoryID int64) error {
return err
}

// CategoryFeeds gets feeds of a cateogry.
// CategoryFeeds gets feeds of a category.
func (c *Client) CategoryFeeds(categoryID int64) (Feeds, error) {
body, err := c.request.Get(fmt.Sprintf("/v1/categories/%d/feeds", categoryID))
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion storage/icon.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (s *Storage) CreateFeedIcon(feedID int64, icon *model.Icon) error {
return nil
}

// Icons returns all icons tht belongs to a user.
// Icons returns all icons that belongs to a user.
func (s *Storage) Icons(userID int64) (model.Icons, error) {
query := `
SELECT
Expand Down
4 changes: 2 additions & 2 deletions storage/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"miniflux.app/model"
)

// NewBatch returns a serie of jobs.
// NewBatch returns a series of jobs.
func (s *Storage) NewBatch(batchSize int) (jobs model.JobList, err error) {
pollingParsingErrorLimit := config.Opts.PollingParsingErrorLimit()
query := `
Expand All @@ -28,7 +28,7 @@ func (s *Storage) NewBatch(batchSize int) (jobs model.JobList, err error) {
return s.fetchBatchRows(query, pollingParsingErrorLimit, batchSize)
}

// NewUserBatch returns a serie of jobs but only for a given user.
// NewUserBatch returns a series of jobs but only for a given user.
func (s *Storage) NewUserBatch(userID int64, batchSize int) (jobs model.JobList, err error) {
// We do not take the error counter into consideration when the given
// user refresh manually all his feeds to force a refresh.
Expand Down
2 changes: 1 addition & 1 deletion template/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (f *funcMap) Map() template.FuncMap {
))
},

// These functions are overrided at runtime after the parsing.
// These functions are overrode at runtime after the parsing.
"elapsed": func(timezone string, t time.Time) string {
return ""
},
Expand Down

0 comments on commit 264f4db

Please sign in to comment.