mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 14:13:52 +03:00
fix: some typos (#19956)
This commit is contained in:
parent
5f136783d1
commit
3708ca8e28
6 changed files with 7 additions and 7 deletions
|
@ -68,7 +68,7 @@ Ensure you are running in the correct environment or set the correct configurati
|
||||||
If this is the intended configuration file complete the [database] section.`, setting.CustomConf)
|
If this is the intended configuration file complete the [database] section.`, setting.CustomConf)
|
||||||
}
|
}
|
||||||
if err := db.InitEngine(ctx); err != nil {
|
if err := db.InitEngine(ctx); err != nil {
|
||||||
return fmt.Errorf("unable to initialise the database using the configuration in %q. Error: %v", setting.CustomConf, err)
|
return fmt.Errorf("unable to initialize the database using the configuration in %q. Error: %v", setting.CustomConf, err)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -349,7 +349,7 @@ recommended that pausing only done for a very short period of time.
|
||||||
|
|
||||||
It is possible to add and remove logging whilst Gitea is running using the `gitea manager logging add` and `remove` subcommands.
|
It is possible to add and remove logging whilst Gitea is running using the `gitea manager logging add` and `remove` subcommands.
|
||||||
This functionality can only adjust running log systems and cannot be used to start the access or router loggers if they
|
This functionality can only adjust running log systems and cannot be used to start the access or router loggers if they
|
||||||
were not already initialised. If you wish to start these systems you are advised to adjust the app.ini and (gracefully) restart
|
were not already initialized. If you wish to start these systems you are advised to adjust the app.ini and (gracefully) restart
|
||||||
the Gitea service.
|
the Gitea service.
|
||||||
|
|
||||||
The main intention of these commands is to easily add a temporary logger to investigate problems on running systems where a restart
|
The main intention of these commands is to easily add a temporary logger to investigate problems on running systems where a restart
|
||||||
|
|
|
@ -419,7 +419,7 @@ func EnsureUpToDate(x *xorm.Engine) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if currentDB < 0 {
|
if currentDB < 0 {
|
||||||
return fmt.Errorf("Database has not been initialised")
|
return fmt.Errorf("Database has not been initialized")
|
||||||
}
|
}
|
||||||
|
|
||||||
if minDBVersion > currentDB {
|
if minDBVersion > currentDB {
|
||||||
|
@ -953,7 +953,7 @@ func dropTableColumns(sess *xorm.Session, tableName string, columnNames ...strin
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// modifyColumn will modify column's type or other propertity. SQLITE is not supported
|
// modifyColumn will modify column's type or other property. SQLITE is not supported
|
||||||
func modifyColumn(x *xorm.Engine, tableName string, col *schemas.Column) error {
|
func modifyColumn(x *xorm.Engine, tableName string, col *schemas.Column) error {
|
||||||
var indexes map[string]*schemas.Index
|
var indexes map[string]*schemas.Index
|
||||||
var err error
|
var err error
|
||||||
|
|
|
@ -26,7 +26,7 @@ func TestBleveIndexAndSearch(t *testing.T) {
|
||||||
defer indexer.Close()
|
defer indexer.Close()
|
||||||
|
|
||||||
if _, err := indexer.Init(); err != nil {
|
if _, err := indexer.Init(); err != nil {
|
||||||
assert.Fail(t, "Unable to initialise bleve indexer: %v", err)
|
assert.Fail(t, "Unable to initialize bleve indexer: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ func ListMilestones(ctx *context.APIContext) {
|
||||||
// required: true
|
// required: true
|
||||||
// - name: state
|
// - name: state
|
||||||
// in: query
|
// in: query
|
||||||
// description: Milestone state, Recognised values are open, closed and all. Defaults to "open"
|
// description: Milestone state, Recognized values are open, closed and all. Defaults to "open"
|
||||||
// type: string
|
// type: string
|
||||||
// - name: name
|
// - name: name
|
||||||
// in: query
|
// in: query
|
||||||
|
|
|
@ -7223,7 +7223,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Milestone state, Recognised values are open, closed and all. Defaults to \"open\"",
|
"description": "Milestone state, Recognized values are open, closed and all. Defaults to \"open\"",
|
||||||
"name": "state",
|
"name": "state",
|
||||||
"in": "query"
|
"in": "query"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue