From 1d3a69a29f7f8237a1c6df55a7c39a66a6e435e1 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Thu, 25 Jan 2024 15:50:47 +0100 Subject: [PATCH 1/4] Move text from manual_update_title to check_for_updates --- app/src/main/res/values-ar-rLY/strings.xml | 2 +- app/src/main/res/values-ar/strings.xml | 2 +- app/src/main/res/values-az/strings.xml | 2 +- app/src/main/res/values-be/strings.xml | 2 +- app/src/main/res/values-bg/strings.xml | 2 +- app/src/main/res/values-bn-rBD/strings.xml | 2 +- app/src/main/res/values-bn/strings.xml | 2 +- app/src/main/res/values-ca/strings.xml | 2 +- app/src/main/res/values-ckb/strings.xml | 2 +- app/src/main/res/values-cs/strings.xml | 2 +- app/src/main/res/values-da/strings.xml | 2 +- app/src/main/res/values-de/strings.xml | 2 +- app/src/main/res/values-el/strings.xml | 2 +- app/src/main/res/values-es/strings.xml | 2 +- app/src/main/res/values-et/strings.xml | 2 +- app/src/main/res/values-eu/strings.xml | 2 +- app/src/main/res/values-fa/strings.xml | 2 +- app/src/main/res/values-fi/strings.xml | 2 +- app/src/main/res/values-fr/strings.xml | 2 +- app/src/main/res/values-gl/strings.xml | 2 +- app/src/main/res/values-he/strings.xml | 2 +- app/src/main/res/values-hi/strings.xml | 2 +- app/src/main/res/values-hr/strings.xml | 2 +- app/src/main/res/values-hu/strings.xml | 2 +- app/src/main/res/values-hy/strings.xml | 2 +- app/src/main/res/values-in/strings.xml | 2 +- app/src/main/res/values-is/strings.xml | 2 +- app/src/main/res/values-it/strings.xml | 2 +- app/src/main/res/values-ja/strings.xml | 2 +- app/src/main/res/values-ka/strings.xml | 2 +- app/src/main/res/values-ko/strings.xml | 2 +- app/src/main/res/values-lt/strings.xml | 2 +- app/src/main/res/values-lv/strings.xml | 2 +- app/src/main/res/values-nb-rNO/strings.xml | 2 +- app/src/main/res/values-nl/strings.xml | 2 +- app/src/main/res/values-nqo/strings.xml | 2 +- app/src/main/res/values-or/strings.xml | 2 +- app/src/main/res/values-pa/strings.xml | 2 +- app/src/main/res/values-pl/strings.xml | 2 +- app/src/main/res/values-pt-rBR/strings.xml | 2 +- app/src/main/res/values-pt-rPT/strings.xml | 2 +- app/src/main/res/values-pt/strings.xml | 2 +- app/src/main/res/values-ro/strings.xml | 2 +- app/src/main/res/values-ru/strings.xml | 2 +- app/src/main/res/values-ryu/strings.xml | 2 +- app/src/main/res/values-sc/strings.xml | 2 +- app/src/main/res/values-sk/strings.xml | 2 +- app/src/main/res/values-sr/strings.xml | 2 +- app/src/main/res/values-sv/strings.xml | 2 +- app/src/main/res/values-tr/strings.xml | 2 +- app/src/main/res/values-uk/strings.xml | 2 +- app/src/main/res/values-vi/strings.xml | 2 +- app/src/main/res/values-zh-rCN/strings.xml | 2 +- app/src/main/res/values-zh-rHK/strings.xml | 2 +- app/src/main/res/values-zh-rTW/strings.xml | 2 +- app/src/main/res/values/strings.xml | 3 ++- 56 files changed, 57 insertions(+), 56 deletions(-) diff --git a/app/src/main/res/values-ar-rLY/strings.xml b/app/src/main/res/values-ar-rLY/strings.xml index c57ead36a..077cf1106 100644 --- a/app/src/main/res/values-ar-rLY/strings.xml +++ b/app/src/main/res/values-ar-rLY/strings.xml @@ -78,7 +78,7 @@ بليون تعذر تحميل موجز \'%s\'. ؟ - التحقق من وجود تحديثات + التحقق من وجود تحديثات مثيلات خوادم پيرتيوب +100 فيديو ألف diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index d69564493..eefe24390 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -700,7 +700,7 @@ وضع التالي على قائمة الانتظار تم وضع التالي على قائمة الانتظار جاري المعالجة ... قد يستغرق لحظة - التحقق من وجود تحديثات + التحقق من وجود تحديثات التحقق يدويا من وجود إصدارات جديدة جاري التحقق من وجود تحديثات… عناصر تغذية جديدة diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index c0ac7e6d5..66bfe75de 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -448,7 +448,7 @@ %s video %s video - Yeniləmələri yoxla + Yeniləmələri yoxla Axtarış çubuğunun miniatür önizləməsi Əməliyyat sistem tərəfindən ləğv edildi Avto diff --git a/app/src/main/res/values-be/strings.xml b/app/src/main/res/values-be/strings.xml index c41a9e6bb..5990738cf 100644 --- a/app/src/main/res/values-be/strings.xml +++ b/app/src/main/res/values-be/strings.xml @@ -670,7 +670,7 @@ Апавяшчаць аб новых стрымах з падпісак Частата праверкі Патрабуецца падключэнне да сеткі - Праверце наяўнасць абнаўленняў + Праверце наяўнасць абнаўленняў Праверце новыя версіі ўручную Аўтаматычны запуск прайгравання — %s Картка diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index 78dcd0a93..bc235446c 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -548,7 +548,7 @@ Бисквитките от reCAPTCHA бяха почистени Проверяване за актуализации… , - Провери за актуализации + Провери за актуализации Процент Неизвестно качество Неизвестен формат diff --git a/app/src/main/res/values-bn-rBD/strings.xml b/app/src/main/res/values-bn-rBD/strings.xml index 7ac77e353..3f0d65c82 100644 --- a/app/src/main/res/values-bn-rBD/strings.xml +++ b/app/src/main/res/values-bn-rBD/strings.xml @@ -401,7 +401,7 @@ কনটেন্টের জন্য পূর্বনির্ধারিত দেশ বাইরের প্লেয়ারসমূহ এ ধরনের লিঙ্কসমূহ সমর্থন করে না হ্যাশ হিসাব করা হচ্ছে - আপডেট চেক করো + আপডেট চেক করো %s জন দেখছে %s জন দেখছে diff --git a/app/src/main/res/values-bn/strings.xml b/app/src/main/res/values-bn/strings.xml index c0851f9d6..853b04b64 100644 --- a/app/src/main/res/values-bn/strings.xml +++ b/app/src/main/res/values-bn/strings.xml @@ -596,7 +596,7 @@ পিনকৃত মন্তব্য বিজ্ঞপ্তি হালনাগাদ দেখা হচ্ছে … - হালনাগাদ আছে কিনা দেখো + হালনাগাদ আছে কিনা দেখো মূল প্লেয়ার ফুল স্ক্রীন এ শুরু করুন ধারার নতুন ভুক্তি ত্রুটি প্রতিবেদন এর বিজ্ঞপ্তি diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml index 19a74923f..871af187b 100644 --- a/app/src/main/res/values-ca/strings.xml +++ b/app/src/main/res/values-ca/strings.xml @@ -640,7 +640,7 @@ Si la rotació automàtica està bloquejada, no inicieu vídeos al mini reproductor, sinó que aneu directament al mode de pantalla completa. Podeu accedir igualment al mini reproductor sortint de pantalla completa Notificació d\'informe d\'error Tancar abruptament el reproductor - Comprovar si hi ha actualitzacions + Comprovar si hi ha actualitzacions Comprovar manualment si hi ha noves versions Baixada finalitzada diff --git a/app/src/main/res/values-ckb/strings.xml b/app/src/main/res/values-ckb/strings.xml index 7c60b33c0..e6e375a4c 100644 --- a/app/src/main/res/values-ckb/strings.xml +++ b/app/src/main/res/values-ckb/strings.xml @@ -658,7 +658,7 @@ نیوپایپ تووشی کێشەیەک بوو ، کرتە بکە بۆ سکاڵاکردن پیشاندانی ”کڕاش کردنی لێدەرەکە“ سازاندنی پەیامی کێشەیەک - پشکنین بۆ نوێکردنەوە + پشکنین بۆ نوێکردنەوە کێشە لە سکاڵا کردنی پەیام پەیامەکانی سکاڵاکردن لە کێشەکان بابەتە نوێیەکانی فیید diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 02f6486c9..0a4751261 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -665,7 +665,7 @@ Spustit hlavní přehrávač na celé obrazovce Zpracovávám... může trvat moment Ručně zkontrolovat zda je k dispozici nová verze - Kontrola aktualizací + Kontrola aktualizací NewPipe narazil na problém, klikněte pro nahlášení Došlo k chybě, více v oznámení Vytvořit oznámení o chybě diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index f48ed7b3b..601bc3752 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -526,7 +526,7 @@ Tjekker efter opdateringer… gendanner \"Hurtig feed\"-tilstand oplyser ikke mere info om dette. - Tjek efter opdateringer + Tjek efter opdateringer Fjern sete videoer\? Deaktivér medietunneling, hvis du oplever en sort skærm eller hakken ved videoafspilning. Tjek venligst, om der allerede findes et problem, der diskuterer dit nedbrud. Når du opretter flere tickets, tager du tid fra os, som vi kunne bruge på at løse den faktiske fejl. diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index c7506c649..e94c8f757 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -655,7 +655,7 @@ Als Nächstes eingereiht Als Nächstes in Wiedergabe einreihen Verarbeite … Kann einen Moment dauern - Nach Aktualisierungen suchen + Nach Aktualisierungen suchen Suche nach Aktualisierungen … Manuelle Prüfung auf neue Versionen Neue Feed-Elemente diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 18ab48318..cb5958dc5 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -654,7 +654,7 @@ Επεξεργασία... Μπορεί να πάρει λίγο χρόνο Έλεγχος αναβάθμισης… Χειροκίνητος έλεγχος για νέα έκδοση - Έλεγχος αναβάθμισης + Έλεγχος αναβάθμισης Νέα αντικείμενα τροφοδοσίας Εμφάνιση «Κατάρρευσης αναπαραγωγέα» Εμφανίζει μια επιλογή κατάρρευσης κατά τη χρήση του αναπαραγωγέα diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index b17c4d169..3a8681e44 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -667,7 +667,7 @@ Añadido el siguiente vídeo a la cola Añadir el siguiente vídeo a la cola Procesando… Podría tomar un momento - Buscar actualizaciones + Buscar actualizaciones Buscar nuevas versiones manualmente Buscando actualizaciones… Nuevos elementos en el muro diff --git a/app/src/main/res/values-et/strings.xml b/app/src/main/res/values-et/strings.xml index 1234aec5e..5864d5519 100644 --- a/app/src/main/res/values-et/strings.xml +++ b/app/src/main/res/values-et/strings.xml @@ -653,7 +653,7 @@ Lisa esitamiseks järgmisena Töötlen andmeid… Võib kuluda mõni hetk Kontrollin uuendusi… - Kontrolli uuendusi + Kontrolli uuendusi Kontrolli uuendusi käsitsi Uued andmevoo kirjed Näita „Jooksuta meediamängija kokku“ nupukest diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml index 3c36a85ae..6f94a8f62 100644 --- a/app/src/main/res/values-eu/strings.xml +++ b/app/src/main/res/values-eu/strings.xml @@ -657,7 +657,7 @@ Jakinarazpenak erroreen berri emateko NewPipe-k errore bat aurkitu du, sakatu berri emateko Errore bat gertatu da, ikusi jakinarazpena - Bilatu eguneraketak + Bilatu eguneraketak Bilatu bertsio berriak eskuz Elementu berriak jarioan Ez da fitxategi kudeatzaile bat aurkitu ekintza honetarako. diff --git a/app/src/main/res/values-fa/strings.xml b/app/src/main/res/values-fa/strings.xml index 01d26857e..2afeaf286 100644 --- a/app/src/main/res/values-fa/strings.xml +++ b/app/src/main/res/values-fa/strings.xml @@ -652,7 +652,7 @@ بعدی در صف گذاشته شد در صف گذاشتن بعدی در حال پردازش… ممکن است کمی طول بکشد - بررسی به‌روز رسانی‌ها + بررسی به‌روز رسانی‌ها بررسی دستی برای نگارش‌های جدید بررسی کردن به‌روز رسانی‌ها… موارد خوراک جدید diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index c27115689..67350d7ba 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -652,7 +652,7 @@ Poistettu %1$s latausta Käsitellään… Voi kestää hetken - Tarkista päivitykset + Tarkista päivitykset Tarkista manuaalisesti onko uusia versioita saatavilla Tarkistetaan päivityksiä… Ilmoitukset, joilla raportoidaan virheistä diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 51b572dce..9994abb4c 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -668,7 +668,7 @@ Traitement en cours… Veuillez patienter Vérifier manuellement de nouvelles versions Vérification des mises à jour… - Vérifier les mises à jour + Vérifier les mises à jour Nouveaux éléments du flux Faire planter le lecteur Afficher « Faire planter le lecteur » diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index 93a43ddd2..efe1b7f5e 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -658,7 +658,7 @@ NewPipe atopou un erro, presione para reportar Comentario fixado Enfileirado - Procurar actualizacións + Procurar actualizacións Procurar manualmente novas versións A procurar actualizacións… A partir do Android 10, só o \'Sistema de Acceso ao Almacenamento\' está soportado diff --git a/app/src/main/res/values-he/strings.xml b/app/src/main/res/values-he/strings.xml index 6cae41316..befde2d53 100644 --- a/app/src/main/res/values-he/strings.xml +++ b/app/src/main/res/values-he/strings.xml @@ -676,7 +676,7 @@ נוסף כהבא בתור הוספה כהבא בתור מתבצע עיבוד… נא להמתין רגע קט - איתור עדכונים + איתור עדכונים מתבצע איתור עדכונים… לנסות לאתר גרסאות חדשות ידנית פריטים חדשים בהזנה diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index a425a9b04..756b1878a 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -579,7 +579,7 @@ नेटवर्क कनेक्शन आवश्यक नई स्ट्रीम अधिसूचनाएं कोई भी नेटवर्क - अपडेट के लिए जाँच करें + अपडेट के लिए जाँच करें निम्न गुणवत्ता (छोटा) सीकबार थंमनेल पूर्वावलोकन उच्च गुणवत्ता (बड़ा) diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 8f077fdea..f6c2120f7 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -665,7 +665,7 @@ Ručno traži nove verzije Traženje novih verzija … Prijedlozi lokalne pretrage - Traži nove verzije + Traži nove verzije Nemoj pokretati videa u mini playeru, već izravno pokreni cjeloekranski prikaz, ako je automatsko okretanje zaključano. Mini playeru i dalje možeš pristupiti napuštanjem cjeloekranskog prikaza Nove stavke feeda Obavijest o prijavi greške diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 13a488f07..5ca829ed8 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -661,7 +661,7 @@ A „lejátszó összeomlasztása” lehetőség megjelenítése Megjeleníti az összeomlasztási lehetőséget a lejátszó használatakor Hangmagasság megtartása (torzítást okozhat) - Frissítések keresése + Frissítések keresése Ne jelenítse meg Megnézettek eltávolítása Eltávolítja a megnézett videókat\? diff --git a/app/src/main/res/values-hy/strings.xml b/app/src/main/res/values-hy/strings.xml index 5becf32fb..dd307a2fa 100644 --- a/app/src/main/res/values-hy/strings.xml +++ b/app/src/main/res/values-hy/strings.xml @@ -151,7 +151,7 @@ Մեծացնել Գեներացված Ներմուծել ֆայլ - Ստուգել թարմացումները + Ստուգել թարմացումները Ինքնին Բարձր որակ (մեծ) Ցածր որակ (փոքր) diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index 1ca35cfb8..d715f2232 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -640,7 +640,7 @@ Tampilkan Ribon bewarna Picasso di atas gambar yang mengindikasikan asalnya: merah untuk jaringan, biru untuk disk dan hijau untuk memori Jangan memulai memutar video di mini player, tapi nyalakan langsung di mode layar penuh, jika rotasi otomatis terkunci. Anda tetap dapat mengakses mini player dengan keluar dari layar penuh Memproses… Mungkin butuh waktu sebentar - Periksa Pembaruan + Periksa Pembaruan Periksa manual untuk versi baru Memeriksa pembaruan… Item feed baru diff --git a/app/src/main/res/values-is/strings.xml b/app/src/main/res/values-is/strings.xml index c35d7a685..ed5ebe99b 100644 --- a/app/src/main/res/values-is/strings.xml +++ b/app/src/main/res/values-is/strings.xml @@ -438,7 +438,7 @@ Tegund tengingar Allar Sýna tilkynningu þegar ný útgáfa er fáanleg - Leita að uppfærslum + Leita að uppfærslum Leita handvirkt fyrir uppfærslum Fela þegar skipt er um forrit Nota bakgrunnsspilara diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 3d8162880..5ddb6c672 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -664,7 +664,7 @@ Aggiunto alla coda come prossimo Accoda come prossimo Elaborazione… Potrebbe volerci un attimo - Controlla aggiornamenti + Controlla aggiornamenti Verifica manualmente la presenza di nuove versioni Controllo aggiornamenti… Nuovi elementi feed diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 03117abad..afcf34429 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -639,7 +639,7 @@ 処理中… 少し時間がかかるかもしれません 新しいバージョンを手動で確認します アップデートを確認中… - アップデートを確認 + アップデートを確認 次をキューに追加 次をキューに追加しました クリエイターの心をこめて diff --git a/app/src/main/res/values-ka/strings.xml b/app/src/main/res/values-ka/strings.xml index cbeb27d9d..ecb2a8495 100644 --- a/app/src/main/res/values-ka/strings.xml +++ b/app/src/main/res/values-ka/strings.xml @@ -426,7 +426,7 @@ ნებისმიერი ქსელი განახლებები მაჩვენე შეტყობინება აპის განახლების მოთხოვნით, როდესაც ხელმისაწვდომი იქნება ახალი ვერსია - Შეამოწმოთ განახლებები + Შეამოწმოთ განახლებები ხელით შეამოწმეთ ახალი ვერსიები მინიმიზაცია აპის გადამრთველზე მოქმედება სხვა აპზე გადასვლისას მთავარი ვიდეო დამკვრელიდან — %s diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index d03be0920..d17e7599d 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -557,7 +557,7 @@ 확인 빈도 필요한 네트워크 연결 모든 네트워크 - 업데이트 확인 + 업데이트 확인 새로운 버전을 수동으로 확인 자동으로 재생 시작 — %s Wi-Fi에서만 diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index 84699cf6d..c68e49bdd 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -664,7 +664,7 @@ Sekantis pridėtas į eilę Įtraukti į eilę sekantį Apdorojama… tai gali užtrukti - Tikrinti ar yra atnaujinimų + Tikrinti ar yra atnaujinimų Tikrinti ar yra atnaujinimų rankiniu būdu Tikrinti ar yra atnaujinimų… Nauji sklaidos kanalo elementai diff --git a/app/src/main/res/values-lv/strings.xml b/app/src/main/res/values-lv/strings.xml index ab3f7b94c..58b9a9d76 100644 --- a/app/src/main/res/values-lv/strings.xml +++ b/app/src/main/res/values-lv/strings.xml @@ -632,7 +632,7 @@ Lokālie meklēšanas ieteikumi Rādīt attēlu indikatorus Augstas kvalitātes (lielāks) - Pārbaudīt atjauninājumus + Pārbaudīt atjauninājumus Manuāli pārbaudīt, vai ir atjauninājumi Video atskaņošanas joslas sīktēla priekšskatījums Pārbauda, vai ir atjauninājumi… diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index 6f232ba06..416ebfd02 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -651,7 +651,7 @@ Start hovedspiller i fullskjerm Still i kø neste I kø neste - Se etter oppdateringer + Se etter oppdateringer Behandler … Kan ta sin tid Krasj avspilleren Vis \"Krasj spilleren\" diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index edb822366..9b690f770 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -656,7 +656,7 @@ ‘Speler crashen’ tonen Toont een crash-optie bij gebruik van de speler Controleer handmatig op nieuwe versies - Controleren op updates + Controleren op updates Bezig met controleren op updates… Nieuwe feeditems Foutrapporten diff --git a/app/src/main/res/values-nqo/strings.xml b/app/src/main/res/values-nqo/strings.xml index 6956d6b78..94e7ae2f4 100644 --- a/app/src/main/res/values-nqo/strings.xml +++ b/app/src/main/res/values-nqo/strings.xml @@ -482,7 +482,7 @@ ߞߊ߬ ߡߊ߬ߝߘߎ߬ߟߌ ߟߎ߬ ߟߊ߫ ߥߦߏ߬ ߞߎߘߊ ߟߎ߫ ߛߏߓߌ߬ߘߐ߬ߓߏ߲ ߠߎ߬ ߟߊߣߊ߬ ߞߙߏ߬ߝߏ߫ ߛߎ߮ ߓߍ߯ ߟߏ߲ߘߐߦߊߟߌ ߟߎ߬ - ߟߏ߲ߘߐߦߊߟߌ ߟߎ߬ ߡߊߝߍߣߍ߲߫ + ߟߏ߲ߘߐߦߊߟߌ ߟߎ߬ ߡߊߝߍߣߍ߲߫ ߞߊ߬ ߓߐߞߏ߫ ߞߎߘߊ ߟߎ߫ ߕߎ߬ߢߊ߬ߟߐ߲߫ ߓߟߏ ߟߊ߫ ߞߵߊ߬ ߡߊߖߌ߰ ߟߥߊߟߌߟߊ߲ ߘߐߦߟߍߡߊ߲߫ ߕߎߡߊ ߝߏߛߌ߬ diff --git a/app/src/main/res/values-or/strings.xml b/app/src/main/res/values-or/strings.xml index 331c3248c..e6daac644 100644 --- a/app/src/main/res/values-or/strings.xml +++ b/app/src/main/res/values-or/strings.xml @@ -410,7 +410,7 @@ ସ୍ଵତଃସୃଷ୍ଟ ବିଷୟବସ୍ତୁ ଡାଉନଲୋଡ୍ ଧାଡି ସୀମିତ କରନ୍ତୁ - ଅଦ୍ୟତନ ପାଇଁ ଯାଞ୍ଚ କରନ୍ତୁ + ଅଦ୍ୟତନ ପାଇଁ ଯାଞ୍ଚ କରନ୍ତୁ ନୂତନ ସଂସ୍କରଣଗୁଡ଼ିକ ପାଇଁ ମାନୁଆଲ ଯାଞ୍ଚ କରନ୍ତୁ ବିଚାରାଧୀନ ଅଛି ଦେଖାଯାଇଥିବା ଭିଡିଓଗୁଡିକ ଅପସାରଣ କରିବେ କି\? diff --git a/app/src/main/res/values-pa/strings.xml b/app/src/main/res/values-pa/strings.xml index e34469eb1..196b5b785 100644 --- a/app/src/main/res/values-pa/strings.xml +++ b/app/src/main/res/values-pa/strings.xml @@ -669,7 +669,7 @@ ਸਬਸਕ੍ਰਾਈਬ ਕੀਤੇ ਚੈਨਲ ਉੱਪਰ ਨਵੀਂ ਸਟ੍ਰੀਮ ਉੱਪਲਬਧ ਹੋਣ ਤੇ ਨੋਟੀਫਿਕੇਸ਼ਨ ਰਾਹੀਂ ਸੂਚਿਤ ਕਰੋ ਜਾਂਚ ਅਵਧੀ ਕੋਈ ਵੀ ਨੈੱਟਵਰਕ - ਅੱਪਡੇਟ ਲਈ ਜਾਂਚ ਕਰੋ + ਅੱਪਡੇਟ ਲਈ ਜਾਂਚ ਕਰੋ ਘੱਟ ਗੁਣਵੱਤਾ (ਛੋਟਾ ਆਕਾਰ) ਡਿਸਕ ਤੋਂ ਸਾਰੀਆਂ ਡਾਊਨਲੋਡ ਕੀਤੀਆਂ ਫਾਈਲਾਂ ਹਟਾਓ\? diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 0212da91f..6fd61b80e 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -673,7 +673,7 @@ Przetwarzanie… Może to chwilę potrwać Sprawdzanie aktualizacji… Ręcznie sprawdź dostępność nowych wersji - Sprawdź dostępność aktualizacji + Sprawdź dostępność aktualizacji Nowe pozycje kanału Pokazuje opcję psucia podczas korzystania z odtwarzacza Zepsuj odtwarzacz diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index c0c20636b..1d241de51 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -664,7 +664,7 @@ Sugestões de busca remotas Sugestões de busca locais Processando… Pode demorar um pouco - Procurar por atualizações + Procurar por atualizações Procurar manualmente por novas versões Procurando por atualizações… Travar o reprodutor de vídeo diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 3a6fece0a..325c79d3c 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -664,7 +664,7 @@ Enfileirado o próximo Pôr na fila o próximo A processar… Pode demorar um momento - Procurar atualizações + Procurar atualizações Verificar manualmente se existe uma nova versão A procurar atualizações… Novos itens diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 554082a10..e69f79a68 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -664,7 +664,7 @@ Seguinte colocado na fila Colocar seguinte na fila A processar… Pode levar algum tempo - Procurar atualizações + Procurar atualizações Verificar manualmente se existe uma nova versão A procurar atualizações… Novos itens diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index 49a6b592b..ccc25dc4b 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -664,7 +664,7 @@ Afișați indicatorii de imagine Dezactivați tunelarea media dacă întâmpinați un ecran negru sau blocaje la redarea video. Procesarea.. Poate dura un moment - Verifică dacă există actualizări + Verifică dacă există actualizări Verifică manual dacă există versiuni noi Comentariu lipit Notificare cu raport de eroare diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index bd7e5ce20..a885631eb 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -675,7 +675,7 @@ Добавить следующим Обработка… Подождите немного Проверить обновления вручную - Проверить обновления + Проверить обновления Проверка обновлений… Новое на канале Уведомления diff --git a/app/src/main/res/values-ryu/strings.xml b/app/src/main/res/values-ryu/strings.xml index a531d14bc..195eb22b3 100644 --- a/app/src/main/res/values-ryu/strings.xml +++ b/app/src/main/res/values-ryu/strings.xml @@ -651,7 +651,7 @@ しーょりちゅう… くーてーんじがんがかかいんかむしりやびらん みーさるバージョンしーゅどうでぃかくにんさびーん アップデートかくにんちゅう… - アップデートかくにん + アップデートかくにん ちぎキューんかいちちが ちぎキューんかいちいからさびたん クリエイターぬちむくみてぃ diff --git a/app/src/main/res/values-sc/strings.xml b/app/src/main/res/values-sc/strings.xml index b39a041ee..a497844ab 100644 --- a/app/src/main/res/values-sc/strings.xml +++ b/app/src/main/res/values-sc/strings.xml @@ -652,7 +652,7 @@ Postu in lista comente imbeniente Pone in lista comente imbeniente Protzessende… Bi diat pòdere chèrrere unu pagu de tempus - Chirca agiornamentos + Chirca agiornamentos Verìfica in manera manuale pro versiones noas Controllende sos agiornamentos… NewPipe at rilevadu un\'errore, toca pro lu sinnalare diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index 231de5fc4..443809526 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -664,7 +664,7 @@ Pridať do zoznamu Ďaľší v poradí Spracovávanie... môže to chvíľku trvať - Skontrolovať aktualizácie + Skontrolovať aktualizácie Ručne skontrolovať nové verzie Kontrolujú sa aktualizácie… Nové položky informačného kanála diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml index fc68ce5eb..596fbe263 100644 --- a/app/src/main/res/values-sr/strings.xml +++ b/app/src/main/res/values-sr/strings.xml @@ -715,7 +715,7 @@ Плејлисте које су затамњене већ садрже ову ставку. LeakCanary није доступан Додирните да бисте преузели %s - Провери ажурирања + Провери ажурирања Преглед сличице траке за претрагу Прикажи следеће стримове Прикажи/сакриј стримове diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index be8e2894c..a5c9aaf2b 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -652,7 +652,7 @@ Förslag via fjärrsökning Starta inte videor i minispelaren, utan byt till helskärmsläge direkt, om automatisk rotation är låst. Du kan fortfarande komma åt minispelaren genom att gå ut ur helskärmsläge Visa Picasso färgade band ovanpå bilderna som anger deras källa: rött för nätverk, blått för disk och grönt för minne - Sök efter uppdateringar + Sök efter uppdateringar Kolla manuellt efter nya versioner Söker efter uppdateringar… Nya flödes objekt diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index dfac4fb47..fd12b6a35 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -651,7 +651,7 @@ Sonrakini sıraya ekle Sonraki sıraya eklendi İşleniyor… Biraz zaman alabilir - Güncellemeleri denetle + Güncellemeleri denetle Yeni sürümleri el ile denetleyin Güncellemeler denetleniyor… Yeni akış ögeleri diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 9348c448d..1227d7db4 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -668,7 +668,7 @@ Заплановано наступним Запланувати наступним Обробка… Трохи заждіть - Перевірити наявність оновлень + Перевірити наявність оновлень Перевірка нових версій вручну Перевірка оновлень… Нові записи стрічки diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index cdd6f6e31..393d3cdba 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -648,7 +648,7 @@ Hiện tùy chọn dừng đột ngột khi sử dụng trình phát Hiện thanh báo lỗi Tạo thông báo lỗi - Kiểm tra cập nhật + Kiểm tra cập nhật Kiểm tra phiên bản mới theo cách thủ công Đang kiểm tra cập nhật… Mục nguồn cấp dữ liệu mới diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 89c215943..29b1fc302 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -642,7 +642,7 @@ 处理中…可能需要一些时间 手动检查新版本 检查更新中… - 检查更新 + 检查更新 新订阅源条目 显示\"使播放器崩溃\" 在使用播放器时显示一个崩溃选项 diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index c91731314..f293773bd 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -288,7 +288,7 @@ 節奏 播放速度控掣 系統預設 - 檢查有冇更新 + 檢查有冇更新 個 App 用咩語言 睇咗嗰啲剷咗佢 係咪要剷走睇咗嘅影片? diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index f2eb503ab..cb9279c41 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -640,7 +640,7 @@ 已將下一個加入佇列 將下一個加入佇列 正在處理……可能需要一點時間 - 檢查更新 + 檢查更新 手動檢查新版本 正在檢查更新…… 新 feed 項目 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b9880282f..5433c88c7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -556,7 +556,8 @@ Updates Show a notification to prompt app update when a new version is available - Check for updates + Check for updates + @string/check_for_updates Manually check for new versions Minimize on app switch From a3bbbf03b411be091c85b01ba3317d7d613f38fd Mon Sep 17 00:00:00 2001 From: Tobi Date: Wed, 27 Mar 2024 21:27:20 +0100 Subject: [PATCH 2/4] Ask for consent before starting update checks NewPipe is contacting its servers without asking for the users' consent. This is categorized as "tracking" by F-Droid (see https://github.com/TeamNewPipe/NewPipe/discussions/10785). This commit disables checking for udpates by default and adds a dialog asking for the user's consent to automatically check for updates if the app version is eligible for them. After upgrading to a version containing this commit the user is asked directly on the first app start. On fresh installs however, showing it on the first app start contributes to a bad onboarding an welcoming experience. Therefore, the dialog is shown at the second app start. Co-authored-by: Stypox --- app/src/main/java/org/schabi/newpipe/App.java | 13 ++++++- .../java/org/schabi/newpipe/MainActivity.java | 7 ++++ .../newpipe/settings/NewPipeSettings.java | 16 +++----- .../newpipe/settings/SettingMigrations.java | 6 +-- .../settings/UpdateSettingsFragment.java | 37 +++++++++++++++++++ app/src/main/res/values/settings_keys.xml | 1 + app/src/main/res/values/strings.xml | 4 ++ app/src/main/res/xml/update_settings.xml | 2 +- 8 files changed, 70 insertions(+), 16 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/App.java b/app/src/main/java/org/schabi/newpipe/App.java index ee352ae4a..d92425d20 100644 --- a/app/src/main/java/org/schabi/newpipe/App.java +++ b/app/src/main/java/org/schabi/newpipe/App.java @@ -60,6 +60,8 @@ import io.reactivex.rxjava3.plugins.RxJavaPlugins; public class App extends Application { public static final String PACKAGE_NAME = BuildConfig.APPLICATION_ID; private static final String TAG = App.class.toString(); + + private boolean isFirstRun = false; private static App app; @NonNull @@ -85,7 +87,13 @@ public class App extends Application { return; } - // Initialize settings first because others inits can use its values + // check if the last used preference version is set + // to determine whether this is the first app run + final int lastUsedPrefVersion = PreferenceManager.getDefaultSharedPreferences(this) + .getInt(getString(R.string.last_used_preferences_version), -1); + isFirstRun = lastUsedPrefVersion == -1; + + // Initialize settings first because other initializations can use its values NewPipeSettings.initSettings(this); NewPipe.init(getDownloader(), @@ -255,4 +263,7 @@ public class App extends Application { return false; } + public boolean isFirstRun() { + return isFirstRun; + } } diff --git a/app/src/main/java/org/schabi/newpipe/MainActivity.java b/app/src/main/java/org/schabi/newpipe/MainActivity.java index a096e7eaf..346084b62 100644 --- a/app/src/main/java/org/schabi/newpipe/MainActivity.java +++ b/app/src/main/java/org/schabi/newpipe/MainActivity.java @@ -79,6 +79,7 @@ import org.schabi.newpipe.player.Player; import org.schabi.newpipe.player.event.OnKeyDownListener; import org.schabi.newpipe.player.helper.PlayerHolder; import org.schabi.newpipe.player.playqueue.PlayQueue; +import org.schabi.newpipe.settings.UpdateSettingsFragment; import org.schabi.newpipe.util.Constants; import org.schabi.newpipe.util.DeviceUtils; import org.schabi.newpipe.util.KioskTranslator; @@ -86,6 +87,7 @@ import org.schabi.newpipe.util.Localization; import org.schabi.newpipe.util.NavigationHelper; import org.schabi.newpipe.util.PeertubeHelper; import org.schabi.newpipe.util.PermissionHelper; +import org.schabi.newpipe.util.ReleaseVersionUtil; import org.schabi.newpipe.util.SerializedCache; import org.schabi.newpipe.util.ServiceHelper; import org.schabi.newpipe.util.StateSaver; @@ -167,6 +169,11 @@ public class MainActivity extends AppCompatActivity { // if this is enabled by the user. NotificationWorker.initialize(this); } + if (!UpdateSettingsFragment.wasUserAskedForConsent(this) + && ReleaseVersionUtil.INSTANCE.isReleaseApk() + && !App.getApp().isFirstRun()) { + UpdateSettingsFragment.askForConsentToUpdateChecks(this); + } } @Override diff --git a/app/src/main/java/org/schabi/newpipe/settings/NewPipeSettings.java b/app/src/main/java/org/schabi/newpipe/settings/NewPipeSettings.java index f280324cf..421440ea7 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/NewPipeSettings.java +++ b/app/src/main/java/org/schabi/newpipe/settings/NewPipeSettings.java @@ -11,6 +11,7 @@ import androidx.annotation.NonNull; import androidx.annotation.StringRes; import androidx.preference.PreferenceManager; +import org.schabi.newpipe.App; import org.schabi.newpipe.R; import org.schabi.newpipe.util.DeviceUtils; @@ -44,14 +45,8 @@ public final class NewPipeSettings { private NewPipeSettings() { } public static void initSettings(final Context context) { - // check if the last used preference version is set - // to determine whether this is the first app run - final int lastUsedPrefVersion = PreferenceManager.getDefaultSharedPreferences(context) - .getInt(context.getString(R.string.last_used_preferences_version), -1); - final boolean isFirstRun = lastUsedPrefVersion == -1; - // first run migrations, then setDefaultValues, since the latter requires the correct types - SettingMigrations.runMigrationsIfNeeded(context, isFirstRun); + SettingMigrations.runMigrationsIfNeeded(context); // readAgain is true so that if new settings are added their default value is set PreferenceManager.setDefaultValues(context, R.xml.main_settings, true); @@ -68,7 +63,7 @@ public final class NewPipeSettings { saveDefaultVideoDownloadDirectory(context); saveDefaultAudioDownloadDirectory(context); - disableMediaTunnelingIfNecessary(context, isFirstRun); + disableMediaTunnelingIfNecessary(context); } static void saveDefaultVideoDownloadDirectory(final Context context) { @@ -146,8 +141,7 @@ public final class NewPipeSettings { R.string.show_remote_search_suggestions_key); } - private static void disableMediaTunnelingIfNecessary(@NonNull final Context context, - final boolean isFirstRun) { + private static void disableMediaTunnelingIfNecessary(@NonNull final Context context) { final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); final String disabledTunnelingKey = context.getString(R.string.disable_media_tunneling_key); final String disabledTunnelingAutomaticallyKey = @@ -162,7 +156,7 @@ public final class NewPipeSettings { prefs.getInt(disabledTunnelingAutomaticallyKey, -1) == 0 && !prefs.getBoolean(disabledTunnelingKey, false); - if (Boolean.TRUE.equals(isFirstRun) + if (App.getApp().isFirstRun() || (wasDeviceBlacklistUpdated && !wasMediaTunnelingEnabledByUser)) { setMediaTunneling(context); } diff --git a/app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java b/app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java index b7bafde75..d731f2f5e 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java +++ b/app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java @@ -7,6 +7,7 @@ import android.util.Log; import androidx.annotation.NonNull; import androidx.preference.PreferenceManager; +import org.schabi.newpipe.App; import org.schabi.newpipe.R; import org.schabi.newpipe.error.ErrorInfo; import org.schabi.newpipe.error.ErrorUtil; @@ -163,15 +164,14 @@ public final class SettingMigrations { private static final int VERSION = 6; - public static void runMigrationsIfNeeded(@NonNull final Context context, - final boolean isFirstRun) { + public static void runMigrationsIfNeeded(@NonNull final Context context) { // setup migrations and check if there is something to do sp = PreferenceManager.getDefaultSharedPreferences(context); final String lastPrefVersionKey = context.getString(R.string.last_used_preferences_version); final int lastPrefVersion = sp.getInt(lastPrefVersionKey, 0); // no migration to run, already up to date - if (isFirstRun) { + if (App.getApp().isFirstRun()) { sp.edit().putInt(lastPrefVersionKey, VERSION).apply(); return; } else if (lastPrefVersion == VERSION) { diff --git a/app/src/main/java/org/schabi/newpipe/settings/UpdateSettingsFragment.java b/app/src/main/java/org/schabi/newpipe/settings/UpdateSettingsFragment.java index d1a379e66..b8d0aa556 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/UpdateSettingsFragment.java +++ b/app/src/main/java/org/schabi/newpipe/settings/UpdateSettingsFragment.java @@ -1,9 +1,12 @@ package org.schabi.newpipe.settings; +import android.app.AlertDialog; +import android.content.Context; import android.os.Bundle; import android.widget.Toast; import androidx.preference.Preference; +import androidx.preference.PreferenceManager; import org.schabi.newpipe.NewVersionWorker; import org.schabi.newpipe.R; @@ -36,4 +39,38 @@ public class UpdateSettingsFragment extends BasePreferenceFragment { findPreference(getString(R.string.manual_update_key)) .setOnPreferenceClickListener(manualUpdateClick); } + + public static void askForConsentToUpdateChecks(final Context context) { + new AlertDialog.Builder(context) + .setTitle(context.getString(R.string.check_for_updates)) + .setMessage(context.getString(R.string.auto_update_check_description)) + .setPositiveButton(context.getString(R.string.yes), (d, w) -> { + d.dismiss(); + setAutoUpdateCheckEnabled(context, true); + }) + .setNegativeButton(R.string.no, (d, w) -> { + d.dismiss(); + // set explicitly to false, since the default is true on previous versions + setAutoUpdateCheckEnabled(context, false); + }) + .show(); + } + + private static void setAutoUpdateCheckEnabled(final Context context, final boolean enabled) { + PreferenceManager.getDefaultSharedPreferences(context) + .edit() + .putBoolean(context.getString(R.string.update_app_key), enabled) + .putBoolean(context.getString(R.string.update_check_consent_key), true) + .apply(); + } + + /** + * Whether the user was asked for consent to automatically check for app updates. + * @param context + * @return true if the user was asked for consent, false otherwise + */ + public static boolean wasUserAskedForConsent(final Context context) { + return PreferenceManager.getDefaultSharedPreferences(context) + .getBoolean(context.getString(R.string.update_check_consent_key), false); + } } diff --git a/app/src/main/res/values/settings_keys.xml b/app/src/main/res/values/settings_keys.xml index 3087d1fc2..fb68a464d 100644 --- a/app/src/main/res/values/settings_keys.xml +++ b/app/src/main/res/values/settings_keys.xml @@ -494,6 +494,7 @@ + update_check_consent_key update_app_key manual_update_key update_pref_screen_key diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5433c88c7..c4ad8b1d9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -7,6 +7,8 @@ Install Cancel OK + Yes + No Open in browser Mark as watched Open in popup mode @@ -557,8 +559,10 @@ Updates Show a notification to prompt app update when a new version is available Check for updates + NewPipe can automatically check for new versions from time to time and notify you once they are available.\nDo you want to enable this? @string/check_for_updates Manually check for new versions + Minimize on app switch Action when switching to other app from main video player — %s diff --git a/app/src/main/res/xml/update_settings.xml b/app/src/main/res/xml/update_settings.xml index a44555edf..becd5c5c9 100644 --- a/app/src/main/res/xml/update_settings.xml +++ b/app/src/main/res/xml/update_settings.xml @@ -4,7 +4,7 @@ android:title="@string/settings_category_updates_title"> Date: Fri, 29 Mar 2024 11:08:33 +0100 Subject: [PATCH 3/4] update_app_key default value should be false --- app/src/main/java/org/schabi/newpipe/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/MainActivity.java b/app/src/main/java/org/schabi/newpipe/MainActivity.java index 346084b62..094eb5197 100644 --- a/app/src/main/java/org/schabi/newpipe/MainActivity.java +++ b/app/src/main/java/org/schabi/newpipe/MainActivity.java @@ -183,7 +183,7 @@ public class MainActivity extends AppCompatActivity { final App app = App.getApp(); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(app); - if (prefs.getBoolean(app.getString(R.string.update_app_key), true)) { + if (prefs.getBoolean(app.getString(R.string.update_app_key), false)) { // Start the worker which is checking all conditions // and eventually searching for a new version. NewVersionWorker.enqueueNewVersionCheckingWork(app, false); From 92402685f81bfc25f37efe4d1d6ff861486c5dd6 Mon Sep 17 00:00:00 2001 From: Stypox Date: Fri, 29 Mar 2024 11:14:30 +0100 Subject: [PATCH 4/4] Improve new version checks before running --- app/src/main/java/org/schabi/newpipe/MainActivity.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/MainActivity.java b/app/src/main/java/org/schabi/newpipe/MainActivity.java index 094eb5197..175694125 100644 --- a/app/src/main/java/org/schabi/newpipe/MainActivity.java +++ b/app/src/main/java/org/schabi/newpipe/MainActivity.java @@ -170,8 +170,8 @@ public class MainActivity extends AppCompatActivity { NotificationWorker.initialize(this); } if (!UpdateSettingsFragment.wasUserAskedForConsent(this) - && ReleaseVersionUtil.INSTANCE.isReleaseApk() - && !App.getApp().isFirstRun()) { + && !App.getApp().isFirstRun() + && ReleaseVersionUtil.INSTANCE.isReleaseApk()) { UpdateSettingsFragment.askForConsentToUpdateChecks(this); } } @@ -183,7 +183,8 @@ public class MainActivity extends AppCompatActivity { final App app = App.getApp(); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(app); - if (prefs.getBoolean(app.getString(R.string.update_app_key), false)) { + if (prefs.getBoolean(app.getString(R.string.update_app_key), false) + && prefs.getBoolean(app.getString(R.string.update_check_consent_key), false)) { // Start the worker which is checking all conditions // and eventually searching for a new version. NewVersionWorker.enqueueNewVersionCheckingWork(app, false);