k-joseph

Untitled

Oct 29th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. $ git diff api/src/main/java/org/openmrs/module/ModuleFactory.javadiff --git a/api/src/main/java/org/openmrs/module/ModuleFactory.java b/api/src/main/java/org/openmrs/module/ModuleFactory.java
  2. index e6d8d77..5ac30e0 100644
  3. --- a/api/src/main/java/org/openmrs/module/ModuleFactory.java
  4. +++ b/api/src/main/java/org/openmrs/module/ModuleFactory.java
  5. @@ -730,8 +730,9 @@ public class ModuleFactory {
  6. * @return the message text.
  7. */
  8. private static String getFailedToStartModuleMessage(Module module) {
  9. - String[] params = {module.getName(), OpenmrsUtil.join(getMissingRequiredModules(module), ", ")};
  10. - return Context.getMessageSourceService().getMessage("Module.error.moduleCannotBeStarted", params, Context.getL
  11. + String[] params = { module.getName(), OpenmrsUtil.join(getMissingRequiredModules(module), ", ") };
  12. + return Context.getMessageSourceService().getMessage("Module.error.moduleCannotBeStarted", params,
  13. + Context.getLocale());
  14. }
  15.  
  16. /**
Advertisement
Add Comment
Please, Sign In to add comment