Add support for showing subscriber count. (#819)

This commit is contained in:
Kavin 2022-03-30 17:34:47 +01:00 committed by GitHub
parent 683459c278
commit 8dbab22744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
34 changed files with 73 additions and 67 deletions

View File

@ -17,8 +17,11 @@
v-if="authenticated"
class="btn"
@click="subscribeHandler"
v-t="`actions.${subscribed ? 'unsubscribe' : 'subscribe'}`"
/>
v-t="{
path: `actions.${subscribed ? 'unsubscribe' : 'subscribe'}`,
args: { count: numberFormat(channel.subscriberCount) },
}"
></button>
<hr />

View File

@ -77,7 +77,10 @@
v-if="authenticated"
class="btn relative ml-auto"
@click="subscribeHandler"
v-t="`actions.${subscribed ? 'unsubscribe' : 'subscribe'}`"
v-t="{
path: `actions.${subscribed ? 'unsubscribe' : 'subscribe'}`,
args: { count: numberFormat(video.uploaderSubscriberCount) },
}"
/>
</div>

View File

@ -12,8 +12,8 @@
"watch_on": "দেখুন"
},
"actions": {
"subscribe": "সদস্যতা নিন",
"unsubscribe": "সদস্যতা পরিত্যাগ",
"subscribe": "সদস্যতা নিন - {count}",
"unsubscribe": "সদস্যতা পরিত্যাগ - {count}",
"view_subscriptions": "সদস্যতার তালিকা",
"sort_by": "ভিডিও গুলোর বিন্যাস:",
"most_recent": "সবচেয়ে সাম্প্রতিক",

View File

@ -10,7 +10,7 @@
},
"actions": {
"loop_this_video": "Přehrávat video ve smyčce",
"subscribe": "Odebírat",
"subscribe": "Odebírat - {count}",
"view_subscriptions": "Zobrazit odběry",
"sort_by": "Seřadit podle:",
"most_recent": "Nejnovější",
@ -60,7 +60,7 @@
"show_replies": "Zobrazit odpovědi",
"hide_replies": "Skrýt odpovědi",
"load_more_replies": "Načíst další odpovědi",
"unsubscribe": "Zrušit odběr",
"unsubscribe": "Zrušit odběr - {count}",
"skip_sponsors": "Přeskočit sponzory",
"minimize_description": "Minimalizovat popis",
"skip_non_music": "Přeskočit Hudbu: Nehudební sekce",

View File

@ -31,8 +31,8 @@
"most_recent": "Am Neuesten",
"sort_by": "Sortieren nach:",
"view_subscriptions": "Abonnements anzeigen",
"unsubscribe": "Deabonnieren",
"subscribe": "Abonnieren",
"unsubscribe": "Deabonnieren - {count}",
"subscribe": "Abonnieren - {count}",
"enabled_codecs": "Aktivierte Codecs (mehrere)",
"enable_lbry_proxy": "Proxy für LBRY einschalten",
"disable_lbry": "LBRY für Streaming deaktivieren",

View File

@ -31,8 +31,8 @@
"enable_sponsorblock": "Ενεργοποίηση Sponsorblock",
"back": "Επιστροφή",
"sort_by": "Ταξινόμηση κατά:",
"unsubscribe": "Απεγγραφή",
"subscribe": "Εγγραφή",
"unsubscribe": "Απεγγραφή - {count}",
"subscribe": "Εγγραφή - {count}",
"loop_this_video": "Επανάληψη αυτού του βίντεο",
"instance_selection": "Επιλογή διακομιστή",
"enabled_codecs": "Ενεργοποιημένοι κωδικοποητές (Πολλαπλοί)",

View File

@ -12,8 +12,8 @@
"watch_on": "Watch on {0}"
},
"actions": {
"subscribe": "Subscribe",
"unsubscribe": "Unsubscribe",
"subscribe": "Subscribe - {count}",
"unsubscribe": "Unsubscribe - {count}",
"view_subscriptions": "View Subscriptions",
"sort_by": "Sort by:",
"most_recent": "Most Recent",

View File

@ -66,8 +66,8 @@
"most_recent": "Lo más reciente",
"sort_by": "Ordenar por:",
"view_subscriptions": "Ver suscripciones",
"unsubscribe": "Anular suscripción",
"subscribe": "Suscribirme",
"unsubscribe": "Anular suscripción - {count}",
"subscribe": "Suscribirme - {count}",
"loading": "Cargando…",
"filter": "Filtrar",
"search": "Buscar",

View File

@ -60,8 +60,8 @@
"most_recent": "Berriena",
"sort_by": "Ordenatu honen arabera:",
"view_subscriptions": "Harpidetzak ikusi",
"unsubscribe": "Kendu harpidetza",
"subscribe": "Harpidetu",
"unsubscribe": "Kendu harpidetza - {count}",
"subscribe": "Harpidetu - {count}",
"loading": "Kargatzen...",
"filter": "Iragazi",
"search": "Bilatu",

View File

@ -24,8 +24,8 @@
"most_recent": "تازه‌ترین‌ها",
"sort_by": "مرتب سازی بر اساس:",
"view_subscriptions": "مشاهده سابسکرایب ها",
"unsubscribe": "لغو سابسکرایب",
"subscribe": "سابسکرایب",
"unsubscribe": "لغو سابسکرایب - {count}",
"subscribe": "سابسکرایب - {count}",
"minimize_recommendations": "بستن توصیه ها",
"show_recommendations": "نمایش توصیه ها",
"uses_api_from": "با استفاده از APIای از ",

View File

@ -50,8 +50,8 @@
"most_recent": "Viimeisin",
"sort_by": "Järjestä:",
"view_subscriptions": "Näytä tilaukset",
"unsubscribe": "Poistu tilauksesta",
"subscribe": "Tilaa",
"unsubscribe": "Poistu tilauksesta - {count}",
"subscribe": "Tilaa - {count}",
"minimize_recommendations": "Minimoi suositukset",
"show_recommendations": "Näytä suositukset",
"show_replies": "Näytä vastaukset",

View File

@ -9,8 +9,8 @@
"subscriptions": "Abonnements"
},
"actions": {
"subscribe": "S'abonner",
"unsubscribe": "Se désabonner",
"subscribe": "S'abonner - {count}",
"unsubscribe": "Se désabonner - {count}",
"buffering_goal": "Objectif de mise en mémoire tampon (en secondes)",
"skip_non_music": "Ignorer la musique : section non musicale",
"skip_self_promo": "Ignorer la promotion non rémunérée / l'autopromotion",

View File

@ -9,9 +9,9 @@
"feed": "फ़ीड"
},
"actions": {
"subscribe": "सदस्यता लें",
"subscribe": "सदस्यता लें - {count}",
"back": "वापस जाओ",
"unsubscribe": "सदस्यता ले ली है",
"unsubscribe": "सदस्यता ले ली है - {count}",
"no": "नहीं",
"show_replies": "जवाब देखें",
"hide_replies": "जवाब छिपाएं",

View File

@ -63,8 +63,8 @@
"most_recent": "Najnovije",
"sort_by": "Sortiraj po:",
"view_subscriptions": "Prikaži pretplate",
"unsubscribe": "Otkaži pretplatu",
"subscribe": "Pretplati se",
"unsubscribe": "Otkaži pretplatu - {count}",
"subscribe": "Pretplati se - {count}",
"skip_interaction": "Preskoči podsjetnik za interakciju (zahtijeva pretplatu)",
"skip_outro": "Preskoči odjavnu špicu",
"skip_intro": "Preskoči pauzu i uvodnu animaciju",

View File

@ -12,11 +12,11 @@
"watch_on": "Tonton di {0}"
},
"actions": {
"subscribe": "Berlangganan",
"subscribe": "Berlangganan - {count}",
"view_subscriptions": "Lihat Langganan",
"sort_by": "Sortir bedasarkan oleh:",
"least_recent": "Baru",
"unsubscribe": "Berhenti Berlangganan",
"unsubscribe": "Berhenti Berlangganan - {count}",
"channel_name_asc": "Nama Saluran (A-Z)",
"channel_name_desc": "Nama Saluran (Z-A)",
"back": "Kembali",

View File

@ -15,8 +15,8 @@
"light": "Ljóst",
"theme": "Þema",
"enable_sponsorblock": "Virkja Sponsorblock",
"subscribe": "Gerast Áskrifandi",
"unsubscribe": "Segja Upp Áskrift",
"subscribe": "Gerast Áskrifandi - {count}",
"unsubscribe": "Segja Upp Áskrift - {count}",
"auto": "Sjálfvirkt",
"audio_only": "Aðeins Hljóð",
"most_recent": "Nýlegast",

View File

@ -31,8 +31,8 @@
"least_recent": "Meno recente",
"sort_by": "Ordina per:",
"view_subscriptions": "Visualizza gli abbonamenti",
"unsubscribe": "Disiscriviti",
"subscribe": "Iscriviti",
"unsubscribe": "Disiscriviti - {count}",
"subscribe": "Iscriviti - {count}",
"enabled_codecs": "Abilita Codecs (Molteplici)",
"enable_lbry_proxy": "Abilita il proxy per LBRY",
"disable_lbry": "Disabilita LBRY per lo streaming",

View File

@ -12,8 +12,8 @@
"watch_on": "Youtubeで見る"
},
"actions": {
"subscribe": "チャンネル登録",
"unsubscribe": "登録解除",
"subscribe": "チャンネル登録 - {count}",
"unsubscribe": "登録解除 - {count}",
"view_subscriptions": "サブスクリプションを見る",
"sort_by": "表示順:",
"most_recent": "新しい順",

View File

@ -6,7 +6,7 @@
"hide_replies": "답글 숨기기",
"skip_interaction": "상호 작용 알림 (구독) 스킵",
"show_comments": "댓글 보이기",
"unsubscribe": "구독 취소",
"unsubscribe": "구독 취소 - {count}",
"view_subscriptions": "구독 보기",
"least_recent": "가장 오래된",
"theme": "테마",
@ -31,7 +31,7 @@
"sort_by": "정렬:",
"most_recent": "가장 최신",
"channel_name_asc": "채널 이름 (A-Z)",
"subscribe": "구독",
"subscribe": "구독 - {count}",
"audio_only": "오디오만",
"skip_sponsors": "스폰서 스킵",
"dark": "다크",

View File

@ -1,7 +1,7 @@
{
"actions": {
"unsubscribe": "Atšaukti prenumeratą",
"subscribe": "Prenumeruoti",
"unsubscribe": "Atšaukti prenumeratą - {count}",
"subscribe": "Prenumeruoti - {count}",
"instances_list": "Perdavimo šaltinių sąrašas",
"language_selection": "Kalbos pasirinkimas",
"store_watch_history": "Saugoti žiūrėjimo istoriją",

View File

@ -10,8 +10,8 @@
},
"actions": {
"view_subscriptions": "സബ്സ്ക്രിപ്ഷനുകൾ കാണുക",
"unsubscribe": "സബ്സ്ക്രൈബ് ചെയ്യേണ്ട",
"subscribe": "സബ്സ്ക്രൈബ് ചെയ്യുക",
"unsubscribe": "സബ്സ്ക്രൈബ് ചെയ്യേണ്ട - {count}",
"subscribe": "സബ്സ്ക്രൈബ് ചെയ്യുക - {count}",
"instances_list": "ഇൻസ്റ്റൻസുകളുടെ പട്ടിക",
"minimize_description_default": "സ്ഥിരമായി വിവരണം ചെറുതാക്കുക",
"skip_intro": "ഇടവേള/ആമുഖ ആനിമേഷൻ ഒഴിവാക്കുക",

View File

@ -31,8 +31,8 @@
"most_recent": "Nyligst",
"sort_by": "Sorter etter:",
"view_subscriptions": "Vis abonnementer",
"unsubscribe": "Opphev abonnement",
"subscribe": "Abonner",
"unsubscribe": "Opphev abonnement - {count}",
"subscribe": "Abonner - {count}",
"enable_lbry_proxy": "Skru på mellomtjener for LBRY",
"disable_lbry": "Skru av LBRY-strømming",
"enabled_codecs": "Aktiverte forskjellige kodek",

View File

@ -12,8 +12,8 @@
"watch_on": "Oglądaj na"
},
"actions": {
"subscribe": "Subskrybuj",
"unsubscribe": "Anuluj subskrypcję",
"subscribe": "Subskrybuj - {count}",
"unsubscribe": "Anuluj subskrypcję - {count}",
"view_subscriptions": "Twoje subskrypcje",
"sort_by": "Sortuj:",
"most_recent": "Najnowsze",

View File

@ -48,8 +48,8 @@
"loading": "A carregar...",
"clear_history": "Limpar Histórico",
"show_replies": "Mostrar respostas",
"subscribe": "Subscrever",
"unsubscribe": "Anular subscrição",
"subscribe": "Subscrever - {count}",
"unsubscribe": "Anular subscrição - {count}",
"view_subscriptions": "Ver Subscrições",
"channel_name_desc": "Nome do Canal (Z-A)",
"skip_sponsors": "Saltar Patrocínios",

View File

@ -12,8 +12,8 @@
"watch_on": "Смотреть на {0}"
},
"actions": {
"subscribe": "Подписаться",
"unsubscribe": "Отписаться",
"subscribe": "Подписаться - {count}",
"unsubscribe": "Отписаться - {count}",
"view_subscriptions": "Просмотреть подписки",
"sort_by": "Отсортировать по:",
"most_recent": "Самые новые",

View File

@ -34,8 +34,8 @@
"most_recent": "Najnovšie",
"sort_by": "Zoradiť podľa:",
"view_subscriptions": "Zobraziť odbery",
"unsubscribe": "Zrušiť odber",
"subscribe": "Odberať",
"unsubscribe": "Zrušiť odber - {count}",
"subscribe": "Odberať - {count}",
"minimize_recommendations": "Minimalizujte odporúčania",
"show_recommendations": "Zobraziť odporúčania"
},

View File

@ -19,14 +19,14 @@
"enabled_codecs": "Омогућени видео кодеци (више)",
"instance_selection": "Избор инстанце",
"load_more_replies": "Учитај још одговора",
"unsubscribe": "Прекини са праћењем",
"unsubscribe": "Прекини са праћењем - {count}",
"auto": "Аутоматски",
"search": "Претрага",
"skip_non_music": "Прескочи делове где нема музике у музичким видео клиповима",
"theme": "Теме",
"audio_only": "Само звук",
"show_description": "Прикажи опис",
"subscribe": "Запрати",
"subscribe": "Запрати - {count}",
"default_quality": "Подразумевани квалитет видеа",
"clear_history": "Обриши повест гледања",
"sort_by": "Сортирај по:",

View File

@ -9,7 +9,7 @@
"history": "Historik"
},
"actions": {
"subscribe": "Prenumerera",
"subscribe": "Prenumerera - {count}",
"channel_name_asc": "Kanalnamn (A-Z)",
"channel_name_desc": "Kanalnamn (Z-A)",
"back": "Tillbaka",
@ -19,7 +19,7 @@
"export_to_json": "Exportera till JSON",
"show_description": "Visa beskrivning",
"loading": "Laddar...",
"unsubscribe": "Avsluta prenumeration",
"unsubscribe": "Avsluta prenumeration - {count}",
"sort_by": "Sortera efter:",
"most_recent": "Senaste",
"skip_intro": "Hoppa över paus/introanimering",

View File

@ -8,8 +8,8 @@
"history": "வரலாறு"
},
"actions": {
"unsubscribe": "குழுவில்",
"subscribe": "குழுசேர்",
"unsubscribe": "குழுவில் - {count}",
"subscribe": "குழுசேர் - {count}",
"search": "தேடுக",
"yes": "ஆம்",
"no": "இல்லை",

View File

@ -11,7 +11,7 @@
"watch_on": "ดูบน {0}"
},
"actions": {
"unsubscribe": "เลิกติดตาม",
"unsubscribe": "เลิกติดตาม - {count}",
"view_subscriptions": "ดูการสมัครสมาชิก",
"channel_name_asc": "ชื่อช่อง (A-Z)",
"channel_name_desc": "ชื่อช่อง (Z-A)",
@ -20,7 +20,7 @@
"skip_sponsors": "ข้ามผู้สนับสนุน",
"skip_intro": "ข้ามช่วงพัก/แนะนำแอนิเมชั่น",
"skip_outro": "ข้ามภาพตอนจบ/เครดิต",
"subscribe": "ติดตาม",
"subscribe": "ติดตาม - {count}",
"sort_by": "เรียงตาม:",
"most_recent": "ล่าสุด",
"enable_sponsorblock": "เปิดใช้งานการบล็อกสปอนเซอร์"

View File

@ -31,8 +31,8 @@
"most_recent": "En Yeni",
"sort_by": "Sıralama ölçütü:",
"view_subscriptions": "Abonelikleri Görüntüle",
"unsubscribe": "Abonelikten çık",
"subscribe": "Abone ol",
"unsubscribe": "Abonelikten çık - {count}",
"subscribe": "Abone ol - {count}",
"enabled_codecs": "Etkin Çözücüler (Birden Çok)",
"enable_lbry_proxy": "LBRY için Vekil Sunucuyu Etkinleştir",
"disable_lbry": "Akış için LBRY'yi Devre Dışı Bırak",

View File

@ -7,7 +7,7 @@
"password": "Пароль"
},
"actions": {
"unsubscribe": "Відписатись",
"unsubscribe": "Відписатись - {count}",
"back": "Назад",
"skip_intro": "Пропускати заставку/інтро",
"dark": "Темна",
@ -35,7 +35,7 @@
"clear_history": "Очистити історію перегляду",
"show_replies": "Показати відповіді",
"load_more_replies": "Завантажити більше відповідей",
"subscribe": "Підписатись",
"subscribe": "Підписатись - {count}",
"sort_by": "Відсортувати по:",
"most_recent": "Найновіші",
"channel_name_desc": "Назва каналу (Z-A)",

View File

@ -45,8 +45,8 @@
"most_recent": "最新的",
"sort_by": "排序:",
"view_subscriptions": "查看订阅",
"unsubscribe": "取消订阅",
"subscribe": "订购",
"unsubscribe": "取消订阅 - {count}",
"subscribe": "订购 - {count}",
"loading": "正在加载...",
"filter": "筛选",
"search": "搜索",

View File

@ -6,8 +6,8 @@
"country_selection": "選擇國家",
"channel_name_desc": "頻道名 (Z-A)",
"channel_name_asc": "頻道名 (A-Z)",
"unsubscribe": "取消訂閱",
"subscribe": "訂閱",
"unsubscribe": "取消訂閱 - {count}",
"subscribe": "訂閱 - {count}",
"sort_by": "排序依據:",
"view_subscriptions": "檢視訂閱內容",
"language_selection": "選擇語言",