提交 cf45d440 编写于 作者: hudan's avatar hudan

新增日历视图面板国际化内容

上级 b88069b6
......@@ -6,9 +6,9 @@
<div class="title">{{inputData.title}}</div>
<div class="srfdescription">{{inputData.srfdescription}}</div>
<div class="date">
{{ $t('components.AppCalendarItemlayoutpanel.from') }}
{{ $t('userCustom.AppCalendarItemlayoutpanel.from') }}
<span class="start">{{inputData.start}}</span>
{{$t('components.AppCalendarItemlayoutpanel.to')}}
{{$t('userCustom.AppCalendarItemlayoutpanel.to')}}
<span class="end">{{inputData.end}}</span>
</div>
</div>
......
// 用户自定义语言资源 英文
function getLocaleResource(){
const data:any = {};
const data:any = {
"AppCalendarItemlayoutpanel":{
from:'from',
to:'to'
}
};
return data;
}
export default getLocaleResource;
\ No newline at end of file
// 用户自定义语言资源 中文
function getLocaleResource(){
const data:any = {};
const data:any = {
"AppCalendarItemlayoutpanel":{
from:'从',
to:'到'
}
};
return data;
}
export default getLocaleResource;
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册