1
0
Fork 0
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:
Matt Montgomery 2020-04-26 16:19:58 -05:00
parent bf03a7ba57
commit aa12a79625
9 changed files with 29 additions and 22 deletions

View file

@ -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();

View file

@ -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") {