Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
22
议题
22
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7
提交
9c119cc6
提交
9c119cc6
编写于
6月 19, 2020
作者:
tony001
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
多语言‘变成“
上级
384bee6f
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
78 行增加
和
78 行删除
+78
-78
en-US.ts.ftl
APP/src/locale/lang/en-US.ts.ftl
+27
-27
zh-CN.ts.ftl
APP/src/locale/lang/zh-CN.ts.ftl
+27
-27
codelist_en_US.ts.ftl
APP/src/locale/lanres/codelist/codelist_en_US.ts.ftl
+3
-3
codelist_zh_CN.ts.ftl
APP/src/locale/lanres/codelist/codelist_zh_CN.ts.ftl
+3
-3
%DE_PKGPATH%_en_US.ts.ftl
...le/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US.ts.ftl
+3
-3
%DE_PKGPATH%_zh_CN.ts.ftl
...le/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN.ts.ftl
+9
-9
codelist.ts.ftl
APP/src/mock/codelist/codelist.ts.ftl
+6
-6
未找到文件。
APP/src/locale/lang/en-US.ts.ftl
浏览文件 @
9c119cc6
...
@@ -14,44 +14,44 @@ export default {
...
@@ -14,44 +14,44 @@ export default {
<#-- local langue english -->
<#-- local langue english -->
app: {
app: {
commonWords:{
commonWords:{
error:
'Error'
,
error:
"Error"
,
success:
'Success'
,
success:
"Success"
,
ok:
'OK'
,
ok:
"OK"
,
cancel:
'Cancel'
,
cancel:
"Cancel"
,
},
},
local:{
local:{
new:
'New'
new:
"New"
},
},
gridpage: {
gridpage: {
choicecolumns:
'Choice columns'
,
choicecolumns:
"Choice columns"
,
refresh:
'refresh'
,
refresh:
"refresh"
,
show:
'Show'
,
show:
"Show"
,
records:
'records'
,
records:
"records"
,
totle:
'totle'
,
totle:
"totle"
,
},
},
tabpage: {
tabpage: {
sureclosetip: {
sureclosetip: {
title:
'Close warning'
,
title:
"Close warning"
,
content:
'Form data Changed, are sure close?'
,
content:
"Form data Changed, are sure close?"
,
},
},
closeall:
'Close all'
,
closeall:
"Close all"
,
closeother:
'Close other'
,
closeother:
"Close other"
,
},
},
fileUpload: {
fileUpload: {
caption:
'Upload'
,
caption:
"Upload"
,
},
},
searchButton: {
searchButton: {
search:
'Search'
,
search:
"Search"
,
reset:
'Reset'
,
reset:
"Reset"
,
},
},
calendar:{
calendar:{
today:
'today'
,
today:
"today"
,
month:
'month'
,
month:
"month"
,
week:
'week'
,
week:
"week"
,
day:
'day'
,
day:
"day"
,
list:
'list'
,
list:
"list"
,
dateSelectModalTitle:
'select the time you wanted'
,
dateSelectModalTitle:
"select the time you wanted"
,
gotoDate:
'goto'
,
gotoDate:
"goto"
,
},
},
// 非实体视图
// 非实体视图
views: {
views: {
...
@@ -60,8 +60,8 @@ export default {
...
@@ -60,8 +60,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:
"<@getTitleLanguage obj langrestype />"
,
},
},
</#if>
</#if>
</#list>
</#list>
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,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>
...
...
APP/src/locale/lang/zh-CN.ts.ftl
浏览文件 @
9c119cc6
...
@@ -14,44 +14,44 @@ export default {
...
@@ -14,44 +14,44 @@ export default {
<#-- 本地化语言资源 中文 -->
<#-- 本地化语言资源 中文 -->
app: {
app: {
commonWords:{
commonWords:{
error:
'失败'
,
error:
"失败"
,
success:
'成功'
,
success:
"成功"
,
ok:
'确认'
,
ok:
"确认"
,
cancel:
'取消'
,
cancel:
"取消"
,
},
},
local:{
local:{
new:
'新建'
new:
"新建"
},
},
gridpage: {
gridpage: {
choicecolumns:
'选择列'
,
choicecolumns:
"选择列"
,
refresh:
'刷新'
,
refresh:
"刷新"
,
show:
'显示'
,
show:
"显示"
,
records:
'条'
,
records:
"条"
,
totle:
'共'
,
totle:
"共"
,
},
},
tabpage: {
tabpage: {
sureclosetip: {
sureclosetip: {
title:
'关闭提醒'
,
title:
"关闭提醒"
,
content:
'表单数据已经修改,确定要关闭?'
,
content:
"表单数据已经修改,确定要关闭?"
,
},
},
closeall:
'关闭所有'
,
closeall:
"关闭所有"
,
closeother:
'关闭其他'
,
closeother:
"关闭其他"
,
},
},
fileUpload: {
fileUpload: {
caption:
'上传'
,
caption:
"上传"
,
},
},
searchButton: {
searchButton: {
search:
'搜索'
,
search:
"搜索"
,
reset:
'重置'
,
reset:
"重置"
,
},
},
calendar:{
calendar:{
today:
'今天'
,
today:
"今天"
,
month:
'月'
,
month:
"月"
,
week:
'周'
,
week:
"周"
,
day:
'天'
,
day:
"天"
,
list:
'列'
,
list:
"列"
,
dateSelectModalTitle:
'选择要跳转的时间'
,
dateSelectModalTitle:
"选择要跳转的时间"
,
gotoDate:
'跳转'
,
gotoDate:
"跳转"
,
},
},
// 非实体视图
// 非实体视图
views: {
views: {
...
@@ -60,8 +60,8 @@ export default {
...
@@ -60,8 +60,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:
"<@getTitleLanguage obj langrestype />"
,
},
},
</#if>
</#if>
</#list>
</#list>
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,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>
...
...
APP/src/locale/lanres/codelist/codelist_en_US.ts.ftl
浏览文件 @
9c119cc6
...
@@ -10,14 +10,14 @@ export default {
...
@@ -10,14 +10,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}": "<@getTextLanguage codeitem langrestype />"
,
</#list>
</#list>
</#if>
</#if>
empty: '<@getEmptyTextLanguage codelist langrestype '' />',
"empty": "<@getEmptyTextLanguage codelist langrestype '' />"
},
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
${codelist.codeName}: {
empty: '<@getEmptyTextLanguage codelist langrestype '' />'
,
"empty": "<@getEmptyTextLanguage codelist langrestype '' />"
,
},
},
</#if>
</#if>
</#list>
</#list>
...
...
APP/src/locale/lanres/codelist/codelist_zh_CN.ts.ftl
浏览文件 @
9c119cc6
...
@@ -10,14 +10,14 @@ export default {
...
@@ -10,14 +10,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}": "<@getTextLanguage codeitem langrestype />"
,
</#list>
</#list>
</#if>
</#if>
empty: '<@getEmptyTextLanguage codelist langrestype '' />'
,
"empty": "<@getEmptyTextLanguage codelist langrestype '' />"
,
},
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
${codelist.codeName}: {
empty: '<@getEmptyTextLanguage codelist langrestype '' />'
,
"empty": "<@getEmptyTextLanguage codelist langrestype '' />"
,
},
},
</#if>
</#if>
</#list>
</#list>
...
...
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US.ts.ftl
浏览文件 @
9c119cc6
...
@@ -9,7 +9,7 @@ export default {
...
@@ -9,7 +9,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}:
"<@getLogicNameLanguage field.getPSDEField() langrestype />"
,
</#list>
</#list>
},
},
</#if>
</#if>
...
@@ -19,7 +19,7 @@ export default {
...
@@ -19,7 +19,7 @@ export default {
<#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: "<@getTitleLanguage obj langrestype />"
,
},
},
</#list>
</#list>
},
},
...
@@ -62,7 +62,7 @@ export default {
...
@@ -62,7 +62,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}:
"<@getNameLanguage obj langrestype />"
,
</#if>
</#if>
</#list>
</#list>
</#if>
</#if>
...
...
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN.ts.ftl
浏览文件 @
9c119cc6
...
@@ -8,7 +8,7 @@ export default {
...
@@ -8,7 +8,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}:
"<@getLogicNameLanguage field.getPSDEField() langrestype />"
,
</#list>
</#list>
},
},
</#if>
</#if>
...
@@ -17,8 +17,8 @@ export default {
...
@@ -17,8 +17,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: "<@getTitleLanguage obj langrestype />"
,
},
},
</#list>
</#list>
},
},
...
@@ -34,7 +34,7 @@ export default {
...
@@ -34,7 +34,7 @@ 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>
...
@@ -42,7 +42,7 @@ export default {
...
@@ -42,7 +42,7 @@ export default {
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>
},
},
...
@@ -61,7 +61,7 @@ export default {
...
@@ -61,7 +61,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}:
"<@getNameLanguage obj langrestype />"
,
</#if>
</#if>
</#list>
</#list>
</#if>
</#if>
...
@@ -71,8 +71,8 @@ export default {
...
@@ -71,8 +71,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:
"<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>"
,
},
},
</#list>
</#list>
</#if>
</#if>
...
@@ -81,7 +81,7 @@ export default {
...
@@ -81,7 +81,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>
${obj.getUIActionTag()?lower_case}:
'<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>'
,
${obj.getUIActionTag()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
</#list>
</#list>
},
},
</#if>
</#if>
...
...
APP/src/mock/codelist/codelist.ts.ftl
浏览文件 @
9c119cc6
...
@@ -14,16 +14,16 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
...
@@ -14,16 +14,16 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
<#list app.getAllPSAppCodeLists() as codelist>
<#list app.getAllPSAppCodeLists() as codelist>
{
{
<#if codelist.getCodeListType() == "STATIC" && codelist.getAllPSCodeItems()??>
<#if codelist.getCodeListType() == "STATIC" && codelist.getAllPSCodeItems()??>
srfkey:
'${codelist.codeName}'
,
srfkey:
"${codelist.codeName}"
,
emptytext:
'${codelist.getEmptyText()}'
,
emptytext:
"${codelist.getEmptyText()}"
,
"codelisttype":"static",
"codelisttype":"static",
items: [
items: [
<#if codelist.getAllPSCodeItems()??>
<#if codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
<#list codelist.getAllPSCodeItems() as codeitem>
{
{
id:
'${codeitem.getValue()?j_string}'
,
id:
"${codeitem.getValue()?j_string}"
,
label:
'${codeitem.getText()?j_string}'
,
label:
"${codeitem.getText()?j_string}"
,
text:
'${codeitem.getText()?j_string}'
,
text:
"${codeitem.getText()?j_string}"
,
<#if codeitem.getPSSysImage()??>
<#if codeitem.getPSSysImage()??>
<#assign sysimage = codeitem.getPSSysImage()/>
<#assign sysimage = codeitem.getPSSysImage()/>
<#if sysimage.getImagePath() == "">
<#if sysimage.getImagePath() == "">
...
@@ -44,7 +44,7 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
...
@@ -44,7 +44,7 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
value: ${codeitem.getValue()?j_string},
value: ${codeitem.getValue()?j_string},
<#if codeitem.getParentCodeItem()??><#assign parentCodeItem = codeitem.getParentCodeItem() />"pvalue": ${parentCodeItem.getValue()?j_string},</#if>
<#if codeitem.getParentCodeItem()??><#assign parentCodeItem = codeitem.getParentCodeItem() />"pvalue": ${parentCodeItem.getValue()?j_string},</#if>
<#else>
<#else>
value:
'${codeitem.getValue()?j_string}'
,
value:
"${codeitem.getValue()?j_string}"
,
<#if codeitem.getParentCodeItem()??><#assign parentCodeItem = codeitem.getParentCodeItem() />"pvalue": "${parentCodeItem.getValue()?j_string}",</#if>
<#if codeitem.getParentCodeItem()??><#assign parentCodeItem = codeitem.getParentCodeItem() />"pvalue": "${parentCodeItem.getValue()?j_string}",</#if>
</#if>
</#if>
disabled: <#if codeitem.isDisableSelect()>true<#else>false</#if>,
disabled: <#if codeitem.isDisableSelect()>true<#else>false</#if>,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录