df1c5ff32c
Replace MLX GPU inference with CoreML bundles so transcription continues while the host app is backgrounded. Adds model download and warm-up, vendored Qwen3Speech, and updates onboarding, settings, and copy for the ~1.6 GB CoreML package (iOS 18+).
19 lines
516 B
Swift
19 lines
516 B
Swift
// ProviderDisplayName.swift
|
|
// OSGKeyboard · Shared
|
|
//
|
|
// Locale-aware provider labels for settings and status hints.
|
|
|
|
import Foundation
|
|
|
|
public enum ProviderDisplayName {
|
|
public static func name(
|
|
for providerId: String,
|
|
language: AppUILanguage? = nil
|
|
) -> String {
|
|
let key = "provider.\(providerId)"
|
|
let localized = SharedL10n.string(key, language: language)
|
|
if localized != key { return localized }
|
|
return LLMProvider.provider(id: providerId).name
|
|
}
|
|
}
|