From 9708d8ad8712522757720b0372358098c44b4d8b Mon Sep 17 00:00:00 2001 From: Kazuki Chigita Date: Tue, 7 Apr 2026 04:17:49 +0900 Subject: [PATCH] fix: correct Foundation Models minimum OS version from macOS 15 to 26 The Foundation Models framework was introduced in macOS 26 (WWDC 2025), not macOS 15. Co-Authored-By: Claude Opus 4.6 (1M context) --- Hatoko/Generated/Strings+Generated.swift | 4 ++-- Hatoko/Resources/de.lproj/Localizable.strings | 4 ++-- Hatoko/Resources/en.lproj/Localizable.strings | 2 +- Hatoko/Resources/es.lproj/Localizable.strings | 2 +- Hatoko/Resources/fr.lproj/Localizable.strings | 2 +- Hatoko/Resources/it.lproj/Localizable.strings | 2 +- Hatoko/Resources/ja.lproj/Localizable.strings | 2 +- Hatoko/Resources/ko.lproj/Localizable.strings | 2 +- Hatoko/Resources/th.lproj/Localizable.strings | 2 +- Hatoko/Resources/zh-Hant.lproj/Localizable.strings | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Hatoko/Generated/Strings+Generated.swift b/Hatoko/Generated/Strings+Generated.swift index be7a489..a83fc46 100644 --- a/Hatoko/Generated/Strings+Generated.swift +++ b/Hatoko/Generated/Strings+Generated.swift @@ -30,8 +30,8 @@ internal enum L10n { internal static let name = L10n.tr("Localizable", "backend.disabled.name", fallback: "無効 (Disabled)") } internal enum FoundationModels { - /// Apple Intelligenceのオンデバイスモデルを使用。macOS 15+ - internal static let description = L10n.tr("Localizable", "backend.foundationModels.description", fallback: "Apple Intelligenceのオンデバイスモデルを使用。macOS 15+") + /// Apple Intelligenceのオンデバイスモデルを使用。macOS 26+ + internal static let description = L10n.tr("Localizable", "backend.foundationModels.description", fallback: "Apple Intelligenceのオンデバイスモデルを使用。macOS 26+") /// Foundation Models (Apple Intelligence) internal static let name = L10n.tr("Localizable", "backend.foundationModels.name", fallback: "Foundation Models (Apple Intelligence)") /// Apple Intelligenceに関する注意: オンデバイスのFoundation Modelsバックエンドは完全にデバイス上で動作し、APIキーは不要ですが、IMEとしての利用におけるモデルの品質には顕著な制限があります。クラウドベースのLLMと比較して、回答のニュアンスや文脈の正確さが不足する場合があります。品質よりもプライバシーを優先する場合の選択肢として検討してください。 diff --git a/Hatoko/Resources/de.lproj/Localizable.strings b/Hatoko/Resources/de.lproj/Localizable.strings index 864d24b..66f4784 100644 --- a/Hatoko/Resources/de.lproj/Localizable.strings +++ b/Hatoko/Resources/de.lproj/Localizable.strings @@ -77,9 +77,9 @@ "backend.openaiCLI.description" = "Verwendet Codex CLI (Experimentell). npm install -g @openai/codex"; "backend.geminiAPI.description" = "Über Google Gemini API. API-Schlüssel erforderlich"; "backend.geminiCLI.description" = "Verwendet gemini CLI (Experimentell). gemini-cli erforderlich"; -"backend.foundationModels.description" = "Verwendet Apple Intelligence On-Device-Modelle. macOS 15+"; +"backend.foundationModels.description" = "Verwendet Apple Intelligence On-Device-Modelle. macOS 26+"; "backend.foundationModels.note" = "Hinweis zu Apple Intelligence: Das On-Device-Back-End für Foundation Models läuft vollständig lokal und benötigt keinen API-Schlüssel. Die Modellqualität ist jedoch für IME-Anwendungsfälle spürbar eingeschränkt. Antworten können Nuancen und kontextuelle Genauigkeit vermissen lassen, die Cloud-basierte LLMs bieten. Betrachten Sie es als eine Option, bei der Datenschutz vor Qualität geht."; -"backend.foundationModels.description" = "Apple Intelligence On-Device-Modelle verwenden. macOS 15+"; +"backend.foundationModels.description" = "Apple Intelligence On-Device-Modelle verwenden. macOS 26+"; "backend.foundationModels.note" = "Hinweis zu Apple Intelligence: Das On-Device-Backend für Foundation Models läuft vollständig auf dem Gerät und erfordert keinen API-Schlüssel, aber die Modellqualität ist für IME-Anwendungsfälle spürbar begrenzt. Antworten können die Nuancen und die kontextuelle Genauigkeit vermissen lassen, die cloudbasierte LLMs bieten. Betrachten Sie es als eine Option, bei der der Datenschutz im Vordergrund steht, nicht die Qualität."; // MARK: - Errors diff --git a/Hatoko/Resources/en.lproj/Localizable.strings b/Hatoko/Resources/en.lproj/Localizable.strings index 4c9bd93..4087968 100644 --- a/Hatoko/Resources/en.lproj/Localizable.strings +++ b/Hatoko/Resources/en.lproj/Localizable.strings @@ -76,7 +76,7 @@ "backend.openaiCLI.description" = "Uses Codex CLI (Experimental). npm install -g @openai/codex"; "backend.geminiAPI.description" = "Via Google Gemini API. API Key required"; "backend.geminiCLI.description" = "Uses gemini CLI (Experimental). gemini-cli required"; -"backend.foundationModels.description" = "Use Apple Intelligence on-device models. macOS 15+"; +"backend.foundationModels.description" = "Use Apple Intelligence on-device models. macOS 26+"; "backend.foundationModels.note" = "Note on Apple Intelligence: The on-device Foundation Models backend runs entirely on-device and requires no API key, but the model quality is noticeably limited for IME use cases. Responses may lack the nuance and contextual accuracy that cloud-based LLMs provide. Consider it a privacy-first option rather than a quality-first one."; // MARK: - Errors diff --git a/Hatoko/Resources/es.lproj/Localizable.strings b/Hatoko/Resources/es.lproj/Localizable.strings index 1221a3e..aab8fda 100644 --- a/Hatoko/Resources/es.lproj/Localizable.strings +++ b/Hatoko/Resources/es.lproj/Localizable.strings @@ -76,7 +76,7 @@ "backend.openaiCLI.description" = "Usa Codex CLI (Experimental). npm install -g @openai/codex"; "backend.geminiAPI.description" = "Vía API de Google Gemini. Se requiere clave API"; "backend.geminiCLI.description" = "Usa gemini CLI (Experimental). Se requiere gemini-cli"; -"backend.foundationModels.description" = "Usa modelos locales de Apple Intelligence. macOS 15+"; +"backend.foundationModels.description" = "Usa modelos locales de Apple Intelligence. macOS 26+"; "backend.foundationModels.note" = "Nota sobre Apple Intelligence: El motor de Foundation Models funciona completamente en el dispositivo y no requiere clave API, pero la calidad del modelo es notablemente limitada para casos de uso de IME. Las respuestas pueden carecer del matiz y la precisión contextual que proporcionan los LLM basados en la nube. Considérelo una opción de privacidad primero en lugar de una de calidad primero."; // MARK: - Errors diff --git a/Hatoko/Resources/fr.lproj/Localizable.strings b/Hatoko/Resources/fr.lproj/Localizable.strings index d545ed6..3181313 100644 --- a/Hatoko/Resources/fr.lproj/Localizable.strings +++ b/Hatoko/Resources/fr.lproj/Localizable.strings @@ -76,7 +76,7 @@ "backend.openaiCLI.description" = "Utilise la CLI Codex (Expérimental). npm install -g @openai/codex"; "backend.geminiAPI.description" = "Via l'API Google Gemini. Clé API requise"; "backend.geminiCLI.description" = "Utilise la CLI gemini (Expérimental). gemini-cli requis"; -"backend.foundationModels.description" = "Utiliser les modèles locaux Apple Intelligence. macOS 15+"; +"backend.foundationModels.description" = "Utiliser les modèles locaux Apple Intelligence. macOS 26+"; "backend.foundationModels.note" = "Note sur Apple Intelligence : Le moteur Foundation Models fonctionne entièrement sur l'appareil et ne nécessite aucune clé API, mais la qualité du modèle est sensiblement limitée pour les cas d'utilisation de l'IME. Les réponses peuvent manquer de nuance et de précision contextuelle par rapport aux LLM basés sur le cloud. Considérez cela comme une option privilégiant la confidentialité plutôt que la qualité."; // MARK: - Errors diff --git a/Hatoko/Resources/it.lproj/Localizable.strings b/Hatoko/Resources/it.lproj/Localizable.strings index 3381b9b..c74f620 100644 --- a/Hatoko/Resources/it.lproj/Localizable.strings +++ b/Hatoko/Resources/it.lproj/Localizable.strings @@ -76,7 +76,7 @@ "backend.openaiCLI.description" = "Utilizza Codex CLI (Sperimentale). npm install -g @openai/codex"; "backend.geminiAPI.description" = "Tramite Google Gemini API. Chiave API richiesta"; "backend.geminiCLI.description" = "Utilizza gemini CLI (Sperimentale). gemini-cli richiesto"; -"backend.foundationModels.description" = "Usa modelli on-device di Apple Intelligence. macOS 15+"; +"backend.foundationModels.description" = "Usa modelli on-device di Apple Intelligence. macOS 26+"; "backend.foundationModels.note" = "Nota su Apple Intelligence: Il backend Foundation Models on-device viene eseguito interamente sul dispositivo e non richiede chiavi API, ma la qualità del modello è notevolmente limitata per i casi d'uso IME. Le risposte potrebbero mancare delle sfumature e della precisione contestuale fornite dai modelli LLM basati su cloud. Considerala un'opzione orientata alla privacy piuttosto che alla qualità."; // MARK: - Errors diff --git a/Hatoko/Resources/ja.lproj/Localizable.strings b/Hatoko/Resources/ja.lproj/Localizable.strings index 70d2395..6872943 100644 --- a/Hatoko/Resources/ja.lproj/Localizable.strings +++ b/Hatoko/Resources/ja.lproj/Localizable.strings @@ -76,7 +76,7 @@ "backend.openaiCLI.description" = "Codex CLIを使用(Experimental)。npm install -g @openai/codex"; "backend.geminiAPI.description" = "Google Gemini API経由。API Keyが必要"; "backend.geminiCLI.description" = "gemini CLIを使用(Experimental)。gemini-cliが必要"; -"backend.foundationModels.description" = "Apple Intelligenceのオンデバイスモデルを使用。macOS 15+"; +"backend.foundationModels.description" = "Apple Intelligenceのオンデバイスモデルを使用。macOS 26+"; "backend.foundationModels.note" = "Apple Intelligenceに関する注意: オンデバイスのFoundation Modelsバックエンドは完全にデバイス上で動作し、APIキーは不要ですが、IMEとしての利用におけるモデルの品質には顕著な制限があります。クラウドベースのLLMと比較して、回答のニュアンスや文脈の正確さが不足する場合があります。品質よりもプライバシーを優先する場合の選択肢として検討してください。"; // MARK: - Errors diff --git a/Hatoko/Resources/ko.lproj/Localizable.strings b/Hatoko/Resources/ko.lproj/Localizable.strings index 31fd420..16834b5 100644 --- a/Hatoko/Resources/ko.lproj/Localizable.strings +++ b/Hatoko/Resources/ko.lproj/Localizable.strings @@ -76,7 +76,7 @@ "backend.openaiCLI.description" = "Codex CLI 사용 (실험적). npm install -g @openai/codex"; "backend.geminiAPI.description" = "Google Gemini API 이용. API 키 필요"; "backend.geminiCLI.description" = "gemini CLI 사용 (실험적). gemini-cli 필요"; -"backend.foundationModels.description" = "Apple Intelligence 온디바이스 모델 사용. macOS 15+"; +"backend.foundationModels.description" = "Apple Intelligence 온디바이스 모델 사용. macOS 26+"; "backend.foundationModels.note" = "Apple Intelligence 참고 사항: 온디바이스 Foundation Models 백엔드는 완전히 기기 내에서 실행되며 API 키가 필요하지 않지만, IME 용도로는 모델 품질이 눈에 띄게 제한적입니다. 클라우드 기반 LLM이 제공하는 미묘한 뉘앙스와 문맥적 정확도가 부족할 수 있습니다. 품질보다는 프라이버시를 우선하는 옵션으로 고려해 주세요."; // MARK: - Errors diff --git a/Hatoko/Resources/th.lproj/Localizable.strings b/Hatoko/Resources/th.lproj/Localizable.strings index 1984e2b..2d18637 100644 --- a/Hatoko/Resources/th.lproj/Localizable.strings +++ b/Hatoko/Resources/th.lproj/Localizable.strings @@ -76,7 +76,7 @@ "backend.openaiCLI.description" = "ใช้ Codex CLI (ทดลอง) npm install -g @openai/codex"; "backend.geminiAPI.description" = "ผ่าน Google Gemini API ต้องใช้คีย์ API"; "backend.geminiCLI.description" = "ใช้ gemini CLI (ทดลอง) ต้องใช้ gemini-cli"; -"backend.foundationModels.description" = "ใช้โมเดลในเครื่องของ Apple Intelligence. macOS 15+"; +"backend.foundationModels.description" = "ใช้โมเดลในเครื่องของ Apple Intelligence. macOS 26+"; "backend.foundationModels.note" = "หมายเหตุเกี่ยวกับ Apple Intelligence: แบ็กเอนด์ Foundation Models ในเครื่องทำงานบนอุปกรณ์ทั้งหมดและไม่จำเป็นต้องใช้คีย์ API แต่คุณภาพของโมเดลมีข้อจำกัดอย่างมากสำหรับกรณีการใช้งาน IME คำตอบอาจขาดความละเอียดอ่อนและความแม่นยำตามบริบทที่ LLM บนคลาวด์มีให้ โปรดพิจารณาว่าเป็นตัวเลือกที่เน้นความเป็นส่วนตัวมากกว่าคุณภาพ"; // MARK: - Errors diff --git a/Hatoko/Resources/zh-Hant.lproj/Localizable.strings b/Hatoko/Resources/zh-Hant.lproj/Localizable.strings index 6e0026e..81a9c94 100644 --- a/Hatoko/Resources/zh-Hant.lproj/Localizable.strings +++ b/Hatoko/Resources/zh-Hant.lproj/Localizable.strings @@ -76,7 +76,7 @@ "backend.openaiCLI.description" = "使用 Codex CLI (實驗性)。npm install -g @openai/codex"; "backend.geminiAPI.description" = "經由 Google Gemini API。需要 API 金鑰"; "backend.geminiCLI.description" = "使用 gemini CLI (實驗性)。需要 gemini-cli"; -"backend.foundationModels.description" = "使用 Apple Intelligence 裝置端模型。macOS 15+"; +"backend.foundationModels.description" = "使用 Apple Intelligence 裝置端模型。macOS 26+"; "backend.foundationModels.note" = "關於 Apple Intelligence 的說明:裝置端 Foundation Models 後端完全在裝置上執行,不需要 API 金鑰,但對於 IME 使用情境,模型品質有明顯限制。回覆可能缺乏雲端 LLM 所提供的細微差別和語境準確性。請將其視為隱私優先而非品質優先的選項。"; // MARK: - Errors