From f5891ee03da0aabea58c33da2ee8c513c44b3575 Mon Sep 17 00:00:00 2001 From: Levi Date: Fri, 27 Dec 2024 11:17:17 +0800 Subject: [PATCH] feat: add batch create tips (#858) --- README.md | 2 +- README_ja-JP.md | 2 +- README_vi-VN.md | 2 +- README_zh-CN.md | 2 +- README_zh-TW.md | 2 +- ui/flutter/lib/i18n/langs/en_us.dart | 3 +-- ui/flutter/lib/i18n/langs/zh_cn.dart | 2 +- ui/flutter/lib/i18n/langs/zh_tw.dart | 2 +- 8 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index bd56ee795..e82463893 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ command: - android ```bash -gomobile bind -tags nosqlite -ldflags="-w -s" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile +gomobile bind -tags nosqlite -ldflags="-w -s -checklinkname=0" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile cd ui/flutter flutter build apk ``` diff --git a/README_ja-JP.md b/README_ja-JP.md index bada88c1e..be61a498e 100644 --- a/README_ja-JP.md +++ b/README_ja-JP.md @@ -162,7 +162,7 @@ gomobile init - android ```bash -gomobile bind -tags nosqlite -ldflags="-w -s" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile +gomobile bind -tags nosqlite -ldflags="-w -s -checklinkname=0" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile cd ui/flutter flutter build apk ``` diff --git a/README_vi-VN.md b/README_vi-VN.md index df1499a66..abb3597bf 100644 --- a/README_vi-VN.md +++ b/README_vi-VN.md @@ -170,7 +170,7 @@ command: - android ```bash -gomobile bind -tags nosqlite -ldflags="-w -s" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile +gomobile bind -tags nosqlite -ldflags="-w -s -checklinkname=0" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile cd ui/flutter flutter build apk ``` diff --git a/README_zh-CN.md b/README_zh-CN.md index 78f6a235e..fd21c137c 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -174,7 +174,7 @@ gomobile init - android ```bash -gomobile bind -tags nosqlite -ldflags="-w -s" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile +gomobile bind -tags nosqlite -ldflags="-w -s -checklinkname=0" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile cd ui/flutter flutter build apk ``` diff --git a/README_zh-TW.md b/README_zh-TW.md index aed8e07ac..d13172483 100644 --- a/README_zh-TW.md +++ b/README_zh-TW.md @@ -170,7 +170,7 @@ gomobile init - android ```bash -gomobile bind -tags nosqlite -ldflags="-w -s" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile +gomobile bind -tags nosqlite -ldflags="-w -s -checklinkname=0" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 21 -javapkg="com.gopeed" github.com/GopeedLab/gopeed/bind/mobile cd ui/flutter flutter build apk ``` diff --git a/ui/flutter/lib/i18n/langs/en_us.dart b/ui/flutter/lib/i18n/langs/en_us.dart index 91b9a4757..7a2656da3 100644 --- a/ui/flutter/lib/i18n/langs/en_us.dart +++ b/ui/flutter/lib/i18n/langs/en_us.dart @@ -20,8 +20,7 @@ const enUS = { 'followSettings': 'Follow Settings', 'downloadLink': 'Download Link', 'downloadLinkValid': 'Please enter the download link', - 'downloadLinkHit': - 'Please enter the download link, HTTP/HTTPS/MAGNET supported@append', + 'downloadLinkHit': 'Please enter the download link, one per line@append', 'downloadLinkHitDesktop': ', or drag the torrent file here directly', 'download': 'Download', 'noFileSelected': 'Please select at least one file to continue.', diff --git a/ui/flutter/lib/i18n/langs/zh_cn.dart b/ui/flutter/lib/i18n/langs/zh_cn.dart index 1d72e82c7..b408ff145 100644 --- a/ui/flutter/lib/i18n/langs/zh_cn.dart +++ b/ui/flutter/lib/i18n/langs/zh_cn.dart @@ -20,7 +20,7 @@ const zhCN = { 'followSettings': '跟随设置', 'downloadLink': '下载链接', 'downloadLinkValid': '请输入下载链接', - 'downloadLinkHit': '请输入下载链接,支持 HTTP/HTTPS/MAGNET@append', + 'downloadLinkHit': '请输入下载链接,支持批量下载,每行一个链接@append', 'downloadLinkHitDesktop': ',也可以直接拖拽种子文件到此处', 'download': '下载', 'noFileSelected': '请至少选择一个文件下载', diff --git a/ui/flutter/lib/i18n/langs/zh_tw.dart b/ui/flutter/lib/i18n/langs/zh_tw.dart index 039e76a23..40f47750a 100644 --- a/ui/flutter/lib/i18n/langs/zh_tw.dart +++ b/ui/flutter/lib/i18n/langs/zh_tw.dart @@ -20,7 +20,7 @@ const zhTW = { 'followSettings': '跟隨設定', 'downloadLink': '下載連結', 'downloadLinkValid': '請輸入下載連結', - 'downloadLinkHit': '請輸入下載連結,支援 HTTP/HTTPS/MAGNET@append', + 'downloadLinkHit': '請輸入下載連結,支援批量下載,每行一個連結@append', 'downloadLinkHitDesktop': ',或直接拖曳種子檔到此處', 'download': '下載', 'noFileSelected': '請至少選擇一個檔案以繼續。',