modify text

This commit is contained in:
MaysWind 2018-08-12 21:21:18 +08:00
parent 3963e7be45
commit 99530eab6c
7 changed files with 7 additions and 7 deletions

View file

@ -240,7 +240,7 @@
</li>
<li data-href-match="/status">
<a href="#!/status">
<span class="label pull-right" ng-if="globalStatusContext.isEnabled" ng-class="{'label-primary': taskContext.rpcStatus === 'Connecting', 'label-success': taskContext.rpcStatus === 'Connected', 'label-danger': taskContext.rpcStatus === 'Not Connected'}" ng-bind="taskContext.rpcStatus | translate"></span>
<span class="label pull-right" ng-if="globalStatusContext.isEnabled" ng-class="{'label-primary': taskContext.rpcStatus === 'Connecting', 'label-success': taskContext.rpcStatus === 'Connected', 'label-danger': taskContext.rpcStatus === 'Disconnected'}" ng-bind="taskContext.rpcStatus | translate"></span>
<i class="fa fa-server"></i> <span translate>Aria2 Status</span>
</a>
</li>

View file

@ -9,7 +9,7 @@ True=是
False=否
Connecting=连接中
Connected=已连接
Not Connected=未连接
Disconnected=未连接
Global=全局
New=新建
Start=开始任务

View file

@ -9,7 +9,7 @@ True=是
False=否
Connecting=連線中
Connected=已連線
Not Connected=未連線
Disconnected=未連線
Global=全域
New=新增
Start=開始工作

View file

@ -13,7 +13,7 @@
'False': 'False',
'Connecting': 'Connecting',
'Connected': 'Connected',
'Not Connected': 'Not Connected',
'Disconnected': 'Disconnected',
'Global': 'Global',
'New': 'New',
'Start': 'Start',

View file

@ -32,7 +32,7 @@
$scope.context.status = 'Connected';
$scope.context.serverStatus = response.data;
} else {
$scope.context.status = 'Not Connected';
$scope.context.status = 'Disconnected';
}
});
})();

View file

@ -203,7 +203,7 @@
});
aria2TaskService.onConnectError(function () {
$rootScope.taskContext.rpcStatus = 'Not Connected';
$rootScope.taskContext.rpcStatus = 'Disconnected';
});
aria2TaskService.onTaskCompleted(function (event) {

View file

@ -13,7 +13,7 @@
<span translate>Aria2 Status</span>
</div>
<div class="setting-value col-sm-8">
<span class="label" ng-class="{'label-primary': context.status === 'Connecting', 'label-success': context.status === 'Connected', 'label-danger': context.status === 'Not Connected'}"
<span class="label" ng-class="{'label-primary': context.status === 'Connecting', 'label-success': context.status === 'Connected', 'label-danger': context.status === 'Disconnected'}"
ng-bind="context.status | translate"></span>
</div>
</div>