import Foundation enum TourDemoText { static func text(_ key: String) -> String { Bundle.module.localizedString(forKey: key, value: nil, table: "TourDemos") } static func format(_ key: String, _ argument: String) -> String { String.localizedStringWithFormat(text(key), argument) } }