From bc390263abd825f8d03179022d14e780ecbdf1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 10 Apr 2019 17:19:41 +0200 Subject: [PATCH] Fix labels in the UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- js/controller/BoardController.js | 2 +- js/init-collections.js | 9 ++++----- js/views/BoardSelector.vue | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/js/controller/BoardController.js b/js/controller/BoardController.js index 88fa6b7b3..802756db0 100644 --- a/js/controller/BoardController.js +++ b/js/controller/BoardController.js @@ -19,6 +19,7 @@ * along with this program. If not, see . * */ +/* global oc_defaults oc_config OC OCP OCA t n */ import app from '../app/App.js'; import Vue from 'vue'; @@ -29,7 +30,6 @@ Vue.prototype.OC = OC; import CollaborationView from '../views/CollaborationView'; -/* global oc_defaults oc_config OC OCP OCA */ app.controller('BoardController', function ($rootScope, $scope, $element, $stateParams, StatusService, BoardService, StackService, CardService, LabelService, $state, $transitions, $filter, FileService) { $scope.sidebar = $rootScope.sidebar; diff --git a/js/init-collections.js b/js/init-collections.js index bae235767..9a6d06911 100644 --- a/js/init-collections.js +++ b/js/init-collections.js @@ -30,10 +30,9 @@ __webpack_public_path__ = OC.linkTo('deck', 'js/build/'); import Vue from 'vue'; -Vue.prototype.$ = $ -Vue.prototype.t = t -Vue.prototype.n = n -Vue.prototype.OC = OC +Vue.prototype.t = t; +Vue.prototype.n = n; +Vue.prototype.OC = OC; import BoardSelector from './views/BoardSelector'; @@ -64,7 +63,7 @@ import './../css/collections.css'; }); }); }, - typeString: t('deck', 'board'), + typeString: t('deck', 'Link to a board'), typeIconClass: 'icon-deck' }); })(window.OCP)); diff --git a/js/views/BoardSelector.vue b/js/views/BoardSelector.vue index 7a5da6672..a34790559 100644 --- a/js/views/BoardSelector.vue +++ b/js/views/BoardSelector.vue @@ -23,14 +23,14 @@