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>
TARGET=PSSYSAPP
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/>
export default {
...
...
@@ -10,14 +11,14 @@ export default {
${codelist.codeName}: {
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
"${codeitem.getValue()?j_string}":
"<@getTextLanguage codeitem langrestype />"
,
"${codeitem.getValue()?j_string}":
commonLogic.appcommonhandle("<@getTextLanguage codeitem langrestype />",null)
,
</#list>
</#if>
"empty":
"<@getEmptyTextLanguage codelist langrestype '' />"
"empty":
commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
"empty":
"<@getEmptyTextLanguage codelist langrestype '' />"
,
"empty":
commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
,
},
</#if>
</#list>
...
...
APP/src/locale/lanres/codelist/codelist_zh_CN_base.ts.ftl
浏览文件 @
243a8d60
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'ZH_CN'/>
export default {
...
...
@@ -10,14 +11,14 @@ export default {
${codelist.codeName}: {
<#if codelist.getAllPSCodeItems?? && codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
"${codeitem.getValue()?j_string}":
"<@getTextLanguage codeitem langrestype />"
,
"${codeitem.getValue()?j_string}":
commonLogic.appcommonhandle("<@getTextLanguage codeitem langrestype />",null)
,
</#list>
</#if>
"empty":
"<@getEmptyTextLanguage codelist langrestype '' />"
,
"empty":
commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
,
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
"empty":
"<@getEmptyTextLanguage codelist langrestype '' />"
,
"empty":
commonLogic.appcommonhandle("<@getEmptyTextLanguage codelist langrestype '' />",null)
,
},
</#if>
</#list>
...
...
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US_base.ts.ftl
浏览文件 @
243a8d60
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/>
<#assign emptyText = 'No data.'>
...
...
@@ -10,7 +11,7 @@ export default {
<#if item.getAllPSAppDEFields()??>
fields: {
<#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>
},
</#if>
...
...
@@ -19,8 +20,8 @@ export default {
views: {
<#list item.getAllPSAppViews() as obj>
${obj.getPSDEViewCodeName()?lower_case}: {
caption:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
title:
"<@getTitleLanguage obj langrestype />"
,
caption:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
title:
commonLogic.appcommonhandle("<@getTitleLanguage obj langrestype />",null)
,
},
</#list>
},
...
...
@@ -36,27 +37,27 @@ export default {
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
details: {
<#list ctrl.getAllPSDEFormDetails() as obj>
${obj.name?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.name?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
},
</#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'>
nodata:
"<@getEmptyTextLanguage ctrl langrestype emptyText/>"
,
nodata:
commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null)
,
</#if>
<#if ctrl.getControlType() == 'GRID'>
columns: {
<#if ctrl.getAllPSDEGridColumns()??>
<#list ctrl.getAllPSDEGridColumns() as obj>
${obj.getName()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.getName()?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#if>
},
nodata:
"<@getEmptyTextLanguage ctrl langrestype emptyText/>"
,
nodata:
commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null)
,
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
exportColumns: {
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#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>
</#if>
},
...
...
@@ -67,7 +68,7 @@ export default {
<#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as obj>
<#if obj.getTreeNodeType() == 'STATIC'>
${obj.getNodeType()?lower_case}:
"<@getNameLanguage obj langrestype />"
,
${obj.getNodeType()?lower_case}:
commonLogic.appcommonhandle("<@getNameLanguage obj langrestype />",null)
,
</#if>
</#list>
</#if>
...
...
@@ -77,8 +78,8 @@ export default {
<#if ctrl.getAllPSDEToolbarItems()??>
<#list ctrl.getAllPSDEToolbarItems() as obj>
${obj.getName()?lower_case}: {
caption:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
tip:
"<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>"
,
caption:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
tip:
commonLogic.appcommonhandle("<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>",null)
,
},
</#list>
</#if>
...
...
@@ -87,7 +88,7 @@ export default {
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
uiactions: {
<#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>
},
</#if>
...
...
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN_base.ts.ftl
浏览文件 @
243a8d60
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'ZH_CN'/>
<#assign emptyText = '暂无数据'>
...
...
@@ -9,7 +10,7 @@ export default {
<#if item.getAllPSAppDEFields()??>
fields: {
<#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>
},
</#if>
...
...
@@ -18,8 +19,8 @@ export default {
views: {
<#list item.getAllPSAppViews() as obj>
${obj.getPSDEViewCodeName()?lower_case}: {
caption:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
title:
"<@getTitleLanguage obj langrestype />"
,
caption:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
title:
commonLogic.appcommonhandle("<@getTitleLanguage obj langrestype />",null)
,
},
</#list>
},
...
...
@@ -35,27 +36,27 @@ export default {
<#if ctrl.getControlType() == 'FORM' || ctrl.getControlType() == 'SEARCHFORM'>
details: {
<#list ctrl.getAllPSDEFormDetails() as obj>
${obj.name?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.name?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
},
</#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'>
nodata:
"<@getEmptyTextLanguage ctrl langrestype emptyText/>"
,
nodata:
commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null)
,
</#if>
<#if ctrl.getControlType() == 'GRID'>
columns: {
<#if ctrl.getAllPSDEGridColumns()??>
<#list ctrl.getAllPSDEGridColumns() as obj>
${obj.getName()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
${obj.getName()?lower_case}:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
</#list>
</#if>
},
nodata:
"<@getEmptyTextLanguage ctrl langrestype emptyText/>"
,
nodata:
commonLogic.appcommonhandle("<@getEmptyTextLanguage ctrl langrestype emptyText/>",null)
,
<#if ctrl.getPSDEDataExport?? && ctrl.getPSDEDataExport()?? >
exportColumns: {
<#if ctrl.getPSDEDataExport().getPSDEDataExportItems()??>
<#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>
</#if>
},
...
...
@@ -66,7 +67,7 @@ export default {
<#if ctrl.getPSDETreeNodes()??>
<#list ctrl.getPSDETreeNodes() as obj>
<#if obj.getTreeNodeType() == 'STATIC'>
${obj.getNodeType()?lower_case}:
"<@getNameLanguage obj langrestype />"
,
${obj.getNodeType()?lower_case}:
commonLogic.appcommonhandle("<@getNameLanguage obj langrestype />",null)
,
</#if>
</#list>
</#if>
...
...
@@ -76,8 +77,8 @@ export default {
<#if ctrl.getAllPSDEToolbarItems()??>
<#list ctrl.getAllPSDEToolbarItems() as obj>
${obj.getName()?lower_case}: {
caption:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
tip:
"<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>"
,
caption:
<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>
,
tip:
commonLogic.appcommonhandle("<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>",null)
,
},
</#list>
</#if>
...
...
@@ -86,7 +87,7 @@ export default {
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
uiactions: {
<#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>
},
</#if>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录