diff --git a/.gitignore b/.gitignore index d95f5c024..7c815e785 100644 --- a/.gitignore +++ b/.gitignore @@ -236,4 +236,7 @@ _Pvt_Extensions .fake/ *.ncrunchproject *.ncrunchsolution +<<<<<<< HEAD /Package.nuspec +======= +>>>>>>> master diff --git a/PlexRequests.UI/Modules/SearchModule.cs b/PlexRequests.UI/Modules/SearchModule.cs index b8d6506dc..8bafa9d4d 100644 --- a/PlexRequests.UI/Modules/SearchModule.cs +++ b/PlexRequests.UI/Modules/SearchModule.cs @@ -482,7 +482,7 @@ namespace PlexRequests.UI.Modules if (ShouldAutoApprove(RequestType.Movie, settings)) { var cpSettings = await CpService.GetSettingsAsync(); - + model.Approved = true; if (cpSettings.Enabled) { Log.Info("Adding movie to CP (No approval required)"); @@ -496,11 +496,10 @@ namespace PlexRequests.UI.Modules return Response.AsJson(new JsonResponseModel { - Result = false, Message = Resources.UI.Search_CouchPotatoError }); } - + model.Approved = true; return await AddRequest(model, settings, $"{fullMovieName} {Resources.UI.Search_SuccessfullyAdded}"); } @@ -623,6 +622,7 @@ namespace PlexRequests.UI.Modules if (ShouldAutoApprove(RequestType.TvShow, settings)) { + model.Approved = true; var sonarrSettings = await SonarrService.GetSettingsAsync(); var sender = new TvSender(SonarrApi, SickrageApi); if (sonarrSettings.Enabled) @@ -737,6 +737,7 @@ namespace PlexRequests.UI.Modules if (ShouldAutoApprove(RequestType.Album, settings)) { + model.Approved = true; var hpSettings = HeadphonesService.GetSettings(); if (!hpSettings.Enabled) @@ -907,8 +908,6 @@ namespace PlexRequests.UI.Modules private async Task AddRequest(RequestedModel model, PlexRequestSettings settings, string message) { - - model.Approved = true; await RequestService.AddRequestAsync(model); if (ShouldSendNotification(model.Type, settings)) diff --git a/PlexRequests.UI/Resources/UI.Designer.cs b/PlexRequests.UI/Resources/UI.Designer.cs index 14e5aa6ae..690911e8f 100644 --- a/PlexRequests.UI/Resources/UI.Designer.cs +++ b/PlexRequests.UI/Resources/UI.Designer.cs @@ -258,6 +258,15 @@ namespace PlexRequests.UI.Resources { } } + /// + /// Looks up a localized string similar to French. + /// + public static string Layout_French { + get { + return ResourceManager.GetString("Layout_French", resourceCulture); + } + } + /// /// Looks up a localized string similar to German. /// diff --git a/PlexRequests.UI/Resources/UI.da.resx b/PlexRequests.UI/Resources/UI.da.resx index c8acb402e..83bded76d 100644 --- a/PlexRequests.UI/Resources/UI.da.resx +++ b/PlexRequests.UI/Resources/UI.da.resx @@ -402,4 +402,52 @@ Aktieemission + + blev føjet !! + + + allerede er blevet anmodet !! + + + Vi kunne ikke kontrollere, om {0} er i Plex, er du sikker på det er korrekt setup ?! + + + Noget gik galt tilføjer filmen til CouchPotato! Tjek venligst din opsætning.! + + + Du har nået din ugentlige anmodning grænse for film! Kontakt din administrator.! + + + er allerede i Plex !! + + + Noget gik galt tilføjer filmen til SickRage! Tjek venligst din opsætning.! + + + Anmodningen fra tv-shows er ikke indstillet korrekt. Kontakt din administrator.! + + + Du har nået din ugentlige anmodning grænse for Albums! Kontakt din administrator.! + + + Vi kunne ikke finde kunstneren på MusicBrainz. Prøv venligst igen senere, eller kontakt din administrator! + + + Du har nået din ugentlige anmodning grænse for tv-shows! Kontakt din administrator.! + + + Beklager, men denne funktionalitet er i øjeblikket kun for brugere med Plex konti! + + + Beklager, men din administrator har endnu ikke gjort det muligt denne funktionalitet.! + + + Vi kunne ikke fjerne denne meddelelse, fordi du aldrig har haft det !! + + + Kunne ikke gemme, prøv igen! + + + Fransk + \ No newline at end of file diff --git a/PlexRequests.UI/Resources/UI.de.resx b/PlexRequests.UI/Resources/UI.de.resx index 6d5bd0920..8b997f5c6 100644 --- a/PlexRequests.UI/Resources/UI.de.resx +++ b/PlexRequests.UI/Resources/UI.de.resx @@ -402,4 +402,52 @@ Problemstellung + + Benutzer erfolgreich hinzugefügt + + + bereits angefordert worden !! + + + Wir konnten nicht, wenn {0} in Plex ist, sind Sie sicher, dass es richtig eingestellt ?! + + + Etwas ist schief gelaufen Hinzufügen um den Film zu Couchpotato! Bitte überprüfen Sie Ihre Einstellungen.! + + + Sie haben Ihre wöchentliche Anfrage Grenze für Filme erreicht! Bitte kontaktieren Sie Ihren Administrator.! + + + ist bereits in Plex !! + + + Etwas ist schief gelaufen Hinzufügen um den Film zu SickRage! Bitte überprüfen Sie Ihre Einstellungen.! + + + Die Anforderung von TV-Shows ist nicht richtig eingerichtet. Bitte kontaktieren Sie Ihren Administrator.! + + + Sie haben Ihre wöchentliche Anfrage Limit für Alben erreicht! Bitte kontaktieren Sie Ihren Administrator.! + + + Wir konnten nicht die Künstler auf MusicBrainz finden. Bitte versuchen Sie es später noch einmal oder kontaktieren Sie Ihren Administrator! + + + Sie haben Ihre wöchentliche Anfrage Limit für TV-Shows erreicht! Bitte kontaktieren Sie Ihren Administrator.! + + + Sorry, aber diese Funktion ist derzeit nur für Nutzer mit Plex Konten! + + + Sorry, aber Ihr Administrator hat noch nicht diese Funktionalität aktiviert ist.! + + + Wir konnten diese Benachrichtigung nicht entfernen, weil Sie es noch nie hatte !! + + + Versandzone konnte nicht gespeichert werden. Bitte erneut versuchen. + + + Französisch + \ No newline at end of file diff --git a/PlexRequests.UI/Resources/UI.es.resx b/PlexRequests.UI/Resources/UI.es.resx index b1f7dd630..10297d3a0 100644 --- a/PlexRequests.UI/Resources/UI.es.resx +++ b/PlexRequests.UI/Resources/UI.es.resx @@ -402,4 +402,52 @@ emitir + + fue agregado con éxito !! + + + ya ha sido solicitada !! + + + No hemos podido comprobar si {0} está en Plex, ¿estás seguro de que es correcta la configuración ?! + + + Algo salió mal la adición de la película para CouchPotato! Por favor verifica la configuracion.! + + + Ha llegado a su límite de solicitudes semanales de películas! Por favor, póngase en contacto con su administrador.! + + + ya está en Plex !! + + + Algo salió mal la adición de la película para SickRage! Por favor verifica la configuracion.! + + + La solicitud de programas de televisión no está correctamente configurado. Por favor, póngase en contacto con su administrador.! + + + Ha llegado a su límite de solicitudes semanales de álbumes! Por favor, póngase en contacto con su administrador.! + + + No pudimos encontrar el artista en MusicBrainz. Por favor, inténtelo de nuevo más tarde o póngase en contacto con el administrador! + + + Ha llegado a su límite de solicitudes semanales de programas de televisión! Por favor, póngase en contacto con su administrador.! + + + Lo sentimos, pero esta funcionalidad es actualmente sólo para los usuarios con cuentas Plex! + + + Lo sentimos, pero el administrador aún no ha habilitado esta funcionalidad.! + + + No hemos podido eliminar esta notificación porque usted nunca tuvo que !! + + + No se pudo guardar, por favor intente de nuevo! + + + French + \ No newline at end of file diff --git a/PlexRequests.UI/Resources/UI.fr.resx b/PlexRequests.UI/Resources/UI.fr.resx index 7a48de84b..fdad1d848 100644 --- a/PlexRequests.UI/Resources/UI.fr.resx +++ b/PlexRequests.UI/Resources/UI.fr.resx @@ -447,4 +447,52 @@ Sauvegarde impossible, merci de bien vouloir réessayer + + a été ajouté avec succès !! + + + a déjà été demandé !! + + + Nous ne pouvions pas vérifier si {0} est en Plex, vous êtes sûr qu&#39;il est correctement configuré ?! + + + Quelque chose a mal tourné en ajoutant le film à CouchPotato! S&#39;il vous plaît vérifier vos paramètres.! + + + Vous avez atteint votre limite de demande hebdomadaire pour Films! S&#39;il vous plaît contacter votre administrateur.! + + + est déjà dans Plex !! + + + Quelque chose a mal tourné en ajoutant le film à SickRage! S&#39;il vous plaît vérifier vos paramètres.! + + + La demande de Séries TV ne sont pas correctement mis en place. S&#39;il vous plaît contacter votre administrateur.! + + + Vous avez atteint votre limite de demande hebdomadaire pour les albums! S&#39;il vous plaît contacter votre administrateur.! + + + Nous ne pouvions pas trouver l&#39;artiste sur MusicBrainz. S&#39;il vous plaît réessayer plus tard ou contactez votre administrateur! + + + Vous avez atteint votre limite de demande hebdomadaire pour Séries TV! S&#39;il vous plaît contacter votre administrateur.! + + + Désolé, mais cette fonctionnalité est actuellement uniquement pour les utilisateurs avec des comptes Plex! + + + Désolé, mais votre administrateur n&#39;a pas encore activé cette fonctionnalité.! + + + Nous ne pouvions pas supprimer cette notification parce que vous ne l&#39;aviez !! + + + Impossible d'enregistrer la zone. S'il vous plaît essayer de nouveau. + + + Français + \ No newline at end of file diff --git a/PlexRequests.UI/Resources/UI.it.resx b/PlexRequests.UI/Resources/UI.it.resx index 8c1559030..0ed5bd6b9 100644 --- a/PlexRequests.UI/Resources/UI.it.resx +++ b/PlexRequests.UI/Resources/UI.it.resx @@ -148,19 +148,19 @@ Plex Requests - C'è un nuovo aggiornamento disponibile! + C'è un nuovo aggiornamento disponibile! Clic - Cerca + Cerca! - Richieste + Requests - Problemi + problemi quantificati - Dona! + Donazione admin @@ -172,7 +172,7 @@ Modifica password - Disconnettiti + Disconnettersi Inglese @@ -208,31 +208,31 @@ Film - Serie TV + Spettacoli TV - Msuica + Album - Vuoi guardare qualcosa che non è attualmente in Plex?! Non c'è problema! Basta cercarla qui sotto e richiederla! + Voglia di guardare qualcosa che non è attualmente il Plex?! Non c'è problema! Basta cercare per esso qui sotto e richiederla! Suggerimenti - Novità + Novita Nei Cinema - Inviami una notifica quando sono stati aggiunti gli elementi che ho richiesto! + Inviami una notifica quando sono stati aggiunti elementi che ho chiesto! Salva - Disponibile + disponibili Richiesto @@ -250,7 +250,7 @@ Ultima stagione - Seleziona + seleziona Segnala il problema @@ -268,10 +268,10 @@ Problemi di riproduzione - Altro + Altre - Numero della traccia + Conta di pista Nazione @@ -286,19 +286,19 @@ Aggiungere un problema - Salva cambiamenti + Salva Cambia Stagione - Benvenuto/a + Benvenuta - Richieste + Requests - Qui sotto potete vedere le vostre e tutte le altre richieste, così come il loro download e l'approvazione + Qui sotto potete vedere il vostro e tutte le altre richieste, così come il loro download e l'approvazione dello stato Film @@ -307,37 +307,37 @@ Spettacoli TV - Musica + Album - Elimina richiesta film + Cancellare i filmati Approva Film - Elimina richiesta Serie TV + Cancellare programmi TV - Approva Serie TV + Approvare programmi TV - Elimina richieste musica + Eliminare la musica Approva Musica - Tutto + Tutto ciò Approvato - Non approvato + Approvato - Disponibile + disponibili Non disponibile @@ -355,28 +355,28 @@ Filtro - Ultime richieste + Ultimi Richieste - Richieste più vecchie + I più vecchi richieste Ultime uscite - Uscite più vecchie + I più vecchi uscite Data di disponibilità - Stagioni richieste + Stagioni obbligatorio - Richiesto da + Richiesto - Richiesto il + Richiesto Imposta/rimuovi a discesa @@ -385,7 +385,7 @@ Approva - Rimuovere + Togliere Segna non disponibile @@ -397,54 +397,9 @@ Approvato - Disponibile + disponibili Problema - - è stato aggiunto correttamente! - - - è già stato richiesto! - - - Non siamo riusciti a controllare se {0} è in Plex, sei sicuro che sia configurato correttamente? - - - Qualcosa è andato storto aggiungendo il film a CouchPotato! Controlla le impostazioni - - - Hai raggiunto il numero massimo di richieste settimanali per i Film! Contatta l'amministratore - - - è già disponibile in Plex! - - - Qualcosa è andato storto aggiungendo il film a SickRage! Controlla le impostazioni - - - Le richieste per le Serie TV non sono correttamente impostate. Contatta l'amministratore - - - Hai raggiunto il numero massimo di richieste settimanali per la Musica! Contatta l'amministratore - - - Non siamo riusciti a trovare l'artista in MusicBrainz. Riprova più tardi oppure contatta l'amministratore - - - Hai raggiunto il numero massimo di richieste settimanali per le Serie TV! Contatta l'amministratore - - - Spiacente, ma questa funzione è disponibile solo per gli utenti con un account Plex. - - - Spiacente, ma l'amministratore non ha ancora abilitato questa funzionalità. - - - Non è stato possibile rimuovere la notifica perchè non l'hai mai avuta. - - - Impossibile salvare, riprova più tardi. - - \ No newline at end of file + diff --git a/PlexRequests.UI/Resources/UI.nl.resx b/PlexRequests.UI/Resources/UI.nl.resx index cf46dc290..5e7cdc15a 100644 --- a/PlexRequests.UI/Resources/UI.nl.resx +++ b/PlexRequests.UI/Resources/UI.nl.resx @@ -423,4 +423,52 @@ Kon niet opslaan, probeer het later nog eens. + + Succesvol toegevoegd + + + reeds aangevraagd !! + + + We konden niet controleren of {0} is in Plex, weet je zeker dat het de juiste setup ?! + + + Er is iets misgegaan toevoegen van de film naar couchpotato! Controleer uw instellingen.! + + + U heeft uw wekelijkse verzoek limiet voor films bereikt! Neem contact op met admin.! + + + is al in Plex !! + + + Er is iets misgegaan toevoegen van de film naar SickRage! Controleer uw instellingen.! + + + Het verzoek van de tv-programma&#39;s is niet correct ingesteld. Neem contact op met admin.! + + + U heeft uw wekelijkse verzoek limiet voor albums bereikt! Neem contact op met admin.! + + + We konden het niet vinden van de kunstenaar op MusicBrainz. Probeer het later opnieuw of neem contact op admin! + + + U heeft uw wekelijkse verzoek limiet voor TV Shows bereikt! Neem contact op met admin.! + + + Sorry, maar deze functionaliteit is momenteel alleen voor gebruikers met Plex accounts! + + + Sorry, maar de beheerder nog niet geactiveerd deze functionaliteit.! + + + We konden deze melding niet verwijderen omdat je nog nooit gehad !! + + + Kon niet opslaan, probeer het opnieuw! + + + French + \ No newline at end of file diff --git a/PlexRequests.UI/Resources/UI.pt.resx b/PlexRequests.UI/Resources/UI.pt.resx index 345322658..830ba1ea9 100644 --- a/PlexRequests.UI/Resources/UI.pt.resx +++ b/PlexRequests.UI/Resources/UI.pt.resx @@ -402,4 +402,16 @@ Questão + + Adicionado com Sucesso + + + já foi solicitado !! + + + Nós não poderia verificar se {0} está em Plex, você tem certeza que é configurada corretamente ?! + + + Algo deu errado adicionando o filme para CouchPotato! Verifique as suas opções.! + \ No newline at end of file diff --git a/PlexRequests.UI/Resources/UI.resx b/PlexRequests.UI/Resources/UI.resx index 11d158d2c..8ac13a49e 100644 --- a/PlexRequests.UI/Resources/UI.resx +++ b/PlexRequests.UI/Resources/UI.resx @@ -428,4 +428,7 @@ Could not save, please try again + + French + \ No newline at end of file diff --git a/PlexRequests.UI/Views/Shared/_Layout.cshtml b/PlexRequests.UI/Views/Shared/_Layout.cshtml index 17caf127f..eb2b03268 100644 --- a/PlexRequests.UI/Views/Shared/_Layout.cshtml +++ b/PlexRequests.UI/Views/Shared/_Layout.cshtml @@ -93,26 +93,29 @@
  • @UI.Layout_Swedish
  • @UI.Layout_Italian
  • -
  • - + - - - + + -
    - @RenderBody() -
    -
    - +
    + @RenderBody() +
    +
    + -
    +
    -@Html.GetInformationalVersion(); \ No newline at end of file +