Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes incorrect button text in message service of MahApps #57

Merged
merged 2 commits into from
Jan 7, 2017

Conversation

manne
Copy link
Contributor

@manne manne commented Jan 4, 2017

Fixes #56.

Checklist

  • I have included examples or tests
  • I have updated the change log
  • I am listed in the CONTRIBUTORS file
  • I have cleaned up the commit history (use rebase and squash)

Changes proposed in this pull request:

  • uses correct button text
  • respects i18n

Copy link
Member

@GeertvanHorrik GeertvanHorrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, please inject the service instead and this can be accepted. Also please add yourself to the contributors list (CONTRIBUTORS file in the root).

@@ -32,30 +32,41 @@ protected override Task<MessageResult> ShowMessageBoxAsync(string message, strin
var negativeResult = MessageResult.No;
var auxiliaryResult = MessageResult.Cancel;

var languageService = ServiceLocator.Default.ResolveType<ILanguageService>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of resolving it, please inject it into the constructor.

@GeertvanHorrik
Copy link
Member

Looks great, thanks!

@GeertvanHorrik GeertvanHorrik merged commit 217dfb8 into WildGums:develop Jan 7, 2017
@lock
Copy link

lock bot commented Aug 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect button text in message service of MahApps
2 participants