/** * Gets the bundle from the corresponding module according to the bundle support. * * @param support the bundle support * @param locale the locale * @return the bundle */ protected ResourceBundle getBundle(BundleSupport support, Locale locale) { return support.getModuleInfo().getHook().getBundle(support.getBundleName(), locale); }