Skip to content

Commit

Permalink
v2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zm committed Jul 30, 2020
1 parent 7f20d2f commit 166d8a4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
Binary file modified .DS_Store
Binary file not shown.
8 changes: 4 additions & 4 deletions HostsToolForMac/HostsToolForMac.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -445,12 +445,12 @@
CODE_SIGN_ENTITLEMENTS = HostsToolForMac/HostsToolForMac.entitlements;
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 2.6.1;
DEVELOPMENT_TEAM = 7823BJG877;
INFOPLIST_FILE = HostsToolForMac/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 2.6.0;
MARKETING_VERSION = 2.6.1;
PRODUCT_BUNDLE_IDENTIFIER = ZzzM.HostsToolForMac;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -466,12 +466,12 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 2.6.1;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = HostsToolForMac/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 2.6.0;
MARKETING_VERSION = 2.6.1;
PRODUCT_BUNDLE_IDENTIFIER = zzzm.mac.hostTool;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion HostsToolForMac/HostsToolForMac/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(MARKETING_VERSION)</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSUIElement</key>
Expand Down
2 changes: 1 addition & 1 deletion HostsToolForMac/HostsToolForMac/Utils/Helper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ extension ExecutionResult {
guard let error = errorDic,
let message = error["NSAppleScriptErrorMessage"] as? String else {
return ExecutionResult
.error("Hint.Script.Succeed".localized)
.success("Succeed.Script.Execution".localized)
}

return ExecutionResult
Expand Down
5 changes: 1 addition & 4 deletions HostsToolForMac/HostsToolForMac/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@
"Menu.Title.Settings" = "Settings";
"Menu.Title.Check" = "Check for Updates";
"Menu.Title.Help" = "Help";

"Menu.Title.Exit" = "Exit";

"Settings.Title.Hosts" = "Download Options";
"Settings.Title.View" = "View";

"Alert.Title.Cancel" = "Cancel";
"Alert.Title.Comfirm" = "Comfirm";

"Error.Hosts.Invalid" = "Hosts is Invalid!";
"Error.Hosts.Creation" = "Hosts Creation Failed:";

"Error.Script.Compile" = "Script Failed To Compile!";
"Error.Script.Execution" = "Script Execution Failed:";


"Succeed.Script.Execution" = "Succeed!";

Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,15 @@
"Menu.Title.Help" = "帮助";
"Menu.Title.Exit" = "退出";


"Settings.Title.View" = "浏览";
"Settings.Title.Hosts" = "下载配置";

"Alert.Title.Cancel" = "取消";
"Alert.Title.Comfirm" = "确认";

"Error.Hosts.Invalid" = "无效的Hosts!";
"Error.Hosts.Creation" = "Hosts创建失败!";

"Error.Script.Compile" = "脚本编译失败!";
"Error.Script.Execution" = "脚本执行失败:";



"Succeed.Script.Execution" = "更新成功!";

0 comments on commit 166d8a4

Please sign in to comment.