From d93e3b4028cf7e182840bf2f44279f52c21389cd Mon Sep 17 00:00:00 2001 From: QIU Date: Wed, 12 Aug 2026 13:03:59 +0000 Subject: [PATCH] feat(settings): credit DeepCW (AGPL-3.0) in the about section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AGPL-3.0 要求署名。在设置页"关于"卡片的许可说明下方显示 DeepCW 模型的 作者 (e04)、许可证 (AGPL-3.0-only) 与上游仓库链接。 字符串标 translatable="false": 署名与许可证名称不应翻译。 完整声明见 feature/cw/licenses/NOTICE.md。 验证: ./gradlew :feature:settings:compileDebugKotlin => BUILD SUCCESSFUL --- core/presentation/src/main/res/values/strings.xml | 1 + .../rtbishop/look4sat/feature/settings/SettingsScreen.kt | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/core/presentation/src/main/res/values/strings.xml b/core/presentation/src/main/res/values/strings.xml index c2fc5b61..47ca88e1 100644 --- a/core/presentation/src/main/res/values/strings.xml +++ b/core/presentation/src/main/res/values/strings.xml @@ -314,5 +314,6 @@ \n* BG7NTA The app comes with no warranty + CW decoding uses the DeepCW model by e04, licensed under AGPL-3.0-only.\nhttps://github.com/e04/deepcw-engine diff --git a/feature/settings/src/main/java/com/rtbishop/look4sat/feature/settings/SettingsScreen.kt b/feature/settings/src/main/java/com/rtbishop/look4sat/feature/settings/SettingsScreen.kt index cc78e34b..6e2fc858 100644 --- a/feature/settings/src/main/java/com/rtbishop/look4sat/feature/settings/SettingsScreen.kt +++ b/feature/settings/src/main/java/com/rtbishop/look4sat/feature/settings/SettingsScreen.kt @@ -1071,6 +1071,13 @@ private fun CardCredits(modifier: Modifier = Modifier) { text = stringResource(id = R.string.prefs_outro_license), color = MaterialTheme.colorScheme.primary ) + // AGPL-3.0 attribution for the vendored DeepCW model. + // See feature/cw/licenses/NOTICE.md for the full notice. + Text( + text = stringResource(id = R.string.prefs_outro_deepcw), + style = MaterialTheme.typography.bodySmall, + color = MaterialTheme.colorScheme.onSurfaceVariant + ) } } }