1
0
Fork 0
mirror of synced 2024-05-18 03:42:23 +12:00

Add Simplified Chinese Translation

This commit is contained in:
nagadomi 2016-04-16 23:55:38 +09:00
parent 439bf19b63
commit b9a50f9422
12 changed files with 213 additions and 0 deletions

View file

@ -13,6 +13,8 @@ map $http_accept_language $lang {
~fr fr;
~de de;
~tr tr;
~zh-CN zh-CN;
~zh zh-CN;
~en en;
}

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>Einzelbild Super-Auflösungs Konvertierung für Bilder im Anime Stil mithilfe eines faltenden neuralen Netzwerks. Zusätzlich dazu unterstützt es auch Fotos.</p>
<p class="margin1 link-box">

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>Mejora la resolución de ilustraciones de tipo anime utilizando redes neuronales convolucionales. También es compatible con fotografías.</p>
<p class="margin1 link-box">

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>Outil d'agrandissement de dessins de style anime, employant des réseaux de neurones convolutionnels. Fonctionne aussi sur des photos.</p>
<p class="margin1 link-box">

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.</p>
<p class="margin1 link-box">

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>深層畳み込みニューラルネットワークによる二次元画像のための超解像システム。 写真にも対応。</p>
<p class="margin1 link-box">

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.</p>
<p class="margin1 link-box">

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>Waifu2x позволяет увеличивать в 4 раза рисованные изображения, например аниме или арт, а также устранять шум на изображении (преимущественно артефакты сжатия JPEG). Теперь также поддерживаются фотографии.</p>
<p class="margin1 link-box">

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>Derin Sarmalı Sinirsel Ağ ile çalışan anime stili çalışmalar için süper çözünürlük yükselticidir. Normal fotoğrafları da destekler.</p>
<p class="margin1 link-box">

172
assets/index.zh-CN.html Normal file
View file

@ -0,0 +1,172 @@
<!DOCTYPE html>
<html lang="zh-CN">
<!-- This file was automatically generated by webgen/gen.rb. Do not make changes to this file manually. -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<link rel="shortcut icon" href="favicon.ico"/>
<meta name="viewport" content="initial-scale=1.0,width=device-width">
<link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
<link href="mobile.css" rel="stylesheet" type="text/css" media="screen and (max-width: 768px) and (min-width: 0px)">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js"></script>
<script type="text/javascript" src="ui.js"></script>
<title>waifu2x</title>
</head>
<body>
<div class="all-page">
<h1 class="main-title">waifu2x</h1>
<div class="choose-lang">
<a href="index.html">
English
</a>
/
<a href="index.ja.html">
日本語
</a>
/
<a href="index.ru.html">
Русский
</a>
/
<a href="index.pt.html">
Português
</a>
/
<a href="index.es.html">
Español
</a>
/
<a href="index.fr.html">
Français
</a>
/
<a href="index.de.html">
Deutsch
</a>
/
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p>本程序使用卷积神经网络对动漫风格的图片进行放大操作(支持照片)。</p>
<p class="margin1 link-box">
<a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" class="blue-link" target="_blank">
完整演示
</a>
|
<a href="https://github.com/nagadomi/waifu2x" class="blue-link" target="_blank">
转至GitHub
</a>
</p>
<form action="/api" method="POST" enctype="multipart/form-data" target="_blank">
<div class="option-box first">
<div class="option-left">选择图像:</div>
<div class="option-right">
<input type="text" id="url" name="url" placeholder="输入图像链接">
<div class="option-right-small">
或者从本地上传:
<input type="file" id="file" name="file"></div>
</div>
<div class="option-hint">
文件大小不得超过3MB可降噪图像的最大尺寸2560x2560px可放大图像的最大尺寸1280x1280px。
</div>
</div>
<div class="option-box">
<div class="option-left">
风格:
</div>
<div class="option-right">
<label><input type="radio" name="style" class="radio" value="art" checked>
<span class="r-text">
插图
</span>
</label>
<label><input type="radio" name="style" class="radio" value="photo">
<span class="r-text">
照片
</span>
</label>
</div>
</div>
<div class="option-box">
<div class="option-left">
降噪程度:
<div class="option-left-small">
(可能会产生JPEG噪点)
</div>
</div>
<div class="option-right">
<label><input type="radio" name="noise" class="radio" value="0">
<span class="r-text">
不降噪
</span>
</label>
<label><input type="radio" name="noise" class="radio" value="1" checked>
<span class="r-text">
</span>
</label>
<label>
<input type="radio" name="noise" class="radio" value="2">
<span class="r-text">
</span>
</label>
<label>
<input type="radio" name="noise" class="radio" value="3">
<span class="r-text">
最高
</span>
</label>
</div>
<div class="option-hint">
请仅在图像本身含有噪点的情况下使用降噪,否则可能产生反效果。
</div>
</div>
<div class="option-box">
<div class="option-left">
放大倍数:
<div class="option-left-small"></div>
</div>
<div class="option-right">
<label><input type="radio" name="scale" class="radio" value="0" checked>
<span class="r-text">
不放大
</span>
</label>
<label><input type="radio" name="scale" class="radio" value="1">
<span class="r-text">
1.6x
</span>
</label>
<label><input type="radio" name="scale" class="radio" value="2">
<span class="r-text">
2x
</span>
</label>
</div>
</div>
<input type="submit" class="button" value="转换">
<input type="submit" name="download" value="下载" class="button">
<div class="bottom-hint">
<ul>
<li>Firefox无法用右键菜单中的“保存图像”请按Ctrl+S保存。</li>
</ul>
</div>
</form>
</div>
<div class="bottom-info address">
<a href="https://github.com/nagadomi/waifu2x" class="gray-link" target="_blank">waifu2x</a>
</div>
</body>
</html>

View file

@ -305,6 +305,7 @@ local index_es = file.read(path.join(ROOT, "assets", "index.es.html"))
local index_fr = file.read(path.join(ROOT, "assets", "index.fr.html"))
local index_de = file.read(path.join(ROOT, "assets", "index.de.html"))
local index_tr = file.read(path.join(ROOT, "assets", "index.tr.html"))
local index_zh_cn = file.read(path.join(ROOT, "assets", "index.zh-CN.html"))
local index_en = file.read(path.join(ROOT, "assets", "index.html"))
function FormHandler:get()
local lang = self.request.headers:get("Accept-Language")
@ -327,6 +328,8 @@ function FormHandler:get()
self:write(index_de)
elseif langs[1] == "tr" then
self:write(index_tr)
elseif langs[1] == "zh-CN" or langs[1] == "zh" then
self:write(index_zh_cn)
else
self:write(index_en)
end

View file

@ -49,6 +49,10 @@
<a href="index.tr.html">
Türkçe
</a>
/
<a href="index.zh-CN.html">
简体中文
</a>
</div>
<p><%= t[:description] %></p>
<p class="margin1 link-box">