From 12565960d8fa6263c4fbbf521a729c7d92494790 Mon Sep 17 00:00:00 2001 From: Oymate Date: Mon, 30 Nov 2020 06:21:13 +0000 Subject: [PATCH 01/14] Translated using Weblate (Bengali) Currently translated at 85.7% (6 of 7 strings) Translation: PeerTube/PlayStoreMeta Translate-URL: https://hosted.weblate.org/projects/peertube/playstoremeta/bn/ --- .../metadata/android/bn/changelogs/1047.txt | 1 + .../metadata/android/bn/changelogs/1048.txt | 1 + .../metadata/android/bn/changelogs/1049.txt | 7 ++++ .../metadata/android/bn/full_description.txt | 33 +++++++++++++++++++ .../metadata/android/bn/short_description.txt | 1 + fastlane/metadata/android/bn/video.txt | 1 + 6 files changed, 44 insertions(+) create mode 100644 fastlane/metadata/android/bn/changelogs/1047.txt create mode 100644 fastlane/metadata/android/bn/changelogs/1048.txt create mode 100644 fastlane/metadata/android/bn/changelogs/1049.txt create mode 100644 fastlane/metadata/android/bn/full_description.txt create mode 100644 fastlane/metadata/android/bn/short_description.txt create mode 100644 fastlane/metadata/android/bn/video.txt diff --git a/fastlane/metadata/android/bn/changelogs/1047.txt b/fastlane/metadata/android/bn/changelogs/1047.txt new file mode 100644 index 0000000..fae1658 --- /dev/null +++ b/fastlane/metadata/android/bn/changelogs/1047.txt @@ -0,0 +1 @@ +- প্রমাণীকরণ রিফ্রেশ diff --git a/fastlane/metadata/android/bn/changelogs/1048.txt b/fastlane/metadata/android/bn/changelogs/1048.txt new file mode 100644 index 0000000..dcb8923 --- /dev/null +++ b/fastlane/metadata/android/bn/changelogs/1048.txt @@ -0,0 +1 @@ +- স্বয়ংক্রিয় নিয়োগ ঠিক করতে f-droid রিলিজ diff --git a/fastlane/metadata/android/bn/changelogs/1049.txt b/fastlane/metadata/android/bn/changelogs/1049.txt new file mode 100644 index 0000000..81bcaf0 --- /dev/null +++ b/fastlane/metadata/android/bn/changelogs/1049.txt @@ -0,0 +1,7 @@ +- বর্ণনায় হাইপারটেক্সট পুনঃনির্দেশনার সমর্থন যোগ করো (@freeboub) + - বিভিন্ন ক্র্যাশ ফিক্স (@freeboub) + - শেয়ার বাটনের কারণে অ্যাপ ছাড়ার সময় পিপ-এ যাওয়া এড়িয়ে চলো (@freeboub) + - সার্ভার তালিকা ফিল্টার করার ক্ষমতা যোগ করো (@freeboub) + - নেটওয়ার্ক ত্রুটি বিভক্ত করতে টোস্ট ত্রুটি ব্যবস্থাপনা রিফ্যাক্টর করো (@freeboub) + - পিপের জন্য ভিডিও অ্যাসপেক্ট রেশিও ঠিক রাখো (@freeboub) + - ল্যান্ডস্কেপ মোড (@freeboub) ছাড়ার সময় নেভিগেশন বার পুনর্বহাল করা হয়নি diff --git a/fastlane/metadata/android/bn/full_description.txt b/fastlane/metadata/android/bn/full_description.txt new file mode 100644 index 0000000..d496bcc --- /dev/null +++ b/fastlane/metadata/android/bn/full_description.txt @@ -0,0 +1,33 @@ +থোরিয়াম একটি পিয়ারটিউব ক্লায়েন্ট যা যে কোন পিয়ারটিউব সার্ভারের চলমান সংস্করণ স১.১.০-আলফা.২ বা তার বেশি সংযোগ করতে পারে। + +পিয়ারটিউব একটি ফেডারেটেড (অ্যাক্টিভিটিপাব) ভিডিও স্ট্রিমিং প্ল্যাটফর্ম যা সরাসরি ওয়েব ব্রাউজারেপ পিটুপি(বিটটরেন্ট) ব্যবহার করে। আরও তথ্যের জন্য অনুগ্রহ করে https://joinpeertube.org/ এবং সার্ভারের একটি তালিকা দেখুন। + +এই ক্লায়েন্ট অ্যাপ্লিকেশন নির্মাতা দ্বারা পরিচালিত একটি পিয়ারটিউব সার্ভার দ্বারা প্রি-কনফিগার করা হয় - পিয়ারটিউব প্রকল্প নিজে নয়, যা http://instances.joinpeertube.org/ আরো তালিকাভুক্ত করে - ক্লায়েন্ট কি করতে সক্ষম তার স্বাদ পেতে তোমাকে অনুমতি দেয়. তোমার অভিজ্ঞতা টিউন করতে তোমার সার্ভার পছন্দ করো! + +বর্তমান বৈশিষ্ট্য: +- যেকোন পিয়ারটিউব সার্ভারে সংযোগ করো +- টরেন্ট ভিডিও অথবা সরাসরি প্লেব্যাক +- পিয়ারটিউব অনুসন্ধান করো +- ডাউনলোড / শেয়ার ভিডিও +- থিম / ডার্ক মোড +- ব্যাকগ্রাউন্ড প্লেব্যাক +- প্রাকৃতিক দৃশ্যে ফুলস্ক্রিন প্লেব্যাক +- প্লেব্যাক এর গতি +- অশ্লীল বিষয়বস্তু ফিল্টার করো +- প্রমাণীকরণ / লগইন +- লাইক/অপছন্দ ভিডিও + +শীঘ্রই যোগাযোগ: +- মন্তব্য ভিডিও +- রেজিস্টার করুন +- ব্যবহারকারী / চ্যানেল ওভারভিউ পৃষ্ঠা +- ভিডিও রিপোর্ট করুন + +অনুমতি: +- টরেন্ট ডাউনলোড বা ভিডিও ডাউনলোডের জন্য স্টোরেজ অ্যাক্সেস প্রয়োজন। + +GNU Affero সাধারণ পাবলিক লাইসেন্স সং৩.০ এর অধীনে লাইসেন্সপ্রাপ্ত + +এই শক্তিশালী অনুমতিপত্র বাম লাইসেন্সের অনুমতি লাইসেন্সকৃত কাজ এবং সংশোধনের সম্পূর্ণ সোর্স কোড তৈরি করার শর্ত দেওয়া হয়, যার মধ্যে একই লাইসেন্সের অধীনে একটি লাইসেন্সপ্রাপ্ত কাজ ব্যবহার করে বৃহত্তর কাজ অন্তর্ভুক্ত করা হয়। কপিরাইট এবং লাইসেন্স বিজ্ঞপ্তি অবশ্যই সংরক্ষণ করতে হবে। অবদানকারীরা পেটেন্ট অধিকারের একটি এক্সপ্রেস অনুদান প্রদান করে। যখন একটি নেটওয়ার্কের উপর একটি সেবা প্রদান করতে একটি পরিবর্তিত সংস্করণ ব্যবহার করা হয়, পরিবর্তিত সংস্করণের সম্পূর্ণ উৎস কোড উপলব্ধ করতে হবে। + +সোর্স কোড: https://github.com/sschueller/peertube-android/ diff --git a/fastlane/metadata/android/bn/short_description.txt b/fastlane/metadata/android/bn/short_description.txt new file mode 100644 index 0000000..db22725 --- /dev/null +++ b/fastlane/metadata/android/bn/short_description.txt @@ -0,0 +1 @@ +থোরিয়াম একটি অনানুষ্ঠানিক পিয়ারটিউব প্লেয়ার diff --git a/fastlane/metadata/android/bn/video.txt b/fastlane/metadata/android/bn/video.txt new file mode 100644 index 0000000..5824a09 --- /dev/null +++ b/fastlane/metadata/android/bn/video.txt @@ -0,0 +1 @@ +https://www.youtube.com/watch?v=PJIsiuSdpq8 From f6ff6623144bb8c71a92b0df4271e9d74d1e6ed6 Mon Sep 17 00:00:00 2001 From: NonPublicID321 Date: Fri, 4 Dec 2020 19:28:32 +0000 Subject: [PATCH 02/14] Translated using Weblate (Catalan) Currently translated at 71.4% (5 of 7 strings) Translation: PeerTube/PlayStoreMeta Translate-URL: https://hosted.weblate.org/projects/peertube/playstoremeta/ca/ --- fastlane/metadata/android/ca/changelogs/1047.txt | 1 + fastlane/metadata/android/ca/changelogs/1048.txt | 1 + fastlane/metadata/android/ca/changelogs/1049.txt | 7 +++++++ fastlane/metadata/android/ca/short_description.txt | 1 + fastlane/metadata/android/ca/video.txt | 1 + 5 files changed, 11 insertions(+) create mode 100644 fastlane/metadata/android/ca/changelogs/1047.txt create mode 100644 fastlane/metadata/android/ca/changelogs/1048.txt create mode 100644 fastlane/metadata/android/ca/changelogs/1049.txt create mode 100644 fastlane/metadata/android/ca/short_description.txt create mode 100644 fastlane/metadata/android/ca/video.txt diff --git a/fastlane/metadata/android/ca/changelogs/1047.txt b/fastlane/metadata/android/ca/changelogs/1047.txt new file mode 100644 index 0000000..4e1c207 --- /dev/null +++ b/fastlane/metadata/android/ca/changelogs/1047.txt @@ -0,0 +1 @@ +- Renovació de l'autenticació diff --git a/fastlane/metadata/android/ca/changelogs/1048.txt b/fastlane/metadata/android/ca/changelogs/1048.txt new file mode 100644 index 0000000..2db2703 --- /dev/null +++ b/fastlane/metadata/android/ca/changelogs/1048.txt @@ -0,0 +1 @@ +- fes servir la versió de f-droid per corretgir el desplegament automatic diff --git a/fastlane/metadata/android/ca/changelogs/1049.txt b/fastlane/metadata/android/ca/changelogs/1049.txt new file mode 100644 index 0000000..34d40f2 --- /dev/null +++ b/fastlane/metadata/android/ca/changelogs/1049.txt @@ -0,0 +1,7 @@ +- Afegir suport de hypertext redirection en la descripció (@freeboub) +- Correcció de diversos errors fatals (@freeboub) +- Eludir anar a pip quan surts de l'app pel share button (@freeboub) +- Afegida la possibilitat de filtrar el llistat de servidors (@freeboub) +- Refactor Toast error management to split network error (@freeboub) +- Mantenir la relació d'aspecte per a pip(@freeboub) +- La barra de navegació no va ser restaurada en sortir del mode horitzontal(@freeboub) diff --git a/fastlane/metadata/android/ca/short_description.txt b/fastlane/metadata/android/ca/short_description.txt new file mode 100644 index 0000000..9cca0e7 --- /dev/null +++ b/fastlane/metadata/android/ca/short_description.txt @@ -0,0 +1 @@ +Thorium es un reproductor de PeerTube no oficial diff --git a/fastlane/metadata/android/ca/video.txt b/fastlane/metadata/android/ca/video.txt new file mode 100644 index 0000000..5824a09 --- /dev/null +++ b/fastlane/metadata/android/ca/video.txt @@ -0,0 +1 @@ +https://www.youtube.com/watch?v=PJIsiuSdpq8 From c0e91c16e4ce84ce988830468a7ab17013908317 Mon Sep 17 00:00:00 2001 From: Novel Harianto Date: Sat, 5 Dec 2020 20:46:56 +0100 Subject: [PATCH 03/14] Added translation using Weblate (Indonesian) --- app/src/main/res/values-id/strings.xml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 app/src/main/res/values-id/strings.xml diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml new file mode 100644 index 0000000..a6b3dae --- /dev/null +++ b/app/src/main/res/values-id/strings.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file From 6579b4b94136217e26acb24dbbc7f1f4d6d7a629 Mon Sep 17 00:00:00 2001 From: Novel Harianto Date: Sat, 5 Dec 2020 19:41:40 +0000 Subject: [PATCH 04/14] Translated using Weblate (Indonesian) Currently translated at 42.8% (3 of 7 strings) Translation: PeerTube/PlayStoreMeta Translate-URL: https://hosted.weblate.org/projects/peertube/playstoremeta/id/ --- fastlane/metadata/android/id/changelogs/1047.txt | 1 + fastlane/metadata/android/id/short_description.txt | 1 + fastlane/metadata/android/id/title.txt | 1 + 3 files changed, 3 insertions(+) create mode 100644 fastlane/metadata/android/id/changelogs/1047.txt create mode 100644 fastlane/metadata/android/id/short_description.txt create mode 100644 fastlane/metadata/android/id/title.txt diff --git a/fastlane/metadata/android/id/changelogs/1047.txt b/fastlane/metadata/android/id/changelogs/1047.txt new file mode 100644 index 0000000..2aec59d --- /dev/null +++ b/fastlane/metadata/android/id/changelogs/1047.txt @@ -0,0 +1 @@ +- Refresh Otentikasi diff --git a/fastlane/metadata/android/id/short_description.txt b/fastlane/metadata/android/id/short_description.txt new file mode 100644 index 0000000..228efc8 --- /dev/null +++ b/fastlane/metadata/android/id/short_description.txt @@ -0,0 +1 @@ +Thorium adalah unoffical pemutar PeerTube diff --git a/fastlane/metadata/android/id/title.txt b/fastlane/metadata/android/id/title.txt new file mode 100644 index 0000000..eae8dda --- /dev/null +++ b/fastlane/metadata/android/id/title.txt @@ -0,0 +1 @@ +Thorium adalah unofficial Klien PeerTube From fe5f7d021e1d573bb538d51a9b033535bdfbedee Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelm Zarejko Date: Wed, 23 Dec 2020 11:05:59 +0000 Subject: [PATCH 05/14] Translated using Weblate (Polish) Currently translated at 91.5% (316 of 345 strings) Translation: PeerTube/Android Translate-URL: https://hosted.weblate.org/projects/peertube/android/pl/ --- app/src/main/res/values-pl/strings.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 2a0e0e0..430e1e7 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -300,4 +300,22 @@ Licencja 1,25× 0,75× + Odtwarzanie Wideo + Lista Wideo + Konto + Dodaj + Hasło + Wyszukaj + Serwer URL + Pomoc i Opinie + Wyloguj + Pomyślnie zalogowano + Błąd dostępu do sieci, sprawdź swoje połączenie + Lista filtrów + Bengalski (Bangladesz) + Czy chcesz trwale usunąć historię wyszukiwań\? + Usuń historię wyszukiwań + Ustawienia odtwarzania w tle + Kontynuuj odtwarzanie w ruchomym oknie + Język Aplikacji \ No newline at end of file From 2416872267e497810a032970f5d2650c2f8fb7f5 Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelm Zarejko Date: Wed, 23 Dec 2020 12:17:59 +0000 Subject: [PATCH 06/14] Translated using Weblate (Polish) Currently translated at 28.5% (2 of 7 strings) Translation: PeerTube/PlayStoreMeta Translate-URL: https://hosted.weblate.org/projects/peertube/playstoremeta/pl/ --- .../metadata/android/pl/full_description.txt | 36 +++++++++++++++++++ .../metadata/android/pl/short_description.txt | 1 + fastlane/metadata/android/pl/video.txt | 1 + 3 files changed, 38 insertions(+) create mode 100644 fastlane/metadata/android/pl/full_description.txt create mode 100644 fastlane/metadata/android/pl/short_description.txt create mode 100644 fastlane/metadata/android/pl/video.txt diff --git a/fastlane/metadata/android/pl/full_description.txt b/fastlane/metadata/android/pl/full_description.txt new file mode 100644 index 0000000..4ac50d4 --- /dev/null +++ b/fastlane/metadata/android/pl/full_description.txt @@ -0,0 +1,36 @@ +Thorium jest platformą PeerTube'a, która może połączyć się z każdym serwerem PeerTube'a działającym na wersji v1.1.0-alpha.2 lub nowszej. + +PeerTube jest sfederowaną (ActivityPub) platformą do streamowania wideo, używającą P2P (BitTorrent) bezpośrednio w przeglądarce. Po więcej informacji i listę serwerów odwiedź: https://joinpeertube.org/ + +Platforma jest z góry wyposażona w jeden serwer PeerTube zarządzany przez twórcę aplikacji, a nie przez ogólny projekt PeerTube. Listę instancji znajdziesz pod: https://instances.joinpeertube.org/instances - by móc zobaczyć do czego zdolna jest platforma. Wybierz dowolny serwer, by dopasować go do oczekiwań! + +Obecne Właściwości: +- Możliwość połączenia z jakimkolwiek serwerem PeerTube +- Pobierz wideo przez torrent lub odtwarzaj bezpośrednio +- Przeszukuj PeerTube +- Pobierz / Udostępnij film +- Różne skórki, w tym ciemna +- Odtwarzanie w tle +- Odtwarzanie pełnoekranowe w trybie krajobrazowym +- Dostosowywanie prędkości odtwarzania +- Filtrowanie treści dla dorosłych +- Logowanie +- Łapkowanie filmów + +Wkrótce: +- Komentowanie filmów +- Rejestracja +- Pogląd Użytkowanika / Kanału +- Zgłaszanie materiału + +Wymagane pozwolenia: +- Dostęp do przechowywania, potrzebnego do pobierania. + +Permissions: +- Storage access, required for torrent download or video download. + +Wydane pod certyfikatem GNU Affero General Public License v3.0 + +Warunki ww. polityki praw autorskich ustalone są, by udostępniać pełen kod źródłowy certyfikowanych prac i ich modyfikacji zawierających większe prace wydane pod tym samym certyfikatem. Prawa autorskie i certyfikat muszą zostać zachowane. Współautorzy zapewniają wyraźne zrzeczenie się praw patentowych. Gdy zmodyfikowana wersja zostanie użyta do świadczenia usługi przez sieć, pełen kod źródłowy musi zostać udostępniony publicznie. + +Link do kodu źródłowego: https://github.com/sschueller/peertube-android/ diff --git a/fastlane/metadata/android/pl/short_description.txt b/fastlane/metadata/android/pl/short_description.txt new file mode 100644 index 0000000..02462d8 --- /dev/null +++ b/fastlane/metadata/android/pl/short_description.txt @@ -0,0 +1 @@ +Thorium jest nieoficjalnym odtwarzaczem PeerTuber Player diff --git a/fastlane/metadata/android/pl/video.txt b/fastlane/metadata/android/pl/video.txt new file mode 100644 index 0000000..5824a09 --- /dev/null +++ b/fastlane/metadata/android/pl/video.txt @@ -0,0 +1 @@ +https://www.youtube.com/watch?v=PJIsiuSdpq8 From dd51da7887382d259c8669b53cab3ba5d78f322d Mon Sep 17 00:00:00 2001 From: Joaquin Gonzalez Date: Mon, 11 Jan 2021 00:55:12 +0000 Subject: [PATCH 07/14] Translated using Weblate (Spanish) Currently translated at 49.8% (172 of 345 strings) Translation: PeerTube/Android Translate-URL: https://hosted.weblate.org/projects/peertube/android/es/ --- app/src/main/res/values-es/strings.xml | 60 ++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index dc4dfb9..7686ca0 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -114,4 +114,64 @@ 1,25× 0,75× Idioma de la aplicación + Ayuda y feedback + Cerrar sesión + Una URL válida es requerida + La etiqueta de servidor es requerida + Ruso (Lenguaje de señas) + Ruso + Romano + Portugués + Polaco + Noruego + Pakistaní (Lenguaje de señas) + Francés (Lenguaje de señas) + Francés + Finlandés + Esperanto + Inglés + Danés (Lenguaje de señas) + Danés + Checo (Lenguaje de señas) + Checo + Croata + Vasco + Bengali + Bieloruso + Bashkir + Bambara + Aymara + Avaric + Assamese + Amharic + Akan + Afrikaans + Abkhazian + Token refrescado + No se pudo refrescar el token + Reproducción de video + Lista de video + Cuenta + Buscar servidor + ¿Estás seguro de que deseas eliminar este servidor de la libreta de direcciones\? + Quitar servidor + Libreta de direcciones + Servidor actual + Contraseña + Usuario + Buscar + URL del servidor + Etiqueta + Añadir + Error en el inicio de sesión! + ¿Deseas eliminar de forma permanente tu historial de búsqueda\? + Limpiar el historial de búsquedas + El permiso para modo picture-in-picture está desactivado para esta aplicación en los Ajustes de Android + Versión de Android no soporta ventanas flotantes + Configuración de reproducción en segundo plano + Continuar reproduciendo en ventana flotante + Detener todas las reproducciones + Continuar como audio en segundo plano + Selecciona el idioma de la interfaz de la aplicación. Reinicia para que los cambios se apliquen. + Pausar con el botón de retroceso \ No newline at end of file From 094bb2aa4415233e8a742d7dedd4e1020ceca6ca Mon Sep 17 00:00:00 2001 From: kosharskiy Date: Wed, 13 Jan 2021 21:08:53 +0200 Subject: [PATCH 08/14] fixed multiline issue --- .../main/res/layout/fragment_video_meta.xml | 40 ++++++++++++------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/app/src/main/res/layout/fragment_video_meta.xml b/app/src/main/res/layout/fragment_video_meta.xml index 229eeaa..9463ee1 100644 --- a/app/src/main/res/layout/fragment_video_meta.xml +++ b/app/src/main/res/layout/fragment_video_meta.xml @@ -1,10 +1,11 @@ - + android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption" + tools:text="@tools:sample/lorem/random" + android:lines="2" + /> @@ -239,7 +242,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="12dp" - + android:gravity="bottom" android:orientation="horizontal"> + android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption" + tools:text="@tools:sample/lorem/random" + android:lines="2" + /> @@ -267,7 +272,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="12dp" - + android:gravity="bottom" android:orientation="horizontal"> + android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption" + tools:text="@tools:sample/lorem" + android:lines="2" + /> @@ -296,7 +303,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="12dp" - + android:gravity="bottom" android:orientation="horizontal"> + android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption" + tools:text="@tools:sample/lorem/random" + android:lines="2" + /> @@ -324,7 +333,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="12dp" - + android:gravity="bottom" android:orientation="horizontal"> From d3b515382baa37661b8d8586a60ab3d917560cc4 Mon Sep 17 00:00:00 2001 From: kosharskiy Date: Wed, 13 Jan 2021 22:31:05 +0200 Subject: [PATCH 09/14] cleanup app/build.gradle file --- app/build.gradle | 122 +++++++++++------------ gradle/wrapper/gradle-wrapper.properties | 4 +- 2 files changed, 58 insertions(+), 68 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ff59927..7948ec1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -33,6 +33,8 @@ else { android { compileSdkVersion 29 + buildToolsVersion "29.0.3" + defaultConfig { applicationId "net.schueller.peertube" minSdkVersion 21 @@ -41,11 +43,7 @@ android { versionName System.getenv("VERSION_NAME") + "-" + System.getenv("VERSION_SHA") buildConfigField "long", "BUILD_TIME", readPropertyWithDefault('buildTimestamp', System.currentTimeMillis()) + 'L' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - ext { - libVersions = [ - exoplayer: '2.11.6' - ] - } + javaCompileOptions { annotationProcessorOptions { arguments = [ @@ -54,58 +52,6 @@ android { "room.expandProjection": "true"] } } - dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - - // Layouts and design - implementation 'androidx.constraintlayout:constraintlayout:2.0.1' - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'androidx.cardview:cardview:1.0.0' - implementation 'androidx.recyclerview:recyclerview:1.1.0' - implementation 'androidx.legacy:legacy-support-v13:1.0.0' - implementation 'com.google.android.material:material:1.2.0' - implementation 'de.hdodenhof:circleimageview:3.0.0' - - // font awesome - implementation "com.mikepenz:iconics-core:3.1.0" - implementation 'com.mikepenz:fontawesome-typeface:5.3.1.1@aar' - - // http client / REST - implementation 'com.squareup.okhttp3:okhttp:4.8.0' - implementation 'com.squareup.retrofit2:retrofit:2.5.0' - - // image downloading and caching library - implementation 'com.squareup.picasso:picasso:2.71828' - - // json decoder/encoder - implementation 'com.google.code.gson:gson:2.8.6' - implementation 'com.squareup.retrofit2:converter-gson:2.5.0' - - // Torrents and WebRTC - implementation 'com.github.TorrentStream:TorrentStream-Android:2.6.1' -// implementation "com.github.TorrentStream:TorrentStreamServer-Android:1.0.1" -// implementation 'org.webrtc:google-webrtc:1.0.+' - - // video player repo:jcenter() - implementation "com.google.android.exoplayer:exoplayer-core:$libVersions.exoplayer" - implementation "com.google.android.exoplayer:exoplayer-dash:$libVersions.exoplayer" - implementation "com.google.android.exoplayer:exoplayer-ui:$libVersions.exoplayer" - implementation "com.google.android.exoplayer:exoplayer-hls:$libVersions.exoplayer" - implementation "com.google.android.exoplayer:exoplayer-smoothstreaming:$libVersions.exoplayer" - implementation "com.google.android.exoplayer:extension-mediasession:$libVersions.exoplayer" - implementation "com.google.android.exoplayer:extension-okhttp:$libVersions.exoplayer" - - // date formatter - implementation 'org.ocpsoft.prettytime:prettytime:4.0.4.Final' - - // Version comparison - implementation 'org.apache.maven:maven-artifact:3.5.0' - - // testing - testImplementation 'junit:junit:4.13' - androidTestImplementation 'androidx.test:runner:1.3.0' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' - } } signingConfigs { release { @@ -136,26 +82,70 @@ android { } } +def room_version = "2.2.6" +def lifecycleVersion = '2.2.0' +def exoplayer = '2.12.3' + dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar']) - def room_version = "2.2.5" - def archLifecycleVersion = '2.1.0' - - implementation 'androidx.constraintlayout:constraintlayout:2.0.1' + // Layouts and design + implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'androidx.constraintlayout:constraintlayout:2.0.1' - implementation 'com.google.android.material:material:1.2.0' + implementation 'com.google.android.material:material:1.2.1' + implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" + + implementation 'de.hdodenhof:circleimageview:3.0.0' + + // font awesome + implementation "com.mikepenz:iconics-core:3.1.0" + implementation 'com.mikepenz:fontawesome-typeface:5.3.1.1@aar' + + // http client / REST + implementation 'com.squareup.okhttp3:okhttp:4.9.0' + implementation 'com.squareup.retrofit2:retrofit:2.9.0' + + // image downloading and caching library + implementation 'com.squareup.picasso:picasso:2.71828' + + // json decoder/encoder + implementation 'com.google.code.gson:gson:2.8.6' + implementation 'com.squareup.retrofit2:converter-gson:2.9.0' + + // Torrents and WebRTC + implementation 'com.github.TorrentStream:TorrentStream-Android:2.7.0' +// implementation "com.github.TorrentStream:TorrentStreamServer-Android:1.0.1" +// implementation 'org.webrtc:google-webrtc:1.0.+' + + // video player repo:jcenter() + implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer" + implementation "com.google.android.exoplayer:exoplayer-dash:$exoplayer" + implementation "com.google.android.exoplayer:exoplayer-ui:$exoplayer" + implementation "com.google.android.exoplayer:exoplayer-hls:$exoplayer" + implementation "com.google.android.exoplayer:exoplayer-smoothstreaming:$exoplayer" + implementation "com.google.android.exoplayer:extension-mediasession:$exoplayer" + implementation "com.google.android.exoplayer:extension-okhttp:$exoplayer" + + // date formatter + implementation 'org.ocpsoft.prettytime:prettytime:4.0.4.Final' + + // Version comparison + implementation 'org.apache.maven:maven-artifact:3.5.0' // database lib implementation "androidx.room:room-runtime:$room_version" - implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' annotationProcessor "androidx.room:room-compiler:$room_version" androidTestImplementation "androidx.room:room-testing:$room_version" // Lifecycle components - implementation "androidx.lifecycle:lifecycle-extensions:$archLifecycleVersion" - annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$archLifecycleVersion" + implementation "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion" + annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion" implementation 'androidx.preference:preference:1.1.1' + + // testing + testImplementation 'junit:junit:4.13' + androidTestImplementation 'androidx.test:runner:1.3.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f777cde..cba2f4b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sun Nov 22 12:39:32 CET 2020 +#Wed Jan 13 22:22:53 EET 2021 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip From 5f074a1ee17dfc6992d76928e481ccd173255291 Mon Sep 17 00:00:00 2001 From: kosharskiy Date: Wed, 13 Jan 2021 23:27:57 +0200 Subject: [PATCH 10/14] added missing uk and ru translations --- app/src/main/res/values-ru/strings.xml | 7 +++++++ app/src/main/res/values-uk/strings.xml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index d799535..01208b9 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -353,4 +353,11 @@ Пауза на кнопку Назад Ошибка доступа к сети, проверьте подключение Список фильтров + Да + Нет + Отключить проверку SSL сертификата + Дополнительно + Внимание! + Игнорировать незащищенные соединения. Используйте только если знаете сервер к которому подключаетесь. Требуется перезапуск приложения. + "Вы собираетесь отключить валидацию всех SSL сертификатов в Thorium. Это может быть очень опасно если peertube сервер вами не контролируется, потому что \"атака посредника\" может направить трафик на другой сервер. Злоумышленник может записывать пароли и другие личные данные." \ No newline at end of file diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 3612f77..8fcc9d4 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -347,4 +347,11 @@ Сервер Увійти Параметри + Вимкнути перевірку SSL сертифіката + Ігнорувати незахищені з\'єднання. Використовуйте це лише якщо знаєте сервер до якого підключаєтесь. Перезапустіть застосунок, щоб зміни набули чинності. + Так + Ні + Увага! + "Ви збираєтеся вимкнути всі перевірки сертифікації SSL у Thorium. Це може бути дуже небезпечно якщо peertube сервер вами не контролюється, оскільки атака \"людина посередині\" може направити трафік на інший сервер без вашого відома. Зловмисник може записувати паролі та інші особисті дані. " + Додатково \ No newline at end of file From 3ff5f3077b284ca2bfb5237ac8ab2e451c169184 Mon Sep 17 00:00:00 2001 From: kosharskiy Date: Wed, 13 Jan 2021 23:33:18 +0200 Subject: [PATCH 11/14] added Ukrainian language to change language dialog in settings --- app/src/main/res/values/constants.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/values/constants.xml b/app/src/main/res/values/constants.xml index 6b29bef..7feb602 100644 --- a/app/src/main/res/values/constants.xml +++ b/app/src/main/res/values/constants.xml @@ -534,6 +534,7 @@ ru sv tr + uk zh-rCN zh-rTW @@ -560,6 +561,7 @@ @string/ru @string/sv @string/tr + @string/uk @string/zh @string/tw From 69a6d9ebfb82f0b3826f593ab89c794372faad69 Mon Sep 17 00:00:00 2001 From: kosharskiy Date: Thu, 14 Jan 2021 18:42:27 +0200 Subject: [PATCH 12/14] fixed default app language on first start; the same fix made for video filter --- .../peertube/activity/CommonActivity.java | 37 ++++++++++++------- .../peertube/activity/VideoListActivity.java | 11 +++++- app/src/main/res/xml/root_preferences.xml | 2 - 3 files changed, 34 insertions(+), 16 deletions(-) diff --git a/app/src/main/java/net/schueller/peertube/activity/CommonActivity.java b/app/src/main/java/net/schueller/peertube/activity/CommonActivity.java index b9c1ee7..d68ffe4 100644 --- a/app/src/main/java/net/schueller/peertube/activity/CommonActivity.java +++ b/app/src/main/java/net/schueller/peertube/activity/CommonActivity.java @@ -19,16 +19,17 @@ package net.schueller.peertube.activity; import android.content.SharedPreferences; import android.content.res.Configuration; +import android.content.res.Resources; import android.os.Bundle; import android.preference.PreferenceManager; -import androidx.appcompat.app.AppCompatActivity; -import androidx.appcompat.app.AppCompatDelegate; - import net.schueller.peertube.R; import java.util.Locale; +import androidx.appcompat.app.AppCompatActivity; +import androidx.appcompat.app.AppCompatDelegate; + public class CommonActivity extends AppCompatActivity { @Override @@ -51,21 +52,31 @@ public class CommonActivity extends AppCompatActivity { ); // Set language - String countryCode = sharedPref.getString(getString(R.string.pref_language_app_key), "en"); - assert countryCode != null; - Locale locale = new Locale(countryCode); + String countryCode = sharedPref.getString(getString(R.string.pref_language_app_key), null); + + if (countryCode == null) { + return; + } + + setLocale(countryCode); + } + + + public void setLocale(String languageCode) { + + Locale locale = new Locale(languageCode); //Neither Chinese language choice was working, found this fix on stack overflow - if (countryCode.equals("zh-rCN")) + if (languageCode.equals("zh-rCN")) locale = Locale.SIMPLIFIED_CHINESE; - if (countryCode.equals("zh-rTW")) + if (languageCode.equals("zh-rTW")) locale = Locale.TRADITIONAL_CHINESE; Locale.setDefault(locale); - Configuration config = getBaseContext().getResources().getConfiguration(); - config.locale = locale; - getBaseContext().getResources().updateConfiguration(config, - getBaseContext().getResources().getDisplayMetrics()); - } + Resources resources = getResources(); + Configuration config = resources.getConfiguration(); + config.setLocale(locale); + resources.updateConfiguration(config, resources.getDisplayMetrics()); + } } diff --git a/app/src/main/java/net/schueller/peertube/activity/VideoListActivity.java b/app/src/main/java/net/schueller/peertube/activity/VideoListActivity.java index fbd0b6d..a760c4a 100644 --- a/app/src/main/java/net/schueller/peertube/activity/VideoListActivity.java +++ b/app/src/main/java/net/schueller/peertube/activity/VideoListActivity.java @@ -70,6 +70,8 @@ import net.schueller.peertube.service.VideoPlayerService; import java.util.ArrayList; +import java.util.HashSet; +import java.util.Locale; import java.util.Set; import retrofit2.Call; @@ -321,7 +323,14 @@ public class VideoListActivity extends CommonActivity { SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this); String nsfw = sharedPref.getBoolean(getString(R.string.pref_show_nsfw_key), false) ? "both" : "false"; - Set languages = sharedPref.getStringSet(getString(R.string.pref_video_language_key), null); + + Locale locale = getResources().getConfiguration().locale; + String country = locale.getLanguage(); + + HashSet countries = new HashSet<>(1); + countries.add(country); + + Set languages = sharedPref.getStringSet(getString(R.string.pref_video_language_key), countries); String apiBaseURL = APIUrlHelper.getUrlWithVersion(this); GetVideoDataService service = RetrofitInstance.getRetrofitInstance(apiBaseURL, APIUrlHelper.useInsecureConnection(this)).create(GetVideoDataService.class); diff --git a/app/src/main/res/xml/root_preferences.xml b/app/src/main/res/xml/root_preferences.xml index e96fdd9..96736b3 100644 --- a/app/src/main/res/xml/root_preferences.xml +++ b/app/src/main/res/xml/root_preferences.xml @@ -4,7 +4,6 @@ Date: Thu, 14 Jan 2021 19:06:22 +0100 Subject: [PATCH 13/14] added required translation files and version bump --- fastlane/metadata/android/bn/title.txt | 1 + fastlane/metadata/android/ca/full_description.txt | 1 + fastlane/metadata/android/ca/title.txt | 1 + fastlane/metadata/android/en-US/changelogs/1051.txt | 5 +++++ fastlane/metadata/android/id/full_description.txt | 1 + fastlane/metadata/android/id/video.txt | 1 + fastlane/metadata/android/pl/title.txt | 1 + 7 files changed, 11 insertions(+) create mode 100644 fastlane/metadata/android/bn/title.txt create mode 100644 fastlane/metadata/android/ca/full_description.txt create mode 100644 fastlane/metadata/android/ca/title.txt create mode 100644 fastlane/metadata/android/en-US/changelogs/1051.txt create mode 100644 fastlane/metadata/android/id/full_description.txt create mode 100644 fastlane/metadata/android/id/video.txt create mode 100644 fastlane/metadata/android/pl/title.txt diff --git a/fastlane/metadata/android/bn/title.txt b/fastlane/metadata/android/bn/title.txt new file mode 100644 index 0000000..9284517 --- /dev/null +++ b/fastlane/metadata/android/bn/title.txt @@ -0,0 +1 @@ +Thorium an unofficial PeerTube client \ No newline at end of file diff --git a/fastlane/metadata/android/ca/full_description.txt b/fastlane/metadata/android/ca/full_description.txt new file mode 100644 index 0000000..9cca0e7 --- /dev/null +++ b/fastlane/metadata/android/ca/full_description.txt @@ -0,0 +1 @@ +Thorium es un reproductor de PeerTube no oficial diff --git a/fastlane/metadata/android/ca/title.txt b/fastlane/metadata/android/ca/title.txt new file mode 100644 index 0000000..9284517 --- /dev/null +++ b/fastlane/metadata/android/ca/title.txt @@ -0,0 +1 @@ +Thorium an unofficial PeerTube client \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/changelogs/1051.txt b/fastlane/metadata/android/en-US/changelogs/1051.txt new file mode 100644 index 0000000..24280a8 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/1051.txt @@ -0,0 +1,5 @@ + - fixed default app language on first start (@kosharskiy) + - Settings screen translations uk and ru languages (@kosharskiy) + - cleanup app/build.gradle file (@kosharskiy) + - fixed video meta data display issue (@kosharskiy) + - updated translations \ No newline at end of file diff --git a/fastlane/metadata/android/id/full_description.txt b/fastlane/metadata/android/id/full_description.txt new file mode 100644 index 0000000..228efc8 --- /dev/null +++ b/fastlane/metadata/android/id/full_description.txt @@ -0,0 +1 @@ +Thorium adalah unoffical pemutar PeerTube diff --git a/fastlane/metadata/android/id/video.txt b/fastlane/metadata/android/id/video.txt new file mode 100644 index 0000000..e85c1c2 --- /dev/null +++ b/fastlane/metadata/android/id/video.txt @@ -0,0 +1 @@ +https://www.youtube.com/watch?v=PJIsiuSdpq8 \ No newline at end of file diff --git a/fastlane/metadata/android/pl/title.txt b/fastlane/metadata/android/pl/title.txt new file mode 100644 index 0000000..9284517 --- /dev/null +++ b/fastlane/metadata/android/pl/title.txt @@ -0,0 +1 @@ +Thorium an unofficial PeerTube client \ No newline at end of file From 006bc7dcd55223c41f127c32cc45099b2675fa1a Mon Sep 17 00:00:00 2001 From: Stefan Schueller Date: Thu, 14 Jan 2021 19:08:12 +0100 Subject: [PATCH 14/14] Updated changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcf8645..4c29d77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +### Version 1.0.51 Tag: v1.0.51 (2021-01-14) + - fixed default app language on first start (@kosharskiy) + - Settings screen translations uk and ru languages (@kosharskiy) + - cleanup app/build.gradle file (@kosharskiy) + - fixed video meta data display issue (@kosharskiy) + - updated translations + ### Version 1.0.50 Tag: v1.0.50 (2020-11-22) - add support for disabling SSL - translations