mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 19:46:52 +03:00
chore: improve wording and capitalization of settings UI labels and descriptions
This commit is contained in:
@@ -42,9 +42,7 @@ function createSettingsContent(section) {
|
|||||||
form.Value,
|
form.Value,
|
||||||
'bootstrap_dns_server',
|
'bootstrap_dns_server',
|
||||||
_('Bootstrap DNS server'),
|
_('Bootstrap DNS server'),
|
||||||
_(
|
_('The DNS server used to look up the IP address of an upstream DNS server'),
|
||||||
'The DNS server used to look up the IP address of an upstream DNS server',
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
Object.entries(main.BOOTSTRAP_DNS_SERVER_OPTIONS).forEach(([key, label]) => {
|
Object.entries(main.BOOTSTRAP_DNS_SERVER_OPTIONS).forEach(([key, label]) => {
|
||||||
o.value(key, _(label));
|
o.value(key, _(label));
|
||||||
@@ -122,8 +120,8 @@ function createSettingsContent(section) {
|
|||||||
o = section.option(
|
o = section.option(
|
||||||
form.Flag,
|
form.Flag,
|
||||||
'mon_restart_ifaces',
|
'mon_restart_ifaces',
|
||||||
_('Interface monitoring'),
|
_('Interface Monitoring'),
|
||||||
_('Interface monitoring for bad WAN'),
|
_('Interface monitoring for Bad WAN'),
|
||||||
);
|
);
|
||||||
o.default = '0';
|
o.default = '0';
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
@@ -170,7 +168,7 @@ function createSettingsContent(section) {
|
|||||||
o = section.option(
|
o = section.option(
|
||||||
form.Flag,
|
form.Flag,
|
||||||
'yacd',
|
'yacd',
|
||||||
_('Yacd enable'),
|
_('Enable YACD'),
|
||||||
`<a href="${main.getClashApiUrl()}/ui" target="_blank">${main.getClashApiUrl()}/ui</a>`,
|
`<a href="${main.getClashApiUrl()}/ui" target="_blank">${main.getClashApiUrl()}/ui</a>`,
|
||||||
);
|
);
|
||||||
o.default = '0';
|
o.default = '0';
|
||||||
@@ -179,8 +177,8 @@ function createSettingsContent(section) {
|
|||||||
o = section.option(
|
o = section.option(
|
||||||
form.Flag,
|
form.Flag,
|
||||||
'quic_disable',
|
'quic_disable',
|
||||||
_('QUIC disable'),
|
_('Disable QUIC'),
|
||||||
_('For issues with the video stream'),
|
_('Disable the QUIC protocol to improve compatibility or fix issues with video streaming'),
|
||||||
);
|
);
|
||||||
o.default = '0';
|
o.default = '0';
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
@@ -189,7 +187,7 @@ function createSettingsContent(section) {
|
|||||||
form.ListValue,
|
form.ListValue,
|
||||||
'update_interval',
|
'update_interval',
|
||||||
_('List Update Frequency'),
|
_('List Update Frequency'),
|
||||||
_('Select how often the lists will be updated'),
|
_('Select how often the domain or subnet lists are updated automatically'),
|
||||||
);
|
);
|
||||||
Object.entries(main.UPDATE_INTERVAL_OPTIONS).forEach(([key, label]) => {
|
Object.entries(main.UPDATE_INTERVAL_OPTIONS).forEach(([key, label]) => {
|
||||||
o.value(key, _(label));
|
o.value(key, _(label));
|
||||||
@@ -200,7 +198,7 @@ function createSettingsContent(section) {
|
|||||||
o = section.option(
|
o = section.option(
|
||||||
form.Flag,
|
form.Flag,
|
||||||
'detour',
|
'detour',
|
||||||
_('Proxy download of lists'),
|
_('Download Lists via Proxy/VPN'),
|
||||||
_('Downloading all lists via main Proxy/VPN'),
|
_('Downloading all lists via main Proxy/VPN'),
|
||||||
);
|
);
|
||||||
o.default = '0';
|
o.default = '0';
|
||||||
@@ -209,8 +207,8 @@ function createSettingsContent(section) {
|
|||||||
o = section.option(
|
o = section.option(
|
||||||
form.Flag,
|
form.Flag,
|
||||||
'dont_touch_dhcp',
|
'dont_touch_dhcp',
|
||||||
_('Dont touch my DHCP!'),
|
_('Dont Touch My DHCP!'),
|
||||||
_('Podkop will not change the DHCP config'),
|
_('Podkop will not modify your DHCP configuration'),
|
||||||
);
|
);
|
||||||
o.default = '0';
|
o.default = '0';
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
@@ -219,9 +217,7 @@ function createSettingsContent(section) {
|
|||||||
form.ListValue,
|
form.ListValue,
|
||||||
'config_path',
|
'config_path',
|
||||||
_('Config File Path'),
|
_('Config File Path'),
|
||||||
_(
|
_('Select path for sing-box config file. Change this ONLY if you know what you are doing'),
|
||||||
'Select path for sing-box config file. Change this ONLY if you know what you are doing',
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
o.value('/etc/sing-box/config.json', 'Flash (/etc/sing-box/config.json)');
|
o.value('/etc/sing-box/config.json', 'Flash (/etc/sing-box/config.json)');
|
||||||
o.value('/tmp/sing-box/config.json', 'RAM (/tmp/sing-box/config.json)');
|
o.value('/tmp/sing-box/config.json', 'RAM (/tmp/sing-box/config.json)');
|
||||||
@@ -232,9 +228,7 @@ function createSettingsContent(section) {
|
|||||||
form.Value,
|
form.Value,
|
||||||
'cache_path',
|
'cache_path',
|
||||||
_('Cache File Path'),
|
_('Cache File Path'),
|
||||||
_(
|
_('Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing'),
|
||||||
'Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing',
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
o.value('/tmp/sing-box/cache.db', 'RAM (/tmp/sing-box/cache.db)');
|
o.value('/tmp/sing-box/cache.db', 'RAM (/tmp/sing-box/cache.db)');
|
||||||
o.value(
|
o.value(
|
||||||
@@ -268,7 +262,7 @@ function createSettingsContent(section) {
|
|||||||
form.Flag,
|
form.Flag,
|
||||||
'exclude_ntp',
|
'exclude_ntp',
|
||||||
_('Exclude NTP'),
|
_('Exclude NTP'),
|
||||||
_('Allows you to exclude NTP protocol traffic from the tunnel'),
|
_('Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN'),
|
||||||
);
|
);
|
||||||
o.default = '0';
|
o.default = '0';
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user