提交 16f2425e 编写于 作者: RedPing97's avatar RedPing97

藏文重命名

上级 56353499
...@@ -28,10 +28,10 @@ Object.assign(messages, { ...@@ -28,10 +28,10 @@ Object.assign(messages, {
}); });
</#if> </#if>
<#if lans.getLanguage() == 'BO_CN'> <#if lans.getLanguage() == 'BO_CN'>
import tiCn from './lang/ti-CN'; import tiCn from './lang/BO-CN';
Object.assign(messages, { Object.assign(messages, {
'ti-CN': Object.assign({}, {}, tiCn()), 'BO-CN': Object.assign({}, {}, tiCn()),
}); });
</#if> </#if>
</#list> </#list>
......
...@@ -3,13 +3,13 @@ TARGET=PSSYSAPP ...@@ -3,13 +3,13 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
<#ibizinclude>../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../@MACRO/FUNC.ts</#ibizinclude>
<#list app.getAllPSAppDataEntities() as dataEntitey> <#list app.getAllPSAppDataEntities() as dataEntitey>
import ${dataEntitey.getCodeName()?lower_case}_ti_CN from '@locale/lanres/entities/${srffilepath2(dataEntitey.getCodeName())}/${srffilepath2(dataEntitey.getCodeName())}_zh_CN'; import ${dataEntitey.getCodeName()?lower_case}_BO_CN from '@locale/lanres/entities/${srffilepath2(dataEntitey.getCodeName())}/${srffilepath2(dataEntitey.getCodeName())}_zh_CN';
</#list> </#list>
import components_ti_CN from '@locale/lanres/components/components_ti_CN'; import components_BO_CN from '@locale/lanres/components/components_BO_CN';
import codelist_ti_CN from '@locale/lanres/codelist/codelist_ti_CN'; import codelist_BO_CN from '@locale/lanres/codelist/codelist_BO_CN';
import userCustom_ti_CN from '@locale/lanres/userCustom/userCustom_ti_CN'; import userCustom_BO_CN from '@locale/lanres/userCustom/userCustom_BO_CN';
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'TI_CN'/> <#assign langrestype = 'BO_CN'/>
function getAppLocale(){ function getAppLocale(){
const data:any = { const data:any = {
...@@ -242,12 +242,12 @@ function getAppLocale(){ ...@@ -242,12 +242,12 @@ function getAppLocale(){
}, },
entities: { entities: {
<#list app.getAllPSAppDataEntities() as dataEntitey> <#list app.getAllPSAppDataEntities() as dataEntitey>
${dataEntitey.getCodeName()?lower_case}: ${dataEntitey.getCodeName()?lower_case}_ti_CN(), ${dataEntitey.getCodeName()?lower_case}: ${dataEntitey.getCodeName()?lower_case}_BO_CN(),
</#list> </#list>
}, },
components: components_ti_CN(), components: components_BO_CN(),
codelist: codelist_ti_CN(), codelist: codelist_BO_CN(),
userCustom: userCustom_ti_CN(), userCustom: userCustom_BO_CN(),
}; };
return data; return data;
} }
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import app_ti_CN_Base from './ti-CN-base'; import app_BO_CN_Base from './BO-CN-base';
function getLocaleResource(){ function getLocaleResource(){
const app_ti_CN_OwnData = {}; const app_BO_CN_OwnData = {};
const targetData = Object.assign(app_ti_CN_Base(), app_ti_CN_OwnData); const targetData = Object.assign(app_BO_CN_Base(), app_BO_CN_OwnData);
return targetData; return targetData;
} }
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import codelist_ti_CN_Base from './codelist_ti_CN_base'; import codelist_BO_CN_Base from './codelist_BO_CN_base';
function getLocaleResource(){ function getLocaleResource(){
const codelist_ti_CN_OwnData = {}; const codelist_BO_CN_OwnData = {};
const targetData = Object.assign(codelist_ti_CN_Base(), codelist_ti_CN_OwnData); const targetData = Object.assign(codelist_BO_CN_Base(), codelist_BO_CN_OwnData);
return targetData; return targetData;
} }
export default getLocaleResource; export default getLocaleResource;
\ No newline at end of file
...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'TI_CN'/> <#assign langrestype = 'BO_CN'/>
function getLocaleResourceBase(){ function getLocaleResourceBase(){
const data:any = { const data:any = {
......
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import ${item.getCodeName()}_BO_CN_Base from './${srffilepath2(item.getCodeName())}_BO_CN_base';
function getLocaleResource(){
const ${item.getCodeName()}_BO_CN_OwnData = {};
const targetData = Object.assign(${item.getCodeName()}_BO_CN_Base(), ${item.getCodeName()}_BO_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
...@@ -4,7 +4,7 @@ TARGET=PSAPPDATAENTITY ...@@ -4,7 +4,7 @@ TARGET=PSAPPDATAENTITY
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'TI_CN'/> <#assign langrestype = 'BO_CN'/>
<#assign emptyText = '暂无数据'> <#assign emptyText = '暂无数据'>
function getLocaleResourceBase(){ function getLocaleResourceBase(){
......
<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import ${item.getCodeName()}_ti_CN_Base from './${srffilepath2(item.getCodeName())}_ti_CN_base';
function getLocaleResource(){
const ${item.getCodeName()}_ti_CN_OwnData = {};
const targetData = Object.assign(${item.getCodeName()}_ti_CN_Base(), ${item.getCodeName()}_ti_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
...@@ -17,7 +17,7 @@ export const localList: any[] = [ ...@@ -17,7 +17,7 @@ export const localList: any[] = [
</#if> </#if>
<#if lans.getLanguage() == 'BO_CN'> <#if lans.getLanguage() == 'BO_CN'>
{ {
type: 'ti-CN', type: 'BO-CN',
name: 'བོད་ཡིག', name: 'བོད་ཡིག',
}, },
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册