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 {
<#-- local langue english -->
app: {
commonWords:{
error:
'Error'
,
success:
'Success'
,
ok:
'OK'
,
cancel:
'Cancel'
,
error:
"Error"
,
success:
"Success"
,
ok:
"OK"
,
cancel:
"Cancel"
,
},
local:{
new:
'New'
new:
"New"
},
gridpage: {
choicecolumns:
'Choice columns'
,
refresh:
'refresh'
,
show:
'Show'
,
records:
'records'
,
totle:
'totle'
,
choicecolumns:
"Choice columns"
,
refresh:
"refresh"
,
show:
"Show"
,
records:
"records"
,
totle:
"totle"
,
},
tabpage: {
sureclosetip: {
title:
'Close warning'
,
content:
'Form data Changed, are sure close?'
,
title:
"Close warning"
,
content:
"Form data Changed, are sure close?"
,
},
closeall:
'Close all'
,
closeother:
'Close other'
,
closeall:
"Close all"
,
closeother:
"Close other"
,
},
fileUpload: {
caption:
'Upload'
,
caption:
"Upload"
,
},
searchButton: {
search:
'Search'
,
reset:
'Reset'
,
search:
"Search"
,
reset:
"Reset"
,
},
calendar:{
today:
'today'
,
month:
'month'
,
week:
'week'
,
day:
'day'
,
list:
'list'
,
dateSelectModalTitle:
'select the time you wanted'
,
gotoDate:
'goto'
,
today:
"today"
,
month:
"month"
,
week:
"week"
,
day:
"day"
,
list:
"list"
,
dateSelectModalTitle:
"select the time you wanted"
,
gotoDate:
"goto"
,
},
// 非实体视图
views: {
...
...
@@ -60,8 +60,8 @@ export default {
<#list allAppViews as obj>
<#if !obj.isPSDEView()>
${obj.getCodeName()?lower_case}: {
caption:
'<#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>'
,
title:
'<@getTitleLanguage obj langrestype />'
,
caption:
"<#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
title:
"<@getTitleLanguage obj langrestype />"
,
},
</#if>
</#list>
...
...
@@ -76,7 +76,7 @@ export default {
<#list app.getAllPSAppMenuModels() as menu>
${menu.getCodeName()?lower_case}: {
<#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>
...
...
APP/src/locale/lang/zh-CN.ts.ftl
浏览文件 @
9c119cc6
...
...
@@ -14,44 +14,44 @@ export default {
<#-- 本地化语言资源 中文 -->
app: {
commonWords:{
error:
'失败'
,
success:
'成功'
,
ok:
'确认'
,
cancel:
'取消'
,
error:
"失败"
,
success:
"成功"
,
ok:
"确认"
,
cancel:
"取消"
,
},
local:{
new:
'新建'
new:
"新建"
},
gridpage: {
choicecolumns:
'选择列'
,
refresh:
'刷新'
,
show:
'显示'
,
records:
'条'
,
totle:
'共'
,
choicecolumns:
"选择列"
,
refresh:
"刷新"
,
show:
"显示"
,
records:
"条"
,
totle:
"共"
,
},
tabpage: {
sureclosetip: {
title:
'关闭提醒'
,
content:
'表单数据已经修改,确定要关闭?'
,
title:
"关闭提醒"
,
content:
"表单数据已经修改,确定要关闭?"
,
},
closeall:
'关闭所有'
,
closeother:
'关闭其他'
,
closeall:
"关闭所有"
,
closeother:
"关闭其他"
,
},
fileUpload: {
caption:
'上传'
,
caption:
"上传"
,
},
searchButton: {
search:
'搜索'
,
reset:
'重置'
,
search:
"搜索"
,
reset:
"重置"
,
},
calendar:{
today:
'今天'
,
month:
'月'
,
week:
'周'
,
day:
'天'
,
list:
'列'
,
dateSelectModalTitle:
'选择要跳转的时间'
,
gotoDate:
'跳转'
,
today:
"今天"
,
month:
"月"
,
week:
"周"
,
day:
"天"
,
list:
"列"
,
dateSelectModalTitle:
"选择要跳转的时间"
,
gotoDate:
"跳转"
,
},
// 非实体视图
views: {
...
...
@@ -60,8 +60,8 @@ export default {
<#list allAppViews as obj>
<#if !obj.isPSDEView()>
${obj.getCodeName()?lower_case}: {
caption:
'<#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>'
,
title:
'<@getTitleLanguage obj langrestype />'
,
caption:
"<#ibizinclude>../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
title:
"<@getTitleLanguage obj langrestype />"
,
},
</#if>
</#list>
...
...
@@ -76,7 +76,7 @@ export default {
<#list app.getAllPSAppMenuModels() as menu>
${menu.getCodeName()?lower_case}: {
<#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>
...
...
APP/src/locale/lanres/codelist/codelist_en_US.ts.ftl
浏览文件 @
9c119cc6
...
...
@@ -10,14 +10,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}": "<@getTextLanguage codeitem langrestype />"
,
</#list>
</#if>
empty: '<@getEmptyTextLanguage codelist langrestype '' />',
"empty": "<@getEmptyTextLanguage codelist langrestype '' />"
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
empty: '<@getEmptyTextLanguage codelist langrestype '' />'
,
"empty": "<@getEmptyTextLanguage codelist langrestype '' />"
,
},
</#if>
</#list>
...
...
APP/src/locale/lanres/codelist/codelist_zh_CN.ts.ftl
浏览文件 @
9c119cc6
...
...
@@ -10,14 +10,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}": "<@getTextLanguage codeitem langrestype />"
,
</#list>
</#if>
empty: '<@getEmptyTextLanguage codelist langrestype '' />'
,
"empty": "<@getEmptyTextLanguage codelist langrestype '' />"
,
},
<#elseif codelist.getCodeListType() == "DYNAMIC">
${codelist.codeName}: {
empty: '<@getEmptyTextLanguage codelist langrestype '' />'
,
"empty": "<@getEmptyTextLanguage codelist langrestype '' />"
,
},
</#if>
</#list>
...
...
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US.ts.ftl
浏览文件 @
9c119cc6
...
...
@@ -9,7 +9,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}:
"<@getLogicNameLanguage field.getPSDEField() langrestype />"
,
</#list>
},
</#if>
...
...
@@ -19,7 +19,7 @@ export default {
<#list item.getAllPSAppViews() as obj>
${obj.getPSDEViewCodeName()?lower_case}: {
caption: "<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>",
title: '<@getTitleLanguage obj langrestype />'
,
title: "<@getTitleLanguage obj langrestype />"
,
},
</#list>
},
...
...
@@ -62,7 +62,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}:
"<@getNameLanguage obj langrestype />"
,
</#if>
</#list>
</#if>
...
...
APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN.ts.ftl
浏览文件 @
9c119cc6
...
...
@@ -8,7 +8,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}:
"<@getLogicNameLanguage field.getPSDEField() langrestype />"
,
</#list>
},
</#if>
...
...
@@ -17,8 +17,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: "<@getTitleLanguage obj langrestype />"
,
},
</#list>
},
...
...
@@ -34,7 +34,7 @@ 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>
...
...
@@ -42,7 +42,7 @@ export default {
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>
},
...
...
@@ -61,7 +61,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}:
"<@getNameLanguage obj langrestype />"
,
</#if>
</#list>
</#if>
...
...
@@ -71,8 +71,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:
"<#ibizinclude>../../../@MACRO/TIPLANG.ts</#ibizinclude>"
,
},
</#list>
</#if>
...
...
@@ -81,7 +81,7 @@ export default {
<#if ctrl.getPSUIActions?? && ctrl.getPSUIActions()??>
uiactions: {
<#list ctrl.getPSUIActions() as obj>
${obj.getUIActionTag()?lower_case}:
'<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>'
,
${obj.getUIActionTag()?lower_case}:
"<#ibizinclude>../../../@MACRO/CAPTIONLANG.ts</#ibizinclude>"
,
</#list>
},
</#if>
...
...
APP/src/mock/codelist/codelist.ts.ftl
浏览文件 @
9c119cc6
...
...
@@ -14,16 +14,16 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
<#list app.getAllPSAppCodeLists() as codelist>
{
<#if codelist.getCodeListType() == "STATIC" && codelist.getAllPSCodeItems()??>
srfkey:
'${codelist.codeName}'
,
emptytext:
'${codelist.getEmptyText()}'
,
srfkey:
"${codelist.codeName}"
,
emptytext:
"${codelist.getEmptyText()}"
,
"codelisttype":"static",
items: [
<#if codelist.getAllPSCodeItems()??>
<#list codelist.getAllPSCodeItems() as codeitem>
{
id:
'${codeitem.getValue()?j_string}'
,
label:
'${codeitem.getText()?j_string}'
,
text:
'${codeitem.getText()?j_string}'
,
id:
"${codeitem.getValue()?j_string}"
,
label:
"${codeitem.getText()?j_string}"
,
text:
"${codeitem.getText()?j_string}"
,
<#if codeitem.getPSSysImage()??>
<#assign sysimage = codeitem.getPSSysImage()/>
<#if sysimage.getImagePath() == "">
...
...
@@ -44,7 +44,7 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
value: ${codeitem.getValue()?j_string},
<#if codeitem.getParentCodeItem()??><#assign parentCodeItem = codeitem.getParentCodeItem() />"pvalue": ${parentCodeItem.getValue()?j_string},</#if>
<#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>
disabled: <#if codeitem.isDisableSelect()>true<#else>false</#if>,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录