Remove unused link_to_older and link_to_newer helper methods (#29620)
				
					
				
			This commit is contained in:
		
							parent
							
								
									97a229d5f4
								
							
						
					
					
						commit
						ecdbf15ebe
					
				| @ -4,14 +4,6 @@ module StatusesHelper | |||||||
|   EMBEDDED_CONTROLLER = 'statuses' |   EMBEDDED_CONTROLLER = 'statuses' | ||||||
|   EMBEDDED_ACTION = 'embed' |   EMBEDDED_ACTION = 'embed' | ||||||
| 
 | 
 | ||||||
|   def link_to_newer(url) |  | ||||||
|     link_to t('statuses.show_newer'), url, class: 'load-more load-gap' |  | ||||||
|   end |  | ||||||
| 
 |  | ||||||
|   def link_to_older(url) |  | ||||||
|     link_to t('statuses.show_older'), url, class: 'load-more load-gap' |  | ||||||
|   end |  | ||||||
| 
 |  | ||||||
|   def nothing_here(extra_classes = '') |   def nothing_here(extra_classes = '') | ||||||
|     content_tag(:div, class: "nothing-here #{extra_classes}") do |     content_tag(:div, class: "nothing-here #{extra_classes}") do | ||||||
|       t('accounts.nothing_here') |       t('accounts.nothing_here') | ||||||
|  | |||||||
| @ -1468,8 +1468,6 @@ an: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Vota |       vote: Vota | ||||||
|     show_more: Amostrar mas |     show_more: Amostrar mas | ||||||
|     show_newer: Amostrar mas recients |  | ||||||
|     show_older: Amostrar mas antigos |  | ||||||
|     show_thread: Amostrar discusión |     show_thread: Amostrar discusión | ||||||
|     title: "%{name}: «%{quote}»" |     title: "%{name}: «%{quote}»" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1820,8 +1820,6 @@ ar: | |||||||
|         zero: بدون صوت %{count} |         zero: بدون صوت %{count} | ||||||
|       vote: صوّت |       vote: صوّت | ||||||
|     show_more: أظهر المزيد |     show_more: أظهر المزيد | ||||||
|     show_newer: إظهار أحدث |  | ||||||
|     show_older: إظهار أقدم |  | ||||||
|     show_thread: اعرض خيط المحادثة |     show_thread: اعرض خيط المحادثة | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1761,8 +1761,6 @@ be: | |||||||
|         other: "%{count} голасу" |         other: "%{count} голасу" | ||||||
|       vote: Прагаласаваць |       vote: Прагаласаваць | ||||||
|     show_more: Паказаць больш |     show_more: Паказаць больш | ||||||
|     show_newer: Паказаць навейшыя |  | ||||||
|     show_older: Паказаць старэйшыя |  | ||||||
|     show_thread: Паказаць ланцуг |     show_thread: Паказаць ланцуг | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ bg: | |||||||
|         other: "%{count} гласа" |         other: "%{count} гласа" | ||||||
|       vote: Гласуване |       vote: Гласуване | ||||||
|     show_more: Покажи повече |     show_more: Покажи повече | ||||||
|     show_newer: Показване на по-нови |  | ||||||
|     show_older: Показване на по-стари |  | ||||||
|     show_thread: Показване на нишката |     show_thread: Показване на нишката | ||||||
|     title: "%{name}: „%{quote}“" |     title: "%{name}: „%{quote}“" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ ca: | |||||||
|         other: "%{count} vots" |         other: "%{count} vots" | ||||||
|       vote: Vota |       vote: Vota | ||||||
|     show_more: Mostra'n més |     show_more: Mostra'n més | ||||||
|     show_newer: Mostra els més nous |  | ||||||
|     show_older: Mostra els més vells |  | ||||||
|     show_thread: Mostra el fil |     show_thread: Mostra el fil | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -982,8 +982,6 @@ ckb: | |||||||
|         other: "%{count} دەنگەکان" |         other: "%{count} دەنگەکان" | ||||||
|       vote: دەنگ |       vote: دەنگ | ||||||
|     show_more: زیاتر پیشان بدە |     show_more: زیاتر پیشان بدە | ||||||
|     show_newer: نوێتر پیشان بدە |  | ||||||
|     show_older: پیشاندانی کۆنتر |  | ||||||
|     show_thread: نیشاندانی ڕشتە |     show_thread: نیشاندانی ڕشتە | ||||||
|     visibilities: |     visibilities: | ||||||
|       private: شوێنکەوتوانی تەنها |       private: شوێنکەوتوانی تەنها | ||||||
|  | |||||||
| @ -966,8 +966,6 @@ co: | |||||||
|         other: "%{count} voti" |         other: "%{count} voti" | ||||||
|       vote: Vutà |       vote: Vutà | ||||||
|     show_more: Vede di più |     show_more: Vede di più | ||||||
|     show_newer: Vede i più ricenti |  | ||||||
|     show_older: Vede i più anziani |  | ||||||
|     show_thread: Vede u filu |     show_thread: Vede u filu | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1761,8 +1761,6 @@ cs: | |||||||
|         other: "%{count} hlasů" |         other: "%{count} hlasů" | ||||||
|       vote: Hlasovat |       vote: Hlasovat | ||||||
|     show_more: Zobrazit více |     show_more: Zobrazit více | ||||||
|     show_newer: Zobrazit novější |  | ||||||
|     show_older: Zobrazit starší |  | ||||||
|     show_thread: Zobrazit vlákno |     show_thread: Zobrazit vlákno | ||||||
|     title: "%{name}: „%{quote}“" |     title: "%{name}: „%{quote}“" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1825,8 +1825,6 @@ cy: | |||||||
|         zero: "%{count} o bleidleisiau" |         zero: "%{count} o bleidleisiau" | ||||||
|       vote: Pleidlais |       vote: Pleidlais | ||||||
|     show_more: Dangos mwy |     show_more: Dangos mwy | ||||||
|     show_newer: Dangos y diweddaraf |  | ||||||
|     show_older: Dangos pethau hŷn |  | ||||||
|     show_thread: Dangos edefyn |     show_thread: Dangos edefyn | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ da: | |||||||
|         other: "%{count} stemmer" |         other: "%{count} stemmer" | ||||||
|       vote: Stem |       vote: Stem | ||||||
|     show_more: Vis flere |     show_more: Vis flere | ||||||
|     show_newer: Vis nyere |  | ||||||
|     show_older: Vis ældre |  | ||||||
|     show_thread: Vis tråd |     show_thread: Vis tråd | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ de: | |||||||
|         other: "%{count} Stimmen" |         other: "%{count} Stimmen" | ||||||
|       vote: Abstimmen |       vote: Abstimmen | ||||||
|     show_more: Mehr anzeigen |     show_more: Mehr anzeigen | ||||||
|     show_newer: Neuere anzeigen |  | ||||||
|     show_older: Ältere anzeigen |  | ||||||
|     show_thread: Thread anzeigen |     show_thread: Thread anzeigen | ||||||
|     title: "%{name}: „%{quote}“" |     title: "%{name}: „%{quote}“" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1569,8 +1569,6 @@ el: | |||||||
|         other: "%{count} ψήφοι" |         other: "%{count} ψήφοι" | ||||||
|       vote: Ψήφισε |       vote: Ψήφισε | ||||||
|     show_more: Δείξε περισσότερα |     show_more: Δείξε περισσότερα | ||||||
|     show_newer: Εμφάνιση νεότερων |  | ||||||
|     show_older: Εμφάνιση παλαιότερων |  | ||||||
|     show_thread: Εμφάνιση νήματος |     show_thread: Εμφάνιση νήματος | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1692,8 +1692,6 @@ en-GB: | |||||||
|         other: "%{count} votes" |         other: "%{count} votes" | ||||||
|       vote: Vote |       vote: Vote | ||||||
|     show_more: Show more |     show_more: Show more | ||||||
|     show_newer: Show newer |  | ||||||
|     show_older: Show older |  | ||||||
|     show_thread: Show thread |     show_thread: Show thread | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1698,8 +1698,6 @@ en: | |||||||
|         other: "%{count} votes" |         other: "%{count} votes" | ||||||
|       vote: Vote |       vote: Vote | ||||||
|     show_more: Show more |     show_more: Show more | ||||||
|     show_newer: Show newer |  | ||||||
|     show_older: Show older |  | ||||||
|     show_thread: Show thread |     show_thread: Show thread | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1624,8 +1624,6 @@ eo: | |||||||
|         other: "%{count} voĉdonoj" |         other: "%{count} voĉdonoj" | ||||||
|       vote: Voĉdoni |       vote: Voĉdoni | ||||||
|     show_more: Montri pli |     show_more: Montri pli | ||||||
|     show_newer: Montri pli novajn |  | ||||||
|     show_older: Montri pli malnovajn |  | ||||||
|     show_thread: Montri la mesaĝaron |     show_thread: Montri la mesaĝaron | ||||||
|     title: "%{name}: “%{quote}”" |     title: "%{name}: “%{quote}”" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ es-AR: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Votar |       vote: Votar | ||||||
|     show_more: Mostrar más |     show_more: Mostrar más | ||||||
|     show_newer: Mostrar más recientes |  | ||||||
|     show_older: Mostrar más antiguos |  | ||||||
|     show_thread: Mostrar hilo |     show_thread: Mostrar hilo | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ es-MX: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Vota |       vote: Vota | ||||||
|     show_more: Mostrar más |     show_more: Mostrar más | ||||||
|     show_newer: Mostrar más recientes |  | ||||||
|     show_older: Mostrar más antiguos |  | ||||||
|     show_thread: Mostrar discusión |     show_thread: Mostrar discusión | ||||||
|     title: "%{name}: «%{quote}»" |     title: "%{name}: «%{quote}»" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ es: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Vota |       vote: Vota | ||||||
|     show_more: Mostrar más |     show_more: Mostrar más | ||||||
|     show_newer: Mostrar más recientes |  | ||||||
|     show_older: Mostrar más antiguos |  | ||||||
|     show_thread: Mostrar discusión |     show_thread: Mostrar discusión | ||||||
|     title: "%{name}: «%{quote}»" |     title: "%{name}: «%{quote}»" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ et: | |||||||
|         other: "%{count} häält" |         other: "%{count} häält" | ||||||
|       vote: Hääleta |       vote: Hääleta | ||||||
|     show_more: Näita rohkem |     show_more: Näita rohkem | ||||||
|     show_newer: Uuemate kuvamine |  | ||||||
|     show_older: Vanemate kuvamine |  | ||||||
|     show_thread: Kuva lõim |     show_thread: Kuva lõim | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1701,8 +1701,6 @@ eu: | |||||||
|         other: "%{count} boto" |         other: "%{count} boto" | ||||||
|       vote: Bozkatu |       vote: Bozkatu | ||||||
|     show_more: Erakutsi gehiago |     show_more: Erakutsi gehiago | ||||||
|     show_newer: Erakutsi berriagoak |  | ||||||
|     show_older: Erakutsi zaharragoak |  | ||||||
|     show_thread: Erakutsi haria |     show_thread: Erakutsi haria | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1461,8 +1461,6 @@ fa: | |||||||
|         other: "%{count} رأی" |         other: "%{count} رأی" | ||||||
|       vote: رأی |       vote: رأی | ||||||
|     show_more: نمایش |     show_more: نمایش | ||||||
|     show_newer: نمایش جدیدتر |  | ||||||
|     show_older: نمایش قدیمیتر |  | ||||||
|     show_thread: نمایش رشته |     show_thread: نمایش رشته | ||||||
|     title: "%{name}: «%{quote}»" |     title: "%{name}: «%{quote}»" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ fi: | |||||||
|         other: "%{count} ääntä" |         other: "%{count} ääntä" | ||||||
|       vote: Äänestä |       vote: Äänestä | ||||||
|     show_more: Näytä lisää |     show_more: Näytä lisää | ||||||
|     show_newer: Näytä uudemmat |  | ||||||
|     show_older: Näytä vanhempi |  | ||||||
|     show_thread: Näytä ketju |     show_thread: Näytä ketju | ||||||
|     title: "%{name}: ”%{quote}”" |     title: "%{name}: ”%{quote}”" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ fo: | |||||||
|         other: "%{count} atkvøður" |         other: "%{count} atkvøður" | ||||||
|       vote: Atkvøð |       vote: Atkvøð | ||||||
|     show_more: Vís meira |     show_more: Vís meira | ||||||
|     show_newer: Vís nýggjari |  | ||||||
|     show_older: Vís eldri |  | ||||||
|     show_thread: Vís tráð |     show_thread: Vís tráð | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ fr-CA: | |||||||
|         other: "%{count} votes" |         other: "%{count} votes" | ||||||
|       vote: Voter |       vote: Voter | ||||||
|     show_more: Déplier |     show_more: Déplier | ||||||
|     show_newer: Plus récents |  | ||||||
|     show_older: Plus anciens |  | ||||||
|     show_thread: Afficher le fil de discussion |     show_thread: Afficher le fil de discussion | ||||||
|     title: "%{name} : « %{quote} »" |     title: "%{name} : « %{quote} »" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ fr: | |||||||
|         other: "%{count} votes" |         other: "%{count} votes" | ||||||
|       vote: Voter |       vote: Voter | ||||||
|     show_more: Déplier |     show_more: Déplier | ||||||
|     show_newer: Plus récents |  | ||||||
|     show_older: Plus anciens |  | ||||||
|     show_thread: Afficher le fil de discussion |     show_thread: Afficher le fil de discussion | ||||||
|     title: "%{name} : « %{quote} »" |     title: "%{name} : « %{quote} »" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1692,8 +1692,6 @@ fy: | |||||||
|         other: "%{count} stimmen" |         other: "%{count} stimmen" | ||||||
|       vote: Stimme |       vote: Stimme | ||||||
|     show_more: Mear toane |     show_more: Mear toane | ||||||
|     show_newer: Nijere toane |  | ||||||
|     show_older: Aldere toane |  | ||||||
|     show_thread: Petear toane |     show_thread: Petear toane | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -471,7 +471,6 @@ ga: | |||||||
|     poll: |     poll: | ||||||
|       vote: Vótáil |       vote: Vótáil | ||||||
|     show_more: Taispeáin níos mó |     show_more: Taispeáin níos mó | ||||||
|     show_newer: Taispeáin níos nuaí |  | ||||||
|     show_thread: Taispeáin snáithe |     show_thread: Taispeáin snáithe | ||||||
|     visibilities: |     visibilities: | ||||||
|       private: Leantóirí amháin |       private: Leantóirí amháin | ||||||
|  | |||||||
| @ -1761,8 +1761,6 @@ gd: | |||||||
|         two: "%{count} bhòt" |         two: "%{count} bhòt" | ||||||
|       vote: Bhòt |       vote: Bhòt | ||||||
|     show_more: Seall barrachd dheth |     show_more: Seall barrachd dheth | ||||||
|     show_newer: Seall feadhainn as ùire |  | ||||||
|     show_older: Seall feadhainn as sine |  | ||||||
|     show_thread: Seall an snàithlean |     show_thread: Seall an snàithlean | ||||||
|     title: "%{name}: “%{quote}”" |     title: "%{name}: “%{quote}”" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ gl: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Votar |       vote: Votar | ||||||
|     show_more: Mostrar máis |     show_more: Mostrar máis | ||||||
|     show_newer: Mostrar o máis novo |  | ||||||
|     show_older: Mostrar o máis vello |  | ||||||
|     show_thread: Amosar fío |     show_thread: Amosar fío | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1761,8 +1761,6 @@ he: | |||||||
|         two: "%{count} קולות" |         two: "%{count} קולות" | ||||||
|       vote: הצבעה |       vote: הצבעה | ||||||
|     show_more: עוד |     show_more: עוד | ||||||
|     show_newer: הצג חדשים יותר |  | ||||||
|     show_older: הצג ישנים יותר |  | ||||||
|     show_thread: הצג שרשור |     show_thread: הצג שרשור | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ hu: | |||||||
|         other: "%{count} szavazat" |         other: "%{count} szavazat" | ||||||
|       vote: Szavazás |       vote: Szavazás | ||||||
|     show_more: Több megjelenítése |     show_more: Több megjelenítése | ||||||
|     show_newer: Újabbak mutatása |  | ||||||
|     show_older: Régebbiek mutatása |  | ||||||
|     show_thread: Szál mutatása |     show_thread: Szál mutatása | ||||||
|     title: "%{name}: „%{quote}”" |     title: "%{name}: „%{quote}”" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -808,8 +808,6 @@ hy: | |||||||
|         other: "%{count} ձայներ" |         other: "%{count} ձայներ" | ||||||
|       vote: Քուէարկել |       vote: Քուէարկել | ||||||
|     show_more: Աւելին |     show_more: Աւելին | ||||||
|     show_newer: Ցուցադրել նորերը |  | ||||||
|     show_older: Ցուցադրել հները |  | ||||||
|     show_thread: Բացել շղթան |     show_thread: Բացել շղթան | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1428,8 +1428,6 @@ id: | |||||||
|         other: "%{count} memilih" |         other: "%{count} memilih" | ||||||
|       vote: Pilih |       vote: Pilih | ||||||
|     show_more: Tampilkan selengkapnya |     show_more: Tampilkan selengkapnya | ||||||
|     show_newer: Tampilkan lebih baru |  | ||||||
|     show_older: Tampilkan lebih lama |  | ||||||
|     show_thread: Tampilkan utas |     show_thread: Tampilkan utas | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ ie: | |||||||
|         other: "%{count} votes" |         other: "%{count} votes" | ||||||
|       vote: Votar |       vote: Votar | ||||||
|     show_more: Monstrar plu |     show_more: Monstrar plu | ||||||
|     show_newer: Monstrar plu nov |  | ||||||
|     show_older: Monstrar plu old |  | ||||||
|     show_thread: Monstrar fil |     show_thread: Monstrar fil | ||||||
|     title: "%{name}: «%{quote}»" |     title: "%{name}: «%{quote}»" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1666,8 +1666,6 @@ io: | |||||||
|         other: "%{count} voti" |         other: "%{count} voti" | ||||||
|       vote: Votez |       vote: Votez | ||||||
|     show_more: Montrar plue |     show_more: Montrar plue | ||||||
|     show_newer: Montrez plu nova kozo |  | ||||||
|     show_older: Montrez plu olda kozo |  | ||||||
|     show_thread: Montrez postaro |     show_thread: Montrez postaro | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1701,8 +1701,6 @@ is: | |||||||
|         other: "%{count} atkvæði" |         other: "%{count} atkvæði" | ||||||
|       vote: Greiða atkvæði |       vote: Greiða atkvæði | ||||||
|     show_more: Sýna meira |     show_more: Sýna meira | ||||||
|     show_newer: Sýna nýrri |  | ||||||
|     show_older: Sýna eldri |  | ||||||
|     show_thread: Birta þráð |     show_thread: Birta þráð | ||||||
|     title: "%{name}: „%{quote}‟" |     title: "%{name}: „%{quote}‟" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1699,8 +1699,6 @@ it: | |||||||
|         other: "%{count} voti" |         other: "%{count} voti" | ||||||
|       vote: Vota |       vote: Vota | ||||||
|     show_more: Mostra di più |     show_more: Mostra di più | ||||||
|     show_newer: Mostra più nuovi |  | ||||||
|     show_older: Mostra più vecchi |  | ||||||
|     show_thread: Mostra thread |     show_thread: Mostra thread | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1665,8 +1665,6 @@ ja: | |||||||
|         other: "%{count}票" |         other: "%{count}票" | ||||||
|       vote: 投票 |       vote: 投票 | ||||||
|     show_more: もっと見る |     show_more: もっと見る | ||||||
|     show_newer: 新しいものを表示 |  | ||||||
|     show_older: 古いものを表示 |  | ||||||
|     show_thread: スレッドを表示 |     show_thread: スレッドを表示 | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -813,8 +813,6 @@ kab: | |||||||
|         other: "%{count} n yedɣaren" |         other: "%{count} n yedɣaren" | ||||||
|       vote: Dɣeṛ |       vote: Dɣeṛ | ||||||
|     show_more: Ssken-d ugar |     show_more: Ssken-d ugar | ||||||
|     show_newer: Ssken-d timaynutin |  | ||||||
|     show_older: Ssken-d tiqburin |  | ||||||
|     show_thread: Ssken-d lxiḍ |     show_thread: Ssken-d lxiḍ | ||||||
|     title: '%{name} : "%{quote}"' |     title: '%{name} : "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1667,8 +1667,6 @@ ko: | |||||||
|         other: "%{count}명 투표함" |         other: "%{count}명 투표함" | ||||||
|       vote: 투표 |       vote: 투표 | ||||||
|     show_more: 더 보기 |     show_more: 더 보기 | ||||||
|     show_newer: 새로운 것 표시 |  | ||||||
|     show_older: 오래된 것 표시 |  | ||||||
|     show_thread: 글타래 보기 |     show_thread: 글타래 보기 | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1462,8 +1462,6 @@ ku: | |||||||
|         other: "%{count} deng" |         other: "%{count} deng" | ||||||
|       vote: Deng bide |       vote: Deng bide | ||||||
|     show_more: Bêtir nîşan bide |     show_more: Bêtir nîşan bide | ||||||
|     show_newer: Nûtirîn nîşan bide |  | ||||||
|     show_older: Kevntirîn nîşan bide |  | ||||||
|     show_thread: Mijarê nîşan bide |     show_thread: Mijarê nîşan bide | ||||||
|     title: "%{name}%{quote}" |     title: "%{name}%{quote}" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ lad: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Vota |       vote: Vota | ||||||
|     show_more: Amostra mas |     show_more: Amostra mas | ||||||
|     show_newer: Amostra mas muevos |  | ||||||
|     show_older: Amostra mas viejos |  | ||||||
|     show_thread: Amostra diskusyon |     show_thread: Amostra diskusyon | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1718,8 +1718,6 @@ lv: | |||||||
|         zero: "%{count} balsu" |         zero: "%{count} balsu" | ||||||
|       vote: Balsu skaits |       vote: Balsu skaits | ||||||
|     show_more: Rādīt vairāk |     show_more: Rādīt vairāk | ||||||
|     show_newer: Nekad nerādīt |  | ||||||
|     show_older: Rādīt senākus |  | ||||||
|     show_thread: Rādīt tematu |     show_thread: Rādīt tematu | ||||||
|     title: "%{name}: “%{quote}”" |     title: "%{name}: “%{quote}”" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1634,8 +1634,6 @@ ms: | |||||||
|         other: "%{count} undi" |         other: "%{count} undi" | ||||||
|       vote: Undi |       vote: Undi | ||||||
|     show_more: Tunjuk lebih banyak |     show_more: Tunjuk lebih banyak | ||||||
|     show_newer: Tunjuk lebih baharu |  | ||||||
|     show_older: Tunjuk lebih tua |  | ||||||
|     show_thread: Tunjuk bebenang |     show_thread: Tunjuk bebenang | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1633,8 +1633,6 @@ my: | |||||||
|         other: မဲအရေအတွက် %{count} မဲ |         other: မဲအရေအတွက် %{count} မဲ | ||||||
|       vote: မဲပေးမည် |       vote: မဲပေးမည် | ||||||
|     show_more: ပိုမိုပြရန် |     show_more: ပိုမိုပြရန် | ||||||
|     show_newer: ပို့စ်အသစ်များပြရန် |  | ||||||
|     show_older: ပို့စ်အဟောင်းများပြရန် |  | ||||||
|     show_thread: Thread ကို ပြပါ |     show_thread: Thread ကို ပြပါ | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ nl: | |||||||
|         other: "%{count} stemmen" |         other: "%{count} stemmen" | ||||||
|       vote: Stemmen |       vote: Stemmen | ||||||
|     show_more: Meer tonen |     show_more: Meer tonen | ||||||
|     show_newer: Nieuwere tonen |  | ||||||
|     show_older: Oudere tonen |  | ||||||
|     show_thread: Gesprek tonen |     show_thread: Gesprek tonen | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ nn: | |||||||
|         other: "%{count} røyster" |         other: "%{count} røyster" | ||||||
|       vote: Røyst |       vote: Røyst | ||||||
|     show_more: Vis meir |     show_more: Vis meir | ||||||
|     show_newer: Vis nyere |  | ||||||
|     show_older: Vis eldre |  | ||||||
|     show_thread: Vis tråden |     show_thread: Vis tråden | ||||||
|     title: "%{name}: «%{quote}»" |     title: "%{name}: «%{quote}»" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1694,8 +1694,6 @@ | |||||||
|         other: "%{count} stemmer" |         other: "%{count} stemmer" | ||||||
|       vote: Stem |       vote: Stem | ||||||
|     show_more: Vis mer |     show_more: Vis mer | ||||||
|     show_newer: Vis nyere |  | ||||||
|     show_older: Vis eldre |  | ||||||
|     show_thread: Vis tråden |     show_thread: Vis tråden | ||||||
|     title: "%{name}: «%{quote}»" |     title: "%{name}: «%{quote}»" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -875,8 +875,6 @@ oc: | |||||||
|         other: "%{count} vòtes" |         other: "%{count} vòtes" | ||||||
|       vote: Votar |       vote: Votar | ||||||
|     show_more: Ne veire mai |     show_more: Ne veire mai | ||||||
|     show_newer: Veire mai recents |  | ||||||
|     show_older: Veire mai ancians |  | ||||||
|     show_thread: Mostrar lo fil |     show_thread: Mostrar lo fil | ||||||
|     title: '%{name} : "%{quote}"' |     title: '%{name} : "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1761,8 +1761,6 @@ pl: | |||||||
|         other: "%{count} głosy" |         other: "%{count} głosy" | ||||||
|       vote: Głosuj |       vote: Głosuj | ||||||
|     show_more: Pokaż więcej |     show_more: Pokaż więcej | ||||||
|     show_newer: Pokaż nowsze |  | ||||||
|     show_older: Pokaż starsze |  | ||||||
|     show_thread: Pokaż wątek |     show_thread: Pokaż wątek | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ pt-BR: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Votar |       vote: Votar | ||||||
|     show_more: Mostrar mais |     show_more: Mostrar mais | ||||||
|     show_newer: Mostrar mais recentes |  | ||||||
|     show_older: Mostrar mais antigos |  | ||||||
|     show_thread: Mostrar conversa |     show_thread: Mostrar conversa | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ pt-PT: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Votar |       vote: Votar | ||||||
|     show_more: Mostrar mais |     show_more: Mostrar mais | ||||||
|     show_newer: Mostrar mais recentes |  | ||||||
|     show_older: Mostrar mais antigos |  | ||||||
|     show_thread: Mostrar conversa |     show_thread: Mostrar conversa | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1756,8 +1756,6 @@ ru: | |||||||
|         other: "%{count} голосов" |         other: "%{count} голосов" | ||||||
|       vote: Голосовать |       vote: Голосовать | ||||||
|     show_more: Развернуть |     show_more: Развернуть | ||||||
|     show_newer: Показать более новое |  | ||||||
|     show_older: Показать старые |  | ||||||
|     show_thread: Открыть обсуждение |     show_thread: Открыть обсуждение | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1025,8 +1025,6 @@ sc: | |||||||
|         other: "%{count} votos" |         other: "%{count} votos" | ||||||
|       vote: Vota |       vote: Vota | ||||||
|     show_more: Ammustra·nde prus |     show_more: Ammustra·nde prus | ||||||
|     show_newer: Ammustra is prus noos |  | ||||||
|     show_older: Ammustra is prus betzos |  | ||||||
|     show_thread: Ammustra su tema |     show_thread: Ammustra su tema | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1452,8 +1452,6 @@ sco: | |||||||
|         other: "%{count} votes" |         other: "%{count} votes" | ||||||
|       vote: Vote |       vote: Vote | ||||||
|     show_more: Shaw mair |     show_more: Shaw mair | ||||||
|     show_newer: Shaw newer |  | ||||||
|     show_older: Shaw aulder |  | ||||||
|     show_thread: Shaw threid |     show_thread: Shaw threid | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1316,8 +1316,6 @@ si: | |||||||
|         other: ඡන්ද %{count} යි |         other: ඡන්ද %{count} යි | ||||||
|       vote: ඡන්දය |       vote: ඡන්දය | ||||||
|     show_more: තව පෙන්වන්න |     show_more: තව පෙන්වන්න | ||||||
|     show_newer: අලුත්ම පෙන්වන්න |  | ||||||
|     show_older: පැරණි පෙන්වන්න |  | ||||||
|     show_thread: නූල් පෙන්වන්න |     show_thread: නූල් පෙන්වන්න | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1761,8 +1761,6 @@ sl: | |||||||
|         two: "%{count} glasova" |         two: "%{count} glasova" | ||||||
|       vote: Glasuj |       vote: Glasuj | ||||||
|     show_more: Pokaži več |     show_more: Pokaži več | ||||||
|     show_newer: Pokaži novejše |  | ||||||
|     show_older: Pokaži starejše |  | ||||||
|     show_thread: Pokaži nit |     show_thread: Pokaži nit | ||||||
|     title: "%{name}: »%{quote}«" |     title: "%{name}: »%{quote}«" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1693,8 +1693,6 @@ sq: | |||||||
|         other: "%{count} vota" |         other: "%{count} vota" | ||||||
|       vote: Votë |       vote: Votë | ||||||
|     show_more: Shfaq më tepër |     show_more: Shfaq më tepër | ||||||
|     show_newer: Shfaq më të reja |  | ||||||
|     show_older: Shfaq më të vjetra |  | ||||||
|     show_thread: Shfaq rrjedhën |     show_thread: Shfaq rrjedhën | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1729,8 +1729,6 @@ sr-Latn: | |||||||
|         other: "%{count} glasova" |         other: "%{count} glasova" | ||||||
|       vote: Glasajte |       vote: Glasajte | ||||||
|     show_more: Prikaži još |     show_more: Prikaži još | ||||||
|     show_newer: Nikad ne prikazuj |  | ||||||
|     show_older: Prikaži starije |  | ||||||
|     show_thread: Prikaži niz |     show_thread: Prikaži niz | ||||||
|     title: "%{name}: „%{quote}”" |     title: "%{name}: „%{quote}”" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1729,8 +1729,6 @@ sr: | |||||||
|         other: "%{count} гласова" |         other: "%{count} гласова" | ||||||
|       vote: Гласајте |       vote: Гласајте | ||||||
|     show_more: Прикажи још |     show_more: Прикажи још | ||||||
|     show_newer: Никад не приказуј |  | ||||||
|     show_older: Прикажи старије |  | ||||||
|     show_thread: Прикажи низ |     show_thread: Прикажи низ | ||||||
|     title: "%{name}: „%{quote}”" |     title: "%{name}: „%{quote}”" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ sv: | |||||||
|         other: "%{count} röster" |         other: "%{count} röster" | ||||||
|       vote: Rösta |       vote: Rösta | ||||||
|     show_more: Visa mer |     show_more: Visa mer | ||||||
|     show_newer: Visa nyare |  | ||||||
|     show_older: Visa äldre |  | ||||||
|     show_thread: Visa tråd |     show_thread: Visa tråd | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1665,8 +1665,6 @@ th: | |||||||
|         other: "%{count} การลงคะแนน" |         other: "%{count} การลงคะแนน" | ||||||
|       vote: ลงคะแนน |       vote: ลงคะแนน | ||||||
|     show_more: แสดงเพิ่มเติม |     show_more: แสดงเพิ่มเติม | ||||||
|     show_newer: แสดงที่ใหม่กว่า |  | ||||||
|     show_older: แสดงที่เก่ากว่า |  | ||||||
|     show_thread: แสดงกระทู้ |     show_thread: แสดงกระทู้ | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1697,8 +1697,6 @@ tr: | |||||||
|         other: "%{count} oylar" |         other: "%{count} oylar" | ||||||
|       vote: Oy Ver |       vote: Oy Ver | ||||||
|     show_more: Daha fazlasını göster |     show_more: Daha fazlasını göster | ||||||
|     show_newer: Yenileri göster |  | ||||||
|     show_older: Eskileri göster |  | ||||||
|     show_thread: Konuyu göster |     show_thread: Konuyu göster | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1761,8 +1761,6 @@ uk: | |||||||
|         other: "%{count} голоси" |         other: "%{count} голоси" | ||||||
|       vote: Проголосувати |       vote: Проголосувати | ||||||
|     show_more: Розгорнути |     show_more: Розгорнути | ||||||
|     show_newer: Показати новіші |  | ||||||
|     show_older: Показати давніші |  | ||||||
|     show_thread: Відкрити обговорення |     show_thread: Відкрити обговорення | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1665,8 +1665,6 @@ vi: | |||||||
|         other: "%{count} người bình chọn" |         other: "%{count} người bình chọn" | ||||||
|       vote: Bình chọn |       vote: Bình chọn | ||||||
|     show_more: Đọc thêm |     show_more: Đọc thêm | ||||||
|     show_newer: Mới hơn |  | ||||||
|     show_older: Cũ hơn |  | ||||||
|     show_thread: Nội dung gốc |     show_thread: Nội dung gốc | ||||||
|     title: '%{name}: "%{quote}"' |     title: '%{name}: "%{quote}"' | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1665,8 +1665,6 @@ zh-CN: | |||||||
|         other: "%{count} 票" |         other: "%{count} 票" | ||||||
|       vote: 投票 |       vote: 投票 | ||||||
|     show_more: 显示更多 |     show_more: 显示更多 | ||||||
|     show_newer: 显示更新内容 |  | ||||||
|     show_older: 显示更早内容 |  | ||||||
|     show_thread: 显示全部对话 |     show_thread: 显示全部对话 | ||||||
|     title: "%{name}:“%{quote}”" |     title: "%{name}:“%{quote}”" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1665,8 +1665,6 @@ zh-HK: | |||||||
|         other: "%{count} 票" |         other: "%{count} 票" | ||||||
|       vote: 投票 |       vote: 投票 | ||||||
|     show_more: 顯示更多 |     show_more: 顯示更多 | ||||||
|     show_newer: 顯示較新嘟文 |  | ||||||
|     show_older: 顯示較舊嘟文 |  | ||||||
|     show_thread: 顯示討論串 |     show_thread: 顯示討論串 | ||||||
|     title: "%{name}:「%{quote}」" |     title: "%{name}:「%{quote}」" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -1667,8 +1667,6 @@ zh-TW: | |||||||
|         other: "%{count} 票" |         other: "%{count} 票" | ||||||
|       vote: 投票 |       vote: 投票 | ||||||
|     show_more: 顯示更多 |     show_more: 顯示更多 | ||||||
|     show_newer: 顯示較新嘟文 |  | ||||||
|     show_older: 顯示較舊嘟文 |  | ||||||
|     show_thread: 顯示討論串 |     show_thread: 顯示討論串 | ||||||
|     title: "%{name}:「%{quote}」" |     title: "%{name}:「%{quote}」" | ||||||
|     visibilities: |     visibilities: | ||||||
|  | |||||||
| @ -29,26 +29,6 @@ describe StatusesHelper do | |||||||
|     I18n.t('statuses.content_warning', warning: status.spoiler_text) |     I18n.t('statuses.content_warning', warning: status.spoiler_text) | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|   describe 'link_to_newer' do |  | ||||||
|     it 'returns a link to newer content' do |  | ||||||
|       url = 'https://example.com' |  | ||||||
|       result = helper.link_to_newer(url) |  | ||||||
| 
 |  | ||||||
|       expect(result).to match('load-more') |  | ||||||
|       expect(result).to match(I18n.t('statuses.show_newer')) |  | ||||||
|     end |  | ||||||
|   end |  | ||||||
| 
 |  | ||||||
|   describe 'link_to_older' do |  | ||||||
|     it 'returns a link to older content' do |  | ||||||
|       url = 'https://example.com' |  | ||||||
|       result = helper.link_to_older(url) |  | ||||||
| 
 |  | ||||||
|       expect(result).to match('load-more') |  | ||||||
|       expect(result).to match(I18n.t('statuses.show_older')) |  | ||||||
|     end |  | ||||||
|   end |  | ||||||
| 
 |  | ||||||
|   describe 'fa_visibility_icon' do |   describe 'fa_visibility_icon' do | ||||||
|     context 'with a status that is public' do |     context 'with a status that is public' do | ||||||
|       let(:status) { Status.new(visibility: 'public') } |       let(:status) { Status.new(visibility: 'public') } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user