Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
243a8d60
提交
243a8d60
编写于
12月 07, 2020
作者:
tony001
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整代码表和实体级元素国际化内容
上级
82325ed5
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
34 行增加
和
30 行删除
+34
-30
codelist_en_US_base.ts.ftl
APP/src/locale/lanres/codelist/codelist_en_US_base.ts.ftl
+4
-3
codelist_zh_CN_base.ts.ftl
APP/src/locale/lanres/codelist/codelist_zh_CN_base.ts.ftl
+4
-3
%DE_PKGPATH%_en_US_base.ts.ftl
...nres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US_base.ts.ftl
+13
-12
%DE_PKGPATH%_zh_CN_base.ts.ftl
...nres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN_base.ts.ftl
+13
-12
未找到文件。
APP/src/locale/lanres/codelist/codelist_en_US_base.ts.ftl
浏览文件 @
243a8d60
<#ibiztemplate>
<#ibiztemplate>
TARGET=PSSYSAPP
TARGET=PSSYSAPP
</#ibiztemplate>
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/>
<#assign langrestype = 'EN'/>
export default {
export default {
...
@@ -10,14 +11,14 @@ export default {
...
@@ -10,14 +11,14 @@ export default {
${codelist.codeName}: {
${codelist.codeName}: {
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
<#list codelist.getAllPSCodeItems() as codeitem>
"${codeitem.getValue()?j_string}":
"<@getTextLanguage codeitem langrestype />"
,
"${codeitem.getValue()?j_string}":
commonLogic.appcommonhandle("<@getTextLanguage codeitem langrestype />",null)
,
</#list>
</#list>
</#if>
</#if>
"empty":
"<@getEmptyTextLanguage codelist langrestype '' />"
"empty":
commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
},
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
${codelist.codeName}: {
"empty":
"<@getEmptyTextLanguage codelist langrestype '' />"
,
"empty":
commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
,
},
},
</#if>
</#if>
</#list>
</#list>
...
...
APP/src/locale/lanres/codelist/codelist_zh_CN_base.ts.ftl
浏览文件 @
243a8d60
<#ibiztemplate>
<#ibiztemplate>
TARGET=PSSYSAPP
TARGET=PSSYSAPP
</#ibiztemplate>
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'ZH_CN'/>
<#assign langrestype = 'ZH_CN'/>
export default {
export default {
...
@@ -10,14 +11,14 @@ export default {
...
@@ -10,14 +11,14 @@ export default {
${codelist.codeName}: {
${codelist.codeName}: {
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
<#list codelist.getAllPSCodeItems() as codeitem>
"${codeitem.getValue()?j_string}":
"<@getTextLanguage codeitem langrestype />"
,
"${codeitem.getValue()?j_string}":
commonLogic.appcommonhandle("<@getTextLanguage codeitem langrestype />",null)
,
</#list>
</#list>
</#if>
</#if>
"empty":
"<@getEmptyTextLanguage codelist langrestype '' />"
,
"empty":
commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
,
},
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
${codelist.codeName}: {
"empty":
"<@getEmptyTextLanguage codelist langrestype '' />"
,
"empty":
commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
,
},
},
</#if>
</#if>
</#list>
</#list>
...
...
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US_base.ts.ftl
浏览文件 @
243a8d60
<#ibiztemplate>
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/>
<#assign langrestype = 'EN'/>
<#assign emptyText = 'No data.'>
<#assign emptyText = 'No data.'>
...
@@ -10,7 +11,7 @@ export default {
...
@@ -10,7 +11,7 @@ export default {
<#if item.getAllPSAppDEFields()??>
<#if item.getAllPSAppDEFields()??>
fields: {
fields: {
<#list item.getAllPSAppDEFields() as field>
<#list item.getAllPSAppDEFields() as field>
${field.getPSDEField().getCodeName()?lower_case}:
"<@getLogicNameLanguage field.getPSDEField() langrestype />"
,
${field.getPSDEField().getCodeName()?lower_case}:
commonLogic.appcommonhandle("<@getLogicNameLanguage field.getPSDEField() langrestype />",null)
,
</#list>
</#list>
},
},
</#if>
</#if>
...
@@ -19,8 +20,8 @@ export default {
...
@@ -19,8 +20,8 @@ export default {
views: {
views: {
<#list item.getAllPSAppViews() as obj>
<#list item.getAllPSAppViews() as obj>
${obj.getPSDEViewCodeName()?lower_case}: {
${obj.getPSDEViewCodeName()?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)
,
},
},
</#list>
</#list>
},
},
...
@@ -36,27 +37,27 @@ export default {
...
@@ -36,27 +37,27 @@ export default {
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
details: {
details: {
<#list ctrl.getAllPSDEFormDetails() as obj>
<#list ctrl.getAllPSDEFormDetails() as obj>
${obj.name?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.name?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#list>
},
},
</#if>
</#if>
<#if ctrl.getControlType() == 'LIST' || ctrl.getControlType() == 'DATAVIEW' || ctrl.getControlType() == 'CHART'|| ctrl.getControlType() == 'KANBAN'|| ctrl.getControlType() == 'GANTT' || ctrl.getControlType() == 'TREEGRIDEX' || ctrl.getControlType() == 'CALENDAR' || ctrl.getControlType() == 'TREEVIEW'>
<#if ctrl.getControlType() == 'LIST' || ctrl.getControlType() == 'DATAVIEW' || ctrl.getControlType() == 'CHART'|| ctrl.getControlType() == 'KANBAN'|| ctrl.getControlType() == 'GANTT' || ctrl.getControlType() == 'TREEGRIDEX' || ctrl.getControlType() == 'CALENDAR' || ctrl.getControlType() == 'TREEVIEW'>
nodata:
"<@getEmptyTextLanguage ctrl langrestype emptyText/>"
,
nodata:
commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null)
,
</#if>
</#if>
<#if ctrl.getControlType() == 'GRID'>
<#if ctrl.getControlType() == 'GRID'>
columns: {
columns: {
<#if ctrl.getAllPSDEGridColumns()??>
<#if ctrl.getAllPSDEGridColumns()??>
<#list ctrl.getAllPSDEGridColumns() as obj>
<#list ctrl.getAllPSDEGridColumns() as obj>
${obj.getName()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.getName()?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#list>
</#if>
</#if>
},
},
nodata:
"<@getEmptyTextLanguage ctrl langrestype emptyText/>"
,
nodata:
commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null)
,
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
exportColumns: {
exportColumns: {
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#list ctrl.getPSDEDataExport().getPSDEDataExportItems() as obj>
<#list ctrl.getPSDEDataExport().getPSDEDataExportItems() as obj>
${obj.getName()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.getName()?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#list>
</#if>
</#if>
},
},
...
@@ -67,7 +68,7 @@ export default {
...
@@ -67,7 +68,7 @@ export default {
<#if ctrl.getPSDETreeNodes()??>
<#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as obj>
<#list ctrl.getPSDETreeNodes() as obj>
<#if obj.getTreeNodeType() == 'STATIC'>
<#if obj.getTreeNodeType() == 'STATIC'>
${obj.getNodeType()?lower_case}:
"<@getNameLanguage obj langrestype />"
,
${obj.getNodeType()?lower_case}:
commonLogic.appcommonhandle("<@getNameLanguage obj langrestype />",null)
,
</#if>
</#if>
</#list>
</#list>
</#if>
</#if>
...
@@ -77,8 +78,8 @@ export default {
...
@@ -77,8 +78,8 @@ export default {
<#if ctrl.getAllPSDEToolbarItems()??>
<#if ctrl.getAllPSDEToolbarItems()??>
<#list ctrl.getAllPSDEToolbarItems() as obj>
<#list ctrl.getAllPSDEToolbarItems() as obj>
${obj.getName()?lower_case}: {
${obj.getName()?lower_case}: {
caption:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
caption:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
tip:
"<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>"
,
tip:
commonLogic.appcommonhandle("<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>",null)
,
},
},
</#list>
</#list>
</#if>
</#if>
...
@@ -87,7 +88,7 @@ export default {
...
@@ -87,7 +88,7 @@ export default {
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
uiactions: {
uiactions: {
<#list ctrl.getPSUIActions() as obj>
<#list ctrl.getPSUIActions() as obj>
<#if obj.getPSAppDataEntity?? && obj.getPSAppDataEntity()??>${obj.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${obj.getUIActionTag()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
<#if obj.getPSAppDataEntity?? && obj.getPSAppDataEntity()??>${obj.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${obj.getUIActionTag()?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#list>
},
},
</#if>
</#if>
...
...
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN_base.ts.ftl
浏览文件 @
243a8d60
<#ibiztemplate>
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'ZH_CN'/>
<#assign langrestype = 'ZH_CN'/>
<#assign emptyText = '暂无数据'>
<#assign emptyText = '暂无数据'>
...
@@ -9,7 +10,7 @@ export default {
...
@@ -9,7 +10,7 @@ export default {
<#if item.getAllPSAppDEFields()??>
<#if item.getAllPSAppDEFields()??>
fields: {
fields: {
<#list item.getAllPSAppDEFields() as field>
<#list item.getAllPSAppDEFields() as field>
${field.getPSDEField().getCodeName()?lower_case}:
"<@getLogicNameLanguage field.getPSDEField() langrestype />"
,
${field.getPSDEField().getCodeName()?lower_case}:
commonLogic.appcommonhandle("<@getLogicNameLanguage field.getPSDEField() langrestype />",null)
,
</#list>
</#list>
},
},
</#if>
</#if>
...
@@ -18,8 +19,8 @@ export default {
...
@@ -18,8 +19,8 @@ export default {
views: {
views: {
<#list item.getAllPSAppViews() as obj>
<#list item.getAllPSAppViews() as obj>
${obj.getPSDEViewCodeName()?lower_case}: {
${obj.getPSDEViewCodeName()?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)
,
},
},
</#list>
</#list>
},
},
...
@@ -35,27 +36,27 @@ export default {
...
@@ -35,27 +36,27 @@ export default {
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
details: {
details: {
<#list ctrl.getAllPSDEFormDetails() as obj>
<#list ctrl.getAllPSDEFormDetails() as obj>
${obj.name?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.name?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#list>
},
},
</#if>
</#if>
<#if ctrl.getControlType() == 'LIST' || ctrl.getControlType() == 'DATAVIEW' || ctrl.getControlType() == 'CHART' || ctrl.getControlType() == 'KANBAN'|| ctrl.getControlType() == 'GANTT' || ctrl.getControlType() == 'TREEGRIDEX' || ctrl.getControlType() == 'CALENDAR' || ctrl.getControlType() == 'TREEVIEW'>
<#if ctrl.getControlType() == 'LIST' || ctrl.getControlType() == 'DATAVIEW' || ctrl.getControlType() == 'CHART' || ctrl.getControlType() == 'KANBAN'|| ctrl.getControlType() == 'GANTT' || ctrl.getControlType() == 'TREEGRIDEX' || ctrl.getControlType() == 'CALENDAR' || ctrl.getControlType() == 'TREEVIEW'>
nodata:
"<@getEmptyTextLanguage ctrl langrestype emptyText/>"
,
nodata:
commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null)
,
</#if>
</#if>
<#if ctrl.getControlType() == 'GRID'>
<#if ctrl.getControlType() == 'GRID'>
columns: {
columns: {
<#if ctrl.getAllPSDEGridColumns()??>
<#if ctrl.getAllPSDEGridColumns()??>
<#list ctrl.getAllPSDEGridColumns() as obj>
<#list ctrl.getAllPSDEGridColumns() as obj>
${obj.getName()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.getName()?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#list>
</#if>
</#if>
},
},
nodata:
"<@getEmptyTextLanguage ctrl langrestype emptyText/>"
,
nodata:
commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null)
,
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
exportColumns: {
exportColumns: {
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#list ctrl.getPSDEDataExport().getPSDEDataExportItems() as obj>
<#list ctrl.getPSDEDataExport().getPSDEDataExportItems() as obj>
${obj.getName()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.getName()?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#list>
</#if>
</#if>
},
},
...
@@ -66,7 +67,7 @@ export default {
...
@@ -66,7 +67,7 @@ export default {
<#if ctrl.getPSDETreeNodes()??>
<#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as obj>
<#list ctrl.getPSDETreeNodes() as obj>
<#if obj.getTreeNodeType() == 'STATIC'>
<#if obj.getTreeNodeType() == 'STATIC'>
${obj.getNodeType()?lower_case}:
"<@getNameLanguage obj langrestype />"
,
${obj.getNodeType()?lower_case}:
commonLogic.appcommonhandle("<@getNameLanguage obj langrestype />",null)
,
</#if>
</#if>
</#list>
</#list>
</#if>
</#if>
...
@@ -76,8 +77,8 @@ export default {
...
@@ -76,8 +77,8 @@ export default {
<#if ctrl.getAllPSDEToolbarItems()??>
<#if ctrl.getAllPSDEToolbarItems()??>
<#list ctrl.getAllPSDEToolbarItems() as obj>
<#list ctrl.getAllPSDEToolbarItems() as obj>
${obj.getName()?lower_case}: {
${obj.getName()?lower_case}: {
caption:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
caption:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
tip:
"<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>"
,
tip:
commonLogic.appcommonhandle("<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>",null)
,
},
},
</#list>
</#list>
</#if>
</#if>
...
@@ -86,7 +87,7 @@ export default {
...
@@ -86,7 +87,7 @@ export default {
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
uiactions: {
uiactions: {
<#list ctrl.getPSUIActions() as obj>
<#list ctrl.getPSUIActions() as obj>
<#if obj.getPSAppDataEntity?? && obj.getPSAppDataEntity()??>${obj.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${obj.getUIActionTag()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
<#if obj.getPSAppDataEntity?? && obj.getPSAppDataEntity()??>${obj.getPSAppDataEntity().getCodeName()?lower_case}_</#if>${obj.getUIActionTag()?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#list>
},
},
</#if>
</#if>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录