diff --git a/service/user/locale/en-us.all.json b/service/user/locale/en-us.all.json index 1998a873..647d8868 100644 --- a/service/user/locale/en-us.all.json +++ b/service/user/locale/en-us.all.json @@ -122,5 +122,57 @@ { "id":"see_more_torrents_from", "translation": "See more torrents from %s " + }, + { + "id":"category", + "translation": "Category" + }, + { + "id": "name", + "translation": "Name" + }, + { + "id": "date", + "translation": "Date" + }, + { + "id": "size", + "translation": "Size" + }, + { + "id": "links", + "translation": "Links" + }, + { + "id": "home", + "translation": "Home" + }, + { + "id": "error_404", + "translation": "Error 404" + }, + { + "id": "toggle_navigation", + "translation": "Toggle navigation" + }, + { + "id": "upload", + "translation": "Upload" + }, + { + "id": "faq", + "translation": "FAQ" + }, + { + "id": "fap", + "translation": "Fap" + }, + { + "id": "advanced_search", + "translation": "Advanced Search" + }, + { + "id": "nothing_here", + "translation": "Nothing Here." } ] diff --git a/templates/home.html b/templates/home.html index c39ec9e6..8a37d437 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,4 +1,4 @@ -{{define "title"}}Home{{end}} +{{define "title"}}{{T "home"}}{{end}} {{define "contclass"}}cont-home{{end}} {{define "content"}}
@@ -11,11 +11,11 @@
- - - - - + + + + + {{ range .ListTorrents}} - Nyaa Pantsu - {{block "title" .}}Error 404{{end}} + Nyaa Pantsu - {{block "title" .}}{{ T "error_404" }}{{end}} @@ -33,7 +33,7 @@
CategoryNameDateSizeLinks{{T "category"}}{{T "name"}}{{T "date"}}{{T "size"}}{{T "links"}}