Skip to content

Commit 7f44229

Browse files
author
DevelopLab
committed
1. Add advanced settings footer text
1 parent e6374ca commit 7f44229

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

EnableQUIC/MainViewController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ class MainViewController: UIViewController, UITableViewDelegate, UITableViewData
123123
func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? {
124124
if section == 1 {
125125
return NSLocalizedString("Warning_message", comment: "")
126+
} else if section == 3 {
127+
return NSLocalizedString("Advanced_Settings_footer_text", comment: "")
126128
}
127129
return nil
128130
}

EnableQUIC/en.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"Works_Principle_text" = "Based on the content from 'https://www.feng.com/post/13873305'(Chinese), this app modifies the parameters in '/var/preferences/com.apple.networkd.plist'.\nHowever, I cannot guarantee the effectiveness or lack of side effects after enabling QUIC. You are advised to understand how it works yourself. We are not responsible for any impact on your device.";
3838
"Not_Supported_text" = "Oops, the configuration file was not retrieved. Your system might not support QUIC, so we cannot proceed.";
3939
"Warning_message" = "The impact of enabling QUIC on the system cannot be determined. Please understand how QUIC works on your own.";
40+
"Advanced_Settings_footer_text" = "Advanced settings may pose risks, please understand the principles before operating.";
4041
"Reload_QUIC_Config_text" = "Reload QUIC config";
4142
"ThanksForXiaoboVlog" = "Special thanks to Xiaobovlog\nProviding ideas for RootHelper";
4243
"ThanksForFengQingWanZhong" = "Special thanks to FengQingWanZhong";

EnableQUIC/zh-Hans.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"Works_Principle_text" = "参考'https://www.feng.com/post/13873305'中的内容,修改'/var/preferences/com.apple.networkd.plist'的参数完成的这个App。\n但是我无法保证开启QUIC后是否有效,是否产生副作用,建议您自行了解工作原理,如果对您的设备造成了影响,我们概不负责。";
3838
"Not_Supported_text" = "糟糕,没有获取到配置文件,或许您的系统不支持QUIC,所以我们没有办法继续操作";
3939
"Warning_message" = "无法确定开启QUIC后对系统的影响,请自行了解QUIC的工作原理。";
40+
"Advanced_Settings_footer_text" = "高级设置可能存在风险,请自行了解原理后再进行操作";
4041
"Reload_QUIC_Config_text" = "重新加载QUIC配置文件";
4142
"ThanksForXiaoboVlog" = "特别感谢肖博vlog\n提供RootHelper制作思路";
4243
"ThanksForFengQingWanZhong" = "特别感谢锋情万种";

0 commit comments

Comments
 (0)