load translation bundles in plugins

This commit is contained in:
zzz
2010-02-07 18:18:31 +00:00
parent e9f1da85e4
commit 3c8355790f
2 changed files with 34 additions and 1 deletions

View File

@@ -126,4 +126,13 @@ public abstract class Translate {
}
return rv;
}
/**
* Clear the cache.
* Call this after adding new bundles to the classpath.
* @since 0.7.12
*/
public static void clearCache() {
_missing.clear();
}
}