Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Update Japanese translations + Small changes (#733)

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Add nav translations

* Update main.css

* Update ja-jp.all.json

* Update view.html

* Update view.html

* Update view.html

* Update main.css

* Update main.css
Cette révision appartient à :
MMP0 2017-05-25 11:18:59 +09:00 révisé par ewhal
Parent bc3f1aa577
révision 531037bdf1
4 fichiers modifiés avec 82 ajouts et 15 suppressions

Voir le fichier

@ -10,7 +10,7 @@ a { text-decoration: none; }
}
body {
font-size: 11pt;
font-size: 14px;
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
}
@ -238,7 +238,7 @@ th, .home-td {
th { border-bottom-width: 2px; }
.tr-cat { width: 90px; text-align: left; }
.tr-name { width: auto; text-align: left; }
.tr-name { width: auto; text-align: left; white-space: normal; font-weight: bold; }
.tr-links { width: 50px; }
.tr-size { width: 90px; }
.tr-se, .tr-le, .tr-dl { width: 60px; }
@ -248,8 +248,8 @@ th { border-bottom-width: 2px; }
.sort-arrows span {
font-size: 100%;
letter-spacing: -0.3rem;
opacity: 0.4;
}
.sort-arrows .sortarrowdim { opacity: 0.25; }
.sort-arrows a:hover { opacity: 0.8; }
.sort-arrows .active { opacity: 1; }
@ -486,11 +486,10 @@ td.tr-le { color: #E84C4C; }
float: right;
}
.torrent-buttons {
display: inline-block;
float: right;
margin-top: 20px;
margin-right: 10px;
font-size: large;
text-align: right;
}
.profile-panel {
@ -598,4 +597,4 @@ td.tr-le { color: #E84C4C; }
display: flex;
flex-direction: column;
font-weight: bold;
}
}

Voir le fichier

@ -53,10 +53,10 @@
<a href="{{.URL.Parse "/"}}"><img class="hide-md" src="/img/logo.png" alt="NyaaPantsu"><img class="visible-md" src="/img/logo_s.png"></img></a>
</div>
<div class="h-nav">
<a href="{{.URL.Parse "/upload"}}" class="nav-btn"><div class="upload-icon visible-md"></div><span class="hide-md">Upload</span></a>
<a href="{{.URL.Parse "/upload"}}" class="nav-btn"><div class="upload-icon visible-md"></div><span class="hide-md">{{ call $.T "upload" }}</span></a>
<a href="{{ genRouteWithQuery "feed" .URL }}" class="nav-btn"><div class="rss-icon visible-md"></div><span class="hide-md">RSS</span></a>
<a href="{{.URL.Parse "/faq"}}" class="nav-btn"><div class="faq-icon visible-md"></div><span class="hide-md">FAQ</span></a>
<a href="//sukebei.pantsu.cat" class="nav-btn"><div class="fap-icon visible-md"></div><span class="hide-md">Fap</span></a>
<a href="{{.URL.Parse "/faq"}}" class="nav-btn"><div class="faq-icon visible-md"></div><span class="hide-md">{{ call $.T "faq" }}</span></a>
<a href="//sukebei.pantsu.cat" class="nav-btn"><div class="fap-icon visible-md"></div><span class="hide-md">{{ call $.T "fap" }}</span></a>
</div>
</div>
<div class="h-right">

Voir le fichier

@ -17,15 +17,15 @@
<br>
<table>
<tr class="torrent-info-row">
<td class="torrent-info-td torrent-info-label">Category:</td><td class="torrent-info-td torrent-info-data"><a href="{{$.URL.Parse (printf "/search?c=%s_%s" .Category .SubCategory) }}">{{ if Sukebei}}{{ call $.T (CategoryName .Category .SubCategory) }}{{else}}{{ call $.T (CategoryName .Category .SubCategory) }}{{end}}</a> <br></td>
<td class="torrent-info-td torrent-info-label">Date:</td><td class="torrent-info-td date-short">{{.Date}}</td>
<td class="torrent-info-td torrent-info-label">{{ call $.T "category" }}:</td><td class="torrent-info-td torrent-info-data"><a href="{{$.URL.Parse (printf "/search?c=%s_%s" .Category .SubCategory) }}">{{ if Sukebei}}{{ call $.T (CategoryName .Category .SubCategory) }}{{else}}{{ call $.T (CategoryName .Category .SubCategory) }}{{end}}</a> <br></td>
<td class="torrent-info-td torrent-info-label">{{ call $.T "date" }}:</td><td class="torrent-info-td date-full">{{.Date}}</td>
</tr>
<tr class="torrent-info-row">
<td class="torrent-info-td torrent-info-label">{{ call $.T "uploaded_by" }}:</td><td class="torrent-view-td torrent-info-data"><a href="{{ genRoute "user_profile" "id" ( print .UploaderID ) "username" (print .UploaderName) }}">{{.UploaderName}}</a></td>
<td class="torrent-info-td torrent-info-label">{{call $.T "seeders"}}:</td><td class="torrent-info-td">{{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Seeders}}{{end}}</td>
</tr>
<tr class="torrent-info-row">
<td class="torrent-info-td torrent-info-label">Website:</td><td class="torrent-view-td torrent-info-data">{{if ne .WebsiteLink ""}}<a href="{{.WebsiteLink}}">{{.WebsiteLink}}</a>{{else}}<a href="//nyaa.pantsu.cat">nyaa.pantsu.cat{{end}}</td>
<td class="torrent-info-td torrent-info-label">{{ call $.T "website_link" }}:</td><td class="torrent-view-td torrent-info-data">{{if ne .WebsiteLink ""}}<a href="{{.WebsiteLink}}">{{.WebsiteLink}}</a>{{else}}<a href="//nyaa.pantsu.cat">nyaa.pantsu.cat{{end}}</td>
<td class="torrent-info-td torrent-info-label">{{call $.T "leechers"}}:</td><td class="torrent-info-td">{{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Leechers}}{{end}}</td>
</tr>
<tr class="torrent-info-row">
@ -38,8 +38,8 @@
</tr>
</table>
<div class="torrent-buttons">
<a href="{{.Magnet}}" class="form-input">Magnet</a>
<a href="{{.TorrentLink}}" class="form-input">Torrent</a>
<a href="{{.Magnet}}" class="form-input">{{call $.T "magnet_link"}}</a>
<a href="{{.TorrentLink}}" class="form-input">{{call $.T "torrent_file"}}</a>
{{ if gt $.User.ID 0}}
<script>
function reportPopup() {

Voir le fichier

@ -697,7 +697,7 @@
},
{
"id": "uploaded_by",
"translation": "アップロード者:"
"translation": "アップロード者"
},
{
"id": "download_btn",
@ -894,5 +894,73 @@
{
"id": "comment_empty",
"translation": "コメントなし"
},
{
"id": "no_owner_selected",
"translation": "Torrent の新しいオーナーが選択されていません。"
},
{
"id": "no_category_selected",
"translation": "カテゴリーが選択されていません。"
},
{
"id": "no_user_found_id",
"translation": "ID %d のユーザーはデータベースに存在しません。"
},
{
"id": "invalid_torrent_category",
"translation": "Torrent カテゴリーは存在しません。"
},
{
"id": "torrent_owner_changed",
"translation": "Torrent \"%s\" のオーナーが変更されました。"
},
{
"id": "torrent_category_changed",
"translation": "Torrent \"%s\" のカテゴリーが変更されました。"
},
{
"id": "torrent_reports_deleted",
"translation": "Torrent \"%s\" の通報が削除されました。"
},
{
"id": "edit",
"translation": "編集"
},
{
"id": "delete_definitely_torrent_warning",
"translation": "削除するとファイルを元に戻すことはできなくなります。また、他の誰かがファイルを再アップロードする恐れもあります。"
},
{
"id": "delete_definitely",
"translation": "確実に削除"
},
{
"id": "torrent_unblock",
"translation": "ロック解除"
},
{
"id": "torrent_block",
"translation": "ロック"
},
{
"id": "torrent_deleted_definitely",
"translation": "Torrent がデータベースから削除されました。"
},
{
"id": "torrent_unblocked",
"translation": "Torrent のロックが解除されました。"
},
{
"id": "torrent_blocked",
"translation": "Torrent がロックされました。"
},
{
"id": "torrent_nav_notdeleted",
"translation": "Torrent は削除されません"
},
{
"id": "torrent_nav_deleted",
"translation": "Torrent は削除されました"
}
]