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

Please rename resources/messages.properties to avoid conflicting to other lib #257

Open
viruscamp opened this issue Jul 5, 2016 · 1 comment

Comments

@viruscamp
Copy link

Please rename resources/messages.properties to avoid conflicting to other lib .
Just like activiti-explorer as it use this filename too.

Maybe you can use resources/lightadmin-messages.properties

Also, activiti-explorer should use resources/activiti-explorer-messages.properties

@viruscamp
Copy link
Author

And also change the java code :
org.lightadmin.core.config.context.LightAdminContextConfiguration

    @Bean
    public MessageSource messageSource() {
        ReloadableResourceBundleMessageSource messageSource = new ReloadableResourceBundleMessageSource();
        messageSource.setBasename("classpath:lightadmin-messages");
        messageSource.setDefaultEncoding("UTF-8");
        messageSource.setCacheSeconds(0);
        messageSource.setFallbackToSystemLocale(false);
        return messageSource;
    }

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

No branches or pull requests

1 participant