ui: fix grammar mistakes (#570)

This commit is contained in:
remmymilkyway authored and GitHub committed 2023-05-09 16:53:00 +08:00
1 parent 831b8352fe
commit 4dcc2a2e78
19 files changed
+53 -53

No files matched your search

+2 -2
View File
@@ -31,11 +31,11 @@ const checks: Dictionary<CheckItem> = {
},
async checkMail(ctx, log, warn) {
const from = system.get('smtp.from');
if (!from) warn('SMTP account was not provided, email verification disabled.');
if (!from) warn('SMTP account is not provided, email verification disabled.');
},
async checkSetting(ctx, log, warn) {
const url = system.get('server.url');
if (url === '/') warn("server.url wasn't set.");
if (url === '/') warn("server.url isn't set.");
const header = system.get('server.xff');
if (header && !ctx.request.ip) warn('IP header seems incorrect.\nCheck dashboard>settings>server.');
},