mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 05:57:13 -04:00
Fix a recurrent English typo
This commit is contained in:
parent
54bc9d0dcb
commit
74fba0a817
10 changed files with 25 additions and 25 deletions
|
@ -126,7 +126,7 @@ BlazeComponent.extendComponent({
|
|||
this.visibilityMenuIsOpen.set(false);
|
||||
},
|
||||
|
||||
toogleVisibilityMenu() {
|
||||
toggleVisibilityMenu() {
|
||||
this.visibilityMenuIsOpen.set(!this.visibilityMenuIsOpen.get());
|
||||
},
|
||||
|
||||
|
@ -151,7 +151,7 @@ BlazeComponent.extendComponent({
|
|||
'click .js-select-visibility'() {
|
||||
this.setVisibility(this.currentData());
|
||||
},
|
||||
'click .js-change-visibility': this.toogleVisibilityMenu,
|
||||
'click .js-change-visibility': this.toggleVisibilityMenu,
|
||||
submit: this.onSubmit,
|
||||
}];
|
||||
},
|
||||
|
|
|
@ -67,7 +67,7 @@ BlazeComponent.extendComponent({
|
|||
if (MultiSelection.isActive() || evt.shiftKey) {
|
||||
evt.stopImmediatePropagation();
|
||||
evt.preventDefault();
|
||||
const methodName = evt.shiftKey ? 'toogleRange' : 'toogle';
|
||||
const methodName = evt.shiftKey ? 'toggleRange' : 'toggle';
|
||||
MultiSelection[methodName](this.currentData()._id);
|
||||
|
||||
// If the card is already selected, we want to de-select it.
|
||||
|
@ -87,7 +87,7 @@ BlazeComponent.extendComponent({
|
|||
toggleMultiSelection(evt) {
|
||||
evt.stopPropagation();
|
||||
evt.preventDefault();
|
||||
MultiSelection.toogle(this.currentData()._id);
|
||||
MultiSelection.toggle(this.currentData()._id);
|
||||
},
|
||||
|
||||
events() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
template(name="sidebar")
|
||||
.board-sidebar.sidebar(class="{{#if isOpen}}is-open{{/if}}")
|
||||
a.sidebar-tongue.js-toogle-sidebar(
|
||||
a.sidebar-tongue.js-toggle-sidebar(
|
||||
class="{{#if isTongueHidden}}is-hidden{{/if}}")
|
||||
i.fa.fa-angle-left
|
||||
.sidebar-content.js-board-sidebar-content.js-perfect-scrollbar
|
||||
|
|
|
@ -44,7 +44,7 @@ BlazeComponent.extendComponent({
|
|||
}
|
||||
},
|
||||
|
||||
toogle() {
|
||||
toggle() {
|
||||
this._isOpen.set(!this._isOpen.get());
|
||||
},
|
||||
|
||||
|
@ -96,7 +96,7 @@ BlazeComponent.extendComponent({
|
|||
// XXX Hacky, we need some kind of `super`
|
||||
const mixinEvents = this.getMixin(Mixins.InfiniteScrolling).events();
|
||||
return mixinEvents.concat([{
|
||||
'click .js-toogle-sidebar': this.toogle,
|
||||
'click .js-toggle-sidebar': this.toggle,
|
||||
'click .js-back-home': this.setView,
|
||||
}]);
|
||||
},
|
||||
|
@ -129,7 +129,7 @@ Template.memberPopup.helpers({
|
|||
|
||||
Template.memberPopup.events({
|
||||
'click .js-filter-member'() {
|
||||
Filter.members.toogle(this.userId);
|
||||
Filter.members.toggle(this.userId);
|
||||
Popup.close();
|
||||
},
|
||||
'click .js-change-role': Popup.open('changePermissions'),
|
||||
|
|
|
@ -22,7 +22,7 @@ template(name="filterSidebar")
|
|||
if isActive
|
||||
with getUser userId
|
||||
li(class="{{#if Filter.members.isSelected _id}}active{{/if}}")
|
||||
a.name.js-toogle-member-filter
|
||||
a.name.js-toggle-member-filter
|
||||
+userAvatar(userId=this._id)
|
||||
span.sidebar-list-item-description
|
||||
= profile.fullname
|
||||
|
@ -59,7 +59,7 @@ template(name="multiselectionSidebar")
|
|||
if isActive
|
||||
with getUser userId
|
||||
li(class="{{#if Filter.members.isSelected _id}}active{{/if}}")
|
||||
a.name.js-toogle-member-multiselection
|
||||
a.name.js-toggle-member-multiselection
|
||||
+userAvatar(userId=this._id)
|
||||
span.sidebar-list-item-description
|
||||
= profile.fullname
|
||||
|
|
|
@ -7,12 +7,12 @@ BlazeComponent.extendComponent({
|
|||
return [{
|
||||
'click .js-toggle-label-filter'(evt) {
|
||||
evt.preventDefault();
|
||||
Filter.labelIds.toogle(this.currentData()._id);
|
||||
Filter.labelIds.toggle(this.currentData()._id);
|
||||
Filter.resetExceptions();
|
||||
},
|
||||
'click .js-toogle-member-filter'(evt) {
|
||||
'click .js-toggle-member-filter'(evt) {
|
||||
evt.preventDefault();
|
||||
Filter.members.toogle(this.currentData()._id);
|
||||
Filter.members.toggle(this.currentData()._id);
|
||||
Filter.resetExceptions();
|
||||
},
|
||||
'click .js-clear-all'(evt) {
|
||||
|
@ -85,7 +85,7 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
});
|
||||
},
|
||||
'click .js-toogle-member-multiselection'(evt) {
|
||||
'click .js-toggle-member-multiselection'(evt) {
|
||||
const memberId = this.currentData()._id;
|
||||
const mappedSelection = this.mapSelection('member', memberId);
|
||||
let operation;
|
||||
|
|
|
@ -37,7 +37,7 @@ class SetFilter {
|
|||
}
|
||||
}
|
||||
|
||||
toogle(val) {
|
||||
toggle(val) {
|
||||
if (this._indexOfVal(val) === -1) {
|
||||
this.add(val);
|
||||
} else {
|
||||
|
|
|
@ -6,14 +6,14 @@ Mousetrap.bind('?', () => {
|
|||
});
|
||||
|
||||
Mousetrap.bind('w', () => {
|
||||
Sidebar.toogle();
|
||||
Sidebar.toggle();
|
||||
});
|
||||
|
||||
Mousetrap.bind('q', () => {
|
||||
const currentBoardId = Session.get('currentBoard');
|
||||
const currentUserId = Meteor.userId();
|
||||
if (currentBoardId && currentUserId) {
|
||||
Filter.members.toogle(currentUserId);
|
||||
Filter.members.toggle(currentUserId);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -39,7 +39,7 @@ Mousetrap.bind(['down', 'up'], (evt, key) => {
|
|||
Template.keyboardShortcuts.helpers({
|
||||
mapping: [{
|
||||
keys: ['W'],
|
||||
action: 'shortcut-toogle-sidebar',
|
||||
action: 'shortcut-toggle-sidebar',
|
||||
}, {
|
||||
keys: ['Q'],
|
||||
action: 'shortcut-filter-my-cards',
|
||||
|
|
|
@ -100,26 +100,26 @@ MultiSelection = {
|
|||
},
|
||||
|
||||
add(cardIds) {
|
||||
return this.toogle(cardIds, { add: true, remove: false });
|
||||
return this.toggle(cardIds, { add: true, remove: false });
|
||||
},
|
||||
|
||||
remove(cardIds) {
|
||||
return this.toogle(cardIds, { add: false, remove: true });
|
||||
return this.toggle(cardIds, { add: false, remove: true });
|
||||
},
|
||||
|
||||
toogleRange(cardId) {
|
||||
toggleRange(cardId) {
|
||||
const selectedCards = this._selectedCards.get();
|
||||
let startRange;
|
||||
this.reset();
|
||||
if (!this.isActive() || selectedCards.length === 0) {
|
||||
this.toogle(cardId);
|
||||
this.toggle(cardId);
|
||||
} else {
|
||||
startRange = selectedCards[selectedCards.length - 1];
|
||||
this.toogle(getCardsBetween(startRange, cardId));
|
||||
this.toggle(getCardsBetween(startRange, cardId));
|
||||
}
|
||||
},
|
||||
|
||||
toogle(cardIds, options) {
|
||||
toggle(cardIds, options) {
|
||||
cardIds = _.isString(cardIds) ? [cardIds] : cardIds;
|
||||
options = _.extend({
|
||||
add: true,
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
"shortcut-close-dialog": "Close Dialog",
|
||||
"shortcut-filter-my-cards": "Filter my cards",
|
||||
"shortcut-show-shortcuts": "Bring up this shortcuts list",
|
||||
"shortcut-toogle-sidebar": "Toogle Board Sidebar",
|
||||
"shortcut-toggle-sidebar": "Toggle Board Sidebar",
|
||||
"signupPopup-title": "Create an Account",
|
||||
"star-board-title": "Click to star this board. It will show up at top of your boards list.",
|
||||
"starred-boards": "Starred Boards",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue