Files
RememBerBerandCursor 99b3e402af feat(next-macos-native): 0.8 workbench i18n, tray, updates, and migration
Add zh-CN/en-US/ja-JP across navigation, HTTP tabs, settings, and main tool actions; menu bar tray, close behavior, and GitHub update checks; Electron/Java SQLite and vault folder merge; document parity and 0.8 verification.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 13:46:52 +08:00

14 lines
305 B
Swift

import SwiftUI
import MooToolNextCore
private struct AppLanguageKey: EnvironmentKey {
static let defaultValue = AppLanguage.zhCN
}
extension EnvironmentValues {
var appLanguage: AppLanguage {
get { self[AppLanguageKey.self] }
set { self[AppLanguageKey.self] = newValue }
}
}