mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Apply suggestions from code review
This commit is contained in:
parent
bf03a7ba57
commit
aa12a79625
9 changed files with 29 additions and 22 deletions
|
@ -167,8 +167,8 @@ define(["apphost", "appSettings", "dom", "connectionManager", "loading", "layout
|
|||
}
|
||||
|
||||
Dashboard.alert({
|
||||
message: "Authorize request " + json.Code + " to continue",
|
||||
title: "Quick Connect Code"
|
||||
message: Globalize.translate('QuickConnectAuthorizeCode', json.Code),
|
||||
title: Globalize.translate('QuickConnect')
|
||||
});
|
||||
|
||||
loading.show();
|
||||
|
|
|
@ -20,7 +20,7 @@ define(["quickConnectSettings", "dom", "globalize", "loading", "userSettings", "
|
|||
let btn = view.querySelector("#btnQuickConnectActivate");
|
||||
|
||||
if (status === "Unavailable") {
|
||||
btn.textContent = "Quick connect is not available on this server";
|
||||
btn.textContent = globalize.translate("QuickConnectNotAvailable");
|
||||
btn.disabled = true;
|
||||
return false;
|
||||
} else if (status === "Available") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue