update translations

This commit is contained in:
Luke Pulverenti
2014-11-14 01:27:10 -05:00
parent 4f5c768704
commit 1b06e05cf6
81 changed files with 694 additions and 263 deletions

View File

@@ -18,6 +18,8 @@ namespace MediaBrowser.Model.ApiClient
public String ExchangeToken { get; set; }
public UserLinkType? UserLinkType { get; set; }
public bool IsLocalAddressFixed { get; set; }
public ServerInfo()
{
WakeOnLanInfos = new List<WakeOnLanInfo>();
@@ -28,10 +30,11 @@ namespace MediaBrowser.Model.ApiClient
Name = systemInfo.ServerName;
Id = systemInfo.Id;
if (!string.IsNullOrEmpty(systemInfo.LocalAddress))
if (!IsLocalAddressFixed && !string.IsNullOrEmpty(systemInfo.LocalAddress))
{
LocalAddress = systemInfo.LocalAddress;
}
if (!string.IsNullOrEmpty(systemInfo.WanAddress))
{
RemoteAddress = systemInfo.WanAddress;
@@ -52,6 +55,5 @@ namespace MediaBrowser.Model.ApiClient
}
}
}
}
}