fix(strings): differentiate setup(n) and set(v) up (#10024)
Correct GUI strings, translations and comments to use proper grammar.
This commit is contained in:
@@ -28,7 +28,7 @@ func init() {
|
||||
TLSHandshakeTimeout: 10 * time.Second,
|
||||
}
|
||||
|
||||
// Defer this, so that logging gets setup.
|
||||
// Defer this, so that logging gets set up.
|
||||
go func() {
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
l.Infoln("Proxy settings detected")
|
||||
|
||||
@@ -54,7 +54,7 @@ func (f *BasicFilesystem) Watch(name string, ignore Matcher, ctx context.Context
|
||||
if err != nil {
|
||||
notify.Stop(backendChan)
|
||||
if reachedMaxUserWatches(err) {
|
||||
err = errors.New("failed to setup inotify handler. Please increase inotify limits, see https://docs.syncthing.net/users/faq.html#inotify-limits")
|
||||
err = errors.New("failed to set up inotify handler. Please increase inotify limits, see https://docs.syncthing.net/users/faq.html#inotify-limits")
|
||||
}
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ func TestClusterConfigFirst(t *testing.T) {
|
||||
case c.outbox <- asyncMessage{&bep.Ping{}, nil}:
|
||||
t.Fatal("able to send ping before cluster config")
|
||||
case <-time.After(100 * time.Millisecond):
|
||||
// Allow some time for c.writerLoop to setup after c.Start
|
||||
// Allow some time for c.writerLoop to set up after c.Start
|
||||
}
|
||||
|
||||
c.ClusterConfig(&ClusterConfig{})
|
||||
|
||||
@@ -269,7 +269,7 @@ func (a *App) startup() error {
|
||||
|
||||
// Chicken and egg, discovery manager depends on connection service to tell it what addresses it's listening on
|
||||
// Connection service depends on discovery manager to get addresses to connect to.
|
||||
// Create a wrapper that is then wired after they are both setup.
|
||||
// Create a wrapper that is then wired after they are both set up.
|
||||
addrLister := &lateAddressLister{}
|
||||
|
||||
connRegistry := registry.New()
|
||||
|
||||
Reference in New Issue
Block a user