Skip to content

Commit

Permalink
预备发布 1.0.0 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
cngege committed Dec 5, 2024
1 parent 4c98867 commit 871dffe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ReleaseBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
2. 如果运行提示出错,可重试或下载[此JSON文件](https://github.com/cngege/GitHubDesktop2Chinese/blob/master/json/localization.json)后放在同目录后运行二进制程序

## 更新内容:
- 无功能更新
- **使用GitHub 仓库作为json文件源的请升级加载器到最新版本**
- 如果汉化后主程序无法打开,请更新加载器后执行参数 `GitHubDesktop2Chinese.exe dev --translationfrombak`


## 修复BUG:
<!-- - 无修复的BUG -->
Expand Down
8 changes: 5 additions & 3 deletions json/localization.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version":1,
"minversion": "0.0.0",
"minversion": "1.0.0",
"main": [
["&File","文件(&F)"],
["New &repository…","新建存储库(&R)"],
Expand Down Expand Up @@ -69,12 +69,14 @@
["\"View &pull request on GitHub\":\"Create &pull request\"","\"在GitHub上查看拉取请求(&P)\":\"创建拉取请求(&P)\""],
["\"Expand active resizable\"","\"展开可调大小的活动项\""],
["\"Contract active resizable\"","\"折叠可调大小的活动项\""],
["id:\"about\"\\}\\]","id:\"about\"},{label:\"关于汉化插件(&Z)\",click(){#{1}.shell.openExternal(\"https://github.com/cngege/GitHubDesktop2Chinese\").catch((e=>log.error(\"打开汉化GitHub页面失败\",e)))}}]","click\\(\\)\\{([a-zA-z\\$_]{1,3})\\.shell\\.openExternal"],
["id:\"about\"\\}\\]","id:\"about\"},{label:\"关于汉化插件(&Z)\",click(){n.shell.openExternal(\"https://github.com/cngege/GitHubDesktop2Chinese\").catch((e=>log.error(\"打开汉化GitHub页面失败\",e)))}}]","click\\(\\)\\{([a-zA-z\\$_]{1,3})\\.shell\\.openExternal"],
["\\)(.).append\\((.)\\);else",
"){$2.label=$2.label.replace(/Undo/,'撤销').replace(/Redo/,'恢复').replace(/Cut/,'剪切').replace(/Copy/,'复制').replace(/Paste/,'粘贴').replace(/Delete/,'删除').replace(/Select All/,'全选');$1.append($2);}else"],
["\"帮助\\(&H\\)\"","\"请尽快更新GitHubDesktop2Chinese到最新版本-帮助(&H)\""],
["\"\"","\"\""]
],
"main_dev":[
["","id:\"about\"\\}\\]","id:\"about\"},{label:\"关于汉化插件(&Z)\",click(){#{1}.shell.openExternal(\"https://github.com/cngege/GitHubDesktop2Chinese\").catch((e=>log.error(\"打开汉化GitHub页面失败\",e)))}}]","click\\(\\)\\{([a-zA-z\\$_]{1,3})\\.shell\\.openExternal"],
["\"\"","\"\""],
["\"\"","\"\""],
["\"\"","\"\""],
Expand Down Expand Up @@ -686,10 +688,10 @@
["`Cherry-pick \\$\\{this.props.commitCount\\} \\$\\{(.)\\}`","`签出${this.props.commitCount}个${$1}`"],
["\"This binary file has changed.\"","\"此分支文件存在更改。\""],
["\"Open file in external program.\"","\"使用外部程序打开文件。\""],
["title:\"Expand All\"","title:\"全部展开\""],
["\"\"","\"\""]
],
"renderer_dev": [
["title:\"Expand All\"","title:\"全部展开\""],
["\"\"","\"\""],
["\"\"","\"\""],
["\"\"","\"\""],
Expand Down

0 comments on commit 871dffe

Please sign in to comment.