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

Change properties to conf (HOCON) files #30

Open
programaker opened this issue Apr 5, 2020 · 0 comments
Open

Change properties to conf (HOCON) files #30

programaker opened this issue Apr 5, 2020 · 0 comments
Labels
refactoring Improve things without change behavior

Comments

@programaker
Copy link
Owner

programaker commented Apr 5, 2020

Replace the properties files that hold the messages with conf files in HOCON syntax.
Also, replace Java's ResourceBundle with PureConfig https://github.com/pureconfig/pureconfig.

The messages could be read as Map[MessageSource#Key, String] or we can define a proper case class for it, dunno... it would be great to use the MessageSources and Keys themselves to get the messages instead of mapping them to Strings.

It is related to #3, so don't forget the localization.

@programaker programaker added the refactoring Improve things without change behavior label Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Improve things without change behavior
Projects
None yet
Development

No branches or pull requests

1 participant