Skip to content

Commit

Permalink
Corrected "Login" & "Logout" to verbs (EN) (#4320)
Browse files Browse the repository at this point in the history
Co-authored-by: Louis Lam <[email protected]>
  • Loading branch information
purplespider and louislam authored Jan 13, 2024
1 parent 17e284f commit 8456912
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"disableauth.message2": "It is designed for scenarios {intendThirdPartyAuth} in front of Uptime Kuma such as Cloudflare Access, Authelia or other authentication mechanisms.",
"where you intend to implement third-party authentication": "where you intend to implement third-party authentication",
"Please use this option carefully!": "Please use this option carefully!",
"Logout": "Logout",
"Logout": "Log out",
"Leave": "Leave",
"I understand, please disable": "I understand, please disable",
"Confirm": "Confirm",
Expand All @@ -127,7 +127,7 @@
"Username": "Username",
"Password": "Password",
"Remember me": "Remember me",
"Login": "Login",
"Login": "Log in",
"No Monitors, please": "No Monitors, please",
"add one": "add one",
"Notification Type": "Notification Type",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/setup.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ test("logout", async ({ page }, testInfo) => {
await page.goto("./dashboard");
await login(page);
await page.getByText("A", { exact: true }).click();
await page.getByRole("button", { name: "Logout" }).click();
await page.getByRole("button", { name: "Log out" }).click();
await screenshot(testInfo, page);
});
2 changes: 1 addition & 1 deletion test/e2e/util-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ export async function login(page) {
await page.getByPlaceholder("Username").press("Tab");
await page.getByPlaceholder("Password").fill("admin123");
await page.getByLabel("Remember me").check();
await page.getByRole("button", { name: "Login" }).click();
await page.getByRole("button", { name: "Log in" }).click();
await page.isVisible("text=Add New Monitor");
}

0 comments on commit 8456912

Please sign in to comment.