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

handle Display attribute specially #333

Merged
merged 3 commits into from
Sep 10, 2014
Merged

Conversation

mexx
Copy link
Collaborator

@mexx mexx commented Sep 1, 2014

provides support for enum localization requested in #323

@@ -29,6 +34,8 @@ public class EnumTestsResources
public const string MemberWithoutDescriptionAttributeSentence = "Member without description attribute";
public const string MemberWithoutDescriptionAttributeTitle = "Member Without Description Attribute";
public const string MemberWithoutDescriptionAttributeLowerCase = "member without description attribute";
public const string MemberWithDisplayAttribute = "Description from Display attribute";
public static string MemberWithLocalizedDisplayAttribute { get { return "Localized description from Display attribute"; } }
Copy link
Member

Choose a reason for hiding this comment

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

haha, pretty cool :)

@MehdiK
Copy link
Member

MehdiK commented Sep 4, 2014

Thanks a lot for adding the readme bit and unit tests. Awesome PR as always. Just one minor tweak on the readme and it's good to go.

MehdiK added a commit that referenced this pull request Sep 10, 2014
handle Display attribute specially
@MehdiK MehdiK merged commit 66d9efc into Humanizr:master Sep 10, 2014
@mexx mexx deleted the display-attribute branch September 10, 2014 11:17
@MehdiK
Copy link
Member

MehdiK commented Sep 12, 2014

This is now released to NuGet as v1.29.0. Thanks for the great addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants