From a320192e5bca7f11a3cf20798385a4547bbc4485 Mon Sep 17 00:00:00 2001 From: Kaede Akino Date: Sun, 20 Sep 2026 01:18:01 +0800 Subject: [PATCH] Fix logging settings wording --- Frameworks/Resources/Localizable.xcstrings | 10 +++++----- TFI/Features/Settings/MobileLoggingView.swift | 6 +++--- TFM/Features/Settings/LoggingFilesSettings.swift | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Frameworks/Resources/Localizable.xcstrings b/Frameworks/Resources/Localizable.xcstrings index b31a0f90..0ebd68ed 100644 --- a/Frameworks/Resources/Localizable.xcstrings +++ b/Frameworks/Resources/Localizable.xcstrings @@ -30015,29 +30015,29 @@ "zh-Hant" : { "stringUnit" : { "state" : "translated", "value" : "日誌" } } } }, - "Logging may contain private diagnostic information. Review it before sharing." : { + "Logs may contain private diagnostic information. Review them before sharing." : { "extractionState" : "manual", "localizations" : { "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "日志可能包含私密诊断信息。分享前请先检查。" } }, "zh-Hant" : { "stringUnit" : { "state" : "translated", "value" : "日誌可能包含私密診斷資訊。分享前請先檢查。" } } } }, - "Logging may contain private diagnostic information. Review where you send or save it." : { + "Logs may contain private diagnostic information. Review where you send or save them." : { "extractionState" : "manual", "localizations" : { "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "日志可能包含私密诊断信息。请确认发送或保存位置。" } }, "zh-Hant" : { "stringUnit" : { "state" : "translated", "value" : "日誌可能包含私密診斷資訊。請確認傳送或儲存位置。" } } } }, - "No Saved Logging" : { + "No Saved Logs" : { "extractionState" : "manual", "localizations" : { "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "没有已保存的日志" } }, "zh-Hant" : { "stringUnit" : { "state" : "translated", "value" : "沒有已儲存的日誌" } } } }, - "No saved logging files." : { - "extractionState" : "manual", + "No saved logs." : { + "extractionState" : "extracted", "localizations" : { "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "没有已保存的日志文件。" } }, "zh-Hant" : { "stringUnit" : { "state" : "translated", "value" : "沒有已儲存的日誌檔案。" } } diff --git a/TFI/Features/Settings/MobileLoggingView.swift b/TFI/Features/Settings/MobileLoggingView.swift index 94a52c86..e0fa918b 100644 --- a/TFI/Features/Settings/MobileLoggingView.swift +++ b/TFI/Features/Settings/MobileLoggingView.swift @@ -90,7 +90,7 @@ struct MobileLoggingView: View { } header: { Text("Logging") } footer: { - Text("Logging may contain private diagnostic information. Review it before sharing.") + Text("Logs may contain private diagnostic information. Review them before sharing.") } } @@ -98,7 +98,7 @@ struct MobileLoggingView: View { private var logsSection: some View { Section("Logs") { if files.isEmpty { - ContentUnavailableView("No Saved Logging", systemImage: "doc.text") + ContentUnavailableView("No Saved Logs", systemImage: "doc.text") } else { ForEach(files) { file in logRow(file) @@ -224,7 +224,7 @@ private struct MobileLoggingShareSheet: View { Form { Section { Label( - "Logging may contain private diagnostic information. Review where you send or save it.", + "Logs may contain private diagnostic information. Review where you send or save them.", systemImage: "hand.raised.fill" ) } diff --git a/TFM/Features/Settings/LoggingFilesSettings.swift b/TFM/Features/Settings/LoggingFilesSettings.swift index 23ca248a..6e88a7a0 100644 --- a/TFM/Features/Settings/LoggingFilesSettings.swift +++ b/TFM/Features/Settings/LoggingFilesSettings.swift @@ -80,7 +80,7 @@ struct LoggingFilesSettings: View { } header: { Text("Logging") } footer: { - Text("Logging may contain private diagnostic information. Review it before sharing.") + Text("Logs may contain private diagnostic information. Review them before sharing.") } } @@ -88,7 +88,7 @@ struct LoggingFilesSettings: View { private var logsSection: some View { Section("Logs") { if files.isEmpty { - Text("No saved logging files.").foregroundStyle(.secondary) + Text("No saved logs.").foregroundStyle(.secondary) } else { ForEach(files) { file in logRow(file) @@ -216,7 +216,7 @@ private struct LoggingShareSheet: View { VStack(alignment: .leading, spacing: 20) { Text("Share Logging").font(.title2.bold()) Label( - "Logging may contain private diagnostic information. Review where you send or save it.", + "Logs may contain private diagnostic information. Review where you send or save them.", systemImage: "hand.raised.fill" ) .foregroundStyle(.secondary)