account: Fix tooltip and dialog verbiage (#11132)
This commit changes uses of "login" and "logout" to "log in" and "log out" when they are representing a verb.
This commit is contained in:
@@ -75,14 +75,14 @@ public class AccountPlugin extends Plugin
|
|||||||
loginButton = NavigationButton.builder()
|
loginButton = NavigationButton.builder()
|
||||||
.tab(false)
|
.tab(false)
|
||||||
.icon(LOGIN_IMAGE)
|
.icon(LOGIN_IMAGE)
|
||||||
.tooltip("Login to RuneLite")
|
.tooltip("Log in to RuneLite")
|
||||||
.onClick(this::loginClick)
|
.onClick(this::loginClick)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
logoutButton = NavigationButton.builder()
|
logoutButton = NavigationButton.builder()
|
||||||
.tab(false)
|
.tab(false)
|
||||||
.icon(LOGOUT_IMAGE)
|
.icon(LOGOUT_IMAGE)
|
||||||
.tooltip("Logout of RuneLite")
|
.tooltip("Log out of RuneLite")
|
||||||
.onClick(this::logoutClick)
|
.onClick(this::logoutClick)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ public class AccountPlugin extends Plugin
|
|||||||
private void logoutClick()
|
private void logoutClick()
|
||||||
{
|
{
|
||||||
if (JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(null,
|
if (JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(null,
|
||||||
"Are you sure you want to logout from RuneLite?", "Logout Confirmation",
|
"Are you sure you want to log out from RuneLite?", "Logout Confirmation",
|
||||||
JOptionPane.YES_NO_OPTION))
|
JOptionPane.YES_NO_OPTION))
|
||||||
{
|
{
|
||||||
executor.execute(sessionManager::logout);
|
executor.execute(sessionManager::logout);
|
||||||
|
|||||||
Reference in New Issue
Block a user