mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
commit
6e32b75a0f
@ -209,7 +209,7 @@ class ChannelFragment : Fragment() {
|
|||||||
runOnUiThread {
|
runOnUiThread {
|
||||||
view.findViewById<ScrollView>(R.id.channel_scrollView).visibility = View.VISIBLE
|
view.findViewById<ScrollView>(R.id.channel_scrollView).visibility = View.VISIBLE
|
||||||
view.findViewById<TextView>(R.id.channel_name).text=response.name
|
view.findViewById<TextView>(R.id.channel_name).text=response.name
|
||||||
view.findViewById<TextView>(R.id.channel_subs).text=response.subscriberCount.formatShort() + " subscribers"
|
view.findViewById<TextView>(R.id.channel_subs).text=resources.getString(R.string.subscribers, response.subscriberCount.formatShort())
|
||||||
view.findViewById<TextView>(R.id.channel_description).text=response.description
|
view.findViewById<TextView>(R.id.channel_description).text=response.description
|
||||||
val bannerImage = view.findViewById<ImageView>(R.id.channel_banner)
|
val bannerImage = view.findViewById<ImageView>(R.id.channel_banner)
|
||||||
val channelImage = view.findViewById<ImageView>(R.id.channel_image)
|
val channelImage = view.findViewById<ImageView>(R.id.channel_image)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package com.github.libretube.adapters
|
package com.github.libretube.adapters
|
||||||
|
|
||||||
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
import android.view.View
|
import android.view.View
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="10dp"
|
||||||
android:layout_marginRight="10dp"
|
android:layout_marginRight="10dp"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_marginBottom="5dp"
|
||||||
android:text="Videos"
|
android:text="@string/videos"
|
||||||
android:textSize="17sp"
|
android:textSize="17sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<item android:id="@+id/home2" android:title="Home" android:icon="@drawable/ic_home"/>
|
<item android:id="@+id/home2" android:title="@string/startpage" android:icon="@drawable/ic_home"/>
|
||||||
<item android:id="@+id/subscriptions" android:title="Subscriptions" android:icon="@drawable/ic_subscriptions"/>
|
<item android:id="@+id/subscriptions" android:title="@string/subscriptions" android:icon="@drawable/ic_subscriptions"/>
|
||||||
<item android:id="@+id/library" android:title="Library" android:icon="@drawable/ic_library"/>
|
<item android:id="@+id/library" android:title="@string/library" android:icon="@drawable/ic_library"/>
|
||||||
|
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -1,7 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
<string name="startpage">Trends</string>
|
||||||
|
<string name="subscriptions">Abos</string>
|
||||||
|
<string name="library">Bibliothek</string>
|
||||||
<string name="search_hint">Suche</string>
|
<string name="search_hint">Suche</string>
|
||||||
<string name="subscribe">ABONNIEREN</string>
|
<string name="subscribe">ABONNIEREN</string>
|
||||||
|
<string name="unsubscribe">ABONNIERT</string>
|
||||||
|
<string name="videos">Videos</string>
|
||||||
<string name="share">Teilen</string>
|
<string name="share">Teilen</string>
|
||||||
<string name="username">Benutzername</string>
|
<string name="username">Benutzername</string>
|
||||||
<string name="password">Passwort</string>
|
<string name="password">Passwort</string>
|
||||||
@ -41,7 +46,6 @@
|
|||||||
<string name="choose_quality_dialog">Qualtität wählen:</string>
|
<string name="choose_quality_dialog">Qualtität wählen:</string>
|
||||||
<string name="login_register">Anmelden/Registrieren</string>
|
<string name="login_register">Anmelden/Registrieren</string>
|
||||||
<string name="dlcomplete">Herunterladen abgeschlossen!</string>
|
<string name="dlcomplete">Herunterladen abgeschlossen!</string>
|
||||||
<string name="unsubscribe">ABONNIERT</string>
|
|
||||||
<string name="save">Speichern</string>
|
<string name="save">Speichern</string>
|
||||||
<string name="already_logged_in">Du bist bereits angemeldet. Du kannst dich hier von deinem Account abmelden.</string>
|
<string name="already_logged_in">Du bist bereits angemeldet. Du kannst dich hier von deinem Account abmelden.</string>
|
||||||
<string name="please_login">Bitte melde dich zuerst an oder registriere dich in den Einstellungen!</string>
|
<string name="please_login">Bitte melde dich zuerst an oder registriere dich in den Einstellungen!</string>
|
||||||
@ -50,5 +54,9 @@
|
|||||||
<string name="empty">Benutzername und Passwort können nicht leer sein!</string>
|
<string name="empty">Benutzername und Passwort können nicht leer sein!</string>
|
||||||
<string name="deletePlaylist">Wiedergabeliste löschen</string>
|
<string name="deletePlaylist">Wiedergabeliste löschen</string>
|
||||||
<string name="areYouSure">Bist du sicher, dass du die Wiedergabeliste löschen möchtest\?</string>
|
<string name="areYouSure">Bist du sicher, dass du die Wiedergabeliste löschen möchtest\?</string>
|
||||||
<string name="about">Über</string>
|
<string name="about">Über</string>
|
||||||
|
<string name="systemDefault">Automatisch</string>
|
||||||
|
<string name="lightTheme">Hell</string>
|
||||||
|
<string name="darkTheme">Dunkel</string>
|
||||||
|
<string name="subscribers">%1$s Abonnenten</string>
|
||||||
</resources>
|
</resources>
|
@ -406,9 +406,9 @@
|
|||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="themes">
|
<string-array name="themes">
|
||||||
<item>System Default</item>
|
<item>@string/systemDefault</item>
|
||||||
<item>Light Theme</item>
|
<item>@string/lightTheme</item>
|
||||||
<item>Dark Theme</item>
|
<item>@string/darkTheme</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="themesValue">
|
<string-array name="themesValue">
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
<string name="startpage">Home</string>
|
||||||
|
<string name="subscriptions">Subscriptions</string>
|
||||||
|
<string name="library">Library</string>
|
||||||
<string name="yes">Yes</string>
|
<string name="yes">Yes</string>
|
||||||
<string name="choose_quality_dialog">Choose Quality:</string>
|
<string name="choose_quality_dialog">Choose Quality:</string>
|
||||||
<string name="search_hint">Search</string>
|
<string name="search_hint">Search</string>
|
||||||
|
<string name="videos">Videos</string>
|
||||||
<string name="subscribe">Subscribe</string>
|
<string name="subscribe">Subscribe</string>
|
||||||
<string name="unsubscribe">Unsubscribe</string>
|
<string name="unsubscribe">Unsubscribe</string>
|
||||||
<string name="share">Share</string>
|
<string name="share">Share</string>
|
||||||
@ -53,4 +57,8 @@
|
|||||||
<string name="success">Success!</string>
|
<string name="success">Success!</string>
|
||||||
<string name="fail">Failed :(</string>
|
<string name="fail">Failed :(</string>
|
||||||
<string name="about">About</string>
|
<string name="about">About</string>
|
||||||
</resources>
|
<string name="systemDefault">System Default</string>
|
||||||
|
<string name="lightTheme">Light Theme</string>
|
||||||
|
<string name="darkTheme">Dark Theme</string>
|
||||||
|
<string name="subscribers">%1$s subscribers</string>
|
||||||
|
</resources>
|
Loading…
Reference in New Issue
Block a user