-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ZZHow1024/develop
MagicEncoding3.0.0
- Loading branch information
Showing
20 changed files
with
1,176 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
/.idea | ||
.DS_Store | ||
/target | ||
MagicEncoding.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# [JavaFX 项目]神奇编码_**MagicEncoding**(中文说明) | ||
|
||
[**English**](README.md) | ||
|
||
--- | ||
|
||
Website: | ||
|
||
[[JavaFX 项目]神奇编码_MagicEncoding | ZZHow](https://www.zzhow.com/MagicEncoding) | ||
|
||
Source Code: | ||
|
||
https://github.com/ZZHow1024/MagicEncoding | ||
|
||
Releases: | ||
|
||
https://github.com/ZZHow1024/MagicEncoding/releases | ||
|
||
--- | ||
|
||
## License | ||
|
||
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details. | ||
|
||
## 使用说明 | ||
|
||
- 确定您使用的操作系统。 | ||
- Linux: | ||
- 选择 .deb安装包 / .rpm安装包。 | ||
- macOS: | ||
- 确定您使用的 Mac 的芯片(Apple Silicon / Intel)。 | ||
- 选择 .dmg磁盘镜像 / .pkg安装包。 | ||
- Windows: | ||
- 选择 .zip压缩包 / .exe安装包 / .msi安装包。 | ||
- 下载对应的文件。 | ||
- Linux 和 macOS 需要执行安装操作后再运行,Windows 可直接运行 .zip 压缩包中的 .exe 可执行程序或选择 .exe 安装包与 .msi 安装包执行安装操作。 | ||
- 启动 MagicEncoding。 | ||
- 在 MagicEncoding 的主界面右下方可以选择语言。 | ||
- 当前支持中文(简体 / 繁体)与英文。 | ||
- 拖拽文件夹或文件获取路径,填入需要筛选的后缀名(多种后缀名用“&”分隔),单击“查找文件”。 | ||
- 选择原始编码与目标编码,单击“开始转换”。 | ||
|
||
--- | ||
|
||
## 功能介绍 | ||
|
||
- MagicEncoding3.0.0 | ||
- 自动识别编码。 | ||
- 单文件转换。 | ||
- 支持多语言。 | ||
- 中文(简体/繁体) | ||
- 英文 | ||
- MagicEncoding2.0.0 | ||
- 拖拽文件夹获取路径。 | ||
- 查找多种后缀名。 | ||
- 支持覆盖原文件。 | ||
- MagicEncoding1.0.0 | ||
- "GBK" 与 "UTF-8" 之间的编码转换。 | ||
- 根据路径查找文件。 | ||
- 支持根据文件后缀名筛选文件。 | ||
|
||
--- | ||
|
||
## **效果图** | ||
|
||
 | ||
|
||
MagicEncoding3.0.0_ZH | ||
|
||
 | ||
|
||
MagicEncoding2.0.0 | ||
|
||
 | ||
|
||
MagicEncoding1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/main/java/com/zzhow/magicencoding/controller/AboutController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package com.zzhow.magicencoding.controller; | ||
|
||
import com.zzhow.magicencoding.ui.Application; | ||
import javafx.fxml.FXML; | ||
import javafx.scene.control.Label; | ||
|
||
import java.util.ResourceBundle; | ||
|
||
/** | ||
* @author ZZHow | ||
* @date 2024/9/8 | ||
*/ | ||
public class AboutController { | ||
|
||
@FXML | ||
private Label Label1; | ||
@FXML | ||
private Label Label2; | ||
@FXML | ||
private Label Label3; | ||
|
||
@FXML | ||
public void initialize() { | ||
switchLanguage(); | ||
} | ||
|
||
private void switchLanguage() { | ||
ResourceBundle bundle = Application.bundle; | ||
|
||
Label1.setText(bundle.getString("MagicEncoding")); | ||
Label2.setText(bundle.getString("features")); | ||
Label3.setText(bundle.getString("features_content")); | ||
} | ||
} |
Oops, something went wrong.