From 89f85fa8ff9188a5bcc665375b262bf9f23e42f4 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 1 Feb 2023 18:18:02 +0100 Subject: [PATCH 01/10] [Help section] Add Mastodon, remove Twitter --- .../github/libretube/constants/Constants.kt | 4 +- app/src/main/res/drawable/ic_mastodon.xml | 12 +++++ app/src/main/res/drawable/ic_twitter.xml | 10 ----- app/src/main/res/layout/activity_help.xml | 45 +++++++++++-------- 4 files changed, 40 insertions(+), 31 deletions(-) create mode 100644 app/src/main/res/drawable/ic_mastodon.xml delete mode 100644 app/src/main/res/drawable/ic_twitter.xml diff --git a/app/src/main/java/com/github/libretube/constants/Constants.kt b/app/src/main/java/com/github/libretube/constants/Constants.kt index 0cb67f250..1b3d36c96 100644 --- a/app/src/main/java/com/github/libretube/constants/Constants.kt +++ b/app/src/main/java/com/github/libretube/constants/Constants.kt @@ -18,11 +18,11 @@ const val FAQ_URL = "https://libre-tube.github.io/#faq" /** * Social media links for the community fragment */ -const val TELEGRAM_URL = "https://t.me/libretube" const val MATRIX_URL = "https://matrix.to/#/#LibreTube:matrix.org" +const val MASTODON_URL = "https://fosstodon.org/@libretube" +const val TELEGRAM_URL = "https://t.me/libretube" const val DISCORD_URL = "https://discord.com/invite/Qc34xCj2GV" const val REDDIT_URL = "https://www.reddit.com/r/Libretube/" -const val TWITTER_URL = "https://twitter.com/libretube" /** * Share Dialog diff --git a/app/src/main/res/drawable/ic_mastodon.xml b/app/src/main/res/drawable/ic_mastodon.xml new file mode 100644 index 000000000..87be939df --- /dev/null +++ b/app/src/main/res/drawable/ic_mastodon.xml @@ -0,0 +1,12 @@ + + + diff --git a/app/src/main/res/drawable/ic_twitter.xml b/app/src/main/res/drawable/ic_twitter.xml deleted file mode 100644 index b27dbedcf..000000000 --- a/app/src/main/res/drawable/ic_twitter.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/app/src/main/res/layout/activity_help.xml b/app/src/main/res/layout/activity_help.xml index f3b5559d2..b806269f7 100644 --- a/app/src/main/res/layout/activity_help.xml +++ b/app/src/main/res/layout/activity_help.xml @@ -1,6 +1,7 @@ @@ -42,8 +43,22 @@ + android:text="Matrix" + app:drawableStartCompat="@drawable/ic_matrix" + tools:ignore="HardcodedText" /> + + + + + + + @@ -53,8 +68,9 @@ + android:text="Telegram" + app:drawableStartCompat="@drawable/ic_telegram" + tools:ignore="HardcodedText" /> @@ -64,8 +80,9 @@ + android:text="Discord" + app:drawableStartCompat="@drawable/ic_discord" + tools:ignore="HardcodedText" /> @@ -75,19 +92,9 @@ - - - - - - + android:text="Reddit" + app:drawableStartCompat="@drawable/ic_reddit" + tools:ignore="HardcodedText" /> From 2cd8e7f7d83187bb6dcb753ab4d28f4c6a22ff61 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 1 Feb 2023 18:22:29 +0100 Subject: [PATCH 02/10] Remove social media name strings from translations --- .../java/com/github/libretube/ui/activities/HelpActivity.kt | 6 +++--- app/src/main/res/values-ar/strings.xml | 5 ----- app/src/main/res/values-az/strings.xml | 5 ----- app/src/main/res/values-bg/strings.xml | 5 ----- app/src/main/res/values-bn/strings.xml | 5 ----- app/src/main/res/values-cs/strings.xml | 5 ----- app/src/main/res/values-da/strings.xml | 5 ----- app/src/main/res/values-de/strings.xml | 5 ----- app/src/main/res/values-el/strings.xml | 5 ----- app/src/main/res/values-es/strings.xml | 5 ----- app/src/main/res/values-eu/strings.xml | 5 ----- app/src/main/res/values-fr/strings.xml | 5 ----- app/src/main/res/values-gu/strings.xml | 5 ----- app/src/main/res/values-hi/strings.xml | 5 ----- app/src/main/res/values-hu/strings.xml | 5 ----- app/src/main/res/values-in/strings.xml | 5 ----- app/src/main/res/values-it/strings.xml | 5 ----- app/src/main/res/values-iw/strings.xml | 5 ----- app/src/main/res/values-ja/strings.xml | 5 ----- app/src/main/res/values-ko/strings.xml | 5 ----- app/src/main/res/values-lt/strings.xml | 5 ----- app/src/main/res/values-lv/strings.xml | 5 ----- app/src/main/res/values-nb-rNO/strings.xml | 5 ----- app/src/main/res/values-or/strings.xml | 5 ----- app/src/main/res/values-pa/strings.xml | 5 ----- app/src/main/res/values-pl/strings.xml | 5 ----- app/src/main/res/values-pt-rBR/strings.xml | 5 ----- app/src/main/res/values-pt/strings.xml | 5 ----- app/src/main/res/values-ru/strings.xml | 5 ----- app/src/main/res/values-si/strings.xml | 5 ----- app/src/main/res/values-sk/strings.xml | 3 --- app/src/main/res/values-sr/strings.xml | 5 ----- app/src/main/res/values-sv/strings.xml | 5 ----- app/src/main/res/values-tk/strings.xml | 1 - app/src/main/res/values-tr/strings.xml | 5 ----- app/src/main/res/values-uk/strings.xml | 5 ----- app/src/main/res/values-vi/strings.xml | 5 ----- app/src/main/res/values-zh-rCN/strings.xml | 5 ----- app/src/main/res/values-zh-rTW/strings.xml | 5 ----- app/src/main/res/values/strings.xml | 5 ----- 40 files changed, 3 insertions(+), 192 deletions(-) diff --git a/app/src/main/java/com/github/libretube/ui/activities/HelpActivity.kt b/app/src/main/java/com/github/libretube/ui/activities/HelpActivity.kt index 56fae56d2..fcdad85a0 100644 --- a/app/src/main/java/com/github/libretube/ui/activities/HelpActivity.kt +++ b/app/src/main/java/com/github/libretube/ui/activities/HelpActivity.kt @@ -5,10 +5,10 @@ import android.net.Uri import android.os.Bundle import com.github.libretube.constants.DISCORD_URL import com.github.libretube.constants.FAQ_URL +import com.github.libretube.constants.MASTODON_URL import com.github.libretube.constants.MATRIX_URL import com.github.libretube.constants.REDDIT_URL import com.github.libretube.constants.TELEGRAM_URL -import com.github.libretube.constants.TWITTER_URL import com.github.libretube.databinding.ActivityHelpBinding import com.github.libretube.ui.base.BaseActivity @@ -45,8 +45,8 @@ class HelpActivity : BaseActivity() { openLinkFromHref(REDDIT_URL) } - binding.twitter.setOnClickListener { - openLinkFromHref(TWITTER_URL) + binding.mastodon.setOnClickListener { + openLinkFromHref(MASTODON_URL) } } diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 7624744bd..3a8fd743c 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -216,11 +216,6 @@ افقي عمودي المجتمع - ديسكورد - المصفوفة - تيليجرام - ريديت - تويتر يرجى تشغيل Wi-Fi أو بيانات الجوال للاتصال بالإنترنت. فتح … الفصول diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index 067fb1ed9..164be0eea 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -216,11 +216,6 @@ Portret Landşaft Cəmiyyət - Matrix - Telegram - Reddit - Twitter - Discord Aç… Zəhmət olmasa, İnternetə qoşulmaq üçün Wi-Fi və ya mobil məlumatı açın. Bölmələr diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index cf4a019da..590bdcf20 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -3,8 +3,6 @@ Клониране на плейлист Изтриване на регистрацията Общност - Discord - Matrix Нулиране Начало Абонаменти @@ -83,9 +81,6 @@ GitHub Звук и видео Портрет - Telegram - Reddit - Twitter Избрано Никога Библиотека diff --git a/app/src/main/res/values-bn/strings.xml b/app/src/main/res/values-bn/strings.xml index 84fd5b6a8..e3d5eb41d 100644 --- a/app/src/main/res/values-bn/strings.xml +++ b/app/src/main/res/values-bn/strings.xml @@ -204,24 +204,19 @@ দয়া করেন ওয়াই-ফাই অথবা মোবাইল ডেটা অন করুন ইন্টারনেটের সাথে যুক্ত হতে। খুলুন… অথেনটিকেশনের জন্য ভিন্ন ইন্সটেন্স ব্যবহার করুন। - রেডিট সবসময় কখনই না - টেলিগ্রাম - ডিস্কর্ড দেখার ইতিহাস পজিশন মনে রাখুন HLS স্বয়ংক্রিয়-রোটেশন ল্যান্ডস্কেপ পোর্টেইট - টুইটার শেষ প্লেব্যাক পজিশন থেকে শুরু করুন অথেনটিকেশনের জন্য ইন্সটেন্স বাছাই করুন গিটহাব অডিও এবং ভিডিও কমিউনিটি - ম্যাট্রিক্স প্লে-ব্যাকের গতি বাছাইকৃত এই পরিবর্তনটি কার্যকর করতে হলে রিস্টার্ট করুন। diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 0e3ade266..1c19a3fab 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -188,12 +188,7 @@ Automatické otáčení Na šířku Na výšku - Twitter Komunita - Discord - Matrix - Telegram - Reddit Je dostupná verze %1$s Přejít na vydání na GitHubu a stáhnout ji\? Vzhled diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 63ef5c22f..ff94d90c4 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -208,12 +208,7 @@ Automatisk rotation Landskab Portræt - Twitter Fællesskab - Discord - Matrix - Telegram - Reddit Downloader… Ingen lyd Ingen video diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index a7f9f2f5b..c5f4cb67a 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -211,11 +211,6 @@ Landschaft Porträt Community - Discord - Matrix - Telegram - Reddit - Twitter Verlorenes Vermächtnis Füllungstangente/Witze Keine diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index ce134a83b..d195dd7c3 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -215,12 +215,7 @@ Αυτόματη περιστροφή Τοπίο Πορτρέτο - Telegram - Reddit Κοινότητα - Discord - Matrix - Twitter Στυλ λεζάντας συστήματος Πάντα Επιλεγμένα diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index a7784050a..c11f44e49 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -215,12 +215,7 @@ Vertical Relación de aspecto del vídeo Rotación automática - Matrix - Telegram - Reddit Comunidad - Discord - Twitter Por favor, active la WiFi o los datos móviles para conectarse a Internet. Abrir… Capítulos diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml index ca7908225..b53dac537 100644 --- a/app/src/main/res/values-eu/strings.xml +++ b/app/src/main/res/values-eu/strings.xml @@ -216,11 +216,6 @@ Paisaia Erretratua Komunitatea - Discord - Matrix - Reddit - Telegram - Twitter Ireki… Kapituluak Erreprodukzio abiadura diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 4a3d1e218..2e66d44a6 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -215,12 +215,7 @@ Paysage Portrait Rapport d\'aspect vidéo - Matrix - Reddit - Twitter - Telegram Communauté - Discord Ouvrir … Veuillez activer le Wi-Fi ou les données mobiles pour vous connecter à internet. Chapitres diff --git a/app/src/main/res/values-gu/strings.xml b/app/src/main/res/values-gu/strings.xml index 19e0198a6..6a93ea602 100644 --- a/app/src/main/res/values-gu/strings.xml +++ b/app/src/main/res/values-gu/strings.xml @@ -112,11 +112,6 @@ ઓડિયો અને વિડિયો સંપૂર્ણસ્ક્રીન દિશા વિડિયો એસ્પેક્ટ રેશિયો - ઝઘડો - મેટ્રિક્સ - ટેલિગ્રામ - રેડિટ - Twitter પ્રકરણો એપ્લિકેશન પુનઃપ્રારંભ જરૂરી લેબલ દૃશ્યતા diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 9f336298c..69e94ad48 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -345,11 +345,6 @@ गिटहब फुलस्क्रीन ओरिएंटेशन समुदाय - डिसकौरड - मैट्रिक्स - टेलीग्राम - रैडिट - ट्विटर खोलें… अध्याय प्लेबैक गति diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 5ea99f707..d7930ebc6 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -200,11 +200,6 @@ HLS GitHub Közösség - Discord - Matrix - Telegram - Reddit - Twitter Fejezetek Lejátszási sebesség Alkalmazás újraindítása szükséges diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index af8c0e52a..073341bc4 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -224,11 +224,6 @@ Rasio aspek video Putar secara otomatis Komunitas - Discord - Matrix - Telegram - Reddit - Twitter Lainnya Pengingat istirahat Waktunya istirahat diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index e50ef0c9b..11b099329 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -214,13 +214,8 @@ Rotazione automatica Orizzontale Comunità - Discord - Twitter Rapporto d\'aspetto del video Verticale - Matrix - Telegram - Reddit Connettiti a Internet attivando Wi-Fi o dati mobili. Apri… Capitoli diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index e37bc0900..891837fa8 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -213,14 +213,9 @@ כיוון מסך מלא לרוחב קהילה - דיסקורד - Matrix - טלגרם - Reddit הטיה אוטומטית לאורך יחס רוחב-גובה של סרטון - טוויטר נא להפעיל את הרשת האלחוטית או החיבור הסלולרי כדי להתחבר לאינטרנט. פתיחה… פרקים diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index c994ddc6b..11883d473 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -198,11 +198,6 @@ コミュニティ - Discord - Matrix - Telegram - Reddit - Twitter ダウンロード 動画の形式 音声と動画の両方をダウンロードした場合のファイル形式の変換。 diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index 08608135c..a30460c17 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -273,7 +273,6 @@ 언어 및 지역 품질 및 형식 대기열 - 트위터 없음 열다 기기 정보 @@ -318,8 +317,6 @@ 컨트롤 변경 스와이프 제스처를 사용하여 밝기와 음량을 조정하십시오. 세그먼트 건너뛰기 - 텔레그램 - 레딧 선택된 클립보드에 복사됨 음량 @@ -385,7 +382,6 @@ 채우기 항상 미터링됨 - 매트릭스 전혀 아닌 없음 확대 @@ -422,7 +418,6 @@ 시청한 영상 피드에서 숨기기 구독 탭에 90% 이상 시청한 비디오를 보여주지 않습니다. 마커 - 디스코드 핀치 컨트롤 기타 재생목록 URL diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index bf893a96f..7a104696a 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -114,11 +114,6 @@ Garsas ir vaizdas Portretas Bendruomenė - Discord - Matrix - Telegram - Reddit - Twitter Norėdami prisijungti prie interneto, įjunkite Wi-Fi arba mobiliuosius duomenis. Skirsniai Būtina iš naujo paleisti programėlę diff --git a/app/src/main/res/values-lv/strings.xml b/app/src/main/res/values-lv/strings.xml index edc33b93e..3725d9661 100644 --- a/app/src/main/res/values-lv/strings.xml +++ b/app/src/main/res/values-lv/strings.xml @@ -222,11 +222,6 @@ Horizontāla Vertikāla Kopiena - Discord - Matrix - Telegram - Reddit - Twitter Rādīt tekstu navigācijas panelī Vienmēr Nekad diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index 391877bec..d501e63d4 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -222,11 +222,6 @@ Liggende Stående Gemenskap - Discord - Matrix - Telegram - Reddit - Twitter Ingen Alltid Ren svarthvitt-drakt diff --git a/app/src/main/res/values-or/strings.xml b/app/src/main/res/values-or/strings.xml index a46759f34..9dc057f86 100644 --- a/app/src/main/res/values-or/strings.xml +++ b/app/src/main/res/values-or/strings.xml @@ -199,10 +199,6 @@ ଅଡିଓ ଏବଂ ଭିଡିଓ ଭିଡିଓ ଦିଗ ଅନୁପାତ ଆନୁଲମ୍ବିକ - ଦିସ୍କର୍ଡ - ମେଟ୍ରିକ୍ - ଟେଲିଗ୍ରାମ - ରେଡିଟ ସର୍ବଦା ମନୋନୀତ କେବେ ନୁହ @@ -300,7 +296,6 @@ ସମ୍ପ୍ରଦାୟ ପ୍ଲେବେକ୍ ବେଗ ଆପ୍ ପୁନଆରମ୍ଭ ଆବଶ୍ୟକ - ଟୁଇଟର ଖୋଲନ୍ତୁ… ପୁରୁଣା ସଦସ୍ୟତା ଦୃଶ୍ୟ ଅଧ୍ୟାୟ ଗୁଡ଼ିକ diff --git a/app/src/main/res/values-pa/strings.xml b/app/src/main/res/values-pa/strings.xml index 9e76556cc..cc1dbacac 100644 --- a/app/src/main/res/values-pa/strings.xml +++ b/app/src/main/res/values-pa/strings.xml @@ -220,11 +220,6 @@ ਲੈਂਡਸਕੇਪ ਪੋਰਟਰੇਟ ਭਾਈਚਾਰਾ - ਡਿਸਕੌਰਡ - ਮੈਟਰਿਕਸ - ਟੈਲੀਗ੍ਰਾਮ - ਟਵਿੱਟਰ - ਰੈਡਿੱਟ ਕਿਰਪਾ ਕਰਕੇ ਇੰਟਰਨੈੱਟ ਨਾਲ ਕਨੈਕਟ ਕਰਨ ਲਈ ਵਾਈ-ਫਾਈ ਜਾਂ ਮੋਬਾਈਲ ਡਾਟਾ ਚਾਲੂ ਕਰੋ। ਖੋਲ੍ਹੋ… ਚੈਪਟਰ diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 3bc4ba29c..cfb42fef4 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -238,8 +238,6 @@ Wyświetlanie pełnoekranowe Wymuś tryb pionowy Społeczność - Discord - Matrix Rozdziały Prędkość odtwarzania Czysty biały/czarny motyw @@ -303,12 +301,9 @@ Najgorsza Modna lampka Użyj proporcji obrazu wideo - Reddit Zatrzymaj odtwarzanie, gdy ekran jest wyłączony. Bez limitu Automatyczne obracanie - Telegram - Twitter Brak Maksymalny rozmiar historii Zainstalować teraz nową wersję LibreTube\? diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 0ae140881..23e0fe0fe 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -233,11 +233,6 @@ Paisagem Retrato Comunidade - Discord - Matrix - Telegram - Reddit - Twitter Ao vivo Sem vídeo Áudio diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 29b8df858..784240da3 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -195,11 +195,6 @@ Horizontal Vertical Comunidade - Discord - Matrix - Telegram - Reddit - Twitter Sem áudio Sem vídeo Áudio diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 0ed36a9fe..c7eea1359 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -214,13 +214,8 @@ Выбрать сервер Автоповорот Альбомная - Reddit Портретная Сообщество - Discord - Matrix - Telegram - Twitter Пожалуйста, включите Wi-Fi или мобильный интернет для подключения. Открыть… Эпизоды diff --git a/app/src/main/res/values-si/strings.xml b/app/src/main/res/values-si/strings.xml index 06ad6fef3..8f5dcfaff 100644 --- a/app/src/main/res/values-si/strings.xml +++ b/app/src/main/res/values-si/strings.xml @@ -163,11 +163,6 @@ සම්පූර්ණ තිර නැඹුරුව භූ දර්ශනය ප්‍රජාව - Discord - Matrix - Telegram - Reddit - Twitter කරුණාකර අන්තර්ජාලයට සම්බන්ධ වීමට Wi-Fi හෝ ජංගම දත්ත ක්‍රියාත්මක කරන්න. විවෘත කරන්න… පරිච්ඡේද diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index fa2fa41b2..159120f19 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -236,7 +236,6 @@ Audio a video Orientácia na celú obrazovku Nastavenie zobrazenia - Telegram Pridať do radu Rôzne Pripomienka prestávky @@ -250,8 +249,6 @@ Aktuálne Použi inú inštanciu pre overené hovory. Komunita - Matrix - Twitter Video formát pre prehrávač Bez zvuku bez videa diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml index 480d40c4d..51474c2d5 100644 --- a/app/src/main/res/values-sr/strings.xml +++ b/app/src/main/res/values-sr/strings.xml @@ -164,9 +164,6 @@ Хоризонтално Вертикално Заједница - Telegram - Reddit - Twitter Укључите WiFi или мобилне податке да би сте се повезали на интернет. Отвори… Поглавља @@ -242,8 +239,6 @@ Аутоплеј Ресетовати сва подешавања и одјавити се\? Аудио и видео - Дискорд - Matrix Брзина репродукције Прескочи сличице и друге слике. Историја прегледа и претрага diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index a3fd9cadb..9087a2023 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -180,10 +180,5 @@ Maks. antal sekunder videor att buffra. Videoformat for spelaren GitHub - Discord - Matrix - Telegram Bild i bild - Reddit - Twitter \ No newline at end of file diff --git a/app/src/main/res/values-tk/strings.xml b/app/src/main/res/values-tk/strings.xml index 853bf4e49..5c02da79f 100644 --- a/app/src/main/res/values-tk/strings.xml +++ b/app/src/main/res/values-tk/strings.xml @@ -167,7 +167,6 @@ Landşaft Portret Jemgyýet - Discord Wi-Fi ýa-da ykjam maglumatlary açyp, internete birikmegiňizi haýyş edýäris. Aç … Baplar diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 0592f4a51..043e2ceb2 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -215,12 +215,7 @@ Dikey Yatay Ses ve video - Matrix - Telegram - Reddit - Twitter Topluluk - Discord Açın… İnternete bağlanmak için lütfen Wi-Fi veya mobil verileri açın. Bölümler diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index ce02f8112..05b4880af 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -207,11 +207,6 @@ Альбомна Портретна Спільнота - Discord - Matrix - Telegram - Reddit - Twitter Ім\'я екземпляра Формат відео для програвача Сервер аутентифікації diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index 49a678b2e..88ac8179f 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -227,12 +227,7 @@ Yêu cầu kết nối mạng Tất cả Ngang - Telegram - Reddit - Twitter Cộng đồng - Discord - Matrix Lịch sử xem Nhớ vị trí Instance được xác minh diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index a6bd03f93..5662a6787 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -215,12 +215,7 @@ 自动旋转 横屏 竖屏 - Reddit 社区 - Twitter - Discord - Matrix - Telegram 请打开 Wi-Fi 或移动数据连接到互联网。 打开… 章节 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 9fefb45da..d532b1405 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -266,9 +266,6 @@ 繼續 自動暫停 肖像 - Discord - Matrix - Telegram 請開啟Wifi或行動數據連上網路。 永不 播放速度 @@ -388,8 +385,6 @@ 影片比例 自動旋轉 風景 - Reddit - Twitter 調整音高 播放最新影片 音訊曲目 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 53d5cef34..90285cd73 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -226,11 +226,6 @@ Landscape Portrait Community - Discord - Matrix - Telegram - Reddit - Twitter Please turn on Wi-Fi or mobile data to connect to the Internet. Open… Chapters From 282b40c191182e80020e00bfeef7424488cc0ab4 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 1 Feb 2023 18:23:15 +0100 Subject: [PATCH 03/10] Disable R8 for debug builds --- app/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index c931cc13d..b77444ca6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -46,7 +46,6 @@ android { } debug { - minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' debuggable true applicationIdSuffix ".debug" From 4732ff2477c56c6bc454694337ad739bc6d232c3 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 1 Feb 2023 18:36:39 +0100 Subject: [PATCH 04/10] Help & About: Use icon without background --- .../libretube/ui/activities/AboutActivity.kt | 2 +- app/src/main/res/layout/activity_about.xml | 14 ++++++++------ app/src/main/res/layout/activity_help.xml | 11 ++++++----- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/app/src/main/java/com/github/libretube/ui/activities/AboutActivity.kt b/app/src/main/java/com/github/libretube/ui/activities/AboutActivity.kt index bc4cf4b13..5d65cf7b7 100644 --- a/app/src/main/java/com/github/libretube/ui/activities/AboutActivity.kt +++ b/app/src/main/java/com/github/libretube/ui/activities/AboutActivity.kt @@ -34,7 +34,7 @@ class AboutActivity : BaseActivity() { } binding.appIcon.setOnClickListener { - val sendIntent: Intent = Intent().apply { + val sendIntent = Intent().apply { action = Intent.ACTION_SEND putExtra(Intent.EXTRA_TEXT, GITHUB_URL) type = "text/plain" diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml index 3d2884f8e..ece2000c5 100644 --- a/app/src/main/res/layout/activity_about.xml +++ b/app/src/main/res/layout/activity_about.xml @@ -1,6 +1,7 @@ @@ -16,14 +17,15 @@ app:navigationIcon="?homeAsUpIndicator" app:title="@string/about" /> - + android:src="@drawable/ic_launcher_lockscreen" + app:tint="?attr/colorSecondary" + tools:ignore="ContentDescription" /> - + android:src="@drawable/ic_launcher_lockscreen" + app:tint="?attr/colorSecondary" + tools:ignore="ContentDescription" /> Date: Wed, 1 Feb 2023 18:39:58 +0100 Subject: [PATCH 05/10] Increase the about item padding & fix help section title --- app/src/main/res/layout/activity_help.xml | 2 +- app/src/main/res/values/style.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/activity_help.xml b/app/src/main/res/layout/activity_help.xml index bf77fa7d3..729a33e2d 100644 --- a/app/src/main/res/layout/activity_help.xml +++ b/app/src/main/res/layout/activity_help.xml @@ -15,7 +15,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" app:navigationIcon="?homeAsUpIndicator" - app:title="@string/community" /> + app:title="@string/help" /> 20dp 15dp 15dp - 10dp - 10dp + 15dp + 15dp