Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Extract strings from 404 page and FAQ

Cette révision appartient à :
ElegantMonkey 2017-05-08 16:12:58 -03:00
Parent 42e0320064
révision 0cfa2bff21
5 fichiers modifiés avec 177 ajouts et 44 suppressions

Voir le fichier

@ -121,7 +121,7 @@
},
{
"id":"see_more_torrents_from",
"translation": "See more torrents from %s "
"translation": "See more torrents from %s "
},
{
"id":"category",
@ -174,5 +174,145 @@
{
"id": "nothing_here",
"translation": "Nothing Here."
},
{
"id": "404_not_found",
"translation": "404 Not Found"
},
{
"id": "profile",
"translation": "Profile"
},
{
"id": "sign_out",
"translation": "Sign-out"
},
{
"id": "member",
"translation": "Member"
},
{
"id": "sign_in",
"translation": "Sign in"
},
{
"id": "sign_up",
"translation": "Sign Up"
},
{
"id": "no_results_found",
"translation": "No Results found"
},
{
"id": "notice_keep_seeding",
"translation": "NOTICE: KEEP SEEDING AND ENABLE DHT YOU RETARD"
},
{
"id": "official_nyaapocalipse_faq",
"translation": "Official Nyaapocalypse FAQ"
},
{
"id": "links_replacement_mirror",
"translation": "Links for the replacement/mirror"
},
{
"id": "what_happened",
"translation": "What happened?"
},
{
"id": "nyaa_se_went_offline",
"translation": "nyaa.se and associated domains (such as nyaatorrents.info) went offline on May 01, 2017."
},
{
"id": "its_not_a_ddos",
"translation": "They were deactivated, so it's not a DDoS attack like usual."
},
{
"id": "future_not_looking_good",
"translation": "Future prospects for nyaa are not looking good. (It's dead)"
},
{
"id": "recovery_effort",
"translation": "There is a recovery effort taking place."
},
{
"id": "is_everything_lost",
"translation": "Is everything lost?"
},
{
"id": "in_short_no",
"translation": "In short, No."
},
{
"id": "are_some_things_lost",
"translation": "Are some things lost?"
},
{
"id": "answer_is_nyaa_db_lost",
"translation": "We have a database of the torrents on nyaa up to <s>April 5</s> May 1. That means almost nothing is lost."
},
{
"id": "answer_is_sukebei_db_lost",
"translation": "Sukebei, however might be in worse shape. Currently we only have sukebei databases up to 2016, but a newer database might be available for use."
},
{
"id": "how_are_we_recovering",
"translation": "How are we recovering?"
},
{
"id": "answer_how_are_we_recovering",
"translation": "The aforementioned databases are being hosted at nyaa.pantsu.cat and sukebei.pantsu.cat. There is a search function, and (almost) full nyaa functionality should be coming soon. Seeder/leecher statistics are possible via scraping and might be restored sometime in the future, since other feature take priority right now."
},
{
"id": "are_the_trackers_working",
"translation": "Are the torrents still working?"
},
{
"id": "answer_are_the_trackers_working",
"translation": "Even if the trackers are down, seeders are still connected to the decentralized DHT network. As long as the file is listed on the DHT network, business should carry on as usual."
},
{
"id": "how_do_i_download_the_torrents",
"translation": "How do I download the torrents?"
},
{
"id": "answer_how_do_i_download_the_torrents",
"translation": "Just use the <b>magnet link</b>. The magnet link will be used by your BitTorrent client to look up the file on the DHT network and it should download just fine."
},
{
"id": "magnet_link_should_look_like",
"translation": "The magnet link should look like this:"
},
{
"id": "which_trackers_do_you_recommend",
"translation": "Which trackers do you recommend using?"
},
{
"id": "answer_which_trackers_do_you_recommend",
"translation": "If your torrent upload is denied because of trackers you'll need to add some of these:"
},
{
"id": "how_can_i_help",
"translation": "How can I help?"
},
{
"id": "answer_how_can_i_help",
"translation": "If you have website development expertise, you can join the #nyaapantsu IRC channel on irc.rizon.net. If you have any current databases, especially for sukebei, <b>UPLOAD THEM</b>."
},
{
"id": "your_design_sucks_found_a_bug",
"translation": "Your design sucks / I found a bug"
},
{
"id": "why_written_in_go",
"translation": "Why is your shit written in Go?"
},
{
"id": "authors_favorite_language",
"translation": "It's the author's favorite programming language."
},
{
"id": "nyaa_pantsu_dont_host_files",
"translation": "nyaa.pantsu.cat and sukebei.pantsu.cat do not host any files."
}
]

