提交 82325ed5 编写于 作者: tony001's avatar tony001

调整应用级元素国际化内容

上级 3fffe788
<#if obj.getCapPSLanguageRes()?? && obj.getCapPSLanguageRes().getContent(langrestype, false)?? && obj.getCapPSLanguageRes().getContent(langrestype, false) != ''>${obj.getCapPSLanguageRes().getContent(langrestype, false)}<#elseif obj.getCaption()??>${obj.getCaption()}</#if> <#if obj.getCapPSLanguageRes()?? && obj.getCapPSLanguageRes().getContent(langrestype, false)?? && obj.getCapPSLanguageRes().getContent(langrestype, false) != ''>commonLogic.appcommonhandle("${obj.getCapPSLanguageRes().getContent(langrestype, false)}",null)<#elseif obj.getCaption()??>commonLogic.appcommonhandle("${obj.getCaption()}",null)</#if>
\ No newline at end of file \ No newline at end of file
...@@ -8,6 +8,7 @@ import ${dataEntitey.getCodeName()?lower_case}_en_US from '@locale/lanres/entiti ...@@ -8,6 +8,7 @@ import ${dataEntitey.getCodeName()?lower_case}_en_US from '@locale/lanres/entiti
import components_en_US from '@locale/lanres/components/components_en_US'; import components_en_US from '@locale/lanres/components/components_en_US';
import codelist_en_US from '@locale/lanres/codelist/codelist_en_US'; import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US'; import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US';
import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'EN'/> <#assign langrestype = 'EN'/>
export default { export default {
...@@ -125,8 +126,8 @@ export default { ...@@ -125,8 +126,8 @@ export default {
<#list allAppViews as obj> <#list allAppViews as obj>
<#if !obj.isPSDEView()> <#if !obj.isPSDEView()>
${obj.getCodeName()?lower_case}: { ${obj.getCodeName()?lower_case}: {
caption: "<#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>", caption: <#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
title: "<@getTitleLanguage obj langrestype />", title: commonLogic.appcommonhandle("<@getTitleLanguage obj langrestype />",null),
}, },
</#if> </#if>
</#list> </#list>
...@@ -141,7 +142,7 @@ export default { ...@@ -141,7 +142,7 @@ export default {
<#list app.getAllPSAppMenuModels() as menu> <#list app.getAllPSAppMenuModels() as menu>
${menu.getCodeName()?lower_case}: { ${menu.getCodeName()?lower_case}: {
<#list menu.getAllPSAppMenuItems() as obj> <#list menu.getAllPSAppMenuItems() as obj>
${obj.getName()?lower_case}: "<#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>", ${obj.getName()?lower_case}: <#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list> </#list>
}, },
</#list> </#list>
......
...@@ -125,8 +125,8 @@ export default { ...@@ -125,8 +125,8 @@ export default {
<#list allAppViews as obj> <#list allAppViews as obj>
<#if !obj.isPSDEView()> <#if !obj.isPSDEView()>
${obj.getCodeName()?lower_case}: { ${obj.getCodeName()?lower_case}: {
caption: "<#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>", caption: <#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
title: "<@getTitleLanguage obj langrestype />", title: commonLogic.appcommonhandle("<@getTitleLanguage obj langrestype />",null),
}, },
</#if> </#if>
</#list> </#list>
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
<#list app.getAllPSAppMenuModels() as menu> <#list app.getAllPSAppMenuModels() as menu>
${menu.getCodeName()?lower_case}: { ${menu.getCodeName()?lower_case}: {
<#list menu.getAllPSAppMenuItems() as obj> <#list menu.getAllPSAppMenuItems() as obj>
${obj.getName()?lower_case}: "<#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>", ${obj.getName()?lower_case}: <#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>,
</#list> </#list>
}, },
</#list> </#list>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册