|
|
|
@ -3,9 +3,6 @@ package com.fr.start.module;
|
|
|
|
|
import com.fr.base.FRContext; |
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
|
import com.fr.design.RestartHelper; |
|
|
|
|
import com.fr.design.module.DesignModule; |
|
|
|
|
import com.fr.general.GeneralContext; |
|
|
|
|
import com.fr.general.Inter; |
|
|
|
|
import com.fr.general.SiteCenter; |
|
|
|
|
import com.fr.module.Activator; |
|
|
|
|
import com.fr.stable.BuildContext; |
|
|
|
@ -22,9 +19,6 @@ public class PreStartActivator extends Activator {
|
|
|
|
|
BuildContext.setBuildFilePath("/com/fr/stable/build.properties"); |
|
|
|
|
SiteCenter.getInstance(); |
|
|
|
|
initLanguage(); |
|
|
|
|
|
|
|
|
|
// 在 initLanguage 之后加载设计器国际化文件,确保是正确的语言环境
|
|
|
|
|
Inter.loadLocaleFile(GeneralContext.getLocale(), DesignModule.LOCALE_FILE_PATH); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initLanguage() { |
|
|
|
|