feat(settings): credit DeepCW (AGPL-3.0) in the about section
AGPL-3.0 要求署名。在设置页"关于"卡片的许可说明下方显示 DeepCW 模型的 作者 (e04)、许可证 (AGPL-3.0-only) 与上游仓库链接。 字符串标 translatable="false": 署名与许可证名称不应翻译。 完整声明见 feature/cw/licenses/NOTICE.md。 验证: ./gradlew :feature:settings:compileDebugKotlin => BUILD SUCCESSFUL
This commit is contained in:
1 parent
9b0d543f12
commit
d93e3b4028
2 files changed
+8
No files matched your search
@@ -314,5 +314,6 @@
|
||||
\n* BG7NTA
|
||||
</string>
|
||||
<string name="prefs_outro_license">The app comes with no warranty</string>
|
||||
<string name="prefs_outro_deepcw" translatable="false">CW decoding uses the DeepCW model by e04, licensed under AGPL-3.0-only.\nhttps://github.com/e04/deepcw-engine</string>
|
||||
|
||||
</resources>
|
||||
+7
@@ -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
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user