chore: dev i18n

This commit is contained in:
zhoubinjia committed 2026-01-15 14:32:47 +08:00
1 parent 5110fca064
commit 59df8b09dd
6 files changed
+31 -6

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"Bash(./gradlew assembleDebug:*)"
]
}
}
+1 -1
View File
@@ -5,7 +5,7 @@
- [x] 滤镜面板自动关闭
- [x] 对焦
- [x] 相册导入照片方向处理
- [ ] 开发者选项多语言
- [x] 开发者选项多语言
- [ ] 批量导入
- [ ] LUT自定义命名
- [ ] 静音拍照添加震动
@@ -206,7 +206,7 @@ fun SettingsScreen(
Spacer(modifier = Modifier.height(24.dp))
// 开发者选项
SettingsSection(title = "开发者选项") {
SettingsSection(title = stringResource(R.string.settings_section_developer)) {
// 日志收集按钮
Row(
modifier = Modifier
@@ -218,14 +218,14 @@ fun SettingsScreen(
) {
Column(modifier = Modifier.weight(1f)) {
Text(
text = "日志收集",
text = stringResource(R.string.settings_log_viewer),
color = Color.White,
fontSize = 16.sp,
fontWeight = FontWeight.Normal
)
Spacer(modifier = Modifier.height(4.dp))
Text(
text = "查看和导出应用日志,用于问题诊断",
text = stringResource(R.string.settings_log_viewer_description),
color = Color.White.copy(alpha = 0.6f),
fontSize = 13.sp,
lineHeight = 18.sp
@@ -236,7 +236,7 @@ fun SettingsScreen(
Icon(
imageVector = Icons.Default.Article,
contentDescription = "日志",
contentDescription = stringResource(R.string.logs),
tint = Color.White.copy(alpha = 0.6f)
)
}
+7 -1
View File
@@ -58,5 +58,11 @@
<string name="frame">边框</string>
<string name="none">无</string>
<string name="show_app_branding">显示 App 品牌</string>
<string name="export_with_frame_confirm">导出带边框水印的照片?</string>
<string name="export_with_frame_confirm">导出带边框水印的照片?</string>
<!-- Developer Options -->
<string name="settings_section_developer">开发者选项</string>
<string name="settings_log_viewer">日志收集</string>
<string name="settings_log_viewer_description">查看和导出应用日志,用于问题诊断</string>
<string name="logs">日志</string>
</resources>
+6
View File
@@ -128,4 +128,10 @@
<string name="delete_confirm_title">删除确认</string>
<string name="delete_custom_content_confirm">删除 "%s" 吗?</string>
<string name="importing">导入中...</string>
<!-- Developer Options -->
<string name="settings_section_developer">开发者选项</string>
<string name="settings_log_viewer">日志收集</string>
<string name="settings_log_viewer_description">查看和导出应用日志,用于问题诊断</string>
<string name="logs">日志</string>
</resources>
+6
View File
@@ -129,4 +129,10 @@
<string name="delete_confirm_title">Delete Confirmation</string>
<string name="delete_custom_content_confirm">Delete "%s"?</string>
<string name="importing">Importing...</string>
<!-- Developer Options -->
<string name="settings_section_developer">Developer Options</string>
<string name="settings_log_viewer">Log Viewer</string>
<string name="settings_log_viewer_description">View and export app logs for diagnostics</string>
<string name="logs">Logs</string>
</resources>