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

@@ -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,