mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Hide announces icon
							parent
							
								
									76b71b260e
								
							
						
					
					
						commit
						15f8532c2f
					
				|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "لا تظهر المعجبين في ملفك الشخصي", |     "Do not show fans on your profile": "لا تظهر المعجبين في ملفك الشخصي", | ||||||
|     "Don't show boosted replies": "عدم إظهار الردود المعززة", |     "Don't show boosted replies": "عدم إظهار الردود المعززة", | ||||||
|     "Show quote posts": "إظهار المشاركات المقتبسة", |     "Show quote posts": "إظهار المشاركات المقتبسة", | ||||||
|     "Link Trackers": "تعقب الارتباط" |     "Link Trackers": "تعقب الارتباط", | ||||||
|  |     "Hide Announces": "إخفاء الإعلانات" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "আপনার প্রোফাইলে ভক্ত দেখাবেন না", |     "Do not show fans on your profile": "আপনার প্রোফাইলে ভক্ত দেখাবেন না", | ||||||
|     "Don't show boosted replies": "বুস্ট করা উত্তর দেখাবেন না", |     "Don't show boosted replies": "বুস্ট করা উত্তর দেখাবেন না", | ||||||
|     "Show quote posts": "উদ্ধৃত পোস্ট দেখান", |     "Show quote posts": "উদ্ধৃত পোস্ট দেখান", | ||||||
|     "Link Trackers": "লিঙ্ক ট্র্যাকার" |     "Link Trackers": "লিঙ্ক ট্র্যাকার", | ||||||
|  |     "Hide Announces": "ঘোষণা লুকান" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "No mostris els fans al teu perfil", |     "Do not show fans on your profile": "No mostris els fans al teu perfil", | ||||||
|     "Don't show boosted replies": "No mostris respostes reforçades", |     "Don't show boosted replies": "No mostris respostes reforçades", | ||||||
|     "Show quote posts": "Mostra les publicacions citades", |     "Show quote posts": "Mostra les publicacions citades", | ||||||
|     "Link Trackers": "Seguidors d'enllaços" |     "Link Trackers": "Seguidors d'enllaços", | ||||||
|  |     "Hide Announces": "Amaga els anuncis" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Peidiwch â dangos cefnogwyr ar eich proffil", |     "Do not show fans on your profile": "Peidiwch â dangos cefnogwyr ar eich proffil", | ||||||
|     "Don't show boosted replies": "Peidiwch â dangos atebion cryfach", |     "Don't show boosted replies": "Peidiwch â dangos atebion cryfach", | ||||||
|     "Show quote posts": "Dangos postiadau a ddyfynnwyd", |     "Show quote posts": "Dangos postiadau a ddyfynnwyd", | ||||||
|     "Link Trackers": "Tracwyr Cyswllt" |     "Link Trackers": "Tracwyr Cyswllt", | ||||||
|  |     "Hide Announces": "Cuddio Cyhoeddiadau" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Zeigen Sie keine Fans in Ihrem Profil an", |     "Do not show fans on your profile": "Zeigen Sie keine Fans in Ihrem Profil an", | ||||||
|     "Don't show boosted replies": "Keine geboosteten Antworten anzeigen", |     "Don't show boosted replies": "Keine geboosteten Antworten anzeigen", | ||||||
|     "Show quote posts": "Zitierte Beiträge anzeigen", |     "Show quote posts": "Zitierte Beiträge anzeigen", | ||||||
|     "Link Trackers": "Link-Tracker" |     "Link Trackers": "Link-Tracker", | ||||||
|  |     "Hide Announces": "Ankündigungen ausblenden" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Μην εμφανίζετε θαυμαστές στο προφίλ σας", |     "Do not show fans on your profile": "Μην εμφανίζετε θαυμαστές στο προφίλ σας", | ||||||
|     "Don't show boosted replies": "Μην εμφανίζετε ενισχυμένες απαντήσεις", |     "Don't show boosted replies": "Μην εμφανίζετε ενισχυμένες απαντήσεις", | ||||||
|     "Show quote posts": "Εμφάνιση αναφερόμενων αναρτήσεων", |     "Show quote posts": "Εμφάνιση αναφερόμενων αναρτήσεων", | ||||||
|     "Link Trackers": "Link Trackers" |     "Link Trackers": "Link Trackers", | ||||||
|  |     "Hide Announces": "Απόκρυψη Ανακοινώνει" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Don't show fans on your profile", |     "Do not show fans on your profile": "Don't show fans on your profile", | ||||||
|     "Don't show boosted replies": "Don't show boosted replies", |     "Don't show boosted replies": "Don't show boosted replies", | ||||||
|     "Show quote posts": "Show quote posts", |     "Show quote posts": "Show quote posts", | ||||||
|     "Link Trackers": "Link Trackers" |     "Link Trackers": "Link Trackers", | ||||||
|  |     "Hide Announces": "Hide Announces" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "No mostrar fans en tu perfil", |     "Do not show fans on your profile": "No mostrar fans en tu perfil", | ||||||
|     "Don't show boosted replies": "No mostrar respuestas mejoradas", |     "Don't show boosted replies": "No mostrar respuestas mejoradas", | ||||||
|     "Show quote posts": "Mostrar publicaciones citadas", |     "Show quote posts": "Mostrar publicaciones citadas", | ||||||
|     "Link Trackers": "Rastreadores de enlaces" |     "Link Trackers": "Rastreadores de enlaces", | ||||||
|  |     "Hide Announces": "Ocultar anuncios" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "طرفداران را در نمایه خود نشان ندهید", |     "Do not show fans on your profile": "طرفداران را در نمایه خود نشان ندهید", | ||||||
|     "Don't show boosted replies": "پاسخ های تقویت شده را نشان ندهید", |     "Don't show boosted replies": "پاسخ های تقویت شده را نشان ندهید", | ||||||
|     "Show quote posts": "نمایش پست های نقل شده", |     "Show quote posts": "نمایش پست های نقل شده", | ||||||
|     "Link Trackers": "ردیاب های لینک" |     "Link Trackers": "ردیاب های لینک", | ||||||
|  |     "Hide Announces": "پنهان کردن اعلام می کند" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Ne pas afficher les fans sur votre profil", |     "Do not show fans on your profile": "Ne pas afficher les fans sur votre profil", | ||||||
|     "Don't show boosted replies": "Ne pas afficher les réponses boostées", |     "Don't show boosted replies": "Ne pas afficher les réponses boostées", | ||||||
|     "Show quote posts": "Afficher les articles cités", |     "Show quote posts": "Afficher les articles cités", | ||||||
|     "Link Trackers": "Traqueurs de liens" |     "Link Trackers": "Traqueurs de liens", | ||||||
|  |     "Hide Announces": "Masquer les annonces" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Ná taispeáin lucht leanúna ar do phróifíl", |     "Do not show fans on your profile": "Ná taispeáin lucht leanúna ar do phróifíl", | ||||||
|     "Don't show boosted replies": "Ná taispeáin freagraí treisithe", |     "Don't show boosted replies": "Ná taispeáin freagraí treisithe", | ||||||
|     "Show quote posts": "Taispeáin postálacha luaite", |     "Show quote posts": "Taispeáin postálacha luaite", | ||||||
|     "Link Trackers": "Lorgairí Nasc" |     "Link Trackers": "Lorgairí Nasc", | ||||||
|  |     "Hide Announces": "Folaigh Fógraí" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "אל תראה מעריצים בפרופיל שלך", |     "Do not show fans on your profile": "אל תראה מעריצים בפרופיל שלך", | ||||||
|     "Don't show boosted replies": "אל תראה תשובות מוגברות", |     "Don't show boosted replies": "אל תראה תשובות מוגברות", | ||||||
|     "Show quote posts": "הצג פוסטים מצוטטים", |     "Show quote posts": "הצג פוסטים מצוטטים", | ||||||
|     "Link Trackers": "מעקבי קישורים" |     "Link Trackers": "מעקבי קישורים", | ||||||
|  |     "Hide Announces": "הסתר מכריז" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "अपनी प्रोफ़ाइल पर प्रशंसकों को न दिखाएं", |     "Do not show fans on your profile": "अपनी प्रोफ़ाइल पर प्रशंसकों को न दिखाएं", | ||||||
|     "Don't show boosted replies": "बढ़ाए गए उत्तर न दिखाएं", |     "Don't show boosted replies": "बढ़ाए गए उत्तर न दिखाएं", | ||||||
|     "Show quote posts": "उद्धृत पोस्ट दिखाएँ", |     "Show quote posts": "उद्धृत पोस्ट दिखाएँ", | ||||||
|     "Link Trackers": "लिंक ट्रैकर्स" |     "Link Trackers": "लिंक ट्रैकर्स", | ||||||
|  |     "Hide Announces": "घोषणाएँ छुपाएँ" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Non mostrare i fan sul tuo profilo", |     "Do not show fans on your profile": "Non mostrare i fan sul tuo profilo", | ||||||
|     "Don't show boosted replies": "Non mostrare le risposte in evidenza", |     "Don't show boosted replies": "Non mostrare le risposte in evidenza", | ||||||
|     "Show quote posts": "Mostra post citati", |     "Show quote posts": "Mostra post citati", | ||||||
|     "Link Trackers": "Tracker dei collegamenti" |     "Link Trackers": "Tracker dei collegamenti", | ||||||
|  |     "Hide Announces": "Nascondi annunci" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "プロフィールにファンを表示しない", |     "Do not show fans on your profile": "プロフィールにファンを表示しない", | ||||||
|     "Don't show boosted replies": "ブーストされた返信を表示しない", |     "Don't show boosted replies": "ブーストされた返信を表示しない", | ||||||
|     "Show quote posts": "引用された投稿を表示", |     "Show quote posts": "引用された投稿を表示", | ||||||
|     "Link Trackers": "リンクトラッカー" |     "Link Trackers": "リンクトラッカー", | ||||||
|  |     "Hide Announces": "発表を隠す" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "프로필에 팬을 표시하지 마세요.", |     "Do not show fans on your profile": "프로필에 팬을 표시하지 마세요.", | ||||||
|     "Don't show boosted replies": "홍보된 답글 표시 안함", |     "Don't show boosted replies": "홍보된 답글 표시 안함", | ||||||
|     "Show quote posts": "인용된 게시물 표시", |     "Show quote posts": "인용된 게시물 표시", | ||||||
|     "Link Trackers": "링크 추적기" |     "Link Trackers": "링크 추적기", | ||||||
|  |     "Hide Announces": "발표 숨기기" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Li ser profîla xwe temaşevanan nîşan nedin", |     "Do not show fans on your profile": "Li ser profîla xwe temaşevanan nîşan nedin", | ||||||
|     "Don't show boosted replies": "Bersivên zêdekirî nîşan nedin", |     "Don't show boosted replies": "Bersivên zêdekirî nîşan nedin", | ||||||
|     "Show quote posts": "Mesajên binavkirî nîşan bide", |     "Show quote posts": "Mesajên binavkirî nîşan bide", | ||||||
|     "Link Trackers": "Link Trackers" |     "Link Trackers": "Link Trackers", | ||||||
|  |     "Hide Announces": "Veşêre Daxuyan dike" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Toon geen fans op je profiel", |     "Do not show fans on your profile": "Toon geen fans op je profiel", | ||||||
|     "Don't show boosted replies": "Geen gepromote antwoorden weergeven", |     "Don't show boosted replies": "Geen gepromote antwoorden weergeven", | ||||||
|     "Show quote posts": "Toon geciteerde berichten", |     "Show quote posts": "Toon geciteerde berichten", | ||||||
|     "Link Trackers": "Link-trackers" |     "Link Trackers": "Link-trackers", | ||||||
|  |     "Hide Announces": "Aankondigingen verbergen" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -665,5 +665,6 @@ | ||||||
|     "Do not show fans on your profile": "Do not show fans on your profile", |     "Do not show fans on your profile": "Do not show fans on your profile", | ||||||
|     "Don't show boosted replies": "Don't show boosted replies", |     "Don't show boosted replies": "Don't show boosted replies", | ||||||
|     "Show quote posts": "Show quote posts", |     "Show quote posts": "Show quote posts", | ||||||
|     "Link Trackers": "Link Trackers" |     "Link Trackers": "Link Trackers", | ||||||
|  |     "Hide Announces": "Hide Announces" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Nie pokazuj fanów na swoim profilu", |     "Do not show fans on your profile": "Nie pokazuj fanów na swoim profilu", | ||||||
|     "Don't show boosted replies": "Nie pokazuj wzmocnionych odpowiedzi", |     "Don't show boosted replies": "Nie pokazuj wzmocnionych odpowiedzi", | ||||||
|     "Show quote posts": "Pokaż cytowane posty", |     "Show quote posts": "Pokaż cytowane posty", | ||||||
|     "Link Trackers": "Śledzenie linków" |     "Link Trackers": "Śledzenie linków", | ||||||
|  |     "Hide Announces": "Ukryj ogłoszenia" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Não mostre fãs em seu perfil", |     "Do not show fans on your profile": "Não mostre fãs em seu perfil", | ||||||
|     "Don't show boosted replies": "Não mostrar respostas otimizadas", |     "Don't show boosted replies": "Não mostrar respostas otimizadas", | ||||||
|     "Show quote posts": "Mostrar postagens citadas", |     "Show quote posts": "Mostrar postagens citadas", | ||||||
|     "Link Trackers": "Rastreadores de links" |     "Link Trackers": "Rastreadores de links", | ||||||
|  |     "Hide Announces": "Ocultar anúncios" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Не показывать поклонников в своем профиле", |     "Do not show fans on your profile": "Не показывать поклонников в своем профиле", | ||||||
|     "Don't show boosted replies": "Не показывать усиленные ответы", |     "Don't show boosted replies": "Не показывать усиленные ответы", | ||||||
|     "Show quote posts": "Показать цитируемые сообщения", |     "Show quote posts": "Показать цитируемые сообщения", | ||||||
|     "Link Trackers": "Трекеры ссылок" |     "Link Trackers": "Трекеры ссылок", | ||||||
|  |     "Hide Announces": "Скрыть объявления" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Usionyeshe mashabiki kwenye wasifu wako", |     "Do not show fans on your profile": "Usionyeshe mashabiki kwenye wasifu wako", | ||||||
|     "Don't show boosted replies": "Usionyeshe majibu yaliyoboreshwa", |     "Don't show boosted replies": "Usionyeshe majibu yaliyoboreshwa", | ||||||
|     "Show quote posts": "Onyesha machapisho yaliyonukuliwa", |     "Show quote posts": "Onyesha machapisho yaliyonukuliwa", | ||||||
|     "Link Trackers": "Viunga vya Kufuatilia" |     "Link Trackers": "Viunga vya Kufuatilia", | ||||||
|  |     "Hide Announces": "Ficha Matangazo" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Hayranlarınızı profilinizde gösterme", |     "Do not show fans on your profile": "Hayranlarınızı profilinizde gösterme", | ||||||
|     "Don't show boosted replies": "Öne çıkarılan yanıtları gösterme", |     "Don't show boosted replies": "Öne çıkarılan yanıtları gösterme", | ||||||
|     "Show quote posts": "Alıntılanan gönderileri göster", |     "Show quote posts": "Alıntılanan gönderileri göster", | ||||||
|     "Link Trackers": "Bağlantı İzleyiciler" |     "Link Trackers": "Bağlantı İzleyiciler", | ||||||
|  |     "Hide Announces": "Duyuruları Gizle" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "Не показуйте шанувальників у своєму профілі", |     "Do not show fans on your profile": "Не показуйте шанувальників у своєму профілі", | ||||||
|     "Don't show boosted replies": "Не показувати посилені відповіді", |     "Don't show boosted replies": "Не показувати посилені відповіді", | ||||||
|     "Show quote posts": "Показувати цитовані пости", |     "Show quote posts": "Показувати цитовані пости", | ||||||
|     "Link Trackers": "Відстеження посилань" |     "Link Trackers": "Відстеження посилань", | ||||||
|  |     "Hide Announces": "Приховати оголошення" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "צי ניט ווייַזן פאַנס אויף דיין פּראָפיל", |     "Do not show fans on your profile": "צי ניט ווייַזן פאַנס אויף דיין פּראָפיל", | ||||||
|     "Don't show boosted replies": "צי ניט ווייַזן בוסטיד ענטפֿערס", |     "Don't show boosted replies": "צי ניט ווייַזן בוסטיד ענטפֿערס", | ||||||
|     "Show quote posts": "ווייַזן ציטירטע אַרטיקלען", |     "Show quote posts": "ווייַזן ציטירטע אַרטיקלען", | ||||||
|     "Link Trackers": "לינק טראַקערז" |     "Link Trackers": "לינק טראַקערז", | ||||||
|  |     "Hide Announces": "באַהאַלטן אַנאַונסיז" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -669,5 +669,6 @@ | ||||||
|     "Do not show fans on your profile": "不要在您的个人资料上显示粉丝", |     "Do not show fans on your profile": "不要在您的个人资料上显示粉丝", | ||||||
|     "Don't show boosted replies": "不显示强化回复", |     "Don't show boosted replies": "不显示强化回复", | ||||||
|     "Show quote posts": "显示引用的帖子", |     "Show quote posts": "显示引用的帖子", | ||||||
|     "Link Trackers": "链接跟踪器" |     "Link Trackers": "链接跟踪器", | ||||||
|  |     "Hide Announces": "隐藏公告" | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -323,6 +323,23 @@ def header_buttons_timeline(default_timeline: str, | ||||||
|                     '</span></button></a>' |                     '</span></button></a>' | ||||||
| 
 | 
 | ||||||
|         if not features_header: |         if not features_header: | ||||||
|  |             # the hide announces button | ||||||
|  |             if not icons_as_buttons: | ||||||
|  |                 tl_str += \ | ||||||
|  |                     '      <a class="imageAnchor" href="' + \ | ||||||
|  |                     users_path + '/hideannounces" tabindex="3">' + \ | ||||||
|  |                     '<img loading="lazy" decoding="async" src="/icons' + \ | ||||||
|  |                     '/repeat_inactive.png" title="' + \ | ||||||
|  |                     translate['Hide Announces'] + \ | ||||||
|  |                     '" alt="| ' + translate['Hide Announces'] + \ | ||||||
|  |                     '" class="timelineicon"/></a>\n' | ||||||
|  |             else: | ||||||
|  |                 tl_str += \ | ||||||
|  |                     '<a href="' + users_path + '/hideannounces' + \ | ||||||
|  |                     '" tabindex="3"><button class="button">' + \ | ||||||
|  |                     '<span>' + translate['Hide Announces'] + \ | ||||||
|  |                     '</span></button></a>' | ||||||
|  | 
 | ||||||
|             # the show/hide button, for a simpler header appearance |             # the show/hide button, for a simpler header appearance | ||||||
|             if not icons_as_buttons: |             if not icons_as_buttons: | ||||||
|                 tl_str += \ |                 tl_str += \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue