Skip to content

Commit

Permalink
Merge pull request #515 from luk1337/patch-66
Browse files Browse the repository at this point in the history
Add "TRENDING MANGA" tab to What's Trending page
  • Loading branch information
wax911 authored Dec 12, 2022
2 parents f6ebf9a + 3afdb6e commit e0ef89f
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ public Fragment getItem(int position) {
.putVariable(KeyUtil.arg_mediaType, KeyUtil.ANIME)
.putVariable(KeyUtil.arg_sort, KeyUtil.TRENDING + KeyUtil.DESC));
case 1:
return MediaLatestList.newInstance(getParams(), GraphUtil.INSTANCE.getDefaultQuery(true)
.putVariable(KeyUtil.arg_mediaType, KeyUtil.MANGA)
.putVariable(KeyUtil.arg_sort, KeyUtil.TRENDING + KeyUtil.DESC));
case 2:
return MediaLatestList.newInstance(getParams(), GraphUtil.INSTANCE.getDefaultQuery(true)
.putVariable(KeyUtil.arg_mediaType, KeyUtil.ANIME)
.putVariable(KeyUtil.arg_sort, KeyUtil.ID + KeyUtil.DESC));
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-ar/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">الصيف</string>
<string name="seasons_title_fall">الخريف</string>

<string name="trending_title_being_watched">تجري مشاهدته</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">اضيف مؤخرًا</string>

<string name="airing_title_anime">قيد العرض</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-de/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<string name="seasons_title_spring">Frühling</string>
<string name="seasons_title_summer">Sommer</string>
<string name="seasons_title_fall">Herbst</string>
<string name="trending_title_being_watched">Momentan Beliebt</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">Kürzlich Hinzugefügt</string>
<string name="airing_title_anime">Laufende Anime</string>
<string name="airing_title_latest_episodes">Neueste Folgen</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-es/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">verano</string>
<string name="seasons_title_fall">otoño</string>

<string name="trending_title_being_watched">más vistos</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">nuevos</string>

<string name="airing_title_anime">anime en emisión</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-fr/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">été</string>
<string name="seasons_title_fall">automne</string>

<string name="trending_title_being_watched">en visionnage</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">ajouté récemment</string>

<string name="airing_title_anime">anime en diffusion</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-it/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">Estate</string>
<string name="seasons_title_fall">Autunno</string>

<string name="trending_title_being_watched">Di tendenza</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">Aggiunti di recente</string>

<string name="airing_title_anime">Anime in corso</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-nl/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">zomer</string>
<string name="seasons_title_fall">herfst</string>

<string name="trending_title_being_watched">worden bekeken</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">recentelijk toegevoegd</string>

<string name="airing_title_anime">opkomende afleveringen</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-pl/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">lato</string>
<string name="seasons_title_fall">jesień</string>

<string name="trending_title_being_watched">oglądane</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">ostatnio dodane</string>

<string name="airing_title_anime">wychodzące anime</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-pt/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">verão</string>
<string name="seasons_title_fall">outono</string>

<string name="trending_title_being_watched">assistindo</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">adicionado recentemente</string>

<string name="airing_title_anime">em lançamento</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-sv/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">sommar</string>
<string name="seasons_title_fall">höst</string>

<string name="trending_title_being_watched">tittas på</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">nyligen tillagd</string>

<string name="airing_title_anime">vädring anime</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/string_array_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<string name="seasons_title_summer">summer</string>
<string name="seasons_title_fall">fall</string>

<string name="trending_title_being_watched">being watched</string>
<string name="trending_title_anime">trending anime</string>
<string name="trending_title_manga">trending manga</string>
<string name="trending_title_recently_added">recently added</string>

<string name="airing_title_anime">airing anime</string>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/string_arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

<!--Try to keep all titles short-->
<string-array name="trending_title">
<item>@string/trending_title_being_watched</item>
<item>@string/trending_title_anime</item>
<item>@string/trending_title_manga</item>
<item>@string/trending_title_recently_added</item>
</string-array>

Expand Down

0 comments on commit e0ef89f

Please sign in to comment.