Skip to content

Instantly share code, notes, and snippets.

@CyrilCermak
Last active March 16, 2019 13:54
Show Gist options
  • Save CyrilCermak/d0c7a33ca47582914570672d585fd97f to your computer and use it in GitHub Desktop.
Save CyrilCermak/d0c7a33ca47582914570672d585fd97f to your computer and use it in GitHub Desktop.
enum LoginLocalization: String, LocalizedStringRepresentable {
//WelcomeVC
case signInSignUp
//SignInSignUpVC
case termsAndCond, signIn, signUp, signUpShort, email, password, repeatPassword,
signInWithFB, signUPWithFB, selectAvatar, selectAnother
//SignInWalkthroughVC
case wCreateGoal, wSelectCategoryOfGoals, wTrackAchievements,
wMarkOnTimeline, wSubscribeForAGoal, wTapOnFriend, selectQuote
//SignInSignUpErrors
case loginError, emailNotValid, passwordNotStrong, passwordMismatch
//UserOnboardingVC
case firstName, firstNameText, lastName, lastNameText, occupation,
occupationText, quote, quoteText, location, locationText,
photoLibrary, camera, pleaseSelect, howToAddAvatar, pleaseFillForm,
fillFirstNameMessage, fillLastNameMessage, fillQuoteMessage,
fillOccupationMessage, fillAvatarMessage
var text: String { return "module.login.\(self.rawValue)".localized() }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment