Repository Public License
1import Foundation2import NavigatorUI34/// Entry point of FeatureCommand: everything the feature contributes to the shell is registered here, once, at5/// launch (see docs/EXTENDING.md). `NavigatorFeatures.registerAll(in:)` calls it.6public enum CommandFeature {7 @MainActor public static func register(in registry: FeatureRegistry) {}8}910// Localisation of this target: user-facing strings live in Resources/Localizable.xcstrings (English and11// French (Canada)), keyed by the English text.1213/// The feature's String Catalog.14let strings = FeatureStrings(module: "FeatureCommand", bundle: .module)1516/// A localised string of this feature; `String(format:)` placeholders are filled from `arguments`.17func L(_ key: String, _ arguments: any CVarArg...) -> String { strings.localized(key, arguments) }1819/// A localised title for the registry (commands, panels, settings sections…).20func T(_ key: String) -> LocalizedText { strings.text(key) }21