diff --git a/appendix/waifu2x.nginx.conf b/appendix/waifu2x.nginx.conf index 742fb34..71786f0 100644 --- a/appendix/waifu2x.nginx.conf +++ b/appendix/waifu2x.nginx.conf @@ -18,6 +18,7 @@ map $http_accept_language $lang { ~zh zh-CN; ~ko ko; ~nl nl; + ~ca ca; ~en en; } diff --git a/assets/index.ca.html b/assets/index.ca.html new file mode 100644 index 0000000..7b43f9d --- /dev/null +++ b/assets/index.ca.html @@ -0,0 +1,195 @@ + + + +
+ + + + + + + + + + + +Amplia la resolució d'il·lustracions d'estil anime utilitzant xarxes neuronals convolucionals profundes. I suporta fotos.
+ + +Einzelbild Super-Auflösungs Konvertierung für Bilder im Anime Stil mithilfe eines künstlichen neuronalen Netzwerk. Zusätzlich dazu unterstützt es auch Fotos.
diff --git a/assets/index.es.html b/assets/index.es.html index 328e048..833d939 100644 --- a/assets/index.es.html +++ b/assets/index.es.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
Mejora la resolución de ilustraciones de tipo anime utilizando redes neuronales convolucionales. También es compatible con fotografías.
diff --git a/assets/index.fr.html b/assets/index.fr.html index 0f263d6..ee53dfe 100644 --- a/assets/index.fr.html +++ b/assets/index.fr.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
Outil permettant la mise à l'échelle de n'importe quelle image de style "anime", par le biais de réseaux de neurones convolutionnels. Fonctionne également sur les photos.
diff --git a/assets/index.html b/assets/index.html index 1b2865f..97c52eb 100644 --- a/assets/index.html +++ b/assets/index.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.
diff --git a/assets/index.ja.html b/assets/index.ja.html index 621d020..2a90683 100644 --- a/assets/index.ja.html +++ b/assets/index.ja.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
深層畳み込みニューラルネットワークによる二次元画像のための超解像システム。 写真にも対応。
diff --git a/assets/index.ko.html b/assets/index.ko.html index b927f50..65b75a0 100644 --- a/assets/index.ko.html +++ b/assets/index.ko.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
컨볼루젼 신경망(CNN) 시스템을 통한 딥 러닝으로 2차원 이미지의 해상도를 개선합니다. 그림 뿐만 아니라 사진에도 대응합니다.
diff --git a/assets/index.nl.html b/assets/index.nl.html index be8cbf2..ace76da 100644 --- a/assets/index.nl.html +++ b/assets/index.nl.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
Single-Image Super-Resolutie voor Anime-Style afbeeldingen met behulp van Deep Convolutional Neural Networks. Oh, en het ondersteunt foto's.
diff --git a/assets/index.pt.html b/assets/index.pt.html index 99a2f05..287d5c6 100644 --- a/assets/index.pt.html +++ b/assets/index.pt.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.
diff --git a/assets/index.ru.html b/assets/index.ru.html index 6b2a05b..f7c0729 100644 --- a/assets/index.ru.html +++ b/assets/index.ru.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
Waifu2x позволяет увеличивать в 2 раза рисованные изображения, например аниме или арт, а также устранять шум на изображении (преимущественно артефакты сжатия JPEG). Теперь также поддерживаются фотографии.
diff --git a/assets/index.tr.html b/assets/index.tr.html index 3c9cca3..9f5199f 100644 --- a/assets/index.tr.html +++ b/assets/index.tr.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
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.
diff --git a/assets/index.zh-CN.html b/assets/index.zh-CN.html index 94adb93..ac7ad21 100644 --- a/assets/index.zh-CN.html +++ b/assets/index.zh-CN.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
本程序使用卷积神经网络对动漫风格的图片进行放大操作(支持照片)。
diff --git a/assets/index.zh-TW.html b/assets/index.zh-TW.html index cf31205..7698cc0 100644 --- a/assets/index.zh-TW.html +++ b/assets/index.zh-TW.html @@ -66,6 +66,10 @@ Nederlands + / + + Català +
使用深度卷積神經網路的二次元圖片超解析系統。同時支援照片處理。
diff --git a/web.lua b/web.lua index 4358d54..a6d220b 100644 --- a/web.lua +++ b/web.lua @@ -355,6 +355,7 @@ local index_zh_cn = file.read(path.join(ROOT, "assets", "index.zh-CN.html")) local index_zh_tw = file.read(path.join(ROOT, "assets", "index.zh-TW.html")) local index_ko = file.read(path.join(ROOT, "assets", "index.ko.html")) local index_nl = file.read(path.join(ROOT, "assets", "index.nl.html")) +local index_ca = file.read(path.join(ROOT, "assets", "index.ca.html")) local index_en = file.read(path.join(ROOT, "assets", "index.html")) function FormHandler:get() local lang = self.request.headers:get("Accept-Language") @@ -385,6 +386,8 @@ function FormHandler:get() self:write(index_ko) elseif langs[1] == "nl" then self:write(index_nl) + elseif langs[1] == "ca" or langs[1] == "ca-ES" or langs[1] == "ca-FR" or langs[1] == "ca-IT" or langs[1] == "ca-AD" then + self:write(index_ca) else self:write(index_en) end diff --git a/webgen/locales/ca.yml b/webgen/locales/ca.yml new file mode 100644 index 0000000..3ae770d --- /dev/null +++ b/webgen/locales/ca.yml @@ -0,0 +1,30 @@ +--- +description: Amplia la resolució d'il·lustracions d'estil anime utilitzant xarxes neuronals convolucionals profundes. I suporta fotos. +show_demonstration: Mostra'n una demostració +go_to_github: Vés al GitHub +image_choosing: Escolliu una imatge +type_url: Escriviu una URL +choose_file: O escolliu un fitxer +file_limits: "Límits: Mida: 5MB, Reducció de soroll: 3000x3000px, Sobreescalat: 1500x1500px." +style: Estil +artwork: Il·lustració +photo: Foto +noise_reduction: Reducció de soroll +expect_jpeg: espera artefactes JPEG +nr_none: Cap +nr_low: Baixa +nr_medium: Mitjana +nr_high: Alta +nr_highest: Molt alta +nr_hint: "Utilitzeu la reducció de soroll si la imatge té soroll, si no, podeu aconseguir l'efecte contrari." +upscaling: Sobreescalat +up_none: Cap +tta: TTA +tta_best_effort: "n-pass auto" +tta_rule: "Mostra la regla de `n-pass auto`." +tta_hint: "El TTA estabilitza la qualitat però limita la mida de la imatge d'origen." +button_convert: Converteix +button_download: Descarrega +hints: + - "Si utilitzeu el Firefox, premeu la tecla Control+S per desar la imatge. L'opció \"Desa la imatge\" no funciona." + diff --git a/webgen/templates/index.html.erb b/webgen/templates/index.html.erb index 3ac8323..7cbcc32 100644 --- a/webgen/templates/index.html.erb +++ b/webgen/templates/index.html.erb @@ -66,6 +66,10 @@ Nederlands + / + + Català +
<%= t[:description] %>