update translations

This commit is contained in:
Luke Pulverenti
2015-02-05 16:14:08 -05:00
parent 7d415fc2fd
commit bde06629da
47 changed files with 2434 additions and 175 deletions

View File

@@ -1,4 +1,5 @@

using System.Collections.Generic;
namespace MediaBrowser.Controller.Sync
{
public interface ICloudSyncProvider
@@ -8,5 +9,11 @@ namespace MediaBrowser.Controller.Sync
/// </summary>
/// <value>The name.</value>
string Name { get; }
/// <summary>
/// Gets the synchronize targets.
/// </summary>
/// <returns>IEnumerable&lt;SyncTarget&gt;.</returns>
IEnumerable<SyncAccount> GetSyncAccounts();
}
}

View File

@@ -31,22 +31,12 @@ namespace MediaBrowser.Controller.Sync
/// </summary>
/// <param name="serverId">The server identifier.</param>
/// <param name="itemId">The item identifier.</param>
/// <param name="path">The path.</param>
/// <param name="pathParts">The path parts.</param>
/// <param name="name">The name.</param>
/// <param name="fileType">Type of the file.</param>
/// <param name="target">The target.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task.</returns>
Task TransferItemFile(string serverId, string itemId, string path, SyncTarget target, CancellationToken cancellationToken);
/// <summary>
/// Transfers the related file.
/// </summary>
/// <param name="serverId">The server identifier.</param>
/// <param name="itemId">The item identifier.</param>
/// <param name="path">The path.</param>
/// <param name="type">The type.</param>
/// <param name="target">The target.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task.</returns>
Task TransferRelatedFile(string serverId, string itemId, string path, ItemFileType type, SyncTarget target, CancellationToken cancellationToken);
Task TransferItemFile(string serverId, string itemId, string[] pathParts, string name, ItemFileType fileType, SyncTarget target, CancellationToken cancellationToken);
}
}

View File

@@ -0,0 +1,28 @@
using System.Collections.Generic;
namespace MediaBrowser.Controller.Sync
{
public class SyncAccount
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the identifier.
/// </summary>
/// <value>The identifier.</value>
public string Id { get; set; }
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public List<string> UserIds { get; set; }
public SyncAccount()
{
UserIds = new List<string>();
}
}
}