From 2319a146adbaa527f94745994079d995e4263b4b Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 30 Jun 2016 08:51:34 +0100 Subject: [PATCH 1/3] Fixed the bug where we were auto approving everything. Added French language into the navigation bar --- PlexRequests.UI/Modules/SearchModule.cs | 9 ++-- PlexRequests.UI/Resources/UI.Designer.cs | 9 ++++ PlexRequests.UI/Resources/UI.da.resx | 48 +++++++++++++++++++++ PlexRequests.UI/Resources/UI.de.resx | 48 +++++++++++++++++++++ PlexRequests.UI/Resources/UI.es.resx | 48 +++++++++++++++++++++ PlexRequests.UI/Resources/UI.fr.resx | 48 +++++++++++++++++++++ PlexRequests.UI/Resources/UI.it.resx | 48 +++++++++++++++++++++ PlexRequests.UI/Resources/UI.nl.resx | 48 +++++++++++++++++++++ PlexRequests.UI/Resources/UI.pt.resx | 12 ++++++ PlexRequests.UI/Resources/UI.resx | 3 ++ PlexRequests.UI/Views/Shared/_Layout.cshtml | 1 + 11 files changed, 317 insertions(+), 5 deletions(-) diff --git a/PlexRequests.UI/Modules/SearchModule.cs b/PlexRequests.UI/Modules/SearchModule.cs index 79bbd9d7d..257cb8d0e 100644 --- a/PlexRequests.UI/Modules/SearchModule.cs +++ b/PlexRequests.UI/Modules/SearchModule.cs @@ -481,7 +481,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)"); @@ -495,11 +495,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}"); } @@ -622,6 +621,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) @@ -736,6 +736,7 @@ namespace PlexRequests.UI.Modules if (ShouldAutoApprove(RequestType.Album, settings)) { + model.Approved = true; var hpSettings = HeadphonesService.GetSettings(); if (!hpSettings.Enabled) @@ -906,8 +907,6 @@ namespace PlexRequests.UI.Modules private async Task AddRequest(RequestedModel model, PlexRequestSettings settings, string message) { - - model.Approved = true; await RequestService.AddRequestAsync(model); if (ShouldSendNotification(RequestType.Movie, 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 52168e37b..16b4e6a2a 100644 --- a/PlexRequests.UI/Resources/UI.fr.resx +++ b/PlexRequests.UI/Resources/UI.fr.resx @@ -402,4 +402,52 @@ Question en litige + + 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'il est correctement configuré ?! + + + Quelque chose a mal tourné en ajoutant le film à CouchPotato! S'il vous plaît vérifier vos paramètres.! + + + Vous avez atteint votre limite de demande hebdomadaire pour Films! S'il vous plaît contacter votre administrateur.! + + + est déjà dans Plex !! + + + Quelque chose a mal tourné en ajoutant le film à SickRage! S'il vous plaît vérifier vos paramètres.! + + + La demande de Séries TV ne sont pas correctement mis en place. S'il vous plaît contacter votre administrateur.! + + + Vous avez atteint votre limite de demande hebdomadaire pour les albums! S'il vous plaît contacter votre administrateur.! + + + Nous ne pouvions pas trouver l'artiste sur MusicBrainz. S'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'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'a pas encore activé cette fonctionnalité.! + + + Nous ne pouvions pas supprimer cette notification parce que vous ne l'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 5cb7fa1eb..347f86599 100644 --- a/PlexRequests.UI/Resources/UI.it.resx +++ b/PlexRequests.UI/Resources/UI.it.resx @@ -402,4 +402,52 @@ Problema + + è stato aggiunto con successo !! + + + è già stato richiesto !! + + + Non abbiamo potuto verificare se {0} è in Plex, sei sicuro che sia correttamente messa a punto ?! + + + Qualcosa è andato storto aggiungendo il film per CouchPotato! Si prega di verificare le impostazioni.! + + + Hai raggiunto il limite di richiesta settimanale per i film! Si prega di contattare l'amministratore.! + + + è già in Plex !! + + + Qualcosa è andato storto aggiungendo il film per SickRage! Si prega di verificare le impostazioni.! + + + La richiesta di spettacoli televisivi non è impostato correttamente. Si prega di contattare l'amministratore.! + + + Hai raggiunto il limite di richiesta settimanale per gli album! Si prega di contattare l'amministratore.! + + + Non siamo riusciti a trovare l'artista su MusicBrainz. Si prega di riprovare più tardi o contatta l'amministratore! + + + Hai raggiunto il limite di richiesta settimanale per programmi TV! Si prega di contattare l'amministratore.! + + + Ci dispiace, ma questa funzionalità non è al momento solo per gli utenti con account Plex! + + + Ci dispiace, ma l'amministratore non ha ancora attivato questa funzionalità.! + + + Non siamo riusciti a rimuovere questa notifica perché non hai mai avuto it !! + + + Non è possibile salvare, riprova! + + + Francese + \ No newline at end of file diff --git a/PlexRequests.UI/Resources/UI.nl.resx b/PlexRequests.UI/Resources/UI.nl.resx index 91932a6b1..81dbab587 100644 --- a/PlexRequests.UI/Resources/UI.nl.resx +++ b/PlexRequests.UI/Resources/UI.nl.resx @@ -402,4 +402,52 @@ Uitgave + + 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'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 3cc50a93b..2dfdfb1c0 100644 --- a/PlexRequests.UI/Views/Shared/_Layout.cshtml +++ b/PlexRequests.UI/Views/Shared/_Layout.cshtml @@ -92,6 +92,7 @@
  • @UI.Layout_Portuguese
  • @UI.Layout_Swedish
  • @UI.Layout_Italian
  • +
  • @UI.Layout_French
  • From ea0ffa5ae3e1aa0355fffa2d06d0d80a04604c6b Mon Sep 17 00:00:00 2001 From: Jamie Date: Thu, 30 Jun 2016 14:18:44 +0100 Subject: [PATCH 2/3] Update appveyor.yml --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index a23086f4c..ea3b0945d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,9 +3,9 @@ configuration: Release assembly_info: patch: true file: '**\AssemblyInfo.*' - assembly_version: '1.8.3' + assembly_version: '1.8.4' assembly_file_version: '{version}' - assembly_informational_version: '1.8.3' + assembly_informational_version: '1.8.4' before_build: - cmd: appveyor-retry nuget restore build: From 21b41f302ed0fb649994924472a5803cbcb8264e Mon Sep 17 00:00:00 2001 From: tidusjar Date: Fri, 8 Jul 2016 19:12:31 +0100 Subject: [PATCH 3/3] =?UTF-8?q?stupid=20&$(*=C2=A3=20merge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1403c49ec..3cc952b53 100644 --- a/.gitignore +++ b/.gitignore @@ -234,5 +234,5 @@ _Pvt_Extensions # FAKE - F# Make .fake/ -*.ncrunchproject -*.ncrunchsolution +*.ncrunchproject +*.ncrunchsolution