1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add custom strings for system info panel on dashboard

This commit is contained in:
dkanada 2019-03-23 23:13:32 -07:00
parent 92555c36ce
commit ef3166143a
3 changed files with 10 additions and 9 deletions

View file

@ -177,9 +177,9 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
function reloadSystemInfo(view, apiClient) {
apiClient.getSystemInfo().then(function (systemInfo) {
view.querySelector("#serverName").innerHTML = globalize.translate("LabelServerName", systemInfo.ServerName);
view.querySelector("#serverName").innerHTML = globalize.translate("DashboardServerName", systemInfo.ServerName);
var localizedVersion = globalize.translate("LabelVersionNumber", systemInfo.Version);
var localizedVersion = globalize.translate("DashboardVersionNumber", systemInfo.Version);
if (systemInfo.SystemUpdateLevel && "Release" != systemInfo.SystemUpdateLevel) {
localizedVersion += " " + globalize.translate("Option" + systemInfo.SystemUpdateLevel).toLowerCase();
}