Skip to content

Instantly share code, notes, and snippets.

@filipoff2
Created November 15, 2019 13:55
Show Gist options
  • Save filipoff2/0c12ac84abd22c9d98b2df5f24920dd4 to your computer and use it in GitHub Desktop.
Save filipoff2/0c12ac84abd22c9d98b2df5f24920dd4 to your computer and use it in GitHub Desktop.
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