Created
May 27, 2025 06:50
-
-
Save jarrodnorwell/2ca82ee57c6409074adf96fa30337db0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct LocalizedStrings { | |
enum OnboardingMain : String { | |
case text = "Folium" | |
case secondaryText = "Beautifully designed, highly performing multi-system emulator" | |
var translated: String { NSLocalizedString(rawValue, comment: "") } | |
} | |
enum OnboardingCamera : String { | |
case text = "Camera" | |
case secondaryText = "Folium may require access to your Camera for cores such as Cytrus, that use it to capture images and scan QR codes" | |
var translated: String { NSLocalizedString(rawValue, comment: "") } | |
} | |
enum OnboardingLocalNetwork : String { | |
case text = "Local Network" | |
case secondaryText = "Folium may require access to your Local Network for cores such as Cytrus and NewGrape, that use it to connect to other devices on your local network for local multiplayer" | |
var translated: String { NSLocalizedString(rawValue, comment: "") } | |
} | |
enum OnboardingMicrophone : String { | |
case text = "Microphone" | |
case secondaryText = "Folium may require access to your Microphone for cores such as Cytrus, Grape and NewGrape, that use it for voice functionality" | |
var translated: String { NSLocalizedString(rawValue, comment: "") } | |
} | |
enum OnboardingMotionAndFitness : String { | |
case text = "Motion & Fitness" | |
case secondaryText = "Folium may require access to your Motion & Fitness data for cores such as Cytrus, that use it to keep track of your steps" | |
var translated: String { NSLocalizedString(rawValue, comment: "") } | |
} | |
enum Common : String { | |
case allowAccess = "Allow Access" | |
var translated: String { NSLocalizedString(rawValue, comment: "") } | |
} | |
} | |
typealias OnboardingMainStrings = LocalizedStrings.OnboardingMain | |
typealias OnboardingCameraStrings = LocalizedStrings.OnboardingCamera | |
typealias OnboardingLocalNetworkStrings = LocalizedStrings.OnboardingLocalNetwork | |
typealias OnboadingMicrophoneStrings = LocalizedStrings.OnboardingMicrophone | |
typealias OnboardingMotionAndFitnessStrings = LocalizedStrings.OnboardingMotionAndFitness | |
typealias CommonStrings = LocalizedStrings.Common |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment