From e27f57a047d1f912a11e4e36cb98037ce01f07d2 Mon Sep 17 00:00:00 2001 From: malsony Date: Mon, 20 Dec 2021 11:43:07 +0800 Subject: [PATCH] Update of translation. Todo: multiple rules. Update of README (both Chinese and English). Minor changes of Eng strings; new Eng ver of README, and test of URL. Update README.md test of URL --- README.md | 155 ++++++++++++++++++++++++- README_en.md | 140 ++++++++++++++++++++++ app/src/main/res/values-en/strings.xml | 100 ++++++++-------- 3 files changed, 340 insertions(+), 55 deletions(-) create mode 100644 README_en.md diff --git a/README.md b/README.md index 30426785..26bd9360 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ![SmsForwarder](pic/SmsForwarder.png) -# SmsForwarder (短信转发器) +# SmsForwarder-短信转发器 +[English Version](#SmsForwarder) [![GitHub release](https://img.shields.io/github/release/pppscn/SmsForwarder.svg)](https://github.com/pppscn/SmsForwarder/releases) [![GitHub stars](https://img.shields.io/github/stars/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/stargazers) [![GitHub forks](https://img.shields.io/github/forks/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/network/members) [![GitHub issues](https://img.shields.io/github/issues/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/issues) [![GitHub license](https://img.shields.io/github/license/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/blob/main/LICENSE) @@ -28,7 +29,7 @@ * 本仓库发布的`SmsForwarder`项目中涉及的任何代码/APK,仅用于测试和学习研究,禁止用于商业用途,不能保证其合法性,准确性,完整性和有效性,请根据情况自行判断。 -* 间接使用代码/APK的任何用户,包括但不限于在某些行为违反国家/地区法律或相关法规的情况下进行传播, `pppscn` 对于由此引起的任何隐私泄漏或其他后果概不负责。 +* 任何用户直接或间接使用或传播`SmsForwarder`的任何代码或APK,无论该等使用是否符合其所在国家或地区,或该等使用或传播发生的国家或地区的法律,`pppscn`和/或代码仓库的任何其他贡献者均不对该等行为产生的任何后果(包括但不限于隐私泄露)负责。 * 如果任何单位或个人认为该项目的代码/APK可能涉嫌侵犯其权利,则应及时通知并提供身份证明,所有权证明,我们将在收到认证文件后删除相关代码/APK。 @@ -38,11 +39,11 @@ ## 特点和准则: -* **简单** 只做两件事:监听手机短信/来电/APP通知 --> 根据指定规则转发 +**简单** 只做两件事:监听手机短信/来电/APP通知 --> 根据指定规则转发 由此带来的好处: -* 简洁:(当时用Pad的时候,看手机验证码各种不方便,网上搜了好久也有解决方案) +* 简洁:(当时用Pad的时候,看手机验证码各种不方便,网上搜了好久也没有理想的解决方案) > + AirDroid:手机管理工具功能太多,看着都耗电,权限太多,数据经过三方,账号分级 > + IFTTT:功能太多,看着耗电,权限太多,数据经过三方,收费 > + 还有一些其他的APP(例如:Tasker)也是这些毛病 @@ -135,4 +136,148 @@ ## LICENSE -BSD \ No newline at end of file +BSD + +-------- + +![SmsForwarder](pic/SmsForwarder.png) + +# SmsForwarder +[中文版](#SmsForwarder-短信转发器) + +[![GitHub release](https://img.shields.io/github/release/pppscn/SmsForwarder.svg)](https://github.com/pppscn/SmsForwarder/releases) [![GitHub stars](https://img.shields.io/github/stars/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/stargazers) [![GitHub forks](https://img.shields.io/github/forks/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/network/members) [![GitHub issues](https://img.shields.io/github/issues/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/issues) [![GitHub license](https://img.shields.io/github/license/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/blob/main/LICENSE) + +SmsForwarder - listens to SMS, incoming calls, and App notifications on Android mobile devices, and forward according to user defined rules to another App/device, including DingTalk, WeCom and WeCom Group Bot, Feishi Bot, E-mail, Bark, Webhook, Telegram Bot, ServerChan, PushPlus, SMS, etc. + +### Download + +> ⚠ Repo address: https://github.com/pppscn/SmsForwarder/releases + +> ⚠ Repo mirror in China: https://gitee.com/pp/SmsForwarder/releases + +> ⚠ Internet storage: https://wws.lanzoui.com/b025yl86h, access password: `pppscn` + +> ⚠ CoolAPK.com: https://www.coolapk.com/apk/com.idormy.sms.forwarder + +### Manual + +> ⚠ GitHub: https://github.com/pppscn/SmsForwarder/wiki + +> ⚠ Gitee: https://gitee.com/pp/SmsForwarder/wikis/pages + +-------- + +## NOTE + +* Any code/APK of `SmsForwarder` related to the this repository is for test, study, and research only, commercial use is **prohibited**. Legality, accuracy, completeness and validity of any code/APK of this repo is guaranteed by **NOBODY**, and shall only be determined by User. + +* `pppscn` and/or any other Contributor to this repo is **NOT** responsible for any consequences (including but not limited to privacy leakage) arising from any user's direct or indirect use or dissemination of any code or APK of `SmsForwarder`, regardless of whether such use is in accordance with the laws of the country or territory where such user locates or such use or dissemination occurs. + +* Should any entity finds the code/APK of this repo infringing their rights, please provide notice and identity and proprietorship document, and we will delete relating code/APK after examining such document. + +* Privacy: `SmsForwarder` collects absolutely **NO** any of your personal data!! Except 1) version information to umeng.com for stats as the App starts, and 2) version number when manually check for update, `SmsForwarder` is **NOT** sending any data without users' knowledge. + +-------- + +## Features and standards + +**Simplicity** - `SmsForwarder` does two things only: Listen to "SMS service/Incoming calls/App notifications", and forward according to rules specified by user. + +Benefit by simplicity: + +* **E**fficient: (It's inconvenient to read the security codes such as OTP on a mobile phone, when you are using another device; and no solution satisfices our needs) + + > + AirDroid: Too many functionalities, power consuming, requiring to many permissions, data relayed by a 3rd party, paid premium service... + > + IFTTT: Too many functionalities, power consuming, requiring to many permissions, data relayed by a 3rd party, paid premium service... + > + And other Apps (e.g. Tasker) with similar features. + +* **E**nergy friendly: listens to broadcast only when running, and forwards message only when texts are received and logs recent forwarding contents and status. +* **E**ndurance: "Simplicity is the Ultimate Sophistication." The simpler the code is, the less it errs or crashes; that is what make the app runs longer. + +### Workflow: + +![工作流程](pic/working_principle.png "工作流程") + +### Features: + +- [x] Listen to SMS service, and forward according to user-defined rules (SMS contents to destination); +- [x] Forward to DingTalk Bot (to a group chat and @SOMBODY); +- [x] Forward to E-mail (SMTP with SSL encryption); +- [x] Forward to Bark; +- [x] Forward to webhook (a single web page [sending POST/GET requests to a designated URL](doc/POST_WEB.md)); +- [x] Forward to WeCom Bots; +- [x] Forward to WeCom enterprise channels; +- [x] Forward to ServerChan·Turbo; +- [x] Forward to Telegram Bots (Proxy support ready); +- [x] Forward to another mobile phone via SMS [Note: Paid service, carriers may charge for SMS forwarding. SMS forwarding should apply with filtered rules when device has no Internet access.] +- [x] Check for new version and upgrade; +- [x] Cache purge; +- [x] Compatible with Android 5.xx, 6.xx, 7.xx, 8.xx, 9.xx, and 10.xx; +- [x] Support for dual SIM slots smartphones and label different slots/carrier/phone number (if available); +- [x] Support for multi-level rules; +- [x] Support for customized labeling of SIM slots and device, and customized forwarding templates; +- [x] Support for rules with regular expression +- [x] Support for rules for different SIM slots; +- [x] Forward missed call information (forwarded by SIM1 slot by default); +- [x] Retry 5 times after a failed request (customized interval time, stop retrying once successfully request); +- [x] Forward to FeiShu Bot; +- [x] Customized scheme (forwarder://main) wake up other Apps; +- [x] Monitor of battery status changes; +- [x] I18n support (Chinese and English currently); +- [x] Support for setting import and export functions (One-key cloning); +- [x] Listen to notifications of other Apps and forward; +- [x] Forward to PushPlus; +- [x] Support for customized template of forwarding rules (default template overrides if left blank); +- [x] Support for variables in regular expression of forwarding rules; + +-------- + +### Screenshot: + +| Docking in Ntf. screen | Main screen | Forward rules | Forward detail | +| ---- | ---- | ---- | ---- | +| ![前台服务常驻状态栏](pic/taskbar.jpg "前台服务常驻状态栏") | ![应用主界面](pic/main.png "应用主界面") | ![转发规则](pic/rule.jpg "转发规则") | ![转发详情](pic/maindetail.jpg "转发详情") | +| Test of Fw. rule(s) | Multiple rules | Supported senders | Add/Edit DingTalk sender | +| ![添加/编辑转发规则](pic/ruleset.png "添加/编辑转发规则") | ![多重匹配规则](pic/multimatch.png "多重匹配规则") | ![发送通道](pic/sender.jpg "发送通道") | ![添加/编辑发送通道钉钉](pic/sendersetdingding.jpg "添加/编辑发送通道钉钉") | +| Add/Edit E-mail sender | Add/Edit Bark sender | Add/Edit Webhook | Add/Edit WeCom Bot sender | +| ![添加/编辑发送通道邮箱](pic/sendersetemail.jpg "添加/编辑发送通道邮箱") | ![添加/编辑发送通道Bark](pic/sendersetbark.png "添加/编辑发送通道Bark") | ![添加/编辑发送通道网页通知](pic/sendersetwebnotify.jpg "添加/编辑发送通道网页通知") | ![添加/编辑发送通道企业微信群机器人](pic/sendersetqywechat.jpg "添加/编辑发送通道企业微信群机器人") | +| Add/Edit Telegram Bot sender | Add/Edit ServerChan Turbo sender | Add/Edit WeCom Group sender | Settings | +| ![添加/编辑发送通道Telegram机器人](pic/sendertelegram.jpg "添加/编辑发送通道Telegram机器人") | ![添加/编辑发送通道Server酱·Turbo版](pic/senderserverchan.jpg "添加/编辑发送通道Server酱·Turbo版") | ![添加/编辑发送通道企业微信应用](pic/sendersetqywxapp.jpg "添加/编辑发送通道企业微信应用") | ![应用设置](pic/setting.jpg "应用设置") | +| About/Update | RegEx & specific SIM slot | SMS Fw. template w/ SIM slot info. | Add/Edit an SMS forwarding rule | +| ![在线升级](pic/update.jpg "在线升级") | ![支持正则匹配规则 & 支持卡槽匹配规则](pic/regex.jpg "支持正则匹配规则 & 支持卡槽匹配规则") | ![转发短信模板增加卡槽标识](pic/siminfo.jpg "转发短信模板增加卡槽标识") | ![添加/编辑发送通道其他手机短信](pic/sendersetsms.jpg "添加/编辑发送通道其他手机短信") | +| Add/Edit FeiShu Bot sender | Import and export (one-key cloning) | Listen to ntf. of other Apps and fw. | Get App pkg name(s) | +| ![添加/编辑发送通道飞书](pic/senderfeishu.png "添加/编辑发送通道飞书") | ![增加配置导出导入功能(一键克隆)](pic/clone.png "增加配置导出导入功能(一键克隆)") | ![监听其他APP通知信息并转发](pic/app_notify.png "监听其他APP通知信息并转发") | ![获取所有应用列表(方便复制APP包名)](pic/app_list.png "获取所有应用列表(方便复制APP包名)") | + +-------- + +## Feedback and suggestions: + ++ Submit an issue or Pull Request. ++ Join group chat (only Chinese groups/channels available currently) + +| DingTalk | QQ user group #1: 562854376 | QQ user group #2: 31330492 | WeCom | +| ---- | ---- | ---- | ---- | +| ![钉钉客户群](pic/dingtalk.png "钉钉客户群") | ![QQ交流群:562854376](pic/qqgroup_1.jpg "QQ交流群:562854376") | ![QQ交流群:31330492](pic/qqgroup_2.jpg "QQ交流群:31330492") | ![企业微信群](pic/qywechat.png "企业微信群") | + +## Acknowledgements + +> Thanks to the projects below, `SmsForwarder` won't exists without them! + ++ https://github.com/xiaoyuanhost/TranspondSms (Foundation of `SmsForwarder`) ++ https://github.com/square/okhttp (http communications) ++ https://github.com/xuexiangjys/XUpdateAPI (online update) ++ https://github.com/mailhu/emailkit (email sending) ++ https://github.com/alibaba/fastjson (json parsing) ++ [![GitHub license](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg?_ga=2.126618957.1361252949.1638261367-1417196221.1635638144&_gl=1*1pfl3dq*_ga*MTQxNzE5NjIyMS4xNjM1NjM4MTQ0*_ga_V0XZL7QHEB*MTYzODMzMjA4OC43LjAuMTYzODMzMjA5Ny4w)](https://jb.gg/OpenSourceSupport) (License Certificate for JetBrains All Products Pack) + +-------- + +## Star this repo if you find this application useful! + +[![starcharts stargazers over time](https://starchart.cc/pppscn/SmsForwarder.svg)](https://github.com/pppscn/SmsForwarder) + +-------- + +## LICENSE + +BSD diff --git a/README_en.md b/README_en.md new file mode 100644 index 00000000..23d09b0c --- /dev/null +++ b/README_en.md @@ -0,0 +1,140 @@ +![SmsForwarder](pic/SmsForwarder.png) + +# SmsForwarder + +[![GitHub release](https://img.shields.io/github/release/pppscn/SmsForwarder.svg)](https://github.com/pppscn/SmsForwarder/releases) [![GitHub stars](https://img.shields.io/github/stars/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/stargazers) [![GitHub forks](https://img.shields.io/github/forks/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/network/members) [![GitHub issues](https://img.shields.io/github/issues/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/issues) [![GitHub license](https://img.shields.io/github/license/pppscn/SmsForwarder)](https://github.com/pppscn/SmsForwarder/blob/main/LICENSE) + +SmsForwarder - listens to SMS, incoming calls, and App notifications on Android mobile devices, and forward according to user defined rules to another App/device, including DingTalk, WeCom and WeCom Group Bot, Feishi Bot, E-mail, Bark, Webhook, Telegram Bot, ServerChan, PushPlus, SMS, etc. + +### Download + +> ⚠ Repo address: https://github.com/pppscn/SmsForwarder/releases + +> ⚠ Repo mirror in China: https://gitee.com/pp/SmsForwarder/releases + +> ⚠ Internet storage: https://wws.lanzoui.com/b025yl86h, access password: `pppscn` + +> ⚠ CoolAPK.com: https://www.coolapk.com/apk/com.idormy.sms.forwarder + +### Manual + +> ⚠ GitHub: https://github.com/pppscn/SmsForwarder/wiki + +> ⚠ Gitee: https://gitee.com/pp/SmsForwarder/wikis/pages + +-------- + +## NOTE + +* Any code/APK of `SmsForwarder` related to the this repository is for test, study, and research only, commercial use is **prohibited**. Legality, accuracy, completeness and validity of any code/APK of this repo is guaranteed by **NOBODY**, and shall only be determined by User. + +* `pppscn` and/or any other Contributor to this repo is **NOT** responsible for any consequences (including but not limited to privacy leakage) arising from any user's direct or indirect use or dissemination of any code or APK of `SmsForwarder`, regardless of whether such use is in accordance with the laws of the country or territory where such user locates or such use or dissemination occurs. + +* Should any entity finds the code/APK of this repo infringing their rights, please provide notice and identity and proprietorship document, and we will delete relating code/APK after examining such document. + +* Privacy: `SmsForwarder` collects absolutely **NO** any of your personal data!! Except 1) version information to umeng.com for stats as the App starts, and 2) version number when manually check for update, `SmsForwarder` is **NOT** sending any data without users' knowledge. + +-------- + +## Features and standards + +**Simplicity** - `SmsForwarder` does two things only: Listen to "SMS service/Incoming calls/App notifications", and forward according to rules specified by user. + +Benefit by simplicity: + +* **E**fficient: (It's inconvenient to read the security codes such as OTP on a mobile phone, when you are using another device; and no solution satisfices our needs) + + > + AirDroid: Too many functionalities, power consuming, requiring to many permissions, data relayed by a 3rd party, paid premium service... + > + IFTTT: Too many functionalities, power consuming, requiring to many permissions, data relayed by a 3rd party, paid premium service... + > + And other Apps (e.g. Tasker) with similar features. + +* **E**nergy friendly: listens to broadcast only when running, and forwards message only when texts are received and logs recent forwarding contents and status. +* **E**ndurance: "Simplicity is the Ultimate Sophistication." The simpler the code is, the less it errs or crashes; that is what make the app runs longer. + +### Workflow: + +![工作流程](pic/working_principle.png "工作流程") + +### Features: + +- [x] Listen to SMS service, and forward according to user-defined rules (SMS contents to destination); +- [x] Forward to DingTalk Bot (to a group chat and @SOMBODY); +- [x] Forward to E-mail (SMTP with SSL encryption); +- [x] Forward to Bark; +- [x] Forward to webhook (a single web page [sending POST/GET requests to a designated URL](doc/POST_WEB.md)); +- [x] Forward to WeCom Bots; +- [x] Forward to WeCom enterprise channels; +- [x] 转发到ServerChan(Server酱·Turbo版) +- [x] Forward to Telegram Bots (Proxy support ready); +- [x] Forward to another mobile phone via SMS [Note: Paid service, carriers may charge for SMS forwarding. SMS forwarding should apply with filtered rules when device has no Internet access.] +- [x] Check for new version and upgrade; +- [x] Cache purge; +- [x] Compatible with Android 5.xx, 6.xx, 7.xx, 8.xx, 9.xx, and 10.xx; +- [x] Support for dual SIM slots smartphones and label different slots/carrier/phone number (if available); +- [x] Support for multi-level rules; +- [x] Support for customized labeling of SIM slots and device, and customized forwarding templates; +- [x] Support for rules with regular expression +- [x] Support for rules for different SIM slots; +- [x] Forward missed call information (forwarded by SIM1 slot by default); +- [x] Retry 5 times after a failed request (customized interval time, stop retrying once successfully request); +- [x] Forward to FeiShu Bot; +- [x] Customized scheme (forwarder://main) wake up other Apps; +- [x] Monitor of battery status changes; +- [x] I18n support (Chinese and English currently); +- [x] Support for setting import and export functions (One-key cloning); +- [x] Listen to notifications of other Apps and forward; +- [x] Forward to PushPlus; +- [x] Support for customized template of forwarding rules (default template overrides if left blank); +- [x] Support for variables in regular expression of forwarding rules; + +-------- + +### Screenshot: + +| Docking in Ntf. screen | Main screen | Forward rules | Forward detail | +| ---- | ---- | ---- | ---- | +| ![前台服务常驻状态栏](pic/taskbar.jpg "前台服务常驻状态栏") | ![应用主界面](pic/main.png "应用主界面") | ![转发规则](pic/rule.jpg "转发规则") | ![转发详情](pic/maindetail.jpg "转发详情") | +| Test of Fw. rule(s) | Multiple rules | Supported senders | Add/Edit DingTalk sender | +| ![添加/编辑转发规则](pic/ruleset.png "添加/编辑转发规则") | ![多重匹配规则](pic/multimatch.png "多重匹配规则") | ![发送通道](pic/sender.jpg "发送通道") | ![添加/编辑发送通道钉钉](pic/sendersetdingding.jpg "添加/编辑发送通道钉钉") | +| Add/Edit E-mail sender | Add/Edit Bark sender | Add/Edit Webhook | Add/Edit WeCom Bot sender | +| ![添加/编辑发送通道邮箱](pic/sendersetemail.jpg "添加/编辑发送通道邮箱") | ![添加/编辑发送通道Bark](pic/sendersetbark.png "添加/编辑发送通道Bark") | ![添加/编辑发送通道网页通知](pic/sendersetwebnotify.jpg "添加/编辑发送通道网页通知") | ![添加/编辑发送通道企业微信群机器人](pic/sendersetqywechat.jpg "添加/编辑发送通道企业微信群机器人") | +| Add/Edit Telegram Bot sender | Add/Edit ServerChan Turbo sender | Add/Edit WeCom Group sender | Settings | +| ![添加/编辑发送通道Telegram机器人](pic/sendertelegram.jpg "添加/编辑发送通道Telegram机器人") | ![添加/编辑发送通道Server酱·Turbo版](pic/senderserverchan.jpg "添加/编辑发送通道Server酱·Turbo版") | ![添加/编辑发送通道企业微信应用](pic/sendersetqywxapp.jpg "添加/编辑发送通道企业微信应用") | ![应用设置](pic/setting.jpg "应用设置") | +| About/Update | RegEx & specific SIM slot | SMS Fw. template w/ SIM slot info. | Add/Edit an SMS forwarding rule | +| ![在线升级](pic/update.jpg "在线升级") | ![支持正则匹配规则 & 支持卡槽匹配规则](pic/regex.jpg "支持正则匹配规则 & 支持卡槽匹配规则") | ![转发短信模板增加卡槽标识](pic/siminfo.jpg "转发短信模板增加卡槽标识") | ![添加/编辑发送通道其他手机短信](pic/sendersetsms.jpg "添加/编辑发送通道其他手机短信") | +| Add/Edit FeiShu Bot sender | Import and export (one-key cloning) | Listen to ntf. of other Apps and fw. | Get App pkg name(s) | +| ![添加/编辑发送通道飞书](pic/senderfeishu.png "添加/编辑发送通道飞书") | ![增加配置导出导入功能(一键克隆)](pic/clone.png "增加配置导出导入功能(一键克隆)") | ![监听其他APP通知信息并转发](pic/app_notify.png "监听其他APP通知信息并转发") | ![获取所有应用列表(方便复制APP包名)](pic/app_list.png "获取所有应用列表(方便复制APP包名)") | + +-------- + +## Feedback and suggestions: + ++ Submit an issue or Pull Request. ++ Join group chat (only Chinese groups/channels available currently) + +| DingTalk | QQ user group #1: 562854376 | QQ user group #2: 31330492 | WeCom | +| ---- | ---- | ---- | ---- | +| ![钉钉客户群](pic/dingtalk.png "钉钉客户群") | ![QQ交流群:562854376](pic/qqgroup_1.jpg "QQ交流群:562854376") | ![QQ交流群:31330492](pic/qqgroup_2.jpg "QQ交流群:31330492") | ![企业微信群](pic/qywechat.png "企业微信群") | + +## Acknowledgements + +> Thanks to the projects below, `SmsForwarder` won't exists without them! + ++ https://github.com/xiaoyuanhost/TranspondSms (Foundation of `SmsForwarder`) ++ https://github.com/square/okhttp (http communications) ++ https://github.com/xuexiangjys/XUpdateAPI (online update) ++ https://github.com/mailhu/emailkit (email sending) ++ https://github.com/alibaba/fastjson (json parsing) ++ [![GitHub license](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg?_ga=2.126618957.1361252949.1638261367-1417196221.1635638144&_gl=1*1pfl3dq*_ga*MTQxNzE5NjIyMS4xNjM1NjM4MTQ0*_ga_V0XZL7QHEB*MTYzODMzMjA4OC43LjAuMTYzODMzMjA5Ny4w)](https://jb.gg/OpenSourceSupport) (License Certificate for JetBrains All Products Pack) + +-------- + +## Star this repo if you find this application useful! + +[![starcharts stargazers over time](https://starchart.cc/pppscn/SmsForwarder.svg)](https://github.com/pppscn/SmsForwarder) + +-------- + +## LICENSE + +BSD diff --git a/app/src/main/res/values-en/strings.xml b/app/src/main/res/values-en/strings.xml index f60dcc2c..b9aeaade 100644 --- a/app/src/main/res/values-en/strings.xml +++ b/app/src/main/res/values-en/strings.xml @@ -1,6 +1,6 @@ SmsForwarder - Forward to DingTalk/WeCom/FeiShu/Email/Bark/ServerChan/Telegram/Webhook, etc + Forward SMS (and others!) to another app/device, a must-have for anyone's secondary smartphone. Free and open source, do NOT buy or sell this App. OK Cancel @@ -17,22 +17,22 @@ Sender Setting App List Tips: Pull to refresh; Long press to delete one log entry. - Tips: Tap "NEW FORWARDING RULE" to add a new rule; Long press one to delete; Tap an existing one to edit. - Tips: Tap "NEW SENDER" to add a new sender; Long press one to delete; Tap an existing one to edit. - Tips: Tap to copy the package name of APP; Long press one to start and jump to. + Tips: Tap "NEW FORWARDING RULE" to add a new rule; Long press a rule to delete; Tap an existing rule to edit. + Tips: Tap "NEW SENDER" to add a new sender; Long press a sender to delete; Tap an existing sender to edit. + Tips: Tap to copy the package name of an App; Long press an App to start and jump to it. Version Check for updates Auto startup Show tips - Open source - Synchronize Mirror + Repo URL + Repo Mirror QQ Group 1st:562854376 2nd:31330492 Join 1st Group Join 2nd Group - Cache + Cache size Purge Checking… Yo, you are up to date! @@ -42,37 +42,37 @@ Clear Logs Delete confirmation Are you sure to delete this log entry? - The log entry has deleted. + This log entry is deleted. Details Are you sure to clear all forwarding logs? Pull to refresh. Release to refresh. Refreshing… - Fwd Rule Settings - Fwd Rule Settings of call - Fwd Rule Settings of app + SMS Fw. Rule Settings + Call Fw. Rule Settings + App Ntf. Fw. Rule Settings Delete confirmation - Are you sure to delete this rule entry? - The rule entry has deleted. + Are you sure to delete this rule? + The rule has deleted. Please add a new sender and then choose it. Please add a sender first. Select Sender Rule tester: - New sms forwarding rule - New call forwarding rule - New app forwarding rule + New SMS Fw. rule + New Call Fw. rule + New App Fw. rule Test Sim Slot Test Phone Number Test Msg Content Test PackageName - Test Inform content - Sim Slot + Test Ntf. content + SIM Slot Field Phone No. PackageName SMS - Inform content + Ntf. content Multiple Type Is @@ -85,8 +85,8 @@ Invalid sender, abort! Delete confirmation - Are you sure to delete this rule entry? - The rule entry has deleted. + Are you sure to delete this sender? + The sender is deleted. Select sender type Not supported DingTalk Bot Settings @@ -105,15 +105,15 @@ 【JD】code 387481, ihelp.jd.com Test Group Name Failed to fwd: - Token cannot be empty + Token cannot be blank Invalid email settings - Bark-server cannot be empty - Neither ApiToken nor ChatId can be empty - SendKey cannot be empty - WebServer cannot be empty - webHook cannot be empty - The specified member cannot be empty or select @all - Phone number cannot be empty + Bark-server cannot be blank + Neither ApiToken nor ChatId can be blank + SendKey cannot be blank + WebServer cannot be blank + Webhook cannot be blank + The specified member cannot be blank or select @all + Phone number cannot be blank New Sender Bark Group Name Bark-Server, e.g. https://bark.bms.ink/XXXXXXXX/ @@ -149,7 +149,7 @@ Method WebServer e.g. https://a.b.com/msg?token=xyz WebParams e.g. payload=%7B%22text%22%3A%22[msg]%22%7D [msg] will be replaced with text message content. \nSupport Json format, for example: {"text":[MSG]}.\n Note: MSG is automatically utF-8 encoded in addition to JSON format - Secret (If empty, sign is not counted) + Secret (sign is not counted if left blank) Sim Slot Same source Receive mobile phone numbers separated by, e.g. 15888888888;19999999999 @@ -170,14 +170,14 @@ Forward app notify Master switch, please grant notice first Enable custom templates - Priority: custom template for forwarding rules >Global custom template >The default + Priority: custom template for forwarding rules > Global custom template > System default Enable regular replacement content Format: RegularExpression===ReplacementResult,One rule per line.\ne.g. (\\d{3})\\d+(\\d{4})===$1****$2 Format check: line %d is badly formatted! Format: RegularExpression===ReplacementResult - Exclude from recents - After this function is enabled, manual killing of processes is effectively avoided, which helps to keep the process alive + Hide from recent Apps + Enable to hide SmsForwarder from recent Apps to keep it alive Custom templates - Tip:Insert labels as needed;Leave blank to default template + Tip:Insert labels as needed; Leave blank to apply default template Phone PackageName SMS @@ -186,9 +186,9 @@ Time Device Restore initial Setting - Are you sure you want to restore the initial configuration? \n\n[Warning] This operation will reset Settings, delete send channels, rules, logs! + Are you sure you want to restore the initial configuration? \n\n[Warning] This operation will reset settings, and delete senders, rules, and logs! Battery Optimization - Request Notify Permission + Request Ntf. Permission Unknown Number Incoming telegram Your phone does not support this setting @@ -200,40 +200,40 @@ 0KB SIM1 SIM2 - 多重匹配规则示例:\n \n 并且 是 手机号 相等 10086\n 或者 是 手机号 相等 10011\n 并且 是 短信内容 包含 欠费\n \n 以上规则表示:收到短信,并且(手机号是10086 或者 手机号是10010),并且 短信内容 包含 欠费 时转发短信\n 注意:每行开始的空格代表层级,太过复杂的多重规则可能导致内存占用很大! - 多重匹配规则示例:\n \n 并且 是 包名 相等 com.tencent.mm\n 或者 是 包名 相等 com.tencent.mm\n 并且 是 通知内容 包含 欠费\n \n 以上规则表示:收到APP通知,并且(包名是com.tencent.mm 或者 包名是com.tencent.mm),并且 通知内容 包含 欠费 时转发通知\n 注意:每行开始的空格代表层级,太过复杂的多重规则可能导致内存占用很大! + 多重匹配规则示例:\n \n 并且 是 手机号 相等 10086\n 或者 是 手机号 相等 10011\n 并且 是 短信内容 包含 欠费\n \n 以上规则表示:收到短信,并且(手机号是10086 或者 手机号是10010),并且 短信内容 包含 欠费 时转发短信\n Note: Space(s) at beginning of each line indicates rule hierarchy, complicity of multiple rules may causes large memory usage! + 多重匹配规则示例:\n \n 并且 是 包名 相等 com.tencent.mm\n 或者 是 包名 相等 com.tencent.mm\n 并且 是 通知内容 包含 欠费\n \n 以上规则表示:收到APP通知,并且(包名是com.tencent.mm 或者 包名是com.tencent.mm),并且 通知内容 包含 欠费 时转发通知\n Note: Space(s) at beginning of each line indicates rule hierarchy, complicity of multiple rules may causes large memory usage! POST GET Local IP: - Operation instructions: \n1. Please keep the old and new phones in the same WiFi network, and do not turn on isolation \n2.The old mobile phone directly click "send" button, get "server IP" \n3. After filling in "Server IP" for the new mobile phone, click "Receive" button \n [note], the sender and forwarding rules will be completely covered after the new mobile phone receives! + Instructions: \n1. Please keep the SOURCE and DESTINATION phones in the same Wi-Fi network, and do not turn on isolation. \n2. Tap "Send" on SOURCE mobile phone, and get "server IP" \n3. After filling in "Server IP" on DESTINATION phone, tap "Receive". \n [NOTE:] sender(s), forwarding rule(s) and log(s) will be overwritten after cloning! Send Stop - I\'m the old phone + I\'m the SCOURCE phone Receive - I\'m the new phone + I\'m the DESTINATION phone Server IP: . Please enter a valid IP address The server is started successfully The server has been stopped - This mobile phone is the sender and cannot receive files. - If the Wifi network is not connected, the one-click cloning function cannot be used. + This mobile phone is the SOURCE and cannot receive files. + One-tap cloning function does NOT work without Wi-Fi connection. Please enter a valid server IP address Download Success - Currently on a wireless network - Currently on a mobile network - No network at present - Not connected WIFI - Failed to get IP address + A Wireless network connected. + A Mobile network connected. + Not connected to a network. + No Wi-Fi network connected. + Failed to get an IP address SMS Call App App Icon User App System App - Please set the power saving optimization to unlimited (no optimization), which is conducive to the survival of SMS forwarder! - Please grant the right to use SMS forwarder notification first, otherwise the APP notification cannot be forwarded and the forwarding will be automatically closed! + Please deactivate power optimization for SmsForwarder, in order to keep the App alive! + Please grant Notification reading permission to SmsForwarder, before other Apps' notification could be forwarded. Forwarding automatically canceled! The notification service is enabled The notification service is disabled Token