mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Merge pull request #2571 from nwind/fix-app-translate
fix: app 中有部分文字未翻译
This commit is contained in:
commit
825b36e65c
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "amis",
|
||||
"version": "1.2.4-beta.5",
|
||||
"version": "1.2.4-beta.9",
|
||||
"description": "一种MIS页面生成工具",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
|
@ -4,6 +4,8 @@ register('de-DE', {
|
||||
'Action.countDown': '${timeLeft} warten',
|
||||
'Alert.info': 'Systeminformationen',
|
||||
'asc': 'Aufsteigend',
|
||||
'App.home': 'Startseite',
|
||||
'App.navigation': 'Navigation',
|
||||
'cancel': 'Abbrechen',
|
||||
'Card.dragTip': 'Obere Schaltfläche zum Sortieren ziehen',
|
||||
'Card.toggleDrag': 'Zum Sortieren umschalten',
|
||||
|
@ -3,6 +3,8 @@ import {register} from '../locale';
|
||||
register('en-US', {
|
||||
'Action.countDown': 'Wait for ${timeLeft}s',
|
||||
'Alert.info': 'System Info',
|
||||
'App.home': 'Home',
|
||||
'App.navigation': 'Navigation',
|
||||
'asc': 'Asc',
|
||||
'cancel': 'Cancel',
|
||||
'Card.dragTip': 'Drag top button to sort',
|
||||
|
@ -3,6 +3,8 @@ import {register} from '../locale';
|
||||
register('zh-CN', {
|
||||
'Action.countDown': '请等待 ${timeLeft} 秒',
|
||||
'Alert.info': '系统消息',
|
||||
'App.home': '首页',
|
||||
'App.navigation': '导航',
|
||||
'asc': '正序',
|
||||
'cancel': '取消',
|
||||
'Card.dragTip': '请拖动顶部的按钮进行排序',
|
||||
|
@ -45,12 +45,8 @@ export const AppStore = ServiceStore.named('AppStore')
|
||||
|
||||
return [
|
||||
{
|
||||
label: '导航',
|
||||
children: [
|
||||
{
|
||||
label: '暂无页面'
|
||||
}
|
||||
]
|
||||
label: self.__('App.navigation'),
|
||||
children: []
|
||||
}
|
||||
];
|
||||
},
|
||||
@ -148,9 +144,10 @@ export const AppStore = ServiceStore.named('AppStore')
|
||||
...item,
|
||||
path: ''
|
||||
});
|
||||
self.__;
|
||||
if (bcn[0].path !== '/') {
|
||||
bcn.unshift({
|
||||
label: '首页',
|
||||
label: self.__('App.home'),
|
||||
path: '/'
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user