提交 33e8c85f 编写于 作者: tony001's avatar tony001

优化国际化附加逻辑内容

上级 7a9cf821
import components_en_US_Base from './components_en_US_base';
const components_en_US_OwnData = {};
const targetData = Object.assign(components_en_US_Base, components_en_US_OwnData);
export default targetData;
\ No newline at end of file
function getLocaleResource(){
const components_en_US_OwnData = {};
const targetData = Object.assign(components_en_US_Base(), components_en_US_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
export default {
function getLocaleResourceBase(){
const data:any = {
"404": {
errorText1: 'sorry,the page you visited is not exist!',
errorText2: 'The page you visited is not exist,please return to',
......@@ -390,4 +391,7 @@ export default {
monthsAgo: 'months ago',
yearsAgo: 'years ago'
}
};
\ No newline at end of file
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
import components_zh_CN_Base from './components_zh_CN_base';
const components_zh_CN_OwnData = {};
const targetData = Object.assign(components_zh_CN_Base, components_zh_CN_OwnData);
export default targetData;
\ No newline at end of file
function getLocaleResource(){
const components_zh_CN_OwnData = {};
const targetData = Object.assign(components_zh_CN_Base(), components_zh_CN_OwnData);
return targetData;
}
export default getLocaleResource;
\ No newline at end of file
export default {
function getLocaleResourceBase(){
const data:any = {
"404": {
errorText1: '抱歉,您访问的页面不存在!',
errorText2: '您要找的页面不存在,请返回',
......@@ -391,4 +392,7 @@ export default {
monthsAgo: '月前',
yearsAgo: '年前'
}
};
\ No newline at end of file
};
return data;
}
export default getLocaleResourceBase;
\ No newline at end of file
// 用户自定义语言资源 英文
export default {
};
\ No newline at end of file
function getLocaleResource(){
const data:any = {};
return data;
}
export default getLocaleResource;
\ No newline at end of file
// 用户自定义语言资源 中文
export default {
};
\ No newline at end of file
function getLocaleResource(){
const data:any = {};
return data;
}
export default getLocaleResource;
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册