Translating everything.

This commit is contained in:
Gunther Brunner
2014-05-28 19:18:33 +09:00
parent ba0a2d5865
commit 2d7853fd1f
11 changed files with 1923 additions and 92 deletions

View File

@@ -85,20 +85,4 @@ module.exports = function DeviceControlCtrl($scope, DeviceService, GroupService,
$scope.currentRotation = 'landscape'
}
})
$scope.tooltipPortrait = function () {
var angle = 0
if (isPortrait()) {
angle = $scope.device.display.orientation
}
return gettext($filter('sprintf')('Portrait (%s°)', angle))
}
$scope.tooltipLandscape = function () {
var angle = 90
if (isLandscape()) {
angle = $scope.device.display.orientation
}
return gettext($filter('sprintf')('Landscape (%s°)', angle))
}
}