Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Setup: Ugly Formatter
public static MainPageViewModel MainPageViewModeDE
{
get { return new MainPageViewModel(null) { Title = "Deutsch", ButtonText = "Rechnungen".ToUpper() + "" }; }
}
public static MainPageViewModel MainPageViewModePL
{
get { return new MainPageViewModel(null) { UglyCurtureTextForSample= "PL", Title = "Polski", ButtonText = "Faktury " + demoSum + "PLN" }; }
}
public static MainPageViewModel MainPageViewModeEL
{
get { return new MainPageViewModel(null) { Title = "ελληνικά", ButtonText = "τιμολόγια " }; } //usp... "forgot to add"
}
public static MainPageViewModel MainPageViewModeEn
{
get { return new MainPageViewModel(null) { UglyCurtureTextForSample = "UK", Title = "English", ButtonText = "Invoices " + "" + demoSum }; } //I'm ugly and I know
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment