From 70835d757fd0c2dccdffe73b347d603618f74da3 Mon Sep 17 00:00:00 2001 From: LagradOst Date: Sat, 4 Sep 2021 01:24:47 +0200 Subject: [PATCH] string reorder for better translation --- .../movieproviders/AsiaFlixProvider.kt | 2 + .../cloudstream3/ui/search/SearchFragment.kt | 2 +- .../res/layout/download_child_episode.xml | 2 +- .../res/layout/download_header_episode.xml | 2 +- app/src/main/res/layout/fragment_home.xml | 10 +-- app/src/main/res/layout/fragment_result.xml | 2 +- app/src/main/res/layout/fragment_search.xml | 2 +- app/src/main/res/layout/home_result_grid.xml | 2 +- .../main/res/layout/player_custom_layout.xml | 8 +-- .../layout/player_select_source_and_subs.xml | 2 +- app/src/main/res/layout/result_episode.xml | 2 +- .../main/res/layout/result_episode_large.xml | 2 +- .../main/res/layout/search_result_grid.xml | 2 +- .../layout/search_result_super_compact.xml | 3 +- app/src/main/res/layout/subtitle_settings.xml | 2 +- app/src/main/res/values-fr/strings.xml | 30 ++++----- app/src/main/res/values-gr/strings.xml | 22 +++---- app/src/main/res/values-mo/string.xml | 30 ++++----- app/src/main/res/values-nl/strings.xml | 20 +++--- app/src/main/res/values-sv/strings.xml | 29 +++++---- app/src/main/res/values-tl/strings.xml | 28 ++++----- app/src/main/res/values/strings.xml | 61 +++++++++++-------- app/src/main/res/xml/settings.xml | 2 +- 23 files changed, 138 insertions(+), 129 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt b/app/src/main/java/com/lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt index 592fb003..a36edec1 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/movieproviders/AsiaFlixProvider.kt @@ -21,6 +21,8 @@ class AsiaFlixProvider : MainAPI() { get() = true override val hasChromecastSupport: Boolean get() = false + override val supportedTypes: Set + get() = setOf(TvType.TvSeries) private val apiUrl = "https://api.asiaflix.app/api/v2" diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/search/SearchFragment.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/search/SearchFragment.kt index 9949627b..e1bb8e13 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/search/SearchFragment.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/search/SearchFragment.kt @@ -131,7 +131,7 @@ class SearchFragment : Fragment() { Pair(R.string.cartoons, listOf(TvType.Cartoon)), Pair(R.string.anime, listOf(TvType.Anime, TvType.ONA, TvType.AnimeMovie)), Pair(R.string.torrent, listOf(TvType.Torrent)), - ) + ).filter { item -> apis.any { api -> api.supportedTypes.any { type -> item.second.contains(type) } } } val arrayAdapter2 = ArrayAdapter(searchView.context, R.layout.sort_bottom_single_choice) arrayAdapter2.addAll(typeChoices.map { getString(it.first) }) diff --git a/app/src/main/res/layout/download_child_episode.xml b/app/src/main/res/layout/download_child_episode.xml index 263b750f..67a79731 100644 --- a/app/src/main/res/layout/download_child_episode.xml +++ b/app/src/main/res/layout/download_child_episode.xml @@ -31,7 +31,7 @@ android:layout_gravity="center_vertical" android:id="@+id/download_child_episode_play" android:src="@drawable/ic_baseline_play_arrow_24" - android:contentDescription="@string/episode_play_des"/> + android:contentDescription="@string/episode_play_img_des"/> + android:contentDescription="@string/episode_poster_img_des"> + android:contentDescription="@string/home_change_provider_img_des"> @@ -93,7 +93,7 @@ android:src="@drawable/ic_outline_settings_24" android:layout_width="25dp" android:layout_height="25dp" - android:contentDescription="@string/home_change_provider"> + android:contentDescription="@string/home_change_provider_img_des"> + android:contentDescription="@string/home_main_poster_img_des"> + android:contentDescription="@string/home_next_random_img_des"> + android:contentDescription="@string/home_next_random_img_des"> diff --git a/app/src/main/res/layout/fragment_result.xml b/app/src/main/res/layout/fragment_result.xml index fc27eb2b..9977bef5 100644 --- a/app/src/main/res/layout/fragment_result.xml +++ b/app/src/main/res/layout/fragment_result.xml @@ -162,7 +162,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" tools:src="@drawable/example_poster" - android:contentDescription="@string/result_poster"/> + android:contentDescription="@string/result_poster_img_des"/> diff --git a/app/src/main/res/layout/fragment_search.xml b/app/src/main/res/layout/fragment_search.xml index 485676cf..8e1bb222 100644 --- a/app/src/main/res/layout/fragment_search.xml +++ b/app/src/main/res/layout/fragment_search.xml @@ -57,7 +57,7 @@ android:layout_margin="10dp" android:layout_gravity="end|center_vertical" app:tint="?attr/textColor" - android:contentDescription="@string/change_providers_des"> + android:contentDescription="@string/change_providers_img_des"> diff --git a/app/src/main/res/layout/home_result_grid.xml b/app/src/main/res/layout/home_result_grid.xml index beb10c19..778a32de 100644 --- a/app/src/main/res/layout/home_result_grid.xml +++ b/app/src/main/res/layout/home_result_grid.xml @@ -22,7 +22,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:foreground="?android:attr/selectableItemBackgroundBorderless" - android:contentDescription="@string/search_poster_des"/> + android:contentDescription="@string/search_poster_img_des"/> + android:contentDescription="@string/home_change_provider_img_des"> diff --git a/app/src/main/res/layout/result_episode.xml b/app/src/main/res/layout/result_episode.xml index 6f94fc69..e20fa097 100644 --- a/app/src/main/res/layout/result_episode.xml +++ b/app/src/main/res/layout/result_episode.xml @@ -52,7 +52,7 @@ android:layout_gravity="center_vertical" android:id="@+id/episode_play" android:src="@drawable/ic_baseline_play_arrow_24" - android:contentDescription="@string/episode_play_des"/> + android:contentDescription="@string/episode_play_img_des"/> + android:contentDescription="@string/episode_poster_img_des"> + android:contentDescription="@string/search_poster_img_des"/> + tools:ignore="RtlHardcoded" + android:contentDescription="@string/search_poster_img_des"/> + android:contentDescription="@string/preview_background_img_des"> Téléchargements Paramètres Rechercher… - Changer les fournisseurs - Miniature + Changer les fournisseurs + Miniature Auccune Donnée Plus d\'options - Lire l\'épisode - Retour + Lire l\'épisode + Retour Episode suivant - Miniature + Miniature @string/synopsis Genres Partager @@ -34,7 +34,7 @@ Sous-titres Réessayer la connection… Retour - Miniature de l\'Episode + Miniature de l\'Episode Lire l\'Episode Permet de télécharger les épisodes @@ -62,11 +62,11 @@ Désactiver le rapport de bug automatique Plus d\'informations Cacher - Poster principal + Poster principal Lecture Info - Suivant Aléatoire - Changer le fournisseur + Suivant Aléatoire + Changer le fournisseur Filtrer les marques-pages Marque-pages Supprimer @@ -80,7 +80,7 @@ Couleur de la fenètre Type de bordure Elevation des sous-titres - Aperçu de l\'arrière-plan + Aperçu de l\'arrière-plan Police Rechercher en utilisant les fournisseurs Rechercher en utilisant les types @@ -118,7 +118,7 @@ Tapper deux fois pour rechercher Tapper deux fois sur le coté droit ou gauche pour avancer ou reculer Rechercher - Info + Info Recherche Avancée Donne les résultats séparé par les fournisseur N\'envoyer les données que lors d\'un crash @@ -199,10 +199,10 @@ Pas de mise-à-jour trouvés Vérifier les mise-à-jour - Verouiller - Redimensionner - Source - Passer l\'OP + Verouiller + Redimensionner + Source + Passer l\'OP Ne pas afficher à nouveau Mettre à jour diff --git a/app/src/main/res/values-gr/strings.xml b/app/src/main/res/values-gr/strings.xml index cdaab813..eb3376a4 100644 --- a/app/src/main/res/values-gr/strings.xml +++ b/app/src/main/res/values-gr/strings.xml @@ -6,17 +6,17 @@ Λήψεις Ρυθμίσεις Ψάξε… - Αλλαγή Παροχών + Αλλαγή Παροχών search_providers_list search_type_list grid_format - Πόστερ + Πόστερ Χωρίς δεδομένα Περισσότερες Επιλογές - Αναπαραγωγή Επισοδείου - Πίσω + Αναπαραγωγή Επισοδείου + Πίσω Επόμενο Επισόδειο - Πόστερ + Πόστερ Πλοκή Genres Μοίρασε @@ -37,7 +37,7 @@ Υπότιτλοι Ξανά φόρτωσε… Πίσω - Πόστερ + Πόστερ Αναπαραγωγή Επισοδείου Δώσε άδεια για την λήψη επισοδείου Λήξη @@ -57,11 +57,11 @@ Απενεργοποιήστε την αυτόματη αναφορά σφαλμάτων Παραπάνω πληροφορίες Κρύψιμο - Κύριο Πόστερ + Κύριο Πόστερ Αναπαραγωγή Πληροφορίες - Next Random - Change Provider + Next Random + Change Provider Filter Bookmarks Bookmarks Remove @@ -77,7 +77,7 @@ Τύπος άκρων Ύψωση υπότιτλων Επαναφορά στην προεπιλεγμένη τιμή - Προεπισκόπηση φόντου + Προεπισκόπηση φόντου Γραμματοσειρά Αναζήτηση με τους παρόχους Αναζήτηση με τύπους @@ -118,7 +118,7 @@ Διπλό πάτημα για seek Διπλό πάτημα στα αριστερά ή δεξιά για seek μπροστά ή πίσω Αναζήτηση - Πληροφορείες + Πληροφορείες Προχωρημένη Αναζήτηση Δίνει τα αποτελέσματα αναζήτησης χωρισμένα ανά πάροχο Αποστέλλει δεδομένα μόνο για σφάλματα diff --git a/app/src/main/res/values-mo/string.xml b/app/src/main/res/values-mo/string.xml index 373b70dd..3757e64f 100644 --- a/app/src/main/res/values-mo/string.xml +++ b/app/src/main/res/values-mo/string.xml @@ -7,14 +7,14 @@ ouuhhhooh ooh aaaghhoh aauugghh haaooh - ooooo aah ohaooooo - aaaaaah + ooooo aah ohaooooo + aaaaaah oooohhoouuh aaaaaoouuhahhh ahh - ahooo aoohoouuhhaa - oooohh aauuh + ahooo aoohoouuhhaa + oooohh aauuh ahhhaaaghh aaaaa - ahaauugghh + ahaauugghh oohouuhhhaaahhu ahhh oouuh aauuh @@ -33,7 +33,7 @@ ahooo ooo-ahah aaaghhahaaaaaaaaaaooh aauugghhaaaghh - oouuhahoooooo-ahahoooohh + oouuhahoooooo-ahahoooohh aaaaa oh ohaouuhhh ahouuhhhaaaaa ahhaaaghh ahhh aauuhahh @@ -45,11 +45,11 @@ ooo-ahahoohahoooooo-ahahouuhhhoouuhaaahhu ahooo a aaaghhouuhhh oh ahhh - ahhhahaaaaaahhhaaaghh + ahhhahaaaaaahhhaaaghh ooo-ahahouuhhh aauugghh - aoooohh - ah ohaaaaghh aaahhu + aoooohh + ah ohaaaaghh aaahhu aaaghh aaaghhoouuh oouuh ooh aauuh ooh @@ -63,7 +63,7 @@ oouuhoooohhah aauugghh aaaaaooh oooohhaaaaghh ooh ahhh - ahoooooo-ahah ohaaaaaaauuh + ahoooooo-ahah ohaaaaaaauuh ooo-ahah aauuhaauugghhahhh ohaauugghhouuhhh ahhhahoooohhaa ahhhoohahh @@ -95,7 +95,7 @@ ohahhaaahhuoh ooo-ahahahhhooo-ahah aaaghha oooohhoouuh aaaghhaaaghhooo-ahah ahaauuhaaaaaooooo ahooo aauuh aaaghhaooo-ahah aauuh - aauugghh ah + aauugghh ah aah ouuhhhooo-ahah aaaghh aauugghh ahahooo ouuhhhahh ooh oouuhahoooahhaaahhu ohaooh oouuhooo-ahah aaaaa ahhhahhohoouuhahoooaaaghh aahhhaaaaa @@ -157,10 +157,10 @@ ahoooaaahhuahaaahhuoha oohaaahhu ah ahhaaaaa ooo-ahah ohaaaahhuhaaahhhaaahhu - ooo-ahah - ohaooo-ahahouuhhh - ahohooh - aaaaaohaah ooh + ooo-ahah + ohaooo-ahahouuhhh + ahohooh + aaaaaohaah ooh ahh haa ah ooooo aaahhuooh ahh aaaaa oooohh aauugghh diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 07417018..d5bf3b28 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -6,17 +6,17 @@ Downloads Instellingen Zoeken… - Aanbieders wijzigen + Aanbieders wijzigen search_providers_list search_type_list grid_format - Poster + Poster Geen gegevens Meer Opties - Aflevering afspelen - Ga terug + Aflevering afspelen + Ga terug Volgende aflevering - Poster + Poster Verhaal Genres Deel @@ -37,7 +37,7 @@ Ondertitels Probeer verbinding opnieuw… Ga terug - Afleveringsposter + Afleveringsposter Aflevering afspelen Toestaan om afleveringen te downloaden Download @@ -57,11 +57,11 @@ Automatische bugrapportage uitschakelen Meer informatie Verberg - Hoofd Poster + Hoofd Poster Speel Info - Volgende willekeurig - Aanbieder wijzigen + Volgende willekeurig + Aanbieder wijzigen Bladwijzers filteren Bladwijzers Verwijderen @@ -77,7 +77,7 @@ Randtype Ondertitelhoogte Reset naar standaardwaarde - Voorbeeld Achtergrond + Voorbeeld Achtergrond Lettertype Zoeken met providers Zoeken met types diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 758d67d7..3e5e82d9 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -10,14 +10,13 @@ Nerladdningar Instälningar Sök… - Ändra Providers - Poster + Ändra Providers + Poster Ingen Data Mer Instälningar - Spela up avsnitt - Gå tillbacka + Gå tillbacka Nästa avsnitt - Affisch + Affisch Sammanfattning Genrer Dela @@ -38,7 +37,7 @@ Undertexter Försök ansluta igen… Gå tillbaka - @string/result_poster + @string/result_poster_img_des Spela Avsnitt Allow to download episodes Ladda ner @@ -53,11 +52,11 @@ Inaktivera automatisk felrapportering Mer information Hide - @string/result_poster + @string/result_poster_img_des Spela upp Info - Nästa - Byt leverantör + Nästa + Byt leverantör Filtrera bokmärken Bokmärken Ta bort @@ -71,7 +70,7 @@ Textfönsterfärg Kanttyp Undertextförflyttning - Förhandsgranska bakgrund + Förhandsgranska bakgrund Font Sök med följande leverantörer Sök med följande filmtyper @@ -109,7 +108,7 @@ Dubbeltryck för att hoppa fram eller bak Tryck två gånger på höger eller vänster sida för att hoppa fram eller bak Sök - Information + Information Avancerade sökresultat Presenterar sökresultaten i flera olika rader baserat på leverantören Skickar endast data när appen kraschar @@ -182,10 +181,10 @@ Ingen uppdatering hittad Sök efter uppdatering - Skärmlås - Bildförhållande - Källa - Hoppa över OP + Skärmlås + Bildförhållande + Källa + Hoppa över OP Visa inte igen Uppdatera diff --git a/app/src/main/res/values-tl/strings.xml b/app/src/main/res/values-tl/strings.xml index 8dfe341d..d12c3d21 100644 --- a/app/src/main/res/values-tl/strings.xml +++ b/app/src/main/res/values-tl/strings.xml @@ -31,13 +31,13 @@ Mga Settings Maghanap... Magpalit ng pinagkukunan ng palabas - Pabalat + Pabalat Walang Impormasyong Nakalap Mga Opsyon - Panoorin - Bumalik + Panoorin + Bumalik Susunod na episode - Pabalat + Pabalat @string/synopsis Kategorya Ibahagi @@ -58,7 +58,7 @@ Nakasaling diyalogo Sinsubukang kumonekta… Bumalik - Pabalat + Pabalat Panoorin Payagang i-download ang mga episode @@ -86,11 +86,11 @@ Ihinto ang paguulat ng mga bugs Higit pang mpormasyon Itago - Main Poster + Main Poster Panoorin Impormasyon - Pasumalang susunod - Palitan ang pinagkukunan ng palabas + Pasumalang susunod + Palitan ang pinagkukunan ng palabas Salain ang Bookmark Mga Bookmark Tanggalin @@ -104,7 +104,7 @@ Kulay ng window Uri ng gilid Taas ng nakasaling diyalogo - Preview ng Sanligan + Preview ng Sanligan Font Maghanap gamit ang pinagkukunan ng palabas Maghanap gamit ang uri @@ -143,7 +143,7 @@ Pindutin ng dalawang beses ang bandang kanan at kaliwa upang sumulong at umurong Maghanap - Marami pang impormasyon + Marami pang impormasyon Psulong na paghahanap Ibigay ang resulta ng nakahiwalay batay sa pinagkukunan ng pelikula Ipadala lamang ang impormasyon sa pagkakataon ng kamalian @@ -225,10 +225,10 @@ Walang update na nahanap Surrin kung mayroon nang update - Ikandado - Lakihan/Liitan - Pinagmulan - Laktawan ang simula + Ikandado + Lakihan/Liitan + Pinagmulan + Laktawan ang simula Huwag ipakitang muli i-Update diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5fa5d391..1663e405 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -12,32 +12,42 @@ benene_count - %d %s | %sMB - %s • %sGB - %sMB / %sMB - %s %s - +%d - -%d - %d - %d - Speed (%.2fx) - Rated: %.1f - New update found!\n%s -> %s + %d %s | %sMB + %s • %sGB + %sMB / %sMB + %s %s + +%d + -%d + %d + %d + + + Poster + @string/result_poster_img_des + Episode Poster + Main Poster + Next Random + @string/play_episode + Go back + @string/home_change_provider_img_des + Change Provider + Preview Background + + + Speed (%.2fx) + Rated: %.1f + New update found!\n%s -> %s CloudStream Home Search Downloads Settings + Search… - Change Providers - Poster No Data More Options - Play Episode - Go back Next episode - Poster @string/synopsis Genres Share @@ -58,9 +68,8 @@ Subtitles Retry connection… Go Back - Episode Poster Play Episode - Allow to download episodes + Download Downloaded @@ -86,17 +95,15 @@ Disable automatic bug reporting More info Hide - Main Poster Play Info - Next Random - Change Provider Filter Bookmarks Bookmarks Remove Apply Cancel Player Speed + Subtitle Settings Text Color Outline Color @@ -104,8 +111,8 @@ Window Color Edge Type Subtitle Elevation - Preview Background Font + Search using providers Search using types @@ -143,7 +150,7 @@ Tap twice on the right or left side to seek forwards or backwards Search - Info + Info Advanced Search Gives you the search results separated by provider Only sends data on crashes @@ -226,10 +233,10 @@ No Update Found Check for Update - Lock - Resize - Source - Skip OP + Lock + Resize + Source + Skip OP Don\'t show again Update diff --git a/app/src/main/res/xml/settings.xml b/app/src/main/res/xml/settings.xml index ca4325e7..52b0bbc8 100644 --- a/app/src/main/res/xml/settings.xml +++ b/app/src/main/res/xml/settings.xml @@ -73,7 +73,7 @@