update translations

This commit is contained in:
Luke Pulverenti
2014-07-20 00:46:29 -04:00
parent 880fa21674
commit ce20066bc0
73 changed files with 1765 additions and 1363 deletions

View File

@@ -208,12 +208,13 @@ namespace MediaBrowser.ServerApplication
private IUserViewManager UserViewManager { get; set; }
private IAuthenticationRepository AuthenticationRepository { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="ApplicationHost"/> class.
/// Initializes a new instance of the <see cref="ApplicationHost" /> class.
/// </summary>
/// <param name="applicationPaths">The application paths.</param>
/// <param name="logManager">The log manager.</param>
/// <param name="isRunningAsService">if set to <c>true</c> [is running as service].</param>
public ApplicationHost(ServerApplicationPaths applicationPaths, ILogManager logManager, bool isRunningAsService)
: base(applicationPaths, logManager)
{
@@ -284,7 +285,6 @@ namespace MediaBrowser.ServerApplication
await base.Init(progress).ConfigureAwait(false);
MigrateModularConfigurations();
ApplyDefaultMetadataSettings();
}
private void PerformVersionMigration()
@@ -330,21 +330,6 @@ namespace MediaBrowser.ServerApplication
}
}
private void ApplyDefaultMetadataSettings()
{
if (!ServerConfigurationManager.Configuration.DefaultMetadataSettingsApplied &&
ServerConfigurationManager.Configuration.IsStartupWizardCompleted)
{
// Make sure xbmc metadata is disabled for existing users.
// New users will be handled by the startup wizard.
ServerConfigurationManager.DisableMetadataService("Xbmc Nfo");
}
ServerConfigurationManager.Configuration.DefaultMetadataSettingsApplied = true;
ServerConfigurationManager.SaveConfiguration();
}
private void DeleteDeprecatedModules()
{
try
@@ -1111,7 +1096,6 @@ namespace MediaBrowser.ServerApplication
ServerAuthorization.AuthorizeServer(
ServerConfigurationManager.Configuration.HttpServerPortNumber,
HttpServerUrlPrefixes.First(),
ServerConfigurationManager.Configuration.LegacyWebSocketPortNumber,
UdpServerEntryPoint.PortNumber,
ConfigurationManager.CommonApplicationPaths.TempDirectory);
}

View File

@@ -194,13 +194,7 @@ namespace MediaBrowser.ServerApplication
private static void BeginLog(ILogger logger, IApplicationPaths appPaths)
{
logger.Info("Media Browser Server started");
logger.Info("Command line: {0}", string.Join(" ", Environment.GetCommandLineArgs()));
logger.Info("Server: {0}", Environment.MachineName);
logger.Info("Operating system: {0}", Environment.OSVersion.ToString());
logger.Info("Program data path: {0}", appPaths.ProgramDataPath);
logger.Info("Application Path: {0}", appPaths.ApplicationPath);
ApplicationHost.LogEnvironmentInfo(logger, appPaths);
}
private static readonly TaskCompletionSource<bool> ApplicationTaskCompletionSource = new TaskCompletionSource<bool>();

View File

@@ -1,7 +1,6 @@
rem %1 = http server port
rem %2 = http server url
rem %3 = udp server port
rem %4 = tcp server port (web socket)
if [%1]==[] GOTO DONE
@@ -18,11 +17,6 @@ if [%3]==[] GOTO DONE
netsh advfirewall firewall delete rule name="Port %3" protocol=UDP localport=%3
netsh advfirewall firewall add rule name="Port %3" dir=in action=allow protocol=UDP localport=%3
if [%4]==[] GOTO DONE
netsh advfirewall firewall delete rule name="Port %4" protocol=TCP localport=%4
netsh advfirewall firewall add rule name="Port %4" dir=in action=allow protocol=TCP localport=%4
:DONE
Exit

View File

@@ -15,10 +15,9 @@ namespace MediaBrowser.ServerApplication.Native
/// </summary>
/// <param name="httpServerPort">The HTTP server port.</param>
/// <param name="httpServerUrlPrefix">The HTTP server URL prefix.</param>
/// <param name="webSocketPort">The web socket port.</param>
/// <param name="udpPort">The UDP port.</param>
/// <param name="tempDirectory">The temp directory.</param>
public static void AuthorizeServer(int httpServerPort, string httpServerUrlPrefix, int webSocketPort, int udpPort, string tempDirectory)
public static void AuthorizeServer(int httpServerPort, string httpServerUrlPrefix, int udpPort, string tempDirectory)
{
Directory.CreateDirectory(tempDirectory);
@@ -38,10 +37,9 @@ namespace MediaBrowser.ServerApplication.Native
{
FileName = tmpFile,
Arguments = string.Format("{0} {1} {2} {3}", httpServerPort,
Arguments = string.Format("{0} {1} {2}", httpServerPort,
httpServerUrlPrefix,
udpPort,
webSocketPort),
udpPort),
CreateNoWindow = true,
WindowStyle = ProcessWindowStyle.Hidden,