Translated the search page #243

pull/383/head
tidusjar 9 years ago
parent 635fc03c02
commit 0d4573e723

@ -38,7 +38,6 @@ namespace PlexRequests.UI.Modules
{
public class CultureModule : BaseModule
{
private const string CookieName = "_culture";
public CultureModule(ISettingsService<PlexRequestSettings> pr) : base("culture",pr)
{
Get["/"] = x => SetCulture();
@ -53,18 +52,18 @@ namespace PlexRequests.UI.Modules
culture = CultureHelper.GetImplementedCulture(culture);
var outCookie = string.Empty;
if (Cookies.TryGetValue(CookieName, out outCookie))
if (Cookies.TryGetValue(CultureCookieName, out outCookie))
{
Cookies[CookieName] = culture;
Cookies[CultureCookieName] = culture;
}
else
{
Cookies.Add(CookieName, culture);
Cookies.Add(CultureCookieName, culture);
}
var cookie = Cookies["_culture"];
var response = Context.GetRedirect(returnUrl);
response.WithCookie(CookieName, cookie ?? culture, DateTime.Now.AddYears(1));
response.WithCookie(CultureCookieName, cookie ?? culture, DateTime.Now.AddYears(1));
return response;
}

@ -60,6 +60,87 @@ namespace PlexRequests.UI.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Close.
/// </summary>
public static string Common_Close {
get {
return ResourceManager.GetString("Common_Close", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Save.
/// </summary>
public static string Common_Save {
get {
return ResourceManager.GetString("Common_Save", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Save Changes.
/// </summary>
public static string Issues_Modal_Save {
get {
return ResourceManager.GetString("Issues_Modal_Save", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Add an issue.
/// </summary>
public static string Issues_Modal_Title {
get {
return ResourceManager.GetString("Issues_Modal_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No Subtitles.
/// </summary>
public static string Issues_NoSubs {
get {
return ResourceManager.GetString("Issues_NoSubs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Other.
/// </summary>
public static string Issues_Other {
get {
return ResourceManager.GetString("Issues_Other", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Playback Issues.
/// </summary>
public static string Issues_Playback {
get {
return ResourceManager.GetString("Issues_Playback", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wrong Audio.
/// </summary>
public static string Issues_WrongAudio {
get {
return ResourceManager.GetString("Issues_WrongAudio", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wrong Content.
/// </summary>
public static string Issues_WrongContent {
get {
return ResourceManager.GetString("Issues_WrongContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Something went wrong!.
/// </summary>
@ -249,6 +330,195 @@ namespace PlexRequests.UI.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Albums.
/// </summary>
public static string Search_Albums {
get {
return ResourceManager.GetString("Search_Albums", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to All Seasons.
/// </summary>
public static string Search_AllSeasons {
get {
return ResourceManager.GetString("Search_AllSeasons", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Available.
/// </summary>
public static string Search_Available {
get {
return ResourceManager.GetString("Search_Available", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Coming Soon.
/// </summary>
public static string Search_ComingSoon {
get {
return ResourceManager.GetString("Search_ComingSoon", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Country.
/// </summary>
public static string Search_Country {
get {
return ResourceManager.GetString("Search_Country", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to First Season.
/// </summary>
public static string Search_FirstSeason {
get {
return ResourceManager.GetString("Search_FirstSeason", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to In Theaters.
/// </summary>
public static string Search_InTheaters {
get {
return ResourceManager.GetString("Search_InTheaters", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Latest Season.
/// </summary>
public static string Search_LatestSeason {
get {
return ResourceManager.GetString("Search_LatestSeason", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Seasons.
/// </summary>
public static string Search_Modal_SeasonsTitle {
get {
return ResourceManager.GetString("Search_Modal_SeasonsTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Movies.
/// </summary>
public static string Search_Movies {
get {
return ResourceManager.GetString("Search_Movies", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Want to watch something that is not currently on Plex?! No problem! Just search for it below and request it!.
/// </summary>
public static string Search_Paragraph {
get {
return ResourceManager.GetString("Search_Paragraph", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Report Issue.
/// </summary>
public static string Search_ReportIssue {
get {
return ResourceManager.GetString("Search_ReportIssue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Request.
/// </summary>
public static string Search_Request {
get {
return ResourceManager.GetString("Search_Request", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Requested.
/// </summary>
public static string Search_Requested {
get {
return ResourceManager.GetString("Search_Requested", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Season.
/// </summary>
public static string Search_Season {
get {
return ResourceManager.GetString("Search_Season", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Select .
/// </summary>
public static string Search_SelectSeason {
get {
return ResourceManager.GetString("Search_SelectSeason", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Send me a notification when items I have requested have been added.
/// </summary>
public static string Search_SendNotificationText {
get {
return ResourceManager.GetString("Search_SendNotificationText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Suggestions.
/// </summary>
public static string Search_Suggestions {
get {
return ResourceManager.GetString("Search_Suggestions", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Search.
/// </summary>
public static string Search_Title {
get {
return ResourceManager.GetString("Search_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Track Count.
/// </summary>
public static string Search_TrackCount {
get {
return ResourceManager.GetString("Search_TrackCount", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to TV Shows.
/// </summary>
public static string Search_TvShows {
get {
return ResourceManager.GetString("Search_TvShows", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Want to watch a movie or tv show but it&apos;s not currently on Plex?
/// Login below with your Plex.tv username and password!.

@ -201,4 +201,94 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>Hollandsk</value>
</data>
<data name="Search_Movies" xml:space="preserve">
<value>Film</value>
</data>
<data name="Search_TvShows" xml:space="preserve">
<value>TV-shows</value>
</data>
<data name="Search_Albums" xml:space="preserve">
<value>Album</value>
</data>
<data name="Search_Paragraph" xml:space="preserve">
<value>Ønsker at se noget, der ikke i øjeblikket på Plex ?! Intet problem! Bare søge efter det nedenfor og anmode den !</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>Søg</value>
</data>
<data name="Search_Suggestions" xml:space="preserve">
<value>Forslag</value>
</data>
<data name="Search_ComingSoon" xml:space="preserve">
<value>Kommer snart</value>
</data>
<data name="Search_InTheaters" xml:space="preserve">
<value>Teatre</value>
</data>
<data name="Search_SendNotificationText" xml:space="preserve">
<value>Send mig en meddelelse, når emner, jeg har anmodet er blevet tilføjet</value>
</data>
<data name="Common_Save" xml:space="preserve">
<value>Gem</value>
</data>
<data name="Search_Available" xml:space="preserve">
<value>Tilgængelig</value>
</data>
<data name="Search_Requested" xml:space="preserve">
<value>Forespørgsel sendt</value>
</data>
<data name="Search_Request" xml:space="preserve">
<value>Forespørgsel</value>
</data>
<data name="Search_AllSeasons" xml:space="preserve">
<value>Alle sæsoner</value>
</data>
<data name="Search_FirstSeason" xml:space="preserve">
<value>Første sæson</value>
</data>
<data name="Search_LatestSeason" xml:space="preserve">
<value>Sidste sæson</value>
</data>
<data name="Search_SelectSeason" xml:space="preserve">
<value>Vælg</value>
</data>
<data name="Search_ReportIssue" xml:space="preserve">
<value>Rapport Issue</value>
</data>
<data name="Issues_WrongAudio" xml:space="preserve">
<value>Forkert lyd</value>
</data>
<data name="Issues_NoSubs" xml:space="preserve">
<value>Undertekster</value>
</data>
<data name="Issues_WrongContent" xml:space="preserve">
<value>Forkert indhold</value>
</data>
<data name="Issues_Playback" xml:space="preserve">
<value>Playback Issues</value>
</data>
<data name="Issues_Other" xml:space="preserve">
<value>Andet</value>
</data>
<data name="Search_TrackCount" xml:space="preserve">
<value>Track Count!</value>
</data>
<data name="Search_Country" xml:space="preserve">
<value>Land</value>
</data>
<data name="Search_Modal_SeasonsTitle" xml:space="preserve">
<value>Årstid</value>
</data>
<data name="Common_Close" xml:space="preserve">
<value>Luk</value>
</data>
<data name="Issues_Modal_Title" xml:space="preserve">
<value>Tilføj et problem!</value>
</data>
<data name="Issues_Modal_Save" xml:space="preserve">
<value>Gem ændringer</value>
</data>
<data name="Search_Season" xml:space="preserve">
<value>Sæson</value>
</data>
</root>

@ -201,4 +201,94 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>Niederländisch</value>
</data>
<data name="Search_Movies" xml:space="preserve">
<value>Filme</value>
</data>
<data name="Search_TvShows" xml:space="preserve">
<value>SERIEN</value>
</data>
<data name="Search_Albums" xml:space="preserve">
<value>Alben</value>
</data>
<data name="Search_Paragraph" xml:space="preserve">
<value>Möchten Sie etwas zu sehen, die derzeit nicht auf Plex ist ?! Kein Problem! Suchen Sie einfach nach unten und es es wünschen !!</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>Suche!</value>
</data>
<data name="Search_Suggestions" xml:space="preserve">
<value>Vorschläge</value>
</data>
<data name="Search_ComingSoon" xml:space="preserve">
<value>Demnächst</value>
</data>
<data name="Search_InTheaters" xml:space="preserve">
<value>Theatern</value>
</data>
<data name="Search_SendNotificationText" xml:space="preserve">
<value>Senden Sie mir eine Benachrichtigung, wenn Gegenstände, die ich angefordert wurden hinzugefügt!</value>
</data>
<data name="Common_Save" xml:space="preserve">
<value>Speichern!</value>
</data>
<data name="Search_Available" xml:space="preserve">
<value>V ERFÜGBAR</value>
</data>
<data name="Search_Requested" xml:space="preserve">
<value>angefragt</value>
</data>
<data name="Search_Request" xml:space="preserve">
<value>Angefordert</value>
</data>
<data name="Search_AllSeasons" xml:space="preserve">
<value>alle Saisonen</value>
</data>
<data name="Search_FirstSeason" xml:space="preserve">
<value>Erste Saison!</value>
</data>
<data name="Search_LatestSeason" xml:space="preserve">
<value>Neueste Saison!</value>
</data>
<data name="Search_SelectSeason" xml:space="preserve">
<value>Auswählen</value>
</data>
<data name="Search_ReportIssue" xml:space="preserve">
<value>Report Ausgabe!</value>
</data>
<data name="Issues_WrongAudio" xml:space="preserve">
<value>Falsche Audio!</value>
</data>
<data name="Issues_NoSubs" xml:space="preserve">
<value>Keine Untertitel</value>
</data>
<data name="Issues_WrongContent" xml:space="preserve">
<value>Falscher Inhaltstyp.</value>
</data>
<data name="Issues_Playback" xml:space="preserve">
<value>Wiedergabe-Probleme!</value>
</data>
<data name="Issues_Other" xml:space="preserve">
<value>Sonstige</value>
</data>
<data name="Search_TrackCount" xml:space="preserve">
<value>Track-Count!</value>
</data>
<data name="Search_Country" xml:space="preserve">
<value>Land</value>
</data>
<data name="Search_Modal_SeasonsTitle" xml:space="preserve">
<value>Jahreszeiten!</value>
</data>
<data name="Common_Close" xml:space="preserve">
<value>Schließen</value>
</data>
<data name="Issues_Modal_Title" xml:space="preserve">
<value>Fügen Sie ein Problem!</value>
</data>
<data name="Issues_Modal_Save" xml:space="preserve">
<value>Änderungen speichern</value>
</data>
<data name="Search_Season" xml:space="preserve">
<value>Staffel</value>
</data>
</root>

@ -201,4 +201,94 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>Holandés</value>
</data>
<data name="Search_Movies" xml:space="preserve">
<value>Películas</value>
</data>
<data name="Search_TvShows" xml:space="preserve">
<value>Serie de TV</value>
</data>
<data name="Search_Albums" xml:space="preserve">
<value>Álbumes</value>
</data>
<data name="Search_Paragraph" xml:space="preserve">
<value>¿Quieres ver algo que no se encuentra actualmente en Plex ?! ¡No hay problema! Sólo la búsqueda de abajo y que solicitarlo !!</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>¡Buscar!</value>
</data>
<data name="Search_Suggestions" xml:space="preserve">
<value>Sugerencias</value>
</data>
<data name="Search_ComingSoon" xml:space="preserve">
<value>Muy Pronto!</value>
</data>
<data name="Search_InTheaters" xml:space="preserve">
<value>¡En los cines!</value>
</data>
<data name="Search_SendNotificationText" xml:space="preserve">
<value>Envíame una notificación cuando se han añadido elementos que he solicitado!</value>
</data>
<data name="Common_Save" xml:space="preserve">
<value>Ahorra!</value>
</data>
<data name="Search_Available" xml:space="preserve">
<value>disponible</value>
</data>
<data name="Search_Requested" xml:space="preserve">
<value>¡Pedido!</value>
</data>
<data name="Search_Request" xml:space="preserve">
<value>Solicitud</value>
</data>
<data name="Search_AllSeasons" xml:space="preserve">
<value>Todas las temporadas</value>
</data>
<data name="Search_FirstSeason" xml:space="preserve">
<value>Primera Temporada!</value>
</data>
<data name="Search_LatestSeason" xml:space="preserve">
<value>Última estación!</value>
</data>
<data name="Search_SelectSeason" xml:space="preserve">
<value>Seleccionar</value>
</data>
<data name="Search_ReportIssue" xml:space="preserve">
<value>Informe del problema!</value>
</data>
<data name="Issues_WrongAudio" xml:space="preserve">
<value>Audio mal!</value>
</data>
<data name="Issues_NoSubs" xml:space="preserve">
<value>Subtitles</value>
</data>
<data name="Issues_WrongContent" xml:space="preserve">
<value>Contenido incorrecto!</value>
</data>
<data name="Issues_Playback" xml:space="preserve">
<value>Problemas de reproducción!</value>
</data>
<data name="Issues_Other" xml:space="preserve">
<value>Otro</value>
</data>
<data name="Search_TrackCount" xml:space="preserve">
<value>El número de pistas!</value>
</data>
<data name="Search_Country" xml:space="preserve">
<value>País</value>
</data>
<data name="Search_Modal_SeasonsTitle" xml:space="preserve">
<value>Temporadas</value>
</data>
<data name="Common_Close" xml:space="preserve">
<value>Cerrar</value>
</data>
<data name="Issues_Modal_Title" xml:space="preserve">
<value>Añadir un problema!</value>
</data>
<data name="Issues_Modal_Save" xml:space="preserve">
<value>Guardar cambios</value>
</data>
<data name="Search_Season" xml:space="preserve">
<value>Temporada</value>
</data>
</root>

@ -201,4 +201,94 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>Néerlandais</value>
</data>
<data name="Search_Movies" xml:space="preserve">
<value>Films</value>
</data>
<data name="Search_TvShows" xml:space="preserve">
<value>Émissions de télévision!</value>
</data>
<data name="Search_Albums" xml:space="preserve">
<value>Albums</value>
</data>
<data name="Search_Paragraph" xml:space="preserve">
<value>Vous voulez regarder quelque chose qui est pas actuellement sur Plex ?! Pas de problème! Il suffit de chercher ci-dessous et demander !!</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>Chercher</value>
</data>
<data name="Search_Suggestions" xml:space="preserve">
<value>Suggestions</value>
</data>
<data name="Search_ComingSoon" xml:space="preserve">
<value>Bientôt disponible !</value>
</data>
<data name="Search_InTheaters" xml:space="preserve">
<value>Théâtre</value>
</data>
<data name="Search_SendNotificationText" xml:space="preserve">
<value>Envoyez-moi une notification lorsque des éléments que j'ai demandés ont été ajoutés!</value>
</data>
<data name="Common_Save" xml:space="preserve">
<value>Enregistrer</value>
</data>
<data name="Search_Available" xml:space="preserve">
<value>Disponible</value>
</data>
<data name="Search_Requested" xml:space="preserve">
<value>Demandé!</value>
</data>
<data name="Search_Request" xml:space="preserve">
<value>Requête</value>
</data>
<data name="Search_AllSeasons" xml:space="preserve">
<value>Saisons</value>
</data>
<data name="Search_FirstSeason" xml:space="preserve">
<value>Première saison!</value>
</data>
<data name="Search_LatestSeason" xml:space="preserve">
<value>Dernière saison!</value>
</data>
<data name="Search_SelectSeason" xml:space="preserve">
<value>Sélectionner</value>
</data>
<data name="Search_ReportIssue" xml:space="preserve">
<value>Formulaire de rapport d'incident</value>
</data>
<data name="Issues_WrongAudio" xml:space="preserve">
<value>Mauvais Audio!</value>
</data>
<data name="Issues_NoSubs" xml:space="preserve">
<value>Pas de sous-titres</value>
</data>
<data name="Issues_WrongContent" xml:space="preserve">
<value>Contenu erroné!</value>
</data>
<data name="Issues_Playback" xml:space="preserve">
<value>Problèmes de lecture!</value>
</data>
<data name="Issues_Other" xml:space="preserve">
<value>Autre</value>
</data>
<data name="Search_TrackCount" xml:space="preserve">
<value>Nombre de pistes!</value>
</data>
<data name="Search_Country" xml:space="preserve">
<value>Pays</value>
</data>
<data name="Search_Modal_SeasonsTitle" xml:space="preserve">
<value>Saisons</value>
</data>
<data name="Common_Close" xml:space="preserve">
<value>Fermer</value>
</data>
<data name="Issues_Modal_Title" xml:space="preserve">
<value>Ajouter une question!</value>
</data>
<data name="Issues_Modal_Save" xml:space="preserve">
<value>Sauvegarder les modifications</value>
</data>
<data name="Search_Season" xml:space="preserve">
<value>SAISON</value>
</data>
</root>

@ -201,4 +201,7 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>Olandese</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>Cerca!</value>
</data>
</root>

@ -201,4 +201,7 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>Dutch</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>Zoeken!</value>
</data>
</root>

@ -201,4 +201,94 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>Holandês</value>
</data>
<data name="Search_Movies" xml:space="preserve">
<value>Filmes</value>
</data>
<data name="Search_TvShows" xml:space="preserve">
<value>Todas as Series de TV</value>
</data>
<data name="Search_Albums" xml:space="preserve">
<value>Álbuns</value>
</data>
<data name="Search_Paragraph" xml:space="preserve">
<value>Quer assistir algo que não está atualmente em Plex ?! Sem problemas! Basta procurá-lo abaixo e solicitá-lo !!</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>Buscar</value>
</data>
<data name="Search_Suggestions" xml:space="preserve">
<value>Sugestões</value>
</data>
<data name="Search_ComingSoon" xml:space="preserve">
<value>Em breve!</value>
</data>
<data name="Search_InTheaters" xml:space="preserve">
<value>somente nos cinemas</value>
</data>
<data name="Search_SendNotificationText" xml:space="preserve">
<value>Envie-me uma notificação quando os itens I solicitados foram adicionados!</value>
</data>
<data name="Common_Save" xml:space="preserve">
<value>Salvar</value>
</data>
<data name="Search_Available" xml:space="preserve">
<value>Disponível!</value>
</data>
<data name="Search_Requested" xml:space="preserve">
<value>SOLICITADOS</value>
</data>
<data name="Search_Request" xml:space="preserve">
<value>SOLICITAÇÃO</value>
</data>
<data name="Search_AllSeasons" xml:space="preserve">
<value>Todas as temporadas</value>
</data>
<data name="Search_FirstSeason" xml:space="preserve">
<value>Primeira Temporada!</value>
</data>
<data name="Search_LatestSeason" xml:space="preserve">
<value>Últimas estação!</value>
</data>
<data name="Search_SelectSeason" xml:space="preserve">
<value>Selecione</value>
</data>
<data name="Search_ReportIssue" xml:space="preserve">
<value>REGISTRANDO A RETIRADA (BAIXA)</value>
</data>
<data name="Issues_WrongAudio" xml:space="preserve">
<value>Áudio errado!</value>
</data>
<data name="Issues_NoSubs" xml:space="preserve">
<value>Sem legendas!</value>
</data>
<data name="Issues_WrongContent" xml:space="preserve">
<value>Conteúdo errado!</value>
</data>
<data name="Issues_Playback" xml:space="preserve">
<value>Problemas de reprodução!</value>
</data>
<data name="Issues_Other" xml:space="preserve">
<value>Outra!</value>
</data>
<data name="Search_TrackCount" xml:space="preserve">
<value>Contagem pista!</value>
</data>
<data name="Search_Country" xml:space="preserve">
<value>País</value>
</data>
<data name="Search_Modal_SeasonsTitle" xml:space="preserve">
<value>Temporadas</value>
</data>
<data name="Common_Close" xml:space="preserve">
<value>Fechar</value>
</data>
<data name="Issues_Modal_Title" xml:space="preserve">
<value>Adicionar um problema!</value>
</data>
<data name="Issues_Modal_Save" xml:space="preserve">
<value>Salvar alterações</value>
</data>
<data name="Search_Season" xml:space="preserve">
<value>Temporada</value>
</data>
</root>

@ -182,4 +182,94 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>Dutch</value>
</data>
<data name="Search_Movies" xml:space="preserve">
<value>Movies</value>
</data>
<data name="Search_TvShows" xml:space="preserve">
<value>TV Shows</value>
</data>
<data name="Search_Albums" xml:space="preserve">
<value>Albums</value>
</data>
<data name="Search_Paragraph" xml:space="preserve">
<value>Want to watch something that is not currently on Plex?! No problem! Just search for it below and request it!</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>Search</value>
</data>
<data name="Search_Suggestions" xml:space="preserve">
<value>Suggestions</value>
</data>
<data name="Search_ComingSoon" xml:space="preserve">
<value>Coming Soon</value>
</data>
<data name="Search_InTheaters" xml:space="preserve">
<value>In Theaters</value>
</data>
<data name="Search_SendNotificationText" xml:space="preserve">
<value>Send me a notification when items I have requested have been added</value>
</data>
<data name="Common_Save" xml:space="preserve">
<value>Save</value>
</data>
<data name="Search_Available" xml:space="preserve">
<value>Available</value>
</data>
<data name="Search_Requested" xml:space="preserve">
<value>Requested</value>
</data>
<data name="Search_Request" xml:space="preserve">
<value>Request</value>
</data>
<data name="Search_AllSeasons" xml:space="preserve">
<value>All Seasons</value>
</data>
<data name="Search_FirstSeason" xml:space="preserve">
<value>First Season</value>
</data>
<data name="Search_LatestSeason" xml:space="preserve">
<value>Latest Season</value>
</data>
<data name="Search_SelectSeason" xml:space="preserve">
<value>Select </value>
</data>
<data name="Search_ReportIssue" xml:space="preserve">
<value>Report Issue</value>
</data>
<data name="Issues_WrongAudio" xml:space="preserve">
<value>Wrong Audio</value>
</data>
<data name="Issues_NoSubs" xml:space="preserve">
<value>No Subtitles</value>
</data>
<data name="Issues_WrongContent" xml:space="preserve">
<value>Wrong Content</value>
</data>
<data name="Issues_Playback" xml:space="preserve">
<value>Playback Issues</value>
</data>
<data name="Issues_Other" xml:space="preserve">
<value>Other</value>
</data>
<data name="Search_TrackCount" xml:space="preserve">
<value>Track Count</value>
</data>
<data name="Search_Country" xml:space="preserve">
<value>Country</value>
</data>
<data name="Search_Modal_SeasonsTitle" xml:space="preserve">
<value>Seasons</value>
</data>
<data name="Common_Close" xml:space="preserve">
<value>Close</value>
</data>
<data name="Issues_Modal_Title" xml:space="preserve">
<value>Add an issue</value>
</data>
<data name="Issues_Modal_Save" xml:space="preserve">
<value>Save Changes</value>
</data>
<data name="Search_Season" xml:space="preserve">
<value>Season</value>
</data>
</root>

@ -201,4 +201,43 @@
<data name="Layout_Dutch" xml:space="preserve">
<value>dutch</value>
</data>
<data name="Search_Request" xml:space="preserve">
<value>Fråga</value>
</data>
<data name="Search_Movies" xml:space="preserve">
<value>Filmer</value>
</data>
<data name="Search_TvShows" xml:space="preserve">
<value>Tv program!</value>
</data>
<data name="Search_Albums" xml:space="preserve">
<value>Album</value>
</data>
<data name="Search_Paragraph" xml:space="preserve">
<value>Vill titta på något som inte är närvarande på Plex ?! Inga problem! Bara söka efter den nedan och begär det !!</value>
</data>
<data name="Search_Title" xml:space="preserve">
<value>Sök!</value>
</data>
<data name="Search_Suggestions" xml:space="preserve">
<value>Förslag</value>
</data>
<data name="Search_ComingSoon" xml:space="preserve">
<value>Kommer snart!</value>
</data>
<data name="Search_InTheaters" xml:space="preserve">
<value>Teater</value>
</data>
<data name="Search_SendNotificationText" xml:space="preserve">
<value>Skicka mig ett meddelande när objekt jag har begärt har lagts till!</value>
</data>
<data name="Common_Save" xml:space="preserve">
<value>Spara</value>
</data>
<data name="Search_Available" xml:space="preserve">
<value>Tillgänglig</value>
</data>
<data name="Search_Requested" xml:space="preserve">
<value>Begärd</value>
</data>
</root>

@ -1,326 +1,327 @@
@using PlexRequests.UI.Helpers
@{
var baseUrl = Html.GetBaseUrl();
var url = string.Empty;
if (!string.IsNullOrEmpty(baseUrl.ToHtmlString()))
{
url = "/" + baseUrl.ToHtmlString();
}
}
<div>
<h1>Search</h1>
<h4>Want to watch something that is not currently on Plex?! No problem! Just search for it below and request it!</h4>
<br />
<!-- Nav tabs -->
<ul id="nav-tabs" class="nav nav-tabs" role="tablist">
@if (Model.SearchForMovies)
{
<li role="presentation" class="active">
<a href="#MoviesTab" aria-controls="home" role="tab" data-toggle="tab"><i class="fa fa-film"></i> Movies</a>
</li>
}
@if (Model.SearchForTvShows)
{
<li role="presentation">
<a href="#TvShowTab" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-television"></i> TV Shows</a>
</li>
}
@if (Model.SearchForMusic)
{
<li role="presentation">
<a href="#MusicTab" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-music"></i>Albums</a>
</li>
}
<li role="presentation" class="nav-tab-right nav-tab-icononly">
<a href="#NotificationsTab" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-bell"></i></a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
@if (Model.SearchForMovies)
{
<!-- Movie tab -->
<div role="tabpanel" class="tab-pane active" id="MoviesTab">
<div class="input-group">
<input id="movieSearchContent" type="text" class="form-control form-control-custom form-control-search form-control-withbuttons">
<div class="input-group-addon">
<div class="btn-group">
<a href="#" class="btn btn-sm btn-primary-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
Suggestions
<i class="fa fa-chevron-down"></i>
</a>
<ul class="dropdown-menu">
<li><a id="moviesComingSoon" href="#">Coming Soon</a></li>
<li><a id="moviesInTheaters" href="#">In Theaters</a></li>
</ul>
</div>
<i id="movieSearchButton" class="fa fa-search"></i>
</div>
</div>
<br />
<br />
<!-- Movie content -->
<div id="movieList">
</div>
</div>
}
@if (Model.SearchForTvShows)
{
<!-- TV tab -->
<div role="tabpanel" class="tab-pane" id="TvShowTab">
<div class="input-group">
<input id="tvSearchContent" type="text" class="form-control form-control-custom form-control-search">
<div class="input-group-addon">
<i id="tvSearchButton" class="fa fa-search"></i>
</div>
</div>
<br />
<br />
<!-- TV content -->
<div id="tvList">
</div>
</div>
}
@if (Model.SearchForMusic)
{
<!-- Music tab -->
<div role="tabpanel" class="tab-pane" id="MusicTab">
<div class="input-group">
<input id="musicSearchContent" type="text" class="form-control form-control-custom form-control-search">
<div class="input-group-addon">
<i id="musicSearchButton" class="fa fa-search"></i>
</div>
</div>
<br />
<br />
<!-- Music content -->
<div id="musicList">
</div>
</div>
}
<!-- Notification tab -->
<div role="tabpanel" class="tab-pane" id="NotificationsTab">
<div class="input-group">
<div class="input-group-addon input-group-sm"></div>
</div>
<br />
<!-- Notifications content -->
<form class="form-horizontal" method="POST" id="notificationsForm">
<fieldset>
<div class="form-group">
<div class="checkbox">
<input type="checkbox" id="notifyUser" name="Notify">
<label for="notifyUser">Send me a notification when items I have requested have been added</label>
</div>
</div>
<div class="form-group">
<div>
<button id="saveNotificationSettings" class="btn btn-primary-outline">Save</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<!-- Movie and TV Results template -->
<script id="search-template" type="text/x-handlebars-template">
<div class="row">
<div class="col-sm-2">
{{#if_eq type "movie"}}
{{#if posterPath}}
<img class="img-responsive" src="https://image.tmdb.org/t/p/w150/{{posterPath}}" alt="poster">
{{/if}}
{{/if_eq}}
{{#if_eq type "tv"}}
{{#if posterPath}}
<img class="img-responsive" width="150" src="{{posterPath}}" alt="poster">
{{/if}}
{{/if_eq}}
</div>
<div class="col-sm-5 ">
<div>
{{#if_eq type "movie"}}
<a href="https://www.themoviedb.org/movie/{{id}}/" target="_blank">
<h4>{{title}} ({{year}})</h4>
</a>
{{else}}
<a href="http://www.imdb.com/title/{{imdb}}/" target="_blank">
<h4>{{title}} ({{year}})</h4>
</a>
{{/if_eq}}
</div>
<p>{{overview}}</p>
</div>
<div class="col-sm-2 col-sm-push-3">
<form method="POST" action="@url/search/request/{{type}}" id="form{{id}}">
<input name="{{type}}Id" type="text" value="{{id}}" hidden="hidden" />
{{#if_eq available true}}
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> Available</button>
{{else}}
{{#if_eq requested true}}
<button style="text-align: right" class="btn btn-primary-outline disabled" disabled><i class="fa fa-check"></i> Requested</button>
{{else}}
{{#if_eq type "movie"}}
<button id="{{id}}" style="text-align: right" class="btn btn-primary-outline requestMovie" type="submit"><i class="fa fa-plus"></i> Request</button>
{{/if_eq}}
{{#if_eq type "tv"}}
<div class="dropdown">
<button id="{{id}}" class="btn btn-primary-outline dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<i class="fa fa-plus"></i> Request
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><a id="{{id}}" season-select="0" class="dropdownTv " href="#">All Seasons</a></li>
<li><a id="{{id}}" season-select="1" class="dropdownTv" href="#">First Season</a></li>
<li><a id="{{id}}" season-select="2" class="dropdownTv" href="#">Latest Season</a></li>
<li><a id="SeasonSelect" data-identifier="{{id}}" data-toggle="modal" data-target="#seasonsModal" href="#">Select...</a></li>
</ul>
</div>
{{/if_eq}}
{{/if_eq}}
{{/if_eq}}
<br />
</form>
{{#if_eq available true}}
<form method="POST" action="@url/issues/nonrequestissue/" id="report{{id}}">
<input name="providerId" type="text" value="{{id}}" hidden="hidden" />
<input name="type" type="text" value="{{type}}" hidden="hidden" />
<div class="dropdown">
<button id="{{id}}" class="btn btn-sm btn-danger-outline dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<i class="fa fa-exclamation"></i> Report Issue
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><a id="{{id}}" issue-select="0" class="dropdownIssue" href="#">Wrong Audio</a></li>
<li><a id="{{id}}" issue-select="1" class="dropdownIssue" href="#">No Subtitles</a></li>
<li><a id="{{id}}" issue-select="2" class="dropdownIssue" href="#">Wrong Content</a></li>
<li><a id="{{id}}" issue-select="3" class="dropdownIssue" href="#">Playback Issues</a></li>
<li><a id="{{id}}" issue-select="4" class="dropdownIssue" data-identifier="{{id}}" data-type="{{type}}" href="#" data-toggle="modal" data-target="#issuesModal">Other</a></li>
</ul>
</div>
</form>
{{/if_eq}}
</div>
</div>
<hr />
</script>
<!-- Music Results template -->
<script id="music-template" type="text/x-handlebars-template">
<div class="row">
<div id="{{id}}imageDiv" class="col-sm-2">
{{#if coverArtUrl}}
<img id="{{id}}cover" class="img-responsive" src="{{coverArtUrl}}" width="150" alt="poster">
{{/if}}
</div>
<div class="col-sm-5 ">
<div>
<a href="https://musicbrainz.org/release/{{id}}" target="_blank">
<h4>
{{artist}} - {{title}}
{{#if year}}
({{year}})
{{/if}}
</h4>
</a>
</div>
<p>{{overview}}</p>
</div>
<div class="col-sm-2 col-sm-push-3">
<form method="POST" action="@url/search/request/{{type}}" id="form{{id}}">
<input name="{{type}}Id" type="text" value="{{id}}" hidden="hidden" />
{{#if_eq available true}}
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> Available</button>
{{else}}
{{#if_eq requested true}}
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> Requested</button>
{{else}}
<button id="{{id}}" style="text-align: right" class="btn btn-primary-outline requestAlbum" type="submit"><i class="fa fa-plus"></i> Request</button>
{{/if_eq}}
{{/if_eq}}
<br />
<small class="row">Track Count: {{trackCount}}</small>
<small class="row">Country: {{country}}</small>
</form>
</div>
</div>
<hr />
</script>
<div class="modal fade" id="seasonsModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">Seasons</h4>
</div>
<div class="modal-body" id="seasonsBody">
</div>
<div hidden="hidden" id="selectedSeasonsId"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" id="seasonsRequest" class="btn btn-primary">Request</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="issuesModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
<h4 class="modal-title">Add an issue</h4>
</div>
<form method="POST" action="@url/issues/nonrequestissuecomment" id="commentForm">
<div class="modal-body">
<input id="providerIdModal" name="providerId" class="providerId" type="text" hidden="hidden" value="" />
<input name="issue" class="issue" type="text" hidden="hidden" value="" />
<input id="typeModal" name="type" class="type" type="text" hidden="hidden" value="" />
<textarea class="form-control form-control-custom" rows="3" id="commentArea" name="commentArea"></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger-outline" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary-outline theSaveButton" data-dismiss="modal">Save changes</button>
</div>
</form>
</div>
</div>
</div>
<script id="seasons-template" type="text/x-handlebars-template">
<div class="form-group">
<div class="checkbox">
<input type="checkbox" class="selectedSeasons" id="{{id}}" name="{{id}}"><label for="{{id}}">Season {{id}}</label>
</div>
</div>
</script>
@Html.LoadSearchAssets()
@using PlexRequests.UI.Helpers
@using PlexRequests.UI.Resources
@{
var baseUrl = Html.GetBaseUrl();
var url = string.Empty;
if (!string.IsNullOrEmpty(baseUrl.ToHtmlString()))
{
url = "/" + baseUrl.ToHtmlString();
}
}
<div>
<h1>@UI.Seach_SearchTitle</h1>
<h4>@UI.Search_Paragraph</h4>
<br />
<!-- Nav tabs -->
<ul id="nav-tabs" class="nav nav-tabs" role="tablist">
@if (Model.SearchForMovies)
{
<li role="presentation" class="active">
<a href="#MoviesTab" aria-controls="home" role="tab" data-toggle="tab"><i class="fa fa-film"></i> @UI.Search_Movies</a>
</li>
}
@if (Model.SearchForTvShows)
{
<li role="presentation">
<a href="#TvShowTab" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-television"></i> @UI.Search_TvShows</a>
</li>
}
@if (Model.SearchForMusic)
{
<li role="presentation">
<a href="#MusicTab" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-music"></i>@UI.Search_Albums</a>
</li>
}
<li role="presentation" class="nav-tab-right nav-tab-icononly">
<a href="#NotificationsTab" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-bell"></i></a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
@if (Model.SearchForMovies)
{
<!-- Movie tab -->
<div role="tabpanel" class="tab-pane active" id="MoviesTab">
<div class="input-group">
<input id="movieSearchContent" type="text" class="form-control form-control-custom form-control-search form-control-withbuttons">
<div class="input-group-addon">
<div class="btn-group">
<a href="#" class="btn btn-sm btn-primary-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
@UI.Search_Suggestions
<i class="fa fa-chevron-down"></i>
</a>
<ul class="dropdown-menu">
<li><a id="moviesComingSoon" href="#">@UI.Search_ComingSoon</a></li>
<li><a id="moviesInTheaters" href="#">@UI.Search_InTheaters</a></li>
</ul>
</div>
<i id="movieSearchButton" class="fa fa-search"></i>
</div>
</div>
<br />
<br />
<!-- Movie content -->
<div id="movieList">
</div>
</div>
}
@if (Model.SearchForTvShows)
{
<!-- TV tab -->
<div role="tabpanel" class="tab-pane" id="TvShowTab">
<div class="input-group">
<input id="tvSearchContent" type="text" class="form-control form-control-custom form-control-search">
<div class="input-group-addon">
<i id="tvSearchButton" class="fa fa-search"></i>
</div>
</div>
<br />
<br />
<!-- TV content -->
<div id="tvList">
</div>
</div>
}
@if (Model.SearchForMusic)
{
<!-- Music tab -->
<div role="tabpanel" class="tab-pane" id="MusicTab">
<div class="input-group">
<input id="musicSearchContent" type="text" class="form-control form-control-custom form-control-search">
<div class="input-group-addon">
<i id="musicSearchButton" class="fa fa-search"></i>
</div>
</div>
<br />
<br />
<!-- Music content -->
<div id="musicList">
</div>
</div>
}
<!-- Notification tab -->
<div role="tabpanel" class="tab-pane" id="NotificationsTab">
<div class="input-group">
<div class="input-group-addon input-group-sm"></div>
</div>
<br />
<!-- Notifications content -->
<form class="form-horizontal" method="POST" id="notificationsForm">
<fieldset>
<div class="form-group">
<div class="checkbox">
<input type="checkbox" id="notifyUser" name="Notify">
<label for="notifyUser">@UI.Search_SendNotificationText</label>
</div>
</div>
<div class="form-group">
<div>
<button id="saveNotificationSettings" class="btn btn-primary-outline">@UI.Common_Save</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<!-- Movie and TV Results template -->
<script id="search-template" type="text/x-handlebars-template">
<div class="row">
<div class="col-sm-2">
{{#if_eq type "movie"}}
{{#if posterPath}}
<img class="img-responsive" src="https://image.tmdb.org/t/p/w150/{{posterPath}}" alt="poster">
{{/if}}
{{/if_eq}}
{{#if_eq type "tv"}}
{{#if posterPath}}
<img class="img-responsive" width="150" src="{{posterPath}}" alt="poster">
{{/if}}
{{/if_eq}}
</div>
<div class="col-sm-5 ">
<div>
{{#if_eq type "movie"}}
<a href="https://www.themoviedb.org/movie/{{id}}/" target="_blank">
<h4>{{title}} ({{year}})</h4>
</a>
{{else}}
<a href="http://www.imdb.com/title/{{imdb}}/" target="_blank">
<h4>{{title}} ({{year}})</h4>
</a>
{{/if_eq}}
</div>
<p>{{overview}}</p>
</div>
<div class="col-sm-2 col-sm-push-3">
<form method="POST" action="@url/search/request/{{type}}" id="form{{id}}">
<input name="{{type}}Id" type="text" value="{{id}}" hidden="hidden" />
{{#if_eq available true}}
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> @UI.Search_Available</button>
{{else}}
{{#if_eq requested true}}
<button style="text-align: right" class="btn btn-primary-outline disabled" disabled><i class="fa fa-check"></i> @UI.Search_Requested</button>
{{else}}
{{#if_eq type "movie"}}
<button id="{{id}}" style="text-align: right" class="btn btn-primary-outline requestMovie" type="submit"><i class="fa fa-plus"></i> @UI.Search_Request</button>
{{/if_eq}}
{{#if_eq type "tv"}}
<div class="dropdown">
<button id="{{id}}" class="btn btn-primary-outline dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<i class="fa fa-plus"></i> @UI.Search_Request
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><a id="{{id}}" season-select="0" class="dropdownTv " href="#">@UI.Search_AllSeasons</a></li>
<li><a id="{{id}}" season-select="1" class="dropdownTv" href="#">@UI.Search_FirstSeason</a></li>
<li><a id="{{id}}" season-select="2" class="dropdownTv" href="#">@UI.Search_LatestSeason</a></li>
<li><a id="SeasonSelect" data-identifier="{{id}}" data-toggle="modal" data-target="#seasonsModal" href="#">@UI.Search_SelectSeason...</a></li>
</ul>
</div>
{{/if_eq}}
{{/if_eq}}
{{/if_eq}}
<br />
</form>
{{#if_eq available true}}
<form method="POST" action="@url/issues/nonrequestissue/" id="report{{id}}">
<input name="providerId" type="text" value="{{id}}" hidden="hidden" />
<input name="type" type="text" value="{{type}}" hidden="hidden" />
<div class="dropdown">
<button id="{{id}}" class="btn btn-sm btn-danger-outline dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<i class="fa fa-exclamation"></i> @UI.Search_ReportIssue
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><a id="{{id}}" issue-select="0" class="dropdownIssue" href="#">@UI.Issues_WrongAudio</a></li>
<li><a id="{{id}}" issue-select="1" class="dropdownIssue" href="#">@UI.Issues_NoSubs</a></li>
<li><a id="{{id}}" issue-select="2" class="dropdownIssue" href="#">@UI.Issues_WrongContent</a></li>
<li><a id="{{id}}" issue-select="3" class="dropdownIssue" href="#">@UI.Issues_Playback</a></li>
<li><a id="{{id}}" issue-select="4" class="dropdownIssue" data-identifier="{{id}}" data-type="{{type}}" href="#" data-toggle="modal" data-target="#issuesModal">@UI.Issues_Other</a></li>
</ul>
</div>
</form>
{{/if_eq}}
</div>
</div>
<hr />
</script>
<!-- Music Results template -->
<script id="music-template" type="text/x-handlebars-template">
<div class="row">
<div id="{{id}}imageDiv" class="col-sm-2">
{{#if coverArtUrl}}
<img id="{{id}}cover" class="img-responsive" src="{{coverArtUrl}}" width="150" alt="poster">
{{/if}}
</div>
<div class="col-sm-5 ">
<div>
<a href="https://musicbrainz.org/release/{{id}}" target="_blank">
<h4>
{{artist}} - {{title}}
{{#if year}}
({{year}})
{{/if}}
</h4>
</a>
</div>
<p>{{overview}}</p>
</div>
<div class="col-sm-2 col-sm-push-3">
<form method="POST" action="@url/search/request/{{type}}" id="form{{id}}">
<input name="{{type}}Id" type="text" value="{{id}}" hidden="hidden" />
{{#if_eq available true}}
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> @UI.Search_Available</button>
{{else}}
{{#if_eq requested true}}
<button style="text-align: right" class="btn btn-success-outline disabled" disabled><i class="fa fa-check"></i> @UI.Search_Requested</button>
{{else}}
<button id="{{id}}" style="text-align: right" class="btn btn-primary-outline requestAlbum" type="submit"><i class="fa fa-plus"></i> @UI.Search_Request</button>
{{/if_eq}}
{{/if_eq}}
<br />
<small class="row">@UI.Search_TrackCount: {{trackCount}}</small>
<small class="row">@UI.Search_Country: {{country}}</small>
</form>
</div>
</div>
<hr />
</script>
<div class="modal fade" id="seasonsModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">@UI.Search_Modal_SeasonsTitle</h4>
</div>
<div class="modal-body" id="seasonsBody">
</div>
<div hidden="hidden" id="selectedSeasonsId"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">@UI.Common_Close</button>
<button type="button" id="seasonsRequest" class="btn btn-primary">@UI.Search_Request</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="issuesModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
<h4 class="modal-title">@UI.Issues_Modal_Title</h4>
</div>
<form method="POST" action="@url/issues/nonrequestissuecomment" id="commentForm">
<div class="modal-body">
<input id="providerIdModal" name="providerId" class="providerId" type="text" hidden="hidden" value="" />
<input name="issue" class="issue" type="text" hidden="hidden" value="" />
<input id="typeModal" name="type" class="type" type="text" hidden="hidden" value="" />
<textarea class="form-control form-control-custom" rows="3" id="commentArea" name="commentArea"></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger-outline" data-dismiss="modal">@UI.Common_Close</button>
<button type="button" class="btn btn-primary-outline theSaveButton" data-dismiss="modal">@UI.Issues_Modal_Save</button>
</div>
</form>
</div>
</div>
</div>
<script id="seasons-template" type="text/x-handlebars-template">
<div class="form-group">
<div class="checkbox">
<input type="checkbox" class="selectedSeasons" id="{{id}}" name="{{id}}"><label for="{{id}}">@UI.Search_Season {{id}}</label>
</div>
</div>
</script>
@Html.LoadSearchAssets()

@ -99,4 +99,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
RESX_PrefixTranslations = True
EndGlobalSection
EndGlobal

Loading…
Cancel
Save