From 3c1447804b5de9a7d840c7158c3cb4e0a27f76e1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 4 Nov 2016 22:17:18 -0400 Subject: move localization classes --- .../Emby.Server.Implementations.csproj | 246 +++++- .../HttpServer/GetSwaggerResource.cs | 17 + .../HttpServer/SocketSharp/HttpUtility.cs | 922 +++++++++++++++++++++ .../HttpServer/SwaggerService.cs | 46 + .../Localization/Core/ar.json | 178 ++++ .../Localization/Core/bg-BG.json | 178 ++++ .../Localization/Core/ca.json | 178 ++++ .../Localization/Core/core.json | 179 ++++ .../Localization/Core/cs.json | 178 ++++ .../Localization/Core/da.json | 178 ++++ .../Localization/Core/de.json | 178 ++++ .../Localization/Core/el.json | 178 ++++ .../Localization/Core/en-GB.json | 178 ++++ .../Localization/Core/en-US.json | 178 ++++ .../Localization/Core/es-AR.json | 178 ++++ .../Localization/Core/es-MX.json | 178 ++++ .../Localization/Core/es.json | 178 ++++ .../Localization/Core/fi.json | 178 ++++ .../Localization/Core/fr-CA.json | 178 ++++ .../Localization/Core/fr.json | 178 ++++ .../Localization/Core/gsw.json | 178 ++++ .../Localization/Core/he.json | 178 ++++ .../Localization/Core/hr.json | 178 ++++ .../Localization/Core/hu.json | 178 ++++ .../Localization/Core/id.json | 178 ++++ .../Localization/Core/it.json | 178 ++++ .../Localization/Core/kk.json | 178 ++++ .../Localization/Core/ko.json | 178 ++++ .../Localization/Core/ms.json | 178 ++++ .../Localization/Core/nb.json | 178 ++++ .../Localization/Core/nl.json | 178 ++++ .../Localization/Core/pl.json | 178 ++++ .../Localization/Core/pt-BR.json | 178 ++++ .../Localization/Core/pt-PT.json | 178 ++++ .../Localization/Core/ro.json | 178 ++++ .../Localization/Core/ru.json | 178 ++++ .../Localization/Core/sl-SI.json | 178 ++++ .../Localization/Core/sv.json | 178 ++++ .../Localization/Core/tr.json | 178 ++++ .../Localization/Core/uk.json | 178 ++++ .../Localization/Core/vi.json | 178 ++++ .../Localization/Core/zh-CN.json | 178 ++++ .../Localization/Core/zh-HK.json | 178 ++++ .../Localization/Core/zh-TW.json | 178 ++++ .../Localization/LocalizationManager.cs | 433 ++++++++++ .../Localization/Ratings/au.txt | 8 + .../Localization/Ratings/be.txt | 6 + .../Localization/Ratings/br.txt | 6 + .../Localization/Ratings/ca.txt | 6 + .../Localization/Ratings/co.txt | 8 + .../Localization/Ratings/de.txt | 10 + .../Localization/Ratings/dk.txt | 4 + .../Localization/Ratings/fr.txt | 5 + .../Localization/Ratings/gb.txt | 7 + .../Localization/Ratings/ie.txt | 6 + .../Localization/Ratings/jp.txt | 4 + .../Localization/Ratings/kz.txt | 6 + .../Localization/Ratings/mx.txt | 6 + .../Localization/Ratings/nl.txt | 6 + .../Localization/Ratings/nz.txt | 10 + .../Localization/Ratings/ru.txt | 5 + .../Localization/Ratings/us.txt | 22 + .../Localization/countries.json | 1 + .../Localization/iso6392.txt | 487 +++++++++++ 64 files changed, 9397 insertions(+), 1 deletion(-) create mode 100644 Emby.Server.Implementations/HttpServer/GetSwaggerResource.cs create mode 100644 Emby.Server.Implementations/HttpServer/SocketSharp/HttpUtility.cs create mode 100644 Emby.Server.Implementations/HttpServer/SwaggerService.cs create mode 100644 Emby.Server.Implementations/Localization/Core/ar.json create mode 100644 Emby.Server.Implementations/Localization/Core/bg-BG.json create mode 100644 Emby.Server.Implementations/Localization/Core/ca.json create mode 100644 Emby.Server.Implementations/Localization/Core/core.json create mode 100644 Emby.Server.Implementations/Localization/Core/cs.json create mode 100644 Emby.Server.Implementations/Localization/Core/da.json create mode 100644 Emby.Server.Implementations/Localization/Core/de.json create mode 100644 Emby.Server.Implementations/Localization/Core/el.json create mode 100644 Emby.Server.Implementations/Localization/Core/en-GB.json create mode 100644 Emby.Server.Implementations/Localization/Core/en-US.json create mode 100644 Emby.Server.Implementations/Localization/Core/es-AR.json create mode 100644 Emby.Server.Implementations/Localization/Core/es-MX.json create mode 100644 Emby.Server.Implementations/Localization/Core/es.json create mode 100644 Emby.Server.Implementations/Localization/Core/fi.json create mode 100644 Emby.Server.Implementations/Localization/Core/fr-CA.json create mode 100644 Emby.Server.Implementations/Localization/Core/fr.json create mode 100644 Emby.Server.Implementations/Localization/Core/gsw.json create mode 100644 Emby.Server.Implementations/Localization/Core/he.json create mode 100644 Emby.Server.Implementations/Localization/Core/hr.json create mode 100644 Emby.Server.Implementations/Localization/Core/hu.json create mode 100644 Emby.Server.Implementations/Localization/Core/id.json create mode 100644 Emby.Server.Implementations/Localization/Core/it.json create mode 100644 Emby.Server.Implementations/Localization/Core/kk.json create mode 100644 Emby.Server.Implementations/Localization/Core/ko.json create mode 100644 Emby.Server.Implementations/Localization/Core/ms.json create mode 100644 Emby.Server.Implementations/Localization/Core/nb.json create mode 100644 Emby.Server.Implementations/Localization/Core/nl.json create mode 100644 Emby.Server.Implementations/Localization/Core/pl.json create mode 100644 Emby.Server.Implementations/Localization/Core/pt-BR.json create mode 100644 Emby.Server.Implementations/Localization/Core/pt-PT.json create mode 100644 Emby.Server.Implementations/Localization/Core/ro.json create mode 100644 Emby.Server.Implementations/Localization/Core/ru.json create mode 100644 Emby.Server.Implementations/Localization/Core/sl-SI.json create mode 100644 Emby.Server.Implementations/Localization/Core/sv.json create mode 100644 Emby.Server.Implementations/Localization/Core/tr.json create mode 100644 Emby.Server.Implementations/Localization/Core/uk.json create mode 100644 Emby.Server.Implementations/Localization/Core/vi.json create mode 100644 Emby.Server.Implementations/Localization/Core/zh-CN.json create mode 100644 Emby.Server.Implementations/Localization/Core/zh-HK.json create mode 100644 Emby.Server.Implementations/Localization/Core/zh-TW.json create mode 100644 Emby.Server.Implementations/Localization/LocalizationManager.cs create mode 100644 Emby.Server.Implementations/Localization/Ratings/au.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/be.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/br.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/ca.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/co.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/de.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/dk.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/fr.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/gb.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/ie.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/jp.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/kz.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/mx.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/nl.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/nz.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/ru.txt create mode 100644 Emby.Server.Implementations/Localization/Ratings/us.txt create mode 100644 Emby.Server.Implementations/Localization/countries.json create mode 100644 Emby.Server.Implementations/Localization/iso6392.txt (limited to 'Emby.Server.Implementations') diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csproj index 8d13d206ac..33f29d64da 100644 --- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj +++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj @@ -67,11 +67,14 @@ + + + @@ -144,6 +147,7 @@ + @@ -230,7 +234,9 @@ - + + + {9142eefa-7570-41e1-bfcc-468bb571af2f} @@ -266,8 +272,246 @@ + + swagger-ui\fonts\droid-sans-v6-latin-700.svg + PreserveNewest + + + swagger-ui\fonts\droid-sans-v6-latin-regular.svg + PreserveNewest + + + swagger-ui\images\explorer_icons.png + PreserveNewest + + + swagger-ui\images\logo_small.png + PreserveNewest + + + swagger-ui\images\pet_store_api.png + PreserveNewest + + + swagger-ui\images\throbber.gif + PreserveNewest + + + swagger-ui\images\wordnik_api.png + PreserveNewest + + + swagger-ui\index.html + PreserveNewest + + + swagger-ui\lib\backbone-min.js + PreserveNewest + + + swagger-ui\lib\handlebars-2.0.0.js + PreserveNewest + + + swagger-ui\lib\highlight.7.3.pack.js + PreserveNewest + + + swagger-ui\lib\jquery-1.8.0.min.js + PreserveNewest + + + swagger-ui\lib\jquery.ba-bbq.min.js + PreserveNewest + + + swagger-ui\lib\jquery.slideto.min.js + PreserveNewest + + + swagger-ui\lib\jquery.wiggle.min.js + PreserveNewest + + + swagger-ui\lib\marked.js + PreserveNewest + + + swagger-ui\lib\shred.bundle.js + PreserveNewest + + + swagger-ui\lib\shred\content.js + PreserveNewest + + + swagger-ui\lib\swagger-client.js + PreserveNewest + + + swagger-ui\lib\swagger-oauth.js + PreserveNewest + + + swagger-ui\lib\underscore-min.js + PreserveNewest + + + swagger-ui\o2c.html + PreserveNewest + + + swagger-ui\patch.js + PreserveNewest + + + swagger-ui\swagger-ui.js + PreserveNewest + + + swagger-ui\swagger-ui.min.js + PreserveNewest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + swagger-ui\fonts\droid-sans-v6-latin-700.eot + PreserveNewest + + + swagger-ui\fonts\droid-sans-v6-latin-700.ttf + PreserveNewest + + + swagger-ui\fonts\droid-sans-v6-latin-700.woff + PreserveNewest + + + swagger-ui\fonts\droid-sans-v6-latin-700.woff2 + PreserveNewest + + + swagger-ui\fonts\droid-sans-v6-latin-regular.eot + PreserveNewest + + + swagger-ui\fonts\droid-sans-v6-latin-regular.ttf + PreserveNewest + + + swagger-ui\fonts\droid-sans-v6-latin-regular.woff + PreserveNewest + + + swagger-ui\fonts\droid-sans-v6-latin-regular.woff2 + PreserveNewest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + swagger-ui\css\reset.css + PreserveNewest + + + swagger-ui\css\screen.css + PreserveNewest + + + swagger-ui\css\typography.css + PreserveNewest + +