From b87d77d5e3bc93d45134db761443ecb5ecf62a4f Mon Sep 17 00:00:00 2001 From: meeh Date: Sat, 23 Mar 2019 12:18:13 +0000 Subject: [PATCH] Android release commit 0.9.39 * translation updates. * changed IPC uid to match bote. --- app/build.gradle | 11 +- app/src/main/AndroidManifest.xml | 4 +- app/src/main/res/values-sk/strings.xml | 1 + app/src/main/res/values-sq/strings.xml | 2 + app/src/main/res/values-vi/strings.xml | 6 - app/src/main/res/values-zh-rTW/strings.xml | 249 ++++++++++++++++++ build.gradle | 4 + gradle.properties | 4 +- lib/client/build.gradle | 3 +- lib/helper/build.gradle | 3 +- lib/helper/src/main/res/values-ar/strings.xml | 9 + 11 files changed, 277 insertions(+), 19 deletions(-) create mode 100644 app/src/main/res/values-zh-rTW/strings.xml create mode 100644 lib/helper/src/main/res/values-ar/strings.xml diff --git a/app/build.gradle b/app/build.gradle index 63e1c286d..55ce05514 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,9 +3,9 @@ apply plugin: 'com.android.application' android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION as String) defaultConfig { - versionCode 4745246 + versionCode 4745247 versionName "$I2P_VERSION" - minSdkVersion 9 + minSdkVersion 14 targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION as String) // For Espresso @@ -32,6 +32,7 @@ android { } lintOptions { abortOnError false + disable 'MissingDefaultResource' } packagingOptions { exclude 'LICENSE.txt' @@ -51,6 +52,7 @@ android { applicationId 'net.i2p.android.router' } } + buildToolsVersion '28.0.3' } dependencies { @@ -58,15 +60,13 @@ dependencies { implementation project(':lib:client') implementation project(':lib:helper') implementation project(path: ':routerjars', configuration: 'routerjars') - // Android Support Repository dependencies - def supportVersion = '25.3.1' + def supportVersion = '28.0.0' implementation "com.android.support:support-v4:$supportVersion" implementation "com.android.support:appcompat-v7:$supportVersion" implementation "com.android.support:preference-v7:$supportVersion" implementation "com.android.support:preference-v14:$supportVersion" implementation "com.android.support:recyclerview-v7:$supportVersion" - // Remote dependencies implementation 'com.androidplot:androidplot-core:1.4.1' implementation 'com.eowise:recyclerview-stickyheaders:0.5.2@aar' @@ -75,7 +75,6 @@ dependencies { implementation "net.i2p:router:$I2P_VERSION" implementation 'net.i2p.android.ext:floatingactionbutton:1.10.1' implementation 'org.sufficientlysecure:html-textview:3.1' - // Testing-only dependencies androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2') { exclude group: 'com.android.support', module: 'support-annotations' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0d0e980d0..4b3e5493a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,8 @@ + android:installLocation="auto" + android:sharedUserId="net.i2p"> @@ -9,6 +10,7 @@ + HTTP klient Užívateľské meno Heslo + Ďalší Vlastné nastavenia Všetko diff --git a/app/src/main/res/values-sq/strings.xml b/app/src/main/res/values-sq/strings.xml index f3bc62d65..e680efc3b 100644 --- a/app/src/main/res/values-sq/strings.xml +++ b/app/src/main/res/values-sq/strings.xml @@ -6,6 +6,7 @@ Tip/version i ri është instaluar. Ju lutem lexoni notat e lëshimit .Versioni: Tunelet Statusi + Konsolë Adresa Libri i adresave. Tunelet e klientëve @@ -189,6 +190,7 @@ Klient i HTTP\'së Emër përdoruesi Fjalëkalim + Tjetër Krejt Nuk ka mesazhe diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index fa43aa68f..d62386b47 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -3,20 +3,14 @@ I2P Chào mừng bạn đã sử dụng I2P! Đây là phiên bản ALPHA và có thể vẫn chưa được hoàn thiện đầy đủ các tính năng. Vui lòng đọc các tính năng có trong phần ghi chú về phiên bản cũng như thông tin về giấy phép sử dụng. Phiên bản mới đã được cài đặt. Vui lòng đọc kỹ phần chú ý cài đặt. Phiên bản: - Trang chủ I2P Sổ địa chỉ Nhật trình Nhật trình về lỗi - Tin tức và trang tin - Trang chào mừng Tin tức Mạng ngang hàng Ghi chú phát hành Giấy phép - Thông tin không được ẩn danh Thêm vào - Bắt đầu định tuyến - Dừng lại định tuyến Tải lại Thiết lập Cho phép diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml new file mode 100644 index 000000000..c8721c112 --- /dev/null +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -0,0 +1,249 @@ + + + I2P + I2P標誌 + 選擇語言 + 歡迎來到I2P! 這個應用程式尚在α階段且不提供高度匿名。請閱讀發行公告與許可證資訊。 + 已安裝新版本。請閱讀發行公告。版本: + 隧道 + 狀態 + 控制檯 + 地址 + 地址簿 + 客戶端隧道 + 伺服器隧道 + 日誌 + 錯誤日誌 + 新聞 + 節點 + 版本說明 + 許可證 + 瀏覽 + 圖表 + 長按啟動I2P + I2P正在執行(長按結束) + I2P會在 %s秒內關閉 + 長按以立馬中止 + 長按以取消關閉 + 無法連接上網路 + 隱身 + 測試中 + 防火牆限制 + 對稱 NAT + 客戶端管理程序I2CP出錯-請檢察日誌 + + 時間誤差了%s秒 + 未解決的傳輸控制協定位址 + 私人傳輸控制協定位址 + 入站傳輸控制協定許可被防火牆擋下 + 種子節點因防火牆受限 + 連線已斷開 - 請檢查網路連接 + 使用者數據包協定埠口正在使用 - 在設定中改變並重啟 + 無活動結點 - 請檢查網路連線及防火牆 + 已禁用UDP且未設定入站TCP的主機和與埠口 + UDP已禁用,且受防火牆限制 + 共享客戶端 + 執行時間 + 活躍節點 + 已知節點 + + + + + 尚無運行的隧道 + 下載 + 上傳 + 配置瀏覽器嗎? + 您要配置瀏覽器來查看I2P網站嗎? (您也可以稍後在幫助清單設定。) + 恭喜您成功安裝了 I2P ! + 歡迎來到I2P!保持耐心 等 I2P 啟動和找節點。 + 在您等候的同時,請在閱讀發行公告與歡迎頁面。 + 當您有了客戶端隧道時,請 看看 我們的 FAQ: + 或使用這不匿名的網址,如果您不想等的話: + 將您的 IRC 客戶端連線指向localhost:6668 並且在上面跟我們打聲招呼: + 搜尋 + 新增 + 編輯 + 刪除 + 啟動隧道 + 中止隧道 + 啟動所有隧道 + 中止所有隧道 + 重啟所有隧道 + 重新載入 + 重新整理 + 搜尋地址簿 + 重新載入訂閱 + 新聞˙最後更新於%s秒前 + 新聞˙最後檢查於%s秒前 + 新聞已更新 + 點擊查看最新的I2P新聞 + 路由器不在運行中 + 路由器正在關閉 + 統計管理程序尚未預備。稍後再試 + 選擇一個地址。 + 並未配置任何圖表。您可以在設定清單內選擇統計圖。任何變更將會在60秒後生效。 + 設置圖表 + 圖表尚未預備。稍後再試。 + 統計 + 路由器 + 賃集 + 國家 + 國家 + 傳輸 + 版本 + 版本 + 計數 + 隱身或正在啟動 + 在您的NetDB裡沒有路由器。 + 在您的NetDB裡沒有租賃集。 + I2P正在啟動 + I2P正在重啟 + I2P正在等待網路連接 + 網路已連接,I2P正在啟動 + I2P正在運行 + 客戶端隧道已經預備 + 客戶端隧道已經結束 + I2P將在%s秒內終止 + I2P將終止 + 網路已斷開,I2P正在停止 + 已取消關閉 + I2P正在關閉 + 帶寬: 每秒下行%1$s字節/上行 %2$s字節 + 節點: %1$d活躍,%2$d已知 + 隧道探索: %1$d/%2$d + 客戶端隧道: %1$d/%2$d + 設定 + 啟用 + 訂閱的網址 + 頻寬和網路 + 開機時啟動I2P + 當您的Android設備啟動時自動連上I2P + 頻寬 + 入站速度 + 最大入站速度 + 出站速度 + 最大出站速度 + 網路 + 共享 + 關閉隱身模式 + 最大共享隧道 + 參與者的最大隧道數量(默認值 = 20) + 參與者的最大隧道數量 + 分享率 + 共享出多少百分比的頻寬(默認值= 80) + 共享出多少百分比的頻寬 + 自動開啟防火牆連接埠 + 日誌 + 預設日誌等級 + 外觀 + 語言 + 預設值 + 高階 + 路由統計 + 在主控制台中顯示高級統計資料 + 傳輸 + 最大連接數 + I2CP 介面 + 監聽Port 7654 + 導坑池 + 隧道參數 + Inbound 隧道 + Outbound 隧道 + 長度 + %s 跳躍數 + 要使用多少個跳躍數 + 跳躍數的變異 + %s + 隨機添加跳躍數 + 數量 + %s 隧道 + 多少個隧道 + 備用數量 + %s 隧道 + 儲備多少個隧道 + 您至少要打開一種傳輸層協定 + 請重新啟動 I2P 來讓新設定生效 + 關於 + 版本: + 專案首頁: + 問題和支援: + 需要幫忙! + 您是否願意伸出援手,讓這個 app 變得更好使用?我們的安卓論壇正在招募志工: + 您願意捐款或捐比特幣給我們,去買開發和測試用的安卓設備嗎?這裡: + 幫助 + 功能概況 + 公共位址 + 私有位址 + 地址簿是空的 + %s 個發現 + 名稱 + 目標 + 名字是 + 標準客戶端 + HTTP 客戶端 + IRC客戶端 + 標準伺服器 + HTTP 伺服器 + SOCKS 4/4a/5 的代理 + SOCKS IRC 代理 + CONNECT/SSL/HTTPS 代理 + IRC 伺服器 + 安裝建議的 app ? + 隧道尚未初始化,請在兩分鐘內重整。 + 客戶端隧道沒有設定。 + 伺服器隧道沒有設定。 + 新隧道 + 設定檔變更已儲存 + 儲存設定檔案失敗 + 隧道開啟中 + 隧道終止中 + 刪除隧道? + 刪除隧道 + 無法載入詳細的隧道資料 + 客戶端或伺服器 + 客戶端隧道 + 伺服器隧道 + 隧道類型 + 名稱 + 描述 + 目標 + 連外代理 + 目標主機 + 目標端口 + 開啟被連通 + 自動啟動 + 下一個 + 前一個 + 提交 + 複檢 + 啟用 + 建立新隧道? + 建立新隧道 + 目標 + 訪問點 + 自動啟動 + 將位址複製到剪貼簿 + 編輯隧道 + 名稱 + 描述 + 自動啟動 + 當路由器啟動時一併啟動這個隧道。 + 本地端口 + 共享客戶端 + 開啟被連通 + 連外代理 + SSL 的連外代理 + 目標主機 + 目標端口 + 使用 SSL + 隧道參數 + 個人資料 + 關閉 + 無限制 + HTTP 客戶端 + 使用者名稱 + 密碼 + 其它 + 全部 + diff --git a/build.gradle b/build.gradle index ec0f98fce..e8b1aabe1 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,6 @@ buildscript { repositories { + mavenLocal() jcenter() google() } @@ -13,7 +14,10 @@ allprojects { group = GROUP repositories { + mavenLocal() jcenter() google() } } + + diff --git a/gradle.properties b/gradle.properties index 19a24813d..0bef14b47 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,6 +13,6 @@ POM_DEVELOPER_ID=str4d POM_DEVELOPER_NAME=str4d POM_DEVELOPER_EMAIL=str4d@i2pmail.org -I2P_VERSION=0.9.38 +I2P_VERSION=0.9.39 ANDROID_BUILD_TARGET_SDK_VERSION=26 -ANDROID_BUILD_SDK_VERSION=26 +ANDROID_BUILD_SDK_VERSION=28 diff --git a/lib/client/build.gradle b/lib/client/build.gradle index 4dffbfaac..abfd0ea59 100644 --- a/lib/client/build.gradle +++ b/lib/client/build.gradle @@ -4,7 +4,6 @@ version = "$I2P_VERSION" android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION as String) - defaultConfig { minSdkVersion 9 targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION as String) @@ -22,12 +21,12 @@ android { lintOptions { abortOnError false } + buildToolsVersion '28.0.3' } dependencies { implementation "net.i2p:i2p:$I2P_VERSION" implementation "net.i2p.client:streaming:$I2P_VERSION" - testImplementation 'junit:junit:4.12' testImplementation 'org.mockito:mockito-core:2.11.0' } diff --git a/lib/helper/build.gradle b/lib/helper/build.gradle index 5641667df..329a62bf3 100644 --- a/lib/helper/build.gradle +++ b/lib/helper/build.gradle @@ -4,7 +4,6 @@ version = '0.9.5' android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION as String) - defaultConfig { minSdkVersion 9 targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION as String) @@ -22,11 +21,11 @@ android { lintOptions { abortOnError false } + buildToolsVersion '28.0.3' } dependencies { implementation 'com.android.support:support-v4:25.3.1' - testImplementation 'junit:junit:4.12' testImplementation 'org.mockito:mockito-core:2.11.0' } diff --git a/lib/helper/src/main/res/values-ar/strings.xml b/lib/helper/src/main/res/values-ar/strings.xml new file mode 100644 index 000000000..42426fc5d --- /dev/null +++ b/lib/helper/src/main/res/values-ar/strings.xml @@ -0,0 +1,9 @@ + + + نعم + + تثبيت I2P أندرويد؟ + يجب تثبيت I2P أندرويد وتشغيله. هل ترغب في تثبيته؟ + بدأ I2P أندرويد؟ + يبدو أن I2P أندرويد لا يعمل. هل ترغب في بدء تشغيله؟ +