Skip to content

Commit 10ef9fe

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents 71ae008 + 582af9a commit 10ef9fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1776
-544
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
> **如打算公开分享本工具的机翻结果,且没有有经验的译者进行过完整的翻译或校对,请在显眼位置注明机翻。**
33
44
# BallonTranslator
5-
简体中文 | [English](/README_EN.md) | [pt-BR](doc/README_PT-BR.md) | [Русский](doc/README_RU.md) | [日本語](doc/README_JA.md) | [Indonesia](doc/README_ID.md) | [Tiếng Việt](doc/README_VI.md)
5+
简体中文 | [English](/README_EN.md) | [pt-BR](doc/README_PT-BR.md) | [Русский](doc/README_RU.md) | [日本語](doc/README_JA.md) | [Indonesia](doc/README_ID.md) | [Tiếng Việt](doc/README_VI.md) | [한국어](doc/README_KO.md)
66

77
深度学习辅助漫画翻译工具,支持一键机翻和简单的图像/文本编辑
88

@@ -24,7 +24,7 @@
2424

2525
* 文本编辑
2626
- 支持所见即所得地富文本编辑和一些基础排版格式调整、[字体样式预设](https://github.com/dmMaze/BallonsTranslator/pull/311)
27-
- 支持全文/源文/译文查找替换
27+
- 支持全文/原文/译文查找替换
2828
- 支持导入导出 word 文档
2929

3030
* 适用于条漫
@@ -35,6 +35,7 @@
3535
如果用 Windows 而且不想自己手动配置环境,而且能正常访问互联网:
3636
[MEGA](https://mega.nz/folder/gmhmACoD#dkVlZ2nphOkU5-2ACb5dKw)[Google Drive](https://drive.google.com/drive/folders/1uElIYRLNakJj-YS0Kd3r3HE-wzeEvrWd?usp=sharing) 下载 BallonsTranslator_dev_src_with_gitpython.7z,解压并运行 launch_win.bat 启动程序。如果无法自动下载库和模型,手动下载 data 和 ballontrans_pylibs_win.7z 并解压到程序目录下。
3737
运行 scripts/local_gitpull.bat 获取更新。
38+
注意这些打包版无法在 Windows 7 上运行,win 7 用户需要自行安装 [Python 3.8](https://www.python.org/downloads/release/python-3810/) 运行源码。
3839

3940
## 运行源码
4041

@@ -170,7 +171,7 @@ Sugoi 翻译器作者: [mingshiba](https://www.patreon.com/mingshiba)
170171

171172
### 文本检测
172173
* 暂时仅支持日文(方块字都差不多)和英文检测,训练代码和说明见https://github.com/dmMaze/comic-text-detector
173-
* 支持使用 [星河云(团子漫画OCR)](https://cloud.stariver.org.cn/)的字体检测,需要填写用户名和密码,每次启动时会自动登录。
174+
* 支持使用 [星河云(团子漫画OCR)](https://cloud.stariver.org.cn/)的文本检测,需要填写用户名和密码,每次启动时会自动登录。
174175
* 详细说明见 [团子OCR说明](doc/团子OCR说明.md)
175176

176177

README_EN.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
> **If you're sharing the translated result publicly and no experienced human translator participated in a throughout translating or proofreading, please mark it as machine translation somewhere clear to see.**
33
44
# BallonTranslator
5-
[简体中文](/README.md) | English | [pt-BR](doc/README_PT-BR.md) | [Русский](doc/README_RU.md) | [日本語](doc/README_JA.md) | [Indonesia](doc/README_ID.md) | [Tiếng Việt](doc/README_VI.md)
5+
[简体中文](/README.md) | English | [pt-BR](doc/README_PT-BR.md) | [Русский](doc/README_RU.md) | [日本語](doc/README_JA.md) | [Indonesia](doc/README_ID.md) | [Tiếng Việt](doc/README_VI.md) | [한국어](doc/README_KO.md)
66

77
Yet another computer-aided comic/manga translation tool powered by deep learning.
88

@@ -34,6 +34,7 @@ preview
3434
If you don't want to install Python and Git by yourself and have access to the Internet:
3535
Download BallonsTranslator_dev_src_with_gitpython.7z from [MEGA](https://mega.nz/folder/gmhmACoD#dkVlZ2nphOkU5-2ACb5dKw) or [Google Drive](https://drive.google.com/drive/folders/1uElIYRLNakJj-YS0Kd3r3HE-wzeEvrWd?usp=sharing), unzip it and run launch_win.bat.
3636
Run scripts/local_gitpull.bat to get the latest update.
37+
Note these provided packages cannot run on Windows 7, Win 7 users need to install [Python 3.8](https://www.python.org/downloads/release/python-3810/) and run the source code.
3738

3839
## Run the source code
3940

@@ -216,6 +217,7 @@ This project is heavily dependent upon [manga-image-translator](https://github.c
216217
* The current implementation uses OCR on each textblock individually, resulting in slower speed and no significant improvement in accuracy. It is not recommended. If needed, please use the Tuanzi Detector instead.
217218
* When using the Tuanzi Detector for text detection, it is recommended to set OCR to none_ocr to directly read the text, saving time and reducing the number of requests.
218219
* For detailed instructions, see **Tuanzi OCR Instructions**: ([Chinese](doc/团子OCR说明.md) & [Brazilian Portuguese](doc/Manual_TuanziOCR_pt-BR.md) only)
220+
* Added as an "optional" PaddleOCR module. In Debug mode you will see a message stating that it is not there. You can simply install it by following the instructions described there. If you don’t want to install the package yourself, just uncomment (remove the `#`) the lines with paddlepaddle(gpu) and paddleocr. Bet everything at your own peril andrisk. For me (bropines) and two testers, everything was installed fine, you may have an error. Write about it in issue and tag me.
219221

220222
## Inpainting
221223
* AOT is from [manga-image-translator](https://github.com/zyddnys/manga-image-translator).

config/stylesheet.css

+18-1
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,14 @@ QMenu::item:selected {
322322
}
323323

324324
QDialog {
325-
font-size: 7px;
325+
font-size: 14px;
326326
background-color: @widgetBackgroundColor;
327327
}
328328

329+
QDialog QPushButton {
330+
padding: 5px 15px;
331+
}
332+
329333
QGroupBox {
330334
background-color: @emptyContentBackgroundColor;
331335
}
@@ -1002,6 +1006,19 @@ TextStyleLabel {
10021006
border-radius: 7px;
10031007
}
10041008

1009+
SmallParamLabel {
1010+
font-size: 12px;
1011+
height: 20px;
1012+
}
1013+
1014+
SmallComboBox {
1015+
height: 20px;
1016+
font-size: 12px;
1017+
/* padding-left: 8px; */
1018+
border: 1px solid @borderColor;
1019+
background-color: @transtexteditBackgroundColor;
1020+
}
1021+
10051022
ArrowLeftButton {
10061023
image: url(icons/arrow-left.svg);
10071024
border: none;

doc/README_ID.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# BallonTranslator
2-
[简体中文](/README.md) | [English](/README_EN.md) | [pt-BR](../doc/README_PT-BR.md) | [Русский](../doc/README_RU.md) | [日本語](../doc/README_JA.md) | Indonesia | [Tiếng Việt](../doc/README_VI.md)
2+
[简体中文](/README.md) | [English](/README_EN.md) | [pt-BR](../doc/README_PT-BR.md) | [Русский](../doc/README_RU.md) | [日本語](../doc/README_JA.md) | Indonesia | [Tiếng Việt](../doc/README_VI.md) | [한국어](../doc/README_KO.md)
33

44
Sebuah aplikasi penerjemahan komik/manga yang dibantu oleh deep learning.
55

doc/README_JA.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# BallonTranslator
2-
[简体中文](/README.md) | [English](/README_EN.md) | [pt-BR](../doc/README_PT-BR.md) | [Русский](../doc/README_RU.md) | 日本語 | [Indonesia](../doc/README_ID.md) | [Tiếng Việt](../doc/README_VI.md)
2+
[简体中文](/README.md) | [English](/README_EN.md) | [pt-BR](../doc/README_PT-BR.md) | [Русский](../doc/README_RU.md) | 日本語 | [Indonesia](../doc/README_ID.md) | [Tiếng Việt](../doc/README_VI.md) | [한국어](../doc/README_KO.md)
33

44
ディープラーニングを活用したマンガ翻訳支援ツール。
55

0 commit comments

Comments
 (0)