Redesign the app

New look based on the SparkleDNS concept: a dark theme, a floating
bottom panel with Home, Activity and Settings, and pages for the
blocklists, apps and About.

- Home: big ON/OFF switch, the current server, 24-hour stats and chart
- Activity: requests, blocked, average time and cache share for 24 hours
  or 7 days, company dominance, and the live log with search and filter
- Blocklists: HaGeZi Pro preset next to Pro++ and TIF, lists can be
  switched off without deleting them, automatic updates (daily or
  weekly, optionally Wi-Fi only) through JobScheduler
- Settings: server list, custom server, server test and per-app DNS
- Hourly numbers for the charts are kept on the device, without domains

The server list now ships with the app; it is no longer downloaded
from the repository.
This commit is contained in:
2026-10-30 19:58:08 +02:00
parent 43f0d42d65
commit 1db29ee44a
37 changed files with 3060 additions and 1532 deletions
+42 -15
View File
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="status_on">已保护</string>
<string name="status_off">未连接</string>
<string name="via">通过 %1$s</string>
<string name="connect">连接</string>
<string name="disconnect">断开</string>
<string name="servers">DNS-over-HTTPS 服务器</string>
@@ -26,14 +23,10 @@
<string name="notif_title">已通过 %1$s 保护</string>
<string name="notif_text">DNS over HTTPS 已启用</string>
<string name="tab_home">首页</string>
<string name="tab_monitor">监控</string>
<string name="tab_apps">应用</string>
<string name="tab_blocklist">屏蔽列表</string>
<string name="tab_about">关于</string>
<string name="mon_queries">查询</string>
<string name="mon_cached">来自缓存</string>
<string name="mon_blocked">已屏蔽</string>
<string name="mon_latency">平均延迟</string>
<string name="mon_ms">%1$d 毫秒</string>
<string name="mon_all">全部</string>
<string name="mon_errors">错误</string>
@@ -60,12 +53,9 @@
<string name="bl_invalid">域名无效</string>
<string name="bl_empty_custom">还没有域名</string>
<string name="delete">删除</string>
<string name="bl_lists">列表</string>
<string name="bl_update_all">全部更新</string>
<string name="bl_updating">正在更新…</string>
<string name="bl_list_url">列表 URL</string>
<string name="bl_list_info">%1$s 个域名 · %2$s</string>
<string name="bl_presets">热门列表</string>
<string name="bl_download_failed">下载失败:%1$s</string>
<string name="about_desc">加密 DNS 请求,无需让全部流量经过 VPN。</string>
<string name="about_version">版本</string>
@@ -90,13 +80,50 @@
<string name="licenses_data">屏蔽列表数据(按需下载,未内置)</string>
<string name="license_view">查看许可</string>
<string name="back">返回</string>
<string name="bl_total_label">个域名已屏蔽</string>
<string name="about_source">源代码</string>
<string name="open_settings">设置</string>
<string name="mon_no_match">没有符合筛选条件的内容</string>
<string name="bl_title">屏蔽</string>
<string name="servers_update">更新服务器列表</string>
<string name="servers_updated">服务器列表已更新</string>
<string name="servers_update_failed">无法更新服务器列表:%1$s</string>
<string name="no_browser">没有可以打开此链接的应用</string>
<string name="toggle_on">开</string>
<string name="toggle_off">关</string>
<string name="home_protected">已受保护</string>
<string name="home_unprotected">未受保护</string>
<string name="home_via">通过 %1$s 加密</string>
<string name="home_off_desc">DNS 照常通过你的网络</string>
<string name="stat_requests">请求</string>
<string name="stat_avg">平均耗时</string>
<string name="chart_now">现在</string>
<string name="period_24h">24 小时</string>
<string name="period_7d">7 天</string>
<string name="home_lists_info">已启用列表:%1$d · 规则:%2$s</string>
<string name="blocking_off">屏蔽已关闭</string>
<string name="blocklist_title">DNS 屏蔽列表</string>
<string name="tab_activity">活动</string>
<string name="tab_settings">设置</string>
<string name="companies_title">公司占比</string>
<string name="companies_desc">你的请求中发往大公司的比例。</string>
<string name="companies_other">其他</string>
<string name="no_data">暂无数据</string>
<string name="recent_title">最近活动</string>
<string name="filter">筛选</string>
<string name="bl_search">搜索列表</string>
<string name="auto_update">自动更新</string>
<string name="auto_off">关闭</string>
<string name="auto_daily">每天</string>
<string name="auto_weekly">每周</string>
<string name="auto_wifi">仅限 Wi-Fi</string>
<string name="auto_wifi_desc">不使用移动数据更新</string>
<string name="auto_update_now">立即更新</string>
<string name="done">完成</string>
<string name="cancel">取消</string>
<string name="preset_pro_desc">均衡地拦截广告、跟踪和恶意软件。日常使用的最佳选择。</string>
<string name="preset_proplus_desc">最强保护。可能导致部分应用登录和链接失效。</string>
<string name="preset_tif_desc">威胁情报:恶意软件、钓鱼、诈骗和挖矿劫持域名。</string>
<string name="list_added_by_you">你通过网址添加。</string>
<string name="list_not_downloaded">尚未下载</string>
<string name="my_domains_desc">你自己屏蔽的域名。子域名也会被屏蔽。</string>
<string name="bl_add_list">添加屏蔽列表</string>
<string name="settings_general">通用</string>
<string name="settings_apps">不使用 SparkleDNS 的应用</string>
<string name="settings_apps_desc">选中的应用使用网络的常规 DNS</string>
</resources>