|
|
@@ -21519,7 +21519,7 @@
|
|
|
|
|
|
var _preferences2 = _interopRequireDefault(_preferences);
|
|
|
|
|
|
- __webpack_require__(232);
|
|
|
+ __webpack_require__(234);
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
|
|
@@ -23369,7 +23369,7 @@
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
- exports.version = [3, 2, 0, 4176];
|
|
|
+ exports.version = [3, 2, 0, 4177];
|
|
|
|
|
|
/***/ },
|
|
|
/* 202 */
|
|
|
@@ -34169,7 +34169,7 @@
|
|
|
|
|
|
/***/ },
|
|
|
/* 231 */
|
|
|
-/***/ function(module, exports) {
|
|
|
+/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
/**
|
|
|
* @author oldj
|
|
|
@@ -34179,134 +34179,8 @@
|
|
|
"use strict";
|
|
|
|
|
|
var languages = {
|
|
|
- 'en': {
|
|
|
- _lang_name: 'English',
|
|
|
- add: 'Add',
|
|
|
- new: 'New',
|
|
|
- quit: 'Quit',
|
|
|
- cancel: 'Cancel',
|
|
|
- ok: 'OK',
|
|
|
- set_and_back: 'Set and back',
|
|
|
- set_and_relaunch_app: 'Set and Relaunch App',
|
|
|
- add_host: 'Add new rules.',
|
|
|
- edit_host: 'Edit host',
|
|
|
- import: 'Import',
|
|
|
- export: 'Export',
|
|
|
- host_title: 'Host title',
|
|
|
- host_title_cant_be_empty: 'Host title could not be empty!',
|
|
|
- sys_host_title: 'System Hosts',
|
|
|
- input_sudo_pswd: 'Input your sudo password',
|
|
|
- sudo_pswd: 'Password',
|
|
|
- del_host: 'Delete current host',
|
|
|
- confirm_del: 'Are you sure you want to delete this host?',
|
|
|
- tmp_clean: 'Temporarily turn off all rules.',
|
|
|
- tmp_recover: 'Recover rules.',
|
|
|
- new_version_available: 'New version available, download now?',
|
|
|
- is_updated_title: 'You are up to date!',
|
|
|
- is_updated: 'You already have the latest version of SwitchHosts! installed.',
|
|
|
- readonly: 'Read only',
|
|
|
- where_local: 'local',
|
|
|
- where_remote: 'remote',
|
|
|
- remote_hosts: 'Remote hosts',
|
|
|
- url: 'URL',
|
|
|
- bad_url: 'URL is not valid.',
|
|
|
- auto_refresh: 'Auto refresh',
|
|
|
- last_refresh: 'Last refresh: ',
|
|
|
- refresh: 'Refresh',
|
|
|
- never: 'never',
|
|
|
- hour: 'hour',
|
|
|
- hours: 'hours',
|
|
|
- day: 'day',
|
|
|
- days: 'days',
|
|
|
- feedback: 'Feedback',
|
|
|
- homepage: 'Homepage',
|
|
|
- hide_dock_icon: 'Hide Dock Icon',
|
|
|
- show_dock_icon: 'Show Dock Icon',
|
|
|
- toggle_dock_icon: 'Toggle Dock Icon',
|
|
|
- no_valid_host_found: 'There is no valid host in the file.',
|
|
|
- confirm_import: 'You sure you want to import it? The original rules will be overwriten, this operation can not be undone.',
|
|
|
- please_run_as_admin: 'Please run SwitchHosts! as an Administrator.',
|
|
|
- preferences: 'Preferences',
|
|
|
- language: 'Language',
|
|
|
- should_restart_after_change_language: 'Should relaunch this App after changing language.',
|
|
|
- untitled: 'untitled',
|
|
|
- file: 'File',
|
|
|
- edit: 'Edit',
|
|
|
- view: 'View',
|
|
|
- window: 'Window',
|
|
|
- help: 'Help',
|
|
|
- pref_after_cmd: 'Command after Host applied',
|
|
|
- pref_after_cmd_info: 'The following system commands will be executed when Host applied:',
|
|
|
- pref_after_cmd_placeholder: 'input your commands here',
|
|
|
- pref_choice_mode: 'Choide mode',
|
|
|
- pref_choice_single: 'Single choice',
|
|
|
- pref_choice_multiple: 'Multiple choice',
|
|
|
- search: 'Search'
|
|
|
- },
|
|
|
- 'cn': {
|
|
|
- _lang_name: '简体中文',
|
|
|
- add: '添加',
|
|
|
- new: '新建',
|
|
|
- quit: '退出',
|
|
|
- cancel: '取消',
|
|
|
- ok: '确定',
|
|
|
- set_and_back: '设置并返回',
|
|
|
- set_and_relaunch_app: '确定并重启程序',
|
|
|
- add_host: '添加 host 规则',
|
|
|
- edit_host: '修改 host',
|
|
|
- import: '导入',
|
|
|
- export: '导出',
|
|
|
- host_title: 'host 方案名',
|
|
|
- host_title_cant_be_empty: 'Host 方案名不能为空!',
|
|
|
- sys_host_title: '系统 Hosts',
|
|
|
- input_sudo_pswd: '请输入您的开机密码(sudo 密码)',
|
|
|
- sudo_pswd: '密码',
|
|
|
- del_host: '删除当前 host',
|
|
|
- confirm_del: '确定要删除此 host 吗?',
|
|
|
- tmp_clean: '临时去掉所有绑定',
|
|
|
- tmp_recover: '恢复绑定',
|
|
|
- new_version_available: '检测到新版本,立刻下载?',
|
|
|
- is_updated_title: '已是最新',
|
|
|
- is_updated: '当前版本是最新版本。',
|
|
|
- readonly: '只读',
|
|
|
- where_local: '本地',
|
|
|
- where_remote: '远程',
|
|
|
- remote_hosts: '远程方案',
|
|
|
- url: 'URL 地址',
|
|
|
- bad_url: 'URL 地址有误。',
|
|
|
- auto_refresh: '自动更新',
|
|
|
- last_refresh: '上次更新:',
|
|
|
- refresh: '刷新',
|
|
|
- never: '从不',
|
|
|
- hour: '小时',
|
|
|
- hours: '小时',
|
|
|
- day: '天',
|
|
|
- days: '天',
|
|
|
- feedback: '反馈',
|
|
|
- homepage: '主页',
|
|
|
- hide_dock_icon: '隐藏 Dock 图标',
|
|
|
- show_dock_icon: '显示 Dock 图标',
|
|
|
- toggle_dock_icon: '显示/隐藏 Dock 图标',
|
|
|
- no_valid_host_found: '所指定的文件中未找到合法的 host 配置',
|
|
|
- confirm_import: '确定要导入吗?原方案列表将被覆盖,此操作不可撤销。',
|
|
|
- please_run_as_admin: '请以管理员身份运行 SwitchHosts!',
|
|
|
- preferences: '设置',
|
|
|
- language: '语言',
|
|
|
- should_restart_after_change_language: '修改语言后需要重启应用方可生效。',
|
|
|
- untitled: '未命名',
|
|
|
- file: '文件',
|
|
|
- edit: '编辑',
|
|
|
- view: '视图',
|
|
|
- window: '窗口',
|
|
|
- help: '帮助',
|
|
|
- pref_after_cmd: 'Host 应用后命令',
|
|
|
- pref_after_cmd_info: '每次 Host 应用后将执行下面的系统命令:',
|
|
|
- pref_after_cmd_placeholder: '在这儿输入你的命令',
|
|
|
- pref_choice_mode: '选择模式',
|
|
|
- pref_choice_mode_single: '单选',
|
|
|
- pref_choice_mode_multiple: '多选',
|
|
|
- search: '搜索'
|
|
|
- }
|
|
|
+ 'en': __webpack_require__(232).content,
|
|
|
+ 'cn': __webpack_require__(233).content
|
|
|
};
|
|
|
|
|
|
module.exports = {
|
|
|
@@ -34336,12 +34210,164 @@
|
|
|
|
|
|
/***/ },
|
|
|
/* 232 */
|
|
|
+/***/ function(module, exports) {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @author oldj
|
|
|
+ * @blog http://oldj.net
|
|
|
+ */
|
|
|
+
|
|
|
+ 'use strict';
|
|
|
+
|
|
|
+ exports.content = {
|
|
|
+ _lang_name: 'English',
|
|
|
+ add: 'Add',
|
|
|
+ new: 'New',
|
|
|
+ quit: 'Quit',
|
|
|
+ cancel: 'Cancel',
|
|
|
+ ok: 'OK',
|
|
|
+ set_and_back: 'Set and back',
|
|
|
+ set_and_relaunch_app: 'Set and Relaunch App',
|
|
|
+ add_host: 'Add new rules.',
|
|
|
+ edit_host: 'Edit host',
|
|
|
+ import: 'Import',
|
|
|
+ export: 'Export',
|
|
|
+ host_title: 'Host title',
|
|
|
+ host_title_cant_be_empty: 'Host title could not be empty!',
|
|
|
+ sys_host_title: 'System Hosts',
|
|
|
+ input_sudo_pswd: 'Input your sudo password',
|
|
|
+ sudo_pswd: 'Password',
|
|
|
+ del_host: 'Delete current host',
|
|
|
+ confirm_del: 'Are you sure you want to delete this host?',
|
|
|
+ tmp_clean: 'Temporarily turn off all rules.',
|
|
|
+ tmp_recover: 'Recover rules.',
|
|
|
+ new_version_available: 'New version available, download now?',
|
|
|
+ is_updated_title: 'You are up to date!',
|
|
|
+ is_updated: 'You already have the latest version of SwitchHosts! installed.',
|
|
|
+ readonly: 'Read only',
|
|
|
+ where_local: 'local',
|
|
|
+ where_remote: 'remote',
|
|
|
+ remote_hosts: 'Remote hosts',
|
|
|
+ url: 'URL',
|
|
|
+ bad_url: 'URL is not valid.',
|
|
|
+ auto_refresh: 'Auto refresh',
|
|
|
+ last_refresh: 'Last refresh: ',
|
|
|
+ refresh: 'Refresh',
|
|
|
+ never: 'never',
|
|
|
+ hour: 'hour',
|
|
|
+ hours: 'hours',
|
|
|
+ day: 'day',
|
|
|
+ days: 'days',
|
|
|
+ feedback: 'Feedback',
|
|
|
+ homepage: 'Homepage',
|
|
|
+ hide_dock_icon: 'Hide Dock Icon',
|
|
|
+ show_dock_icon: 'Show Dock Icon',
|
|
|
+ toggle_dock_icon: 'Toggle Dock Icon',
|
|
|
+ no_valid_host_found: 'There is no valid host in the file.',
|
|
|
+ confirm_import: 'You sure you want to import it? The original rules will be overwriten, this operation can not be undone.',
|
|
|
+ please_run_as_admin: 'Please run SwitchHosts! as an Administrator.',
|
|
|
+ preferences: 'Preferences',
|
|
|
+ language: 'Language',
|
|
|
+ should_restart_after_change_language: 'Should relaunch this App after changing language.',
|
|
|
+ untitled: 'untitled',
|
|
|
+ file: 'File',
|
|
|
+ edit: 'Edit',
|
|
|
+ view: 'View',
|
|
|
+ window: 'Window',
|
|
|
+ help: 'Help',
|
|
|
+ pref_after_cmd: 'Command after Host applied',
|
|
|
+ pref_after_cmd_info: 'The following system commands will be executed when Host applied:',
|
|
|
+ pref_after_cmd_placeholder: 'input your commands here',
|
|
|
+ pref_choice_mode: 'Choide mode',
|
|
|
+ pref_choice_single: 'Single choice',
|
|
|
+ pref_choice_multiple: 'Multiple choice',
|
|
|
+ search: 'Search'
|
|
|
+ };
|
|
|
+
|
|
|
+/***/ },
|
|
|
+/* 233 */
|
|
|
+/***/ function(module, exports) {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @author oldj
|
|
|
+ * @blog http://oldj.net
|
|
|
+ */
|
|
|
+
|
|
|
+ 'use strict';
|
|
|
+
|
|
|
+ exports.content = {
|
|
|
+ _lang_name: '简体中文',
|
|
|
+ add: '添加',
|
|
|
+ new: '新建',
|
|
|
+ quit: '退出',
|
|
|
+ cancel: '取消',
|
|
|
+ ok: '确定',
|
|
|
+ set_and_back: '设置并返回',
|
|
|
+ set_and_relaunch_app: '确定并重启程序',
|
|
|
+ add_host: '添加 host 规则',
|
|
|
+ edit_host: '修改 host',
|
|
|
+ import: '导入',
|
|
|
+ export: '导出',
|
|
|
+ host_title: 'host 方案名',
|
|
|
+ host_title_cant_be_empty: 'Host 方案名不能为空!',
|
|
|
+ sys_host_title: '系统 Hosts',
|
|
|
+ input_sudo_pswd: '请输入您的开机密码(sudo 密码)',
|
|
|
+ sudo_pswd: '密码',
|
|
|
+ del_host: '删除当前 host',
|
|
|
+ confirm_del: '确定要删除此 host 吗?',
|
|
|
+ tmp_clean: '临时去掉所有绑定',
|
|
|
+ tmp_recover: '恢复绑定',
|
|
|
+ new_version_available: '检测到新版本,立刻下载?',
|
|
|
+ is_updated_title: '已是最新',
|
|
|
+ is_updated: '当前版本是最新版本。',
|
|
|
+ readonly: '只读',
|
|
|
+ where_local: '本地',
|
|
|
+ where_remote: '远程',
|
|
|
+ remote_hosts: '远程方案',
|
|
|
+ url: 'URL 地址',
|
|
|
+ bad_url: 'URL 地址有误。',
|
|
|
+ auto_refresh: '自动更新',
|
|
|
+ last_refresh: '上次更新:',
|
|
|
+ refresh: '刷新',
|
|
|
+ never: '从不',
|
|
|
+ hour: '小时',
|
|
|
+ hours: '小时',
|
|
|
+ day: '天',
|
|
|
+ days: '天',
|
|
|
+ feedback: '反馈',
|
|
|
+ homepage: '主页',
|
|
|
+ hide_dock_icon: '隐藏 Dock 图标',
|
|
|
+ show_dock_icon: '显示 Dock 图标',
|
|
|
+ toggle_dock_icon: '显示/隐藏 Dock 图标',
|
|
|
+ no_valid_host_found: '所指定的文件中未找到合法的 host 配置',
|
|
|
+ confirm_import: '确定要导入吗?原方案列表将被覆盖,此操作不可撤销。',
|
|
|
+ please_run_as_admin: '请以管理员身份运行 SwitchHosts!',
|
|
|
+ preferences: '设置',
|
|
|
+ language: '语言',
|
|
|
+ should_restart_after_change_language: '修改语言后需要重启应用方可生效。',
|
|
|
+ untitled: '未命名',
|
|
|
+ file: '文件',
|
|
|
+ edit: '编辑',
|
|
|
+ view: '视图',
|
|
|
+ window: '窗口',
|
|
|
+ help: '帮助',
|
|
|
+ pref_after_cmd: 'Host 应用后命令',
|
|
|
+ pref_after_cmd_info: '每次 Host 应用后将执行下面的系统命令:',
|
|
|
+ pref_after_cmd_placeholder: '在这儿输入你的命令',
|
|
|
+ pref_choice_mode: '选择模式',
|
|
|
+ pref_choice_mode_single: '单选',
|
|
|
+ pref_choice_mode_multiple: '多选',
|
|
|
+ search: '搜索'
|
|
|
+ };
|
|
|
+
|
|
|
+/***/ },
|
|
|
+/* 234 */
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
|
|
|
|
// load the styles
|
|
|
- var content = __webpack_require__(233);
|
|
|
+ var content = __webpack_require__(235);
|
|
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
|
// add the styles to the DOM
|
|
|
var update = __webpack_require__(187)(content, {});
|
|
|
@@ -34361,7 +34387,7 @@
|
|
|
}
|
|
|
|
|
|
/***/ },
|
|
|
-/* 233 */
|
|
|
+/* 235 */
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
exports = module.exports = __webpack_require__(186)();
|