Skip to content

Commit

Permalink
big surprise
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodCoder666 committed Jun 27, 2024
1 parent 3235cf5 commit 592e281
Show file tree
Hide file tree
Showing 18 changed files with 1,809 additions and 581 deletions.
50 changes: 50 additions & 0 deletions MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,58 @@
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="optionsMenu">
<property name="title">
<string>选项</string>
</property>
<addaction name="actSettings"/>
<addaction name="separator"/>
<addaction name="actResetSettings"/>
</widget>
<widget class="QMenu" name="helpMenu">
<property name="title">
<string>帮助</string>
</property>
<addaction name="actProjectHomepage"/>
<addaction name="actCheckUpdates"/>
<addaction name="separator"/>
<addaction name="actAbout"/>
</widget>
<addaction name="optionsMenu"/>
<addaction name="helpMenu"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="actSettings">
<property name="text">
<string>设置…</string>
</property>
<property name="shortcut">
<string>Ctrl+,</string>
</property>
</action>
<action name="actResetSettings">
<property name="text">
<string>重置设置</string>
</property>
</action>
<action name="actProjectHomepage">
<property name="text">
<string>项目主页</string>
</property>
</action>
<action name="actCheckUpdates">
<property name="text">
<string>检查更新</string>
</property>
</action>
<action name="actAbout">
<property name="text">
<string>关于…</string>
</property>
<property name="shortcut">
<string>Ctrl+H</string>
</property>
</action>
</widget>
<resources>
<include location="res.qrc"/>
Expand Down
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,22 +94,13 @@ python main.py

## 关于在线同步功能

本项目作者提供的 IP 库在打开软件时会自动导入。程序还提供了在线导入其他 IP 库的功能,地址如下:

- 精简 IPv4:
- 官方:https://unpkg.com/@hcfy/google-translate-ip/ips.txt
- 备用1(ghproxy 镜像):https://mirror.ghproxy.com/https://raw.githubusercontent.com/hcfyapp/google-translate-cn-ip/master/packages/google-translate-ip/ips.txt
- 备用2(jsDelivr CDN):https://cdn.jsdelivr.net/npm/@hcfy/google-translate-ip/ips.txt
- 扩展 IPv4:
- 官方1:https://raw.githubusercontent.com/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/ip.txt
- 官方2:https://mirror.ghproxy.com/https://raw.githubusercontent.com/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/ip.txt
- 标准 IPv6:
- 官方1:https://raw.githubusercontent.com/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/IPv6.txt
- 官方2:https://mirror.ghproxy.com/https://raw.githubusercontent.com/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/IPv6.txt

程序会自动选择可用的地址并导入 IP 库(设置备用网址是因为 raw.githubusercontent.com 访问不稳定)。导入一般需要 5-10 秒,请耐心等待。

感谢 @hcfyapp@Ponderfly 提供的 IP 库。
[官方 IPv4 地址库](https://github.com/GoodCoder666/gtdb) 内置在程序中,不定期随功能更新。您可以通过 `导入->在线服务` 同步最新的 IP 库。同时提供 GoogleTranslateIpCheck 中的两个 IP 库供选择(感谢 @Ponderfly)。三个库的网址如下:

- 官方 IPv4:https://raw.githubusercontent.com/GoodCoder666/gtdb/main/src/ip.txt
- 扩展 IPv4:https://raw.githubusercontent.com/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/ip.txt
- 扩展 IPv6:https://raw.githubusercontent.com/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/IPv6.txt

同时,若 GitHub Raw 无法连接,程序将尝试使用 [ghproxy](https://mirror.ghproxy.com/) 镜像,请耐心等待。

## 版权说明

Expand Down
Loading

0 comments on commit 592e281

Please sign in to comment.