Skip to content

Commit

Permalink
Update 4.4.2 (tuyafeng#1183)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpamxl authored Aug 28, 2022
1 parent 2a09b1d commit 14d61a2
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 22 deletions.
30 changes: 15 additions & 15 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@
<string name="sougou_url">搜狗</string>
<string name="block_ads">广告拦截</string>
<string name="message_untrusted_certificate">当前站点证书不被信任,是否继续?</string>
<string name="message_date_invalid_certificate">当前站点证书日期无效,是否继续?</string>
<string name="message_expired_certificate">当前站点证书已过期,是否继续?</string>
<string name="message_hostname_mismatch_certificate">当前站点证书与主机名不匹配,是否继续?</string>
<string name="message_invalid_certificate">当前站点证书无效,是否继续?</string>
<string name="message_not_yet_valid_certificate">当前站点证书还未生效,是否继续?</string>
<string name="message_date_invalid_certificate">当前站点证书日期无效,是否继续</string>
<string name="message_expired_certificate">当前站点证书已过期,是否继续</string>
<string name="message_hostname_mismatch_certificate">当前站点证书与主机名不匹配,是否继续</string>
<string name="message_invalid_certificate">当前站点证书无效,是否继续</string>
<string name="message_not_yet_valid_certificate">当前站点证书还未生效,是否继续</string>
<string name="title_form_resubmission">表单提交</string>
<string name="message_form_resubmission">你确定发送数据吗?</string>
<string name="message_location">\n想使用你的位置信息</string>
Expand Down Expand Up @@ -134,7 +134,7 @@
<string name="action_source">源码</string>
<string name="action_translate">翻译网页</string>
<string name="title_edit_folder">编辑文件夹</string>
<string name="msg_delete_folder">你想要删除此文件夹吗?</string>
<string name="msg_delete_folder">你想要删除此文件夹吗</string>
<string name="desc_suggestion">建议</string>
<string name="desc_home">主页</string>
<string name="desc_tab">标签</string>
Expand Down Expand Up @@ -204,8 +204,8 @@
<string name="force_cancel">强制取消</string>
<string name="restore_tabs_hint">你想要恢复上次会话未关闭的标签页吗?</string>
<string name="restore_tabs">启动时恢复未关闭标签</string>
<string name="install_success">安装成功!</string>
<string name="uninstall_success">卸载成功!</string>
<string name="install_success">安装成功</string>
<string name="uninstall_success">卸载成功</string>
<string name="log_page_hint">所有拦截规则存储在 %1$s\n你可以手动编辑它来修改规则, 或长按下列任一条目来选择是否拦截。</string>
<string name="fullscreen_1">滑动来显示/隐藏</string>
<string name="fullscreen_2">点击来显示/隐藏</string>
Expand Down Expand Up @@ -276,15 +276,15 @@
<string name="force_enable_zoom">强制缩放</string>
<string name="set_ua_as">已设置当前浏览器标识为%1$s</string>
<string name="import_data">导入数据</string>
<string name="import_data_failed">导入数据失败!</string>
<string name="import_data_succeed">导入数据成功!</string>
<string name="import_data_failed">导入数据失败</string>
<string name="import_data_succeed">导入数据成功</string>
<string name="export_data">导出数据</string>
<string name="export_data_to">导出数据到: %1$s</string>
<string name="always_restore">总是恢复</string>
<string name="ask_first">优先询问</string>
<string name="disable_restore">禁用恢复</string>
<string name="data_file">导出数据</string>
<string name="bookmarks_data_to_long">书签数据达到了服务器不能承受之重, 将不会上传, 但其他数据可以正常上传。继续上传吗?</string>
<string name="bookmarks_data_to_long">书签数据达到了服务器不能承受之重, 将不会上传, 但其他数据可以正常上传。继续上传吗</string>
<string name="restore_tabs_hint_settings">开启\"隐身模式\"时不会恢复未关闭标签。</string>
<string name="ignore_secondary_ssl_error">忽略次要的 SSL 证书错误</string>
<string name="web_page_debug">允许调试网页</string>
Expand Down Expand Up @@ -549,7 +549,7 @@
<string name="download_failed_with_code">下载失败:%1$s (%2$d)</string>
<string name="built_in_download_manager">内建下载器</string>
<string name="cancel_all">取消全选</string>
<string name="message_delete_selected_download_tasks">你确认删除这些下载任务吗 (总共 %1$d 个任务)?</string>
<string name="message_delete_selected_download_tasks">你确认删除这些下载任务吗 (总共 %1$d 个任务)</string>
<string name="file_name">文件名</string>
<string name="rename">重命名</string>
<string name="download_error_file_io">I/O 错误</string>
Expand Down Expand Up @@ -659,9 +659,9 @@
</tt>
<br /><br />
]]></string>
<string name="toast_install_script_successfully">安装 \"%1$s\" 成功!</string>
<string name="toast_install_script_failed_unknown">安装 \"%1$s\" 失败!</string>
<string name="toast_install_script_failed_dependency_error">下载 \"%1$s\" 依赖失败!</string>
<string name="toast_install_script_successfully">安装 \"%1$s\" 成功</string>
<string name="toast_install_script_failed_unknown">安装 \"%1$s\" 失败</string>
<string name="toast_install_script_failed_dependency_error">下载 \"%1$s\" 依赖失败</string>
<string name="title_install_script">安装脚本</string>
<string name="message_install_script">你确认安装 \"%1$s\"(%2$s) 吗?</string>
<string name="title_reinstall_script">重新安装脚本</string>
Expand Down
82 changes: 75 additions & 7 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@
<string name="google_url">Google</string>
<string name="sougou_url">搜狗</string>
<string name="block_ads">封鎖廣告</string>
<string name="message_untrusted_certificate">此網站的憑證不受信任,是否仍要繼續?</string>
<string name="message_date_invalid_certificate">此網站的憑證日期無效,是否仍要繼續?</string>
<string name="message_expired_certificate">此網站的憑證已過期,是否仍要繼續?</string>
<string name="message_hostname_mismatch_certificate">此網站的憑證與主機名稱不匹配,是否仍要繼續?</string>
<string name="message_invalid_certificate">此網站的憑證無效,是否仍要繼續?</string>
<string name="message_not_yet_valid_certificate">此網站的憑證未生效,是否仍要繼續?</string>
<string name="message_untrusted_certificate">此網站的憑證不受信任,是否仍要繼續</string>
<string name="message_date_invalid_certificate">此網站的憑證日期無效,是否仍要繼續</string>
<string name="message_expired_certificate">此網站的憑證已過期,是否仍要繼續</string>
<string name="message_hostname_mismatch_certificate">此網站的憑證與主機名稱不匹配,是否仍要繼續</string>
<string name="message_invalid_certificate">此網站的憑證無效,是否仍要繼續</string>
<string name="message_not_yet_valid_certificate">此網站的憑證未生效,是否仍要繼續</string>
<string name="title_form_resubmission">重新送出表單</string>
<string name="message_form_resubmission">你確定重新傳送資料嗎?</string>
<string name="message_location">\n想使用你的位置資訊</string>
Expand Down Expand Up @@ -548,7 +548,7 @@
<string name="download_failed_with_code">下載失敗:%1$s (%2$d)</string>
<string name="built_in_download_manager">內建下載器</string>
<string name="cancel_all">取消全選</string>
<string name="message_delete_selected_download_tasks">你確定刪除這些下載任務嗎 (總共 %1$d 個任務)?</string>
<string name="message_delete_selected_download_tasks">你確定刪除這些下載任務嗎 (總共 %1$d 個任務)</string>
<string name="file_name">檔名</string>
<string name="rename">重新命名</string>
<string name="download_error_file_io">I/O 錯誤</string>
Expand Down Expand Up @@ -600,4 +600,72 @@
<string name="toutiao_url">頭條</string>
<string name="title_can_not_be_empty">標題不能為空</string>
<string name="user_agent_can_not_be_empty">使用者代理不能為空</string>
<string name="download_filter_all">全部</string>
<string name="download_filter_others">其它</string>
<string name="download_filter_documents">文件</string>
<string name="download_filter_images">圖片</string>
<string name="download_filter_video">影片</string>
<string name="download_filter_apk">安裝包</string>
<string name="download_filter_audio">音訊</string>
<string name="download_filter_archives">壓縮包</string>
<string name="simple_guide_of_writing_userscript"><![CDATA[
<b>Metadata 框</b><br />
Metadata 必須使用如下格式:<br />
<tt>
// ==UserScript==<br />
// @key value<br />
// ==/UserScript==
</tt>
<br /><br />
<b><tt>@name</tt></b>: 指令碼名稱。
<br /><br />
<b><tt>@namespace</tt></b>: <tt>@namespace</tt> 和 <tt>@name</tt> 是指令碼的唯一 ID。
<br /><br />
<b><tt>@match/@exclude-match</tt></b>: 定義了指令碼的作用域。推薦使用 <tt>@match</tt> 而不是 <tt>@include</tt>。
<br /><br />
<b><tt>@include/@exclude</tt></b>: 舊版本中定義作用域的方式。
<br /><br />
<b><tt>@version</tt></b>: 指令碼版本。
<br /><br />
<b><tt>@description</tt></b>: 指令碼描述。
<br /><br />
<b><tt>@author</tt></b>: 指令碼作者。
<br /><br />
<b><tt>@require</tt></b>: 指令碼的前置依賴,例如: <br /><tt>// @require https://my.cdn.com/jquery.js</tt>。
<br /><br />
<b><tt>@run-at</tt></b>: 指令碼的執行時機。 <tt>document-start</tt> 用於在頁面載入前注入指令碼, <tt>document-end</tt> 用於在頁面載入完成後注入指令碼。
<br /><br />
<b><tt>@grant</tt></b>: 定義指令碼所使用和應被授權的特殊 GM_* API。<br />
<br /><br />
<b><tt>@downloadURL</tt></b>: 指令碼的下載地址。
<br /><br />
<b><tt>@supportURL</tt></b>: 指令碼的支援地址。
<br /><br />
<b><tt>@homepageURL</tt></b>: 指令碼的主頁。
<br /><br />
<b>GM_* API</b><br />
<tt>GM_*</tt> 是一組 Via 提供的特殊 API 集合。當前支援的特殊 API 包括:<br/>
<tt>GM_getValue/GM_setValue/GM_deleteValue/GM_listValues/GM_getResourceText/GM_getResourceURL/GM_addElement/GM_addStyle/GM_setClipboard/GM_xmlhttpRequest/GM_download</tt>.
<br /><br />
<b>匹配</b><br />
<tt>@match</tt> 定義了指令碼生效的作用域。 <tt>@exclude-match</tt> 定義了指令碼不應生效的作用域,類似 <tt>@exclude</tt>。
<br /><br />
例如:<br />
<tt>
// @match https://www.google.com/something <br />
// @match https://www.google.com/any/* <br />
// @exclude-match https://www.google.com/any/not_me
</tt>
<br /><br />
]]></string>
<string name="toast_install_script_successfully">安裝 \"%1$s\" 成功!</string>
<string name="toast_install_script_failed_unknown">安裝 \"%1$s\" 失敗!</string>
<string name="toast_install_script_failed_dependency_error">下載 \"%1$s\" 依賴失敗!</string>
<string name="title_install_script">安裝指令碼</string>
<string name="message_install_script">你確定安裝 \"%1$s\"(%2$s) 嗎?</string>
<string name="title_reinstall_script">重新安裝指令碼</string>
<string name="message_reinstall_script">你確定重新安裝 \"%1$s\"(%2$s) 嗎?</string>
<string name="title_update_script">更新指令碼</string>
<string name="message_update_script">你確定更新指令碼 \"%1$s\"(%2$s -> %3$s) 嗎?</string>
<string name="toast_parsing_script">解析指令碼中…</string>
</resources>

0 comments on commit 14d61a2

Please sign in to comment.