|
|
@ -43,6 +43,8 @@ import com.fr.locale.InterMutableKey; |
|
|
|
import com.fr.locale.LocaleMarker; |
|
|
|
import com.fr.locale.LocaleMarker; |
|
|
|
import com.fr.locale.LocaleScope; |
|
|
|
import com.fr.locale.LocaleScope; |
|
|
|
import com.fr.locale.LocaleUtils; |
|
|
|
import com.fr.locale.LocaleUtils; |
|
|
|
|
|
|
|
import com.fr.locale.ResourceBundleKey; |
|
|
|
|
|
|
|
import com.fr.locale.bundle.ResourceBundleGeneratorHolder; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.measure.DBMeterFactory; |
|
|
|
import com.fr.measure.DBMeterFactory; |
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
@ -132,6 +134,9 @@ public class DesignPreLoadComponent { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
private void startI18n() { |
|
|
|
private void startI18n() { |
|
|
|
|
|
|
|
// 自定义的ResourceBundle生成器
|
|
|
|
|
|
|
|
ResourceBundleGeneratorHolder.KEY.add(Carina.getApplicationContext().group(ResourceBundleKey.class).getAll()); |
|
|
|
|
|
|
|
|
|
|
|
for (LocaleMarker marker : Carina.getApplicationContext().group(InterMutableKey.class).getAll()) { |
|
|
|
for (LocaleMarker marker : Carina.getApplicationContext().group(InterMutableKey.class).getAll()) { |
|
|
|
if (marker.match(LocaleScope.SERVER)) { |
|
|
|
if (marker.match(LocaleScope.SERVER)) { |
|
|
|
// richie:服务器端国际化的文件进来
|
|
|
|
// richie:服务器端国际化的文件进来
|
|
|
|