2024-08-23 18:58:09 +08:00
|
|
|
|
<div style="text-align:center;">
|
|
|
|
|
|
2024-02-19 14:17:43 +08:00
|
|
|
|
# DayZ Mod Translator
|
|
|
|
|
|
2024-11-15 01:55:34 +08:00
|
|
|
|
![JDK](https://img.shields.io/badge/JDK-21-%2300599C)
|
|
|
|
|
[![JavaFX](https://img.shields.io/badge/JavaFX-21.0.4-%2300599C)](https://openjfx.io/)
|
|
|
|
|
![platform](https://img.shields.io/badge/platform-Windows-blueviolet)
|
2024-08-23 18:58:09 +08:00
|
|
|
|
<br>
|
2024-11-15 01:55:34 +08:00
|
|
|
|
[![license](https://img.shields.io/github/license/octopusYan/dayz-mod-translator)](https://github.com/octopusYan/dayz-mod-translator)
|
|
|
|
|
![commit](https://img.shields.io/github/commit-activity/m/octopusYan/dayz-mod-translator?color=%23ff69b4)
|
2024-08-23 18:58:09 +08:00
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
2024-11-15 01:55:34 +08:00
|
|
|
|
使用JavaFx编写的DayZ/ArmA游戏模组汉化工具
|
2024-02-19 14:17:43 +08:00
|
|
|
|
|
2024-08-23 18:58:09 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
### 使用
|
|
|
|
|
|
|
|
|
|
- 设置 -> 翻译,选择翻译接口,填写配置信息,点击确定
|
2024-11-15 01:55:34 +08:00
|
|
|
|
- 点击打开文件按钮选择需要翻译的模组pbo文件
|
|
|
|
|
- 等待待可翻译文本获取完成,点击右侧翻译按钮
|
2024-08-23 18:58:09 +08:00
|
|
|
|
- 翻译完成后,点击打包按钮,选择保存位置
|
|
|
|
|
|
2024-11-15 01:55:34 +08:00
|
|
|
|
<details open>
|
|
|
|
|
<summary>截图</summary>
|
2024-08-23 18:58:09 +08:00
|
|
|
|
|
2024-11-15 01:55:34 +08:00
|
|
|
|
![start](doc/img/screenshot01.png 'start')
|
|
|
|
|
![open file](doc/img/screenshot02.png 'open file')
|
|
|
|
|
![edit](doc/img/screenshot03.png 'edit')
|
2024-02-20 20:56:29 +08:00
|
|
|
|
|
2024-08-23 18:58:09 +08:00
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
### 本地构建
|
|
|
|
|
|
|
|
|
|
#### 环境说明
|
|
|
|
|
|
2024-11-15 01:55:34 +08:00
|
|
|
|
| 名称 | 描述 |
|
|
|
|
|
|------|---------------------------------------------------------|
|
|
|
|
|
| 系统环境 | windows 10/11 |
|
|
|
|
|
| JDK | 21 |
|
|
|
|
|
| 构建工具 | Maven |
|
|
|
|
|
| 打包工具 | [JavaPackager](https://github.com/fvarrui/JavaPackager) |
|
|
|
|
|
|
|
|
|
|
#### 本地运行
|
|
|
|
|
|
|
|
|
|
1. 克隆代码
|
|
|
|
|
```bash
|
|
|
|
|
git clone https://github.com/octopusYan/dayz-mod-translator
|
|
|
|
|
```
|
|
|
|
|
2. 运行
|
2024-08-23 18:58:09 +08:00
|
|
|
|
```bash
|
2024-11-15 22:33:17 +08:00
|
|
|
|
mvn clean javafx:run -Pdev
|
2024-11-15 01:55:34 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### 打包
|
|
|
|
|
|
|
|
|
|
1. 克隆代码
|
|
|
|
|
```bash
|
|
|
|
|
git clone https://github.com/octopusYan/dayz-mod-translator
|
|
|
|
|
```
|
|
|
|
|
2. 运行
|
|
|
|
|
```bash
|
2024-11-15 22:33:17 +08:00
|
|
|
|
mvn clean package -Pbuild
|
2024-08-23 18:58:09 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 可能会用到
|
|
|
|
|
|
|
|
|
|
吾爱论坛 / 谷歌翻译修复:[谷歌浏览器右键翻译失效了咋办,一键修复,才13KB](https://www.52pojie.cn/thread-1781877-1-1.html)
|
|
|
|
|
|
2024-11-15 01:55:34 +08:00
|
|
|
|
### 依赖/引用的项目
|
|
|
|
|
|
|
|
|
|
<figure>
|
2024-08-23 18:58:09 +08:00
|
|
|
|
|
2024-11-15 01:55:34 +08:00
|
|
|
|
| | |
|
|
|
|
|
|-----------------------------------------------------------------------------|--------------------------|
|
|
|
|
|
| [PBO Manager](https://github.com/winseros/pboman3) | 打开、打包和解包 ArmA PBO 文件的工具。 |
|
|
|
|
|
| [JavaFX](https://openjfx.io/) | Java 桌面开发 |
|
|
|
|
|
| [AtlantaFX](https://mkpaz.github.io/atlantafx/) | JavaFX CSS 主题集合 |
|
|
|
|
|
| [JavaPackager](https://github.com/fvarrui/JavaPackager) | 打包插件 |
|
|
|
|
|
| [Apache Commons](https://commons.apache.org/proper/commons-exec/index.html) | 工具包 |
|
|
|
|
|
| [SLF4J](https://slf4j.org/) | 日志工具 |
|
2024-02-20 20:56:29 +08:00
|
|
|
|
|
2024-11-15 01:55:34 +08:00
|
|
|
|
</figure>
|