Voir le fichier

@ -1,7 +1,7 @@
{{define "title"}}404 Not Found{{end}}
{{define "title"}}{{T "404_not_found"}}{{end}}
{{define "content"}}
<div>
<h1>404 Not Found</h1>
<h1>{{T "404_not_found"}}</h1>
<br />
<img class="center-block center-image" src="/img/404.svg"></img>
</div>

Voir le fichier

@ -1,50 +1,44 @@
{{define "title"}}FAQ{{end}}
{{define "title"}}{{T "faq"}}{{end}}
{{define "content"}}
<div class="blockBody">
<!-- marquees are the true purpose of HTML -->
<marquee><h2>NOTICE: KEEP SEEDING AND ENABLE DHT YOU RETARD</h2></marquee>
<marquee><h2>{{T "notice_keep_seeding"}}</h2></marquee>
<h1>Official Nyaapocalypse FAQ</h1>
<h1>{{T "official_nyaapocalipse_faq"}}</h1>
<br />
<h2>Links for the replacement/mirror</h2>
<h2>{{T "links_replacement_mirror"}}</h2>
<a href="https://nyaa.pantsu.cat">Nyaa - nyaa.pantsu.cat</a><br />
<a href="https://sukebei.pantsu.cat">Sukebei - sukebei.pantsu.cat</a>
<h2>What happened?</h2>
<h2>{{T "what_happened"}}</h2>
<ul>
<li>nyaa.se and associated domains (such as nyaatorrents.info) went offline on May 01, 2017.</li>
<li>They were deactivated, so it's not a DDoS attack like usual.</li>
<li>Future prospects for nyaa are not looking good. (It's dead)</li>
<li>There is a recovery effort taking place.</li>
<li>{{T "nyaa_se_went_offline"}}</li>
<li>{{T "its_not_a_ddos"}}</li>
<li>{{T "future_not_looking_good"}}</li>
<li>{{T "recovery_effort"}}</li>
</ul>
<h2>Is everything lost?</h2>
<p>In short, No.</p>
<h2>{{T "is_everything_lost"}}</h2>
<p>{{T "in_short_no"}}</p>
<h2>Are some things lost?</h2>
<p>We have a database of the torrents on nyaa up to <s>April 5</s> May 1. That means almost nothing is lost.</p>
<p>Sukebei, however might be in worse shape. Currently we only have sukebei databases up to 2016,
but a newer database might be available for use.</p>
<h2>{{T "are_some_things_lost"}}</h2>
<p>{{T "answer_is_nyaa_db_lost"}}</p>
<p>{{T "answer_is_sukebei_db_lost"}}</p>
<h2>How are we recovering?</h2>
<p>The aforementioned databases are being hosted at nyaa.pantsu.cat and sukebei.pantsu.cat.
There is a search function, and (almost) full nyaa functionality should be coming soon.
Seeder/leecher statistics are possible via scraping and might be restored sometime in the future,
since other feature take priority right now.</p>
<h2>{{T "how_are_we_recovering"}}</h2>
<p>{{T "answer_how_are_we_recovering"}}</p>
<h2>Are the torrents still working?</h2>
<p>Even if the trackers are down, seeders are still connected to the decentralized DHT network.
As long as the file is listed on the DHT network, business should carry on as usual.</p>
<h2>{{T "are_the_trackers_working"}}</h2>
<p>{{T "answer_are_the_trackers_working"}}</p>
<h2>How do I download the torrents?</h2>
<p>Just use the <b>magnet link</b>. The magnet link will be used by your BitTorrent client to look up the file on the
DHT network and it should download just fine.</p>
<p>The magnet link should look like this: <span style="font-family:monospace">
<h2>{{T "how_do_i_download_the_torrents"}}</h2>
<p>{{T "answer_how_do_i_download_the_torrents"}}</p>
<p>{{T "magnet_link_should_look_like"}} <span style="font-family:monospace">
magnet:?xt=urn:btih:[hash]&amp;dn=[name]&amp;tr=[tracker]&amp;tr=[...]</span></p>
<h2 id="trackers">Which trackers do you recommend using?</h2>
<p>If your torrent upload is denied because of trackers you'll need to add some of these:</p>
<h2 id="trackers">{{T "which_trackers_do_you_recommend"}}</h2>
<p>{{T "answer_which_trackers_do_you_recommend"}}</p>
<pre>udp://tracker.coppersurfer.tk:6969
udp://zer0day.to:1337/announce
udp://tracker.leechers-paradise.org:6969
@ -55,21 +49,20 @@ udp://eddie4.nl:6969/announce
http://mgtracker.org:6969/announce
http://tracker.baka-sub.cf/announce</pre>
<h2>How can I help?</h2>
<p>If you have website development expertise, you can join the #nyaapantsu IRC channel on irc.rizon.net.
If you have any current databases, especially for sukebei, <b>UPLOAD THEM</b>.</p>
<h2>{{T "how_can_i_help"}}</h2>
<p>{{T "answer_how_can_i_help"}}</p>
<h2>Your design sucks / I found a bug</h2>
<h2>{{T "your_design_sucks_found_a_bug"}}</h2>
<p><a href="https://github.com/ewhal/nyaa/issues">https://github.com/ewhal/nyaa/issues</a>.</p>
<h2>Why is your shit written in Go?</h2>
<p>It's the author's favorite programming language.</p>
<h2>{{T "why_written_in_go"}}</h2>
<p>{{T "authors_favorite_language"}}</p>
<br />
<img style="max-width: 100%" src="https://my.mixtape.moe/omrskw.png" alt="funny meme">
<br />
<h2>nyaa.pantsu.cat and sukebei.pantsu.cat do not host any files.</h2>
<h2>{{T "nyaa_pantsu_dont_host_files"}}</h2>
</div>
{{end}}

Voir le fichier

@ -6,15 +6,15 @@
<a href="{{ genRoute "user_profile" "id" (print .Id) "username" .Username }}" class="dropdown-toggle profile-image" data-toggle="dropdown">
<img src="{{ getAvatar .Md5 50 }}" class="img-circle special-img"> {{ .Username }} <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="{{ genRoute "user_profile" "id" (print .Id) "username" .Username }}"><i class="fa fa-cog"></i> Profile</a></li>
<li><a href="{{ genRoute "user_profile" "id" (print .Id) "username" .Username }}"><i class="fa fa-cog"></i> {{T "profile"}}</a></li>
<li class="divider"></li>
<li><a href="#soon"><i class="fa fa-sign-out"></i> Sign-out</a></li>
<li><a href="#soon"><i class="fa fa-sign-out"></i> {{T "sign_out"}}</a></li>
</ul>
{{ else }}
<a href="#" class="dropdown-toggle profile-image" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Member<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{ genRoute "user_login" }}"><i class="fa fa-sign-out"></i> Sign in</a></li>
<li><a href="{{ genRoute "user_register" }}"><i class="fa fa-cog"></i> Sign Up</a></li>
<li><a href="{{ genRoute "user_login" }}"><i class="fa fa-sign-out"></i> {{T "sign_in"}}</a></li>
<li><a href="{{ genRoute "user_register" }}"><i class="fa fa-cog"></i> {{T "sign_up"}}</a></li>
</ul>
{{end}}
</li>

Voir le fichier

@ -53,7 +53,7 @@
</nav>
</div>
{{else}}
<h2 style="text-align: center;">No Results found</h2>
<h2 style="text-align: center;">{{T "no_results_found"}}</h2>
{{end}}
</div>
{{end}}