update translations

This commit is contained in:
Luke Pulverenti
2014-07-11 00:27:46 -04:00
parent 3cfd765cb4
commit 59de5c0d14
66 changed files with 888 additions and 232 deletions

View File

@@ -26,5 +26,11 @@ namespace MediaBrowser.Controller.Configuration
/// </summary>
/// <value>The configuration.</value>
ServerConfiguration Configuration { get; }
/// <summary>
/// Sets the preferred metadata service.
/// </summary>
/// <param name="service">The service.</param>
void SetPreferredMetadataService(string service);
}
}

View File

@@ -1526,6 +1526,11 @@ namespace MediaBrowser.Controller.Entities
public virtual bool IsUnplayed(User user)
{
if (user == null)
{
throw new ArgumentNullException("user");
}
var userdata = UserDataManager.GetUserData(user.Id, GetUserDataKey());
return userdata == null || !userdata.Played;

View File

@@ -281,6 +281,6 @@ namespace MediaBrowser.Controller.Session
/// </summary>
/// <param name="remoteEndpoint">The remote endpoint.</param>
/// <returns><c>true</c> if the specified remote endpoint is local; otherwise, <c>false</c>.</returns>
bool IsLocal(string remoteEndpoint);
bool IsInLocalNetwork(string remoteEndpoint);
}
}