From ade3c02122d262c72bd7c4fd1cbcab8e136184ba Mon Sep 17 00:00:00 2001 From: Pouyan Savoli Date: Fri, 25 Aug 2017 02:59:20 +0200 Subject: Create custom fields creation UI added to Board Menu, Model in progress --- .gitignore | 1 + client/components/activities/activities.jade | 3 + client/components/activities/activities.js | 5 + client/components/boards/boardHeader.jade | 1 + client/components/boards/boardHeader.js | 4 + client/components/main/popup.styl | 3 + client/components/sidebar/sidebar.js | 1 + client/components/sidebar/sidebarCustomFields.jade | 31 ++++++ client/components/sidebar/sidebarCustomFields.js | 55 ++++++++++ i18n/en.i18n.json | 8 ++ models/activities.js | 8 ++ models/customFields.js | 116 +++++++++++++++++++++ server/publications/customFields.js | 3 + 13 files changed, 239 insertions(+) create mode 100644 client/components/sidebar/sidebarCustomFields.jade create mode 100644 client/components/sidebar/sidebarCustomFields.js create mode 100644 models/customFields.js create mode 100644 server/publications/customFields.js diff --git a/.gitignore b/.gitignore index 7642f23d..a5abba70 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ package-lock.json **/stage **/prime **/*.snap +.idea \ No newline at end of file diff --git a/client/components/activities/activities.jade b/client/components/activities/activities.jade index be12a728..b52a2981 100644 --- a/client/components/activities/activities.jade +++ b/client/components/activities/activities.jade @@ -50,6 +50,9 @@ template(name="boardActivities") if($eq activityType 'createCard') | {{{_ 'activity-added' cardLink boardLabel}}}. + if($eq activityType 'createCustomField') + | {{_ 'activity-customfield-created' customField}}. + if($eq activityType 'createList') | {{_ 'activity-added' list.title boardLabel}}. diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js index ccb064f3..81645a51 100644 --- a/client/components/activities/activities.js +++ b/client/components/activities/activities.js @@ -91,6 +91,11 @@ BlazeComponent.extendComponent({ }, attachment.name())); }, + customField() { + const customField = this.currentData().customFieldId; + return customField; + }, + events() { return [{ // XXX We should use Popup.afterConfirmation here diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index ffb8eb27..67acdc9e 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -103,6 +103,7 @@ template(name="boardHeaderBar") template(name="boardMenuPopup") ul.pop-over-list + li: a.js-custom-fields {{_ 'custom-fields'}} li: a.js-open-archives {{_ 'archived-items'}} if currentUser.isBoardAdmin li: a.js-change-board-color {{_ 'board-change-color'}} diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index b7807ca9..8983c722 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -1,5 +1,9 @@ Template.boardMenuPopup.events({ 'click .js-rename-board': Popup.open('boardChangeTitle'), + 'click .js-custom-fields'() { + Sidebar.setView('customFields'); + Popup.close(); + }, 'click .js-open-archives'() { Sidebar.setView('archives'); Popup.close(); diff --git a/client/components/main/popup.styl b/client/components/main/popup.styl index b7c9e264..ff00eef3 100644 --- a/client/components/main/popup.styl +++ b/client/components/main/popup.styl @@ -33,6 +33,9 @@ $popupWidth = 300px textarea height: 72px + form a span + padding: 0 0.5rem + .header height: 36px position: relative diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js index 1290fd13..59a2b42c 100644 --- a/client/components/sidebar/sidebar.js +++ b/client/components/sidebar/sidebar.js @@ -5,6 +5,7 @@ const defaultView = 'home'; const viewTitles = { filter: 'filter-cards', multiselection: 'multi-selection', + customFields: 'custom-fields', archives: 'archives', }; diff --git a/client/components/sidebar/sidebarCustomFields.jade b/client/components/sidebar/sidebarCustomFields.jade new file mode 100644 index 00000000..33688441 --- /dev/null +++ b/client/components/sidebar/sidebarCustomFields.jade @@ -0,0 +1,31 @@ +template(name="customFieldsSidebar") + ul.sidebar-list + each customsFields + li + a.name + span.sidebar-list-item-description + {{_ 'some name'}} + if currentUser.isBoardMember + hr + a.sidebar-btn.js-open-create-custom-field + i.fa.fa-plus + span {{_ 'Create Custom Field'}} + +template(name="createCustomFieldPopup") + form + label + | {{_ 'name'}} + input.js-field-name(type="text" name="field-name" autofocus) + label + | {{_ 'type'}} + select.js-field-type(name="field-type") + option(value="string") String + option(value="number") Number + option(value="checkbox") Checkbox + option(value="date") Date + option(value="DropdownList") Dropdown List + a.flex.js-field-show-on-card + .materialCheckBox(class="{{#if showOnCard}}is-checked{{/if}}") + + span {{_ 'show-field-on-card'}} + input.primary.wide(type="submit" value="{{_ 'save'}}") \ No newline at end of file diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js new file mode 100644 index 00000000..da03f484 --- /dev/null +++ b/client/components/sidebar/sidebarCustomFields.js @@ -0,0 +1,55 @@ +BlazeComponent.extendComponent({ + + customFields() { + return CustomFields.find({ + boardId: Session.get('currentBoard'), + }); + }, + + events() { + return [{ + 'click .js-open-create-custom-field': Popup.open('createCustomField'), + 'click .js-edit-custom-field'() { + // todo + }, + 'click .js-delete-custom-field': Popup.afterConfirm('customFieldDelete', function() { + const customFieldId = this._id; + CustomFields.remove(customFieldId); + Popup.close(); + }), + }]; + }, + +}).register('customFieldsSidebar'); + +Template.createCustomFieldPopup.helpers({ + +}); + +Template.createCustomFieldPopup.events({ + 'click .js-field-show-on-card'(event) { + let $target = $(event.target); + if(!$target.hasClass('js-field-show-on-card')){ + $target = $target.parent(); + } + $target.find('.materialCheckBox').toggleClass('is-checked'); + $target.toggleClass('is-checked'); + }, + 'submit'(evt, tpl) { + evt.preventDefault(); + + const name = tpl.find('.js-field-name').value.trim(); + const type = tpl.find('.js-field-type').value.trim(); + const showOnCard = tpl.find('.js-field-show-on-card.is-checked') != null; + //console.log("Create",name,type,showOnCard); + + CustomFields.insert({ + boardId: Session.get('currentBoard'), + name: name, + type: type, + showOnCard: showOnCard + }); + + Popup.back(); + }, +}); \ No newline at end of file diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index 64a720db..d7b9a48b 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "archived __board__", @@ -29,6 +30,7 @@ "activity-archived": "archived %s", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -152,7 +154,11 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Custom Field", + "createCustomFieldPopup-title": "Create Custom Field", "current": "current", + "custom-fields": "Custom Fields", + "customFieldDeletePopup-title": "Delete Card?", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", @@ -330,6 +336,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -387,6 +394,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/models/activities.js b/models/activities.js index 4ddcfa72..237283f8 100644 --- a/models/activities.js +++ b/models/activities.js @@ -41,6 +41,9 @@ Activities.helpers({ checklistItem() { return Checklists.findOne(this.checklistId).getItem(this.checklistItemId); }, + customField() { + return CustomFields.findOne(this.customFieldId); + }, }); Activities.before.insert((userId, doc) => { @@ -57,6 +60,7 @@ if (Meteor.isServer) { Activities._collection._ensureIndex({ boardId: 1, createdAt: -1 }); Activities._collection._ensureIndex({ commentId: 1 }, { partialFilterExpression: { commentId: { $exists: true } } }); Activities._collection._ensureIndex({ attachmentId: 1 }, { partialFilterExpression: { attachmentId: { $exists: true } } }); + Activities._collection._ensureIndex({ customFieldId: 1 }, { partialFilterExpression: { customFieldId: { $exists: true } } }); }); Activities.after.insert((userId, doc) => { @@ -123,6 +127,10 @@ if (Meteor.isServer) { const checklistItem = activity.checklistItem(); params.checklistItem = checklistItem.title; } + if (activity.customFieldId) { + const customField = activity.customField(); + params.customField = customField.name; + } if (board) { const watchingUsers = _.pluck(_.where(board.watchers, {level: 'watching'}), 'userId'); const trackingUsers = _.pluck(_.where(board.watchers, {level: 'tracking'}), 'userId'); diff --git a/models/customFields.js b/models/customFields.js new file mode 100644 index 00000000..75ee55e8 --- /dev/null +++ b/models/customFields.js @@ -0,0 +1,116 @@ +CustomFields = new Mongo.Collection('customFields'); + +CustomFields.attachSchema(new SimpleSchema({ + boardId: { + type: String, + }, + name: { + type: String, + }, + type: { + type: String, + }, + showOnCard: { + type: Boolean, + } +})); + +CustomFields.allow({ + insert(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + remove(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + fetch: ['boardId'], +}); + +// not sure if we need this? +//CustomFields.hookOptions.after.update = { fetchPrevious: false }; + +function customFieldCreation(userId, doc){ + Activities.insert({ + userId, + activityType: 'createCustomField', + boardId: doc.boardId, + customFieldId: doc._id, + }); +} + +if (Meteor.isServer) { + // Comments are often fetched within a card, so we create an index to make these + // queries more efficient. + Meteor.startup(() => { + CardComments._collection._ensureIndex({ cardId: 1, createdAt: -1 }); + }); + + CustomFields.after.insert((userId, doc) => { + customFieldCreation(userId, doc); + }); + + CustomFields.after.remove((userId, doc) => { + const activity = Activities.findOne({ customFieldId: doc._id }); + if (activity) { + Activities.remove(activity._id); + } + }); +} + +//CUSTOM FIELD REST API +if (Meteor.isServer) { + JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields', function (req, res, next) { + Authentication.checkUserId( req.userId); + const paramBoardId = req.params.boardId; + JsonRoutes.sendResult(res, { + code: 200, + data: CustomFields.find({ boardId: paramBoardId }) + }); + }); + + JsonRoutes.add('GET', '/api/boards/:boardId/comments/:customFieldId', function (req, res, next) { + Authentication.checkUserId( req.userId); + const paramBoardId = req.params.boardId; + const paramCustomFieldId = req.params.customFieldId; + JsonRoutes.sendResult(res, { + code: 200, + data: CustomFields.findOne({ _id: paramCustomFieldId, boardId: paramBoardId }), + }); + }); + + JsonRoutes.add('POST', '/api/boards/:boardId/custom-fields', function (req, res, next) { + Authentication.checkUserId( req.userId); + const paramBoardId = req.params.boardId; + const id = CustomFields.direct.insert({ + name: req.body.name, + type: req.body.type, + showOnCard: req.body.showOnCard, + boardId: paramBoardId, + }); + + const customField = CustomFields.findOne({_id: id, cardId:paramCardId, boardId: paramBoardId }); + customFieldCreation(req.body.authorId, customField); + + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + }); + + JsonRoutes.add('DELETE', '/api/boards/:boardId/custom-fields/:customFieldId', function (req, res, next) { + Authentication.checkUserId( req.userId); + const paramBoardId = req.params.boardId; + const id = req.params.customFieldId; + CustomFields.remove({ _id: id, boardId: paramBoardId }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + }); +} diff --git a/server/publications/customFields.js b/server/publications/customFields.js new file mode 100644 index 00000000..25dada59 --- /dev/null +++ b/server/publications/customFields.js @@ -0,0 +1,3 @@ +Meteor.publish('customFields', function() { + return CustomFields.find(); +}); -- cgit v1.2.3-1-g7c22 From afd87e3caa1fedbe8fe5dbaefa485fee1ed85c71 Mon Sep 17 00:00:00 2001 From: Pouyan Savoli Date: Sun, 27 Aug 2017 22:31:24 +0200 Subject: many custom fields model and UI enhancements --- client/components/activities/activities.js | 4 +- client/components/boards/boardHeader.jade | 2 +- client/components/boards/boardHeader.js | 2 +- client/components/cards/cardDetails.jade | 15 ++++++ client/components/cards/cardDetails.js | 15 ++++++ client/components/sidebar/sidebar.js | 2 +- client/components/sidebar/sidebar.styl | 61 ++++++++++++++-------- client/components/sidebar/sidebarCustomFields.jade | 44 +++++++++++----- client/components/sidebar/sidebarCustomFields.js | 36 +++++++++---- i18n/en.i18n.json | 17 ++++-- models/boards.js | 4 ++ models/customFields.js | 21 ++++---- server/publications/boards.js | 1 + 13 files changed, 157 insertions(+), 67 deletions(-) diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js index 81645a51..95699961 100644 --- a/client/components/activities/activities.js +++ b/client/components/activities/activities.js @@ -92,8 +92,8 @@ BlazeComponent.extendComponent({ }, customField() { - const customField = this.currentData().customFieldId; - return customField; + const customField = this.currentData().customField(); + return customField.name; }, events() { diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index 67acdc9e..9d16b10a 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -103,7 +103,7 @@ template(name="boardHeaderBar") template(name="boardMenuPopup") ul.pop-over-list - li: a.js-custom-fields {{_ 'custom-fields'}} + li: a.js-configure-custom-fields {{_ 'configure-custom-fields'}} li: a.js-open-archives {{_ 'archived-items'}} if currentUser.isBoardAdmin li: a.js-change-board-color {{_ 'board-change-color'}} diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index 8983c722..61cdb149 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -1,6 +1,6 @@ Template.boardMenuPopup.events({ 'click .js-rename-board': Popup.open('boardChangeTitle'), - 'click .js-custom-fields'() { + 'click .js-configure-custom-fields'() { Sidebar.setView('customFields'); Popup.close(); }, diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 09e0532c..ccb3ae97 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -107,6 +107,7 @@ template(name="cardDetailsActionsPopup") li: a.js-members {{_ 'card-edit-members'}} li: a.js-labels {{_ 'card-edit-labels'}} li: a.js-attachments {{_ 'card-edit-attachments'}} + li: a.js-custom-fields {{_ 'card-edit-custom-fields'}} li: a.js-start-date {{_ 'editCardStartDatePopup-title'}} li: a.js-due-date {{_ 'editCardDueDatePopup-title'}} hr @@ -143,6 +144,20 @@ template(name="cardMembersPopup") if isCardMember i.fa.fa-check +template(name="cardCustomFieldsPopup") + ul.pop-over-list + each board.customFields + li.item(class="") + a.name.js-select-field(href="#") + span.full-name + = name + if isCardMember + i.fa.fa-check + hr + a.quiet-button.full.js-configure-custom-fields + i.fa.fa-cog + span {{_ 'configure-custom-fields'}} + template(name="cardMorePopup") p.quiet span.clearfix diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 7c6c3ce7..f972424f 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -154,6 +154,7 @@ Template.cardDetailsActionsPopup.events({ 'click .js-members': Popup.open('cardMembers'), 'click .js-labels': Popup.open('cardLabels'), 'click .js-attachments': Popup.open('cardAttachments'), + 'click .js-custom-fields': Popup.open('cardCustomFields'), 'click .js-start-date': Popup.open('editCardStartDate'), 'click .js-due-date': Popup.open('editCardDueDate'), 'click .js-move-card': Popup.open('moveCard'), @@ -196,6 +197,20 @@ Template.editCardTitleForm.events({ }, }); +Template.cardCustomFieldsPopup.events({ + 'click .js-select-field'(evt) { + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this.customFieldId; + card.toggleCustomField(customFieldId); + evt.preventDefault(); + }, + 'click .js-configure-custom-fields'(evt) { + EscapeActions.executeUpTo('detailsPane'); + Sidebar.setView('customFields'); + evt.preventDefault(); + } +}); + Template.moveCardPopup.events({ 'click .js-select-list' () { // XXX We should *not* get the currentCard from the global state, but diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js index 59a2b42c..0ff73215 100644 --- a/client/components/sidebar/sidebar.js +++ b/client/components/sidebar/sidebar.js @@ -5,7 +5,7 @@ const defaultView = 'home'; const viewTitles = { filter: 'filter-cards', multiselection: 'multi-selection', - customFields: 'custom-fields', + customFields: 'configure-custom-fields', archives: 'archives', }; diff --git a/client/components/sidebar/sidebar.styl b/client/components/sidebar/sidebar.styl index 8f2f493e..740186b5 100644 --- a/client/components/sidebar/sidebar.styl +++ b/client/components/sidebar/sidebar.styl @@ -45,28 +45,45 @@ display: flex flex-direction: column - li > a - display: flex - height: 30px - margin: 0 - padding: 4px - border-radius: 3px - align-items: center - - &:hover - &, i, .quiet - color white - - .member, .card-label - margin-right: 7px - margin-top: 5px - - .sidebar-list-item-description - flex: 1 - overflow: ellipsis - - .fa.fa-check - margin: 0 4px + li + & > a + display: flex + height: 30px + margin: 0 + padding: 4px + border-radius: 3px + align-items: center + + &:hover + &, i, .quiet + color white + + .member, .card-label + margin-right: 7px + margin-top: 5px + + .minicard-edit-button + float: right + padding: 8px + border-radius: 3px + + .sidebar-list-item-description + flex: 1 + overflow: ellipsis + + .fa.fa-check + margin: 0 4px + + .minicard + padding: 6px 8px 4px + + .minicard-edit-button + float: right + padding: 4px + border-radius: 3px + + &:hover + background: #dbdbdb .sidebar-btn display: block diff --git a/client/components/sidebar/sidebarCustomFields.jade b/client/components/sidebar/sidebarCustomFields.jade index 33688441..e17bb75d 100644 --- a/client/components/sidebar/sidebarCustomFields.jade +++ b/client/components/sidebar/sidebarCustomFields.jade @@ -1,31 +1,49 @@ template(name="customFieldsSidebar") ul.sidebar-list - each customsFields + each customFields li - a.name - span.sidebar-list-item-description - {{_ 'some name'}} + div.minicard-wrapper.js-minicard + div.minicard + a.fa.fa-pencil.js-edit-custom-field.minicard-edit-button + div.minicard-title + | {{ name }} ({{ type }}) + if currentUser.isBoardMember hr a.sidebar-btn.js-open-create-custom-field i.fa.fa-plus - span {{_ 'Create Custom Field'}} + span {{_ 'createCustomField'}} template(name="createCustomFieldPopup") form label | {{_ 'name'}} - input.js-field-name(type="text" name="field-name" autofocus) + unless _id + input.js-field-name(type="text" name="field-name" autofocus) + else + input.js-field-name(type="text" name="field-name" value=name) + label | {{_ 'type'}} - select.js-field-type(name="field-type") - option(value="string") String - option(value="number") Number - option(value="checkbox") Checkbox - option(value="date") Date - option(value="DropdownList") Dropdown List + select.js-field-type(name="field-type" disabled="{{#if _id}}disabled{{/if}}") + each types + if selected + option(value=type selected="selected") {{name}} + else + option(value=type) {{name}} a.flex.js-field-show-on-card .materialCheckBox(class="{{#if showOnCard}}is-checked{{/if}}") span {{_ 'show-field-on-card'}} - input.primary.wide(type="submit" value="{{_ 'save'}}") \ No newline at end of file + button.primary.wide.left(type="submit") + | {{_ 'save'}} + if _id + button.negate.wide.right.js-delete-custom-field + | {{_ 'delete'}} + +template(name="editCustomFieldPopup") + | {{> createCustomFieldPopup}} + +template(name="deleteCustomFieldPopup") + p {{_ "custom-field-delete-pop"}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} \ No newline at end of file diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js index da03f484..6ddd466e 100644 --- a/client/components/sidebar/sidebarCustomFields.js +++ b/client/components/sidebar/sidebarCustomFields.js @@ -9,21 +9,22 @@ BlazeComponent.extendComponent({ events() { return [{ 'click .js-open-create-custom-field': Popup.open('createCustomField'), - 'click .js-edit-custom-field'() { - // todo - }, - 'click .js-delete-custom-field': Popup.afterConfirm('customFieldDelete', function() { - const customFieldId = this._id; - CustomFields.remove(customFieldId); - Popup.close(); - }), + 'click .js-edit-custom-field': Popup.open('editCustomField'), }]; }, }).register('customFieldsSidebar'); Template.createCustomFieldPopup.helpers({ - + types() { + var currentType = this.type; + return ['text', 'number', 'checkbox', 'date', 'dropdown']. + map(type => {return { + type: type, + name: TAPi18n.__('custom-field-' + type), + selected: type == currentType, + }}); + }, }); Template.createCustomFieldPopup.events({ @@ -41,7 +42,7 @@ Template.createCustomFieldPopup.events({ const name = tpl.find('.js-field-name').value.trim(); const type = tpl.find('.js-field-type').value.trim(); const showOnCard = tpl.find('.js-field-show-on-card.is-checked') != null; - //console.log("Create",name,type,showOnCard); + //console.log('Create',name,type,showOnCard); CustomFields.insert({ boardId: Session.get('currentBoard'), @@ -52,4 +53,17 @@ Template.createCustomFieldPopup.events({ Popup.back(); }, -}); \ No newline at end of file + 'click .js-delete-custom-field': Popup.afterConfirm('deleteCustomField', function() { + const customFieldId = this._id; + CustomFields.remove(customFieldId); + Popup.close(); + }), +}); + +/*Template.deleteCustomFieldPopup.events({ + 'submit'(evt) { + const customFieldId = this._id; + CustomFields.remove(customFieldId); + Popup.close(); + } +});*/ \ No newline at end of file diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index d7b9a48b..1039d3c6 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -103,6 +103,7 @@ "card-due": "Due", "card-due-on": "Due on", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -110,6 +111,7 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -153,16 +155,22 @@ "create": "Create", "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", + "configure-custom-fields": "Configure Custom Fields", "createLabelPopup-title": "Create Label", - "createCustomField": "Create Custom Field", - "createCustomFieldPopup-title": "Create Custom Field", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", - "custom-fields": "Custom Fields", - "customFieldDeletePopup-title": "Delete Card?", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-number": "Number", + "custom-field-text": "Text", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -175,6 +183,7 @@ "edit-profile": "Edit Profile", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", "editProfilePopup-title": "Edit Profile", diff --git a/models/boards.js b/models/boards.js index 8a7844e2..98c0e46d 100644 --- a/models/boards.js +++ b/models/boards.js @@ -235,6 +235,10 @@ Boards.helpers({ return `board-color-${this.color}`; }, + customFields() { + return CustomFields.find({ boardId: this._id }, { sort: { name: 1 } }); + }, + // XXX currently mutations return no value so we have an issue when using addLabel in import // XXX waiting on https://github.com/mquandalle/meteor-collection-mutations/issues/1 to remove... pushLabel(name, color) { diff --git a/models/customFields.js b/models/customFields.js index 75ee55e8..5e76db35 100644 --- a/models/customFields.js +++ b/models/customFields.js @@ -25,7 +25,7 @@ CustomFields.allow({ remove(userId, doc) { return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); }, - fetch: ['boardId'], + fetch: ['userId', 'boardId'], }); // not sure if we need this? @@ -41,21 +41,18 @@ function customFieldCreation(userId, doc){ } if (Meteor.isServer) { - // Comments are often fetched within a card, so we create an index to make these - // queries more efficient. - Meteor.startup(() => { - CardComments._collection._ensureIndex({ cardId: 1, createdAt: -1 }); - }); + /*Meteor.startup(() => { + CustomFields._collection._ensureIndex({ boardId: 1}); + });*/ CustomFields.after.insert((userId, doc) => { customFieldCreation(userId, doc); }); CustomFields.after.remove((userId, doc) => { - const activity = Activities.findOne({ customFieldId: doc._id }); - if (activity) { - Activities.remove(activity._id); - } + Activities.remove({ + customFieldId: doc._id, + }); }); } @@ -70,7 +67,7 @@ if (Meteor.isServer) { }); }); - JsonRoutes.add('GET', '/api/boards/:boardId/comments/:customFieldId', function (req, res, next) { + JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields/:customFieldId', function (req, res, next) { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; const paramCustomFieldId = req.params.customFieldId; @@ -90,7 +87,7 @@ if (Meteor.isServer) { boardId: paramBoardId, }); - const customField = CustomFields.findOne({_id: id, cardId:paramCardId, boardId: paramBoardId }); + const customField = CustomFields.findOne({_id: id, boardId: paramBoardId }); customFieldCreation(req.body.authorId, customField); JsonRoutes.sendResult(res, { diff --git a/server/publications/boards.js b/server/publications/boards.js index f482f619..7cadf0c6 100644 --- a/server/publications/boards.js +++ b/server/publications/boards.js @@ -74,6 +74,7 @@ Meteor.publishRelations('board', function(boardId) { }, { limit: 1 }), function(boardId, board) { this.cursor(Lists.find({ boardId })); this.cursor(Integrations.find({ boardId })); + this.cursor(CustomFields.find({ boardId }, { sort: { name: 1 } })); // Cards and cards comments // XXX Originally we were publishing the card documents as a child of the -- cgit v1.2.3-1-g7c22 From d87191f17ee1cd49def9ca5a4d3d1568b041e6a2 Mon Sep 17 00:00:00 2001 From: Pouyan Savoli Date: Wed, 30 Aug 2017 02:54:54 +0200 Subject: card model and card ui preparation for custom fields --- client/components/cards/cardDetails.jade | 3 +++ client/components/cards/cardDetails.js | 2 +- client/components/cards/cardDetails.styl | 5 +++-- client/components/lists/listBody.js | 7 +++++++ models/cards.js | 33 ++++++++++++++++++++++++++++++++ 5 files changed, 47 insertions(+), 3 deletions(-) diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index ccb3ae97..7cb4f8d8 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -45,6 +45,9 @@ template(name="cardDetails") h3.card-details-item-title {{_ 'card-due'}} +cardDueDate + each customFields + .card-details-item.card-details-item-customfield + h3.card-details-item-title {{_ 'some-title' }} //- XXX We should use "editable" to avoid repetiting ourselves if canModifyCard diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index f972424f..1cc39492 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -200,7 +200,7 @@ Template.editCardTitleForm.events({ Template.cardCustomFieldsPopup.events({ 'click .js-select-field'(evt) { const card = Cards.findOne(Session.get('currentCard')); - const customFieldId = this.customFieldId; + const customFieldId = this._id; card.toggleCustomField(customFieldId); evt.preventDefault(); }, diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index f209862c..5ad0c9f5 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -70,6 +70,7 @@ .card-details-items display: flex + flex-wrap: wrap margin: 15px 0 .card-details-item @@ -80,8 +81,8 @@ &.card-details-item-members, &.card-details-item-start, &.card-details-item-due - width: 50% - flex-shrink: 1 + max-width: 50% + flex-grow: 1 .card-details-item-title font-size: 14px diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index 724e805b..edac5b03 100644 --- a/client/components/lists/listBody.js +++ b/client/components/lists/listBody.js @@ -35,12 +35,17 @@ BlazeComponent.extendComponent({ const members = formComponent.members.get(); const labelIds = formComponent.labels.get(); + const customFields = formComponent.customFields.get(); + console.log("members", members); + console.log("labelIds", labelIds); + console.log("customFields", customFields); if (title) { const _id = Cards.insert({ title, members, labelIds, + customFields, listId: this.data()._id, boardId: this.data().board()._id, sort: sortIndex, @@ -121,11 +126,13 @@ BlazeComponent.extendComponent({ onCreated() { this.labels = new ReactiveVar([]); this.members = new ReactiveVar([]); + this.customFields = new ReactiveVar([]); }, reset() { this.labels.set([]); this.members.set([]); + this.customFields.set([]); }, getLabels() { diff --git a/models/cards.js b/models/cards.js index 0a440697..6896970c 100644 --- a/models/cards.js +++ b/models/cards.js @@ -38,6 +38,21 @@ Cards.attachSchema(new SimpleSchema({ } }, }, + customFields: { + type: [Object], + optional: true, + }, + 'customFields.$': { + type: new SimpleSchema({ + _id: { + type: String, + }, + value: { + type: Match.OneOf(String,Number,Boolean,Date), + optional: true, + }, + }) + }, dateLastActivity: { type: Date, autoValue() { @@ -238,6 +253,24 @@ Cards.mutations({ } }, + assignCustomField(customFieldId) { + console.log("assignCustomField", customFieldId); + return {$push: {customFields: {_id: customFieldId, value: null}}}; + }, + + unassignCustomField(customFieldId) { + console.log("unassignCustomField", customFieldId); + return {$pull: {customFields: {_id: customFieldId}}}; + }, + + toggleCustomField(customFieldId) { + if (this.customFields && this.customFields[customFieldId]) { + return this.unassignCustomField(customFieldId); + } else { + return this.assignCustomField(customFieldId); + } + }, + setCover(coverId) { return {$set: {coverId}}; }, -- cgit v1.2.3-1-g7c22 From 733b14dcd8f4b94047ffd444e7ab7ded49c245c0 Mon Sep 17 00:00:00 2001 From: Pouyan Savoli Date: Wed, 30 Aug 2017 03:23:57 +0200 Subject: card model and card ui preparation for custom fields #2 --- client/components/cards/cardDetails.styl | 7 ++++--- models/cards.js | 8 ++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 5ad0c9f5..c981e2a2 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -71,16 +71,17 @@ .card-details-items display: flex flex-wrap: wrap - margin: 15px 0 + margin: 0 0 15px .card-details-item - margin-right: 0.5em + margin: 15px 0.5em 0 0 &:last-child margin-right: 0 &.card-details-item-labels, &.card-details-item-members, &.card-details-item-start, - &.card-details-item-due + &.card-details-item-due, + &.card-details-item-customfield max-width: 50% flex-grow: 1 diff --git a/models/cards.js b/models/cards.js index 6896970c..670a47cb 100644 --- a/models/cards.js +++ b/models/cards.js @@ -186,6 +186,10 @@ Cards.helpers({ return this.checklistItemCount() !== 0; }, + customFieldIndex(customFieldId) { + return _.pluck(this.customFields, '_id').indexOf(customFieldId); + }, + absoluteUrl() { const board = this.board(); return FlowRouter.url('card', { @@ -255,7 +259,7 @@ Cards.mutations({ assignCustomField(customFieldId) { console.log("assignCustomField", customFieldId); - return {$push: {customFields: {_id: customFieldId, value: null}}}; + return {$addToSet: {customFields: {_id: customFieldId, value: null}}}; }, unassignCustomField(customFieldId) { @@ -264,7 +268,7 @@ Cards.mutations({ }, toggleCustomField(customFieldId) { - if (this.customFields && this.customFields[customFieldId]) { + if (this.customFields && this.customFieldIndex(customFieldId) > -1) { return this.unassignCustomField(customFieldId); } else { return this.assignCustomField(customFieldId); -- cgit v1.2.3-1-g7c22 From 6ff89b43b61ace7ea26d50f091ea6b714fa79c84 Mon Sep 17 00:00:00 2001 From: Pouyan Savoli Date: Tue, 5 Sep 2017 02:34:18 +0200 Subject: show custom fields on cards but still with dummy value --- client/components/cards/cardCustomFields.jade | 23 +++++++++++++++ client/components/cards/cardCustomFields.js | 41 +++++++++++++++++++++++++++ client/components/cards/cardDetails.jade | 20 +++---------- client/components/cards/cardDetails.js | 14 --------- models/cards.js | 21 ++++++++++++++ 5 files changed, 89 insertions(+), 30 deletions(-) create mode 100644 client/components/cards/cardCustomFields.jade create mode 100644 client/components/cards/cardCustomFields.js diff --git a/client/components/cards/cardCustomFields.jade b/client/components/cards/cardCustomFields.jade new file mode 100644 index 00000000..3c885b93 --- /dev/null +++ b/client/components/cards/cardCustomFields.jade @@ -0,0 +1,23 @@ +template(name="cardCustomFieldsPopup") + ul.pop-over-list + each board.customFields + li.item(class="") + a.name.js-select-field(href="#") + span.full-name + = name + if isCardMember + i.fa.fa-check + hr + a.quiet-button.full.js-configure-custom-fields + i.fa.fa-cog + span {{_ 'configure-custom-fields'}} + +template(name="cardCustomFieldText") + if canModifyCard + .item-title.js-open-inlined-form.is-editable + if value + = value + else + | {{_ 'edit'}} + else + .item-title {{value}} \ No newline at end of file diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js new file mode 100644 index 00000000..73dda02e --- /dev/null +++ b/client/components/cards/cardCustomFields.js @@ -0,0 +1,41 @@ +Template.cardCustomFieldsPopup.events({ + 'click .js-select-field'(evt) { + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this._id; + card.toggleCustomField(customFieldId); + evt.preventDefault(); + }, + 'click .js-configure-custom-fields'(evt) { + EscapeActions.executeUpTo('detailsPane'); + Sidebar.setView('customFields'); + evt.preventDefault(); + } +}); + +const CardCustomField = BlazeComponent.extendComponent({ + template() { + return 'cardCustomFieldText'; + }, + + onCreated() { + const self = this; + self.date = ReactiveVar(); + self.now = ReactiveVar(moment()); + }, + + value() { + return "this is the value"; + }, + + showISODate() { + return this.date.get().toISOString(); + }, + + events() { + return [{ + 'click .js-edit-date': Popup.open('editCardStartDate'), + }]; + }, +}); + +CardCustomField.register('cardCustomField'); \ No newline at end of file diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 7cb4f8d8..f72abe6d 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -45,9 +45,11 @@ template(name="cardDetails") h3.card-details-item-title {{_ 'card-due'}} +cardDueDate - each customFields + each customFieldsWD .card-details-item.card-details-item-customfield - h3.card-details-item-title {{_ 'some-title' }} + h3.card-details-item-title + = definition.name + +cardCustomField //- XXX We should use "editable" to avoid repetiting ourselves if canModifyCard @@ -147,20 +149,6 @@ template(name="cardMembersPopup") if isCardMember i.fa.fa-check -template(name="cardCustomFieldsPopup") - ul.pop-over-list - each board.customFields - li.item(class="") - a.name.js-select-field(href="#") - span.full-name - = name - if isCardMember - i.fa.fa-check - hr - a.quiet-button.full.js-configure-custom-fields - i.fa.fa-cog - span {{_ 'configure-custom-fields'}} - template(name="cardMorePopup") p.quiet span.clearfix diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 1cc39492..8d5c478d 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -197,20 +197,6 @@ Template.editCardTitleForm.events({ }, }); -Template.cardCustomFieldsPopup.events({ - 'click .js-select-field'(evt) { - const card = Cards.findOne(Session.get('currentCard')); - const customFieldId = this._id; - card.toggleCustomField(customFieldId); - evt.preventDefault(); - }, - 'click .js-configure-custom-fields'(evt) { - EscapeActions.executeUpTo('detailsPane'); - Sidebar.setView('customFields'); - evt.preventDefault(); - } -}); - Template.moveCardPopup.events({ 'click .js-select-list' () { // XXX We should *not* get the currentCard from the global state, but diff --git a/models/cards.js b/models/cards.js index 670a47cb..fe86e642 100644 --- a/models/cards.js +++ b/models/cards.js @@ -190,6 +190,27 @@ Cards.helpers({ return _.pluck(this.customFields, '_id').indexOf(customFieldId); }, + // customFields with definitions + customFieldsWD() { + + // get all definitions + const definitions = CustomFields.find({ + boardId: this.boardId, + }).fetch(); + + // match right definition to each field + return this.customFields.map((customField) => { + return { + _id: customField._id, + value: customField.value, + definition: definitions.find((definition) => { + return definition._id == customField._id; + }) + } + }); + + }, + absoluteUrl() { const board = this.board(); return FlowRouter.url('card', { -- cgit v1.2.3-1-g7c22 From caad952bc1b29bb925c1347a14daa5d1ec8ada81 Mon Sep 17 00:00:00 2001 From: Pouyan Savoli Date: Thu, 14 Sep 2017 00:50:05 +0200 Subject: text custom fields are now editable using inlinedForm --- client/components/cards/cardCustomFields.jade | 20 +++++++++++++------- client/components/cards/cardCustomFields.js | 21 ++++++++++++++++++++- models/cards.js | 12 ++++++++++-- 3 files changed, 43 insertions(+), 10 deletions(-) diff --git a/client/components/cards/cardCustomFields.jade b/client/components/cards/cardCustomFields.jade index 3c885b93..6515aa79 100644 --- a/client/components/cards/cardCustomFields.jade +++ b/client/components/cards/cardCustomFields.jade @@ -5,7 +5,7 @@ template(name="cardCustomFieldsPopup") a.name.js-select-field(href="#") span.full-name = name - if isCardMember + if hasCustomField i.fa.fa-check hr a.quiet-button.full.js-configure-custom-fields @@ -14,10 +14,16 @@ template(name="cardCustomFieldsPopup") template(name="cardCustomFieldText") if canModifyCard - .item-title.js-open-inlined-form.is-editable - if value + +inlinedForm(classNames="js-card-customfield-text") + +editor(autofocus=true) = value - else - | {{_ 'edit'}} - else - .item-title {{value}} \ No newline at end of file + .edit-controls.clearfix + button.primary(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + else + a.js-open-inlined-form + if value + +viewer + = value + else + | {{_ 'edit'}} \ No newline at end of file diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js index 73dda02e..7009dede 100644 --- a/client/components/cards/cardCustomFields.js +++ b/client/components/cards/cardCustomFields.js @@ -1,3 +1,11 @@ +Template.cardCustomFieldsPopup.helpers({ + hasCustomField() { + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this._id; + return card.customFieldIndex(customFieldId) > -1; + }, +}); + Template.cardCustomFieldsPopup.events({ 'click .js-select-field'(evt) { const card = Cards.findOne(Session.get('currentCard')); @@ -24,7 +32,7 @@ const CardCustomField = BlazeComponent.extendComponent({ }, value() { - return "this is the value"; + return this.data().value; }, showISODate() { @@ -33,9 +41,20 @@ const CardCustomField = BlazeComponent.extendComponent({ events() { return [{ + 'submit .js-card-customfield-text'(evt) { + evt.preventDefault(); + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this.data()._id; + const value = this.currentComponent().getValue(); + card.setCustomField(customFieldId,value); + }, 'click .js-edit-date': Popup.open('editCardStartDate'), }]; }, + + canModifyCard() { + return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); + }, }); CardCustomField.register('cardCustomField'); \ No newline at end of file diff --git a/models/cards.js b/models/cards.js index fe86e642..17abf430 100644 --- a/models/cards.js +++ b/models/cards.js @@ -279,12 +279,10 @@ Cards.mutations({ }, assignCustomField(customFieldId) { - console.log("assignCustomField", customFieldId); return {$addToSet: {customFields: {_id: customFieldId, value: null}}}; }, unassignCustomField(customFieldId) { - console.log("unassignCustomField", customFieldId); return {$pull: {customFields: {_id: customFieldId}}}; }, @@ -296,6 +294,16 @@ Cards.mutations({ } }, + setCustomField(customFieldId, value) { + // todo + const index = this.customFieldIndex(customFieldId); + if (index > -1) { + var update = {$set: {}}; + update.$set["customFields." + index + ".value"] = value; + return update; + } + }, + setCover(coverId) { return {$set: {coverId}}; }, -- cgit v1.2.3-1-g7c22 From 3753337d60e17e5e72ec071aa4a1b28e36297d15 Mon Sep 17 00:00:00 2001 From: Pouyan Savoli Date: Mon, 18 Sep 2017 00:46:17 +0200 Subject: dropdown items --- client/components/boards/boardHeader.jade | 2 +- client/components/boards/boardHeader.js | 2 +- client/components/cards/cardCustomFields.jade | 29 ++++- client/components/cards/cardCustomFields.js | 62 +++++++--- client/components/forms/forms.styl | 3 + client/components/sidebar/sidebar.js | 2 +- client/components/sidebar/sidebarCustomFields.jade | 23 ++-- client/components/sidebar/sidebarCustomFields.js | 129 +++++++++++++++------ i18n/en.i18n.json | 6 +- models/customFields.js | 19 +++ 10 files changed, 209 insertions(+), 68 deletions(-) diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index 9d16b10a..67acdc9e 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -103,7 +103,7 @@ template(name="boardHeaderBar") template(name="boardMenuPopup") ul.pop-over-list - li: a.js-configure-custom-fields {{_ 'configure-custom-fields'}} + li: a.js-custom-fields {{_ 'custom-fields'}} li: a.js-open-archives {{_ 'archived-items'}} if currentUser.isBoardAdmin li: a.js-change-board-color {{_ 'board-change-color'}} diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index 61cdb149..8983c722 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -1,6 +1,6 @@ Template.boardMenuPopup.events({ 'click .js-rename-board': Popup.open('boardChangeTitle'), - 'click .js-configure-custom-fields'() { + 'click .js-custom-fields'() { Sidebar.setView('customFields'); Popup.close(); }, diff --git a/client/components/cards/cardCustomFields.jade b/client/components/cards/cardCustomFields.jade index 6515aa79..9e9f7d84 100644 --- a/client/components/cards/cardCustomFields.jade +++ b/client/components/cards/cardCustomFields.jade @@ -8,11 +8,14 @@ template(name="cardCustomFieldsPopup") if hasCustomField i.fa.fa-check hr - a.quiet-button.full.js-configure-custom-fields + a.quiet-button.full.js-settings i.fa.fa-cog - span {{_ 'configure-custom-fields'}} + span {{_ 'settings'}} -template(name="cardCustomFieldText") +template(name="cardCustomField") + +Template.dynamic(template=getTemplate) + +template(name="cardCustomField-text") if canModifyCard +inlinedForm(classNames="js-card-customfield-text") +editor(autofocus=true) @@ -25,5 +28,25 @@ template(name="cardCustomFieldText") if value +viewer = value + else + | {{_ 'edit'}} + +template(name="cardCustomField-dropdown") + if canModifyCard + +inlinedForm(classNames="js-card-customfield-dropdown") + select.inline + each items + if($eq data.value this._id) + option(value=_id selected="selected") {{name}} + else + option(value=_id) {{name}} + .edit-controls.clearfix + button.primary(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + else + a.js-open-inlined-form + if value + +viewer + = selectedItem else | {{_ 'edit'}} \ No newline at end of file diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js index 7009dede..f9fa760c 100644 --- a/client/components/cards/cardCustomFields.js +++ b/client/components/cards/cardCustomFields.js @@ -13,7 +13,7 @@ Template.cardCustomFieldsPopup.events({ card.toggleCustomField(customFieldId); evt.preventDefault(); }, - 'click .js-configure-custom-fields'(evt) { + 'click .js-settings'(evt) { EscapeActions.executeUpTo('detailsPane'); Sidebar.setView('customFields'); evt.preventDefault(); @@ -21,23 +21,25 @@ Template.cardCustomFieldsPopup.events({ }); const CardCustomField = BlazeComponent.extendComponent({ - template() { - return 'cardCustomFieldText'; + + getTemplate() { + return 'cardCustomField-' + this.data().definition.type; }, onCreated() { const self = this; - self.date = ReactiveVar(); - self.now = ReactiveVar(moment()); }, - value() { - return this.data().value; + canModifyCard() { + return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); }, +}); +CardCustomField.register('cardCustomField'); - showISODate() { - return this.date.get().toISOString(); - }, +(class extends CardCustomField { + + onCreated() { + } events() { return [{ @@ -48,13 +50,39 @@ const CardCustomField = BlazeComponent.extendComponent({ const value = this.currentComponent().getValue(); card.setCustomField(customFieldId,value); }, - 'click .js-edit-date': Popup.open('editCardStartDate'), }]; - }, + } - canModifyCard() { - return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); - }, -}); +}).register('cardCustomField-text'); + +(class extends CardCustomField { + + onCreated() { + this._items = this.data().definition.settings.dropdownItems; + this.items = this._items.slice(0); + this.items.unshift({ + _id: "", + name: TAPi18n.__('custom-field-dropdown-none') + }); + } + + selectedItem() { + const selected = this._items.find((item) => { + return item._id == this.data().value; + }); + return (selected) ? selected.name : TAPi18n.__('custom-field-dropdown-unknown'); + } + + events() { + return [{ + 'submit .js-card-customfield-dropdown'(evt) { + evt.preventDefault(); + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this.data()._id; + const value = this.find('select').value; + card.setCustomField(customFieldId,value); + }, + }]; + } -CardCustomField.register('cardCustomField'); \ No newline at end of file +}).register('cardCustomField-dropdown'); \ No newline at end of file diff --git a/client/components/forms/forms.styl b/client/components/forms/forms.styl index 646da657..81780a6f 100644 --- a/client/components/forms/forms.styl +++ b/client/components/forms/forms.styl @@ -85,6 +85,9 @@ select width: 256px margin-bottom: 8px + &.inline + width: 100% + option[disabled] color: #8c8c8c diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js index 0ff73215..59a2b42c 100644 --- a/client/components/sidebar/sidebar.js +++ b/client/components/sidebar/sidebar.js @@ -5,7 +5,7 @@ const defaultView = 'home'; const viewTitles = { filter: 'filter-cards', multiselection: 'multi-selection', - customFields: 'configure-custom-fields', + customFields: 'custom-fields', archives: 'archives', }; diff --git a/client/components/sidebar/sidebarCustomFields.jade b/client/components/sidebar/sidebarCustomFields.jade index e17bb75d..def083e9 100644 --- a/client/components/sidebar/sidebarCustomFields.jade +++ b/client/components/sidebar/sidebarCustomFields.jade @@ -19,31 +19,34 @@ template(name="createCustomFieldPopup") label | {{_ 'name'}} unless _id - input.js-field-name(type="text" name="field-name" autofocus) + input.js-field-name(type="text" autofocus) else - input.js-field-name(type="text" name="field-name" value=name) + input.js-field-name(type="text" value=name) label | {{_ 'type'}} - select.js-field-type(name="field-type" disabled="{{#if _id}}disabled{{/if}}") + select.js-field-type(disabled="{{#if _id}}disabled{{/if}}") each types if selected - option(value=type selected="selected") {{name}} + option(value=value selected="selected") {{name}} else - option(value=type) {{name}} + option(value=value) {{name}} + div.js-field-settings.js-field-settings-dropdown(class="{{#if isTypeNotSelected 'dropdown'}}hide{{/if}}") + label + | {{_ 'custom-field-dropdown-options'}} + each dropdownItems.get + input.js-dropdown-item(type="text" value=name placeholder="") + input.js-dropdown-item.last(type="text" value="" placeholder="{{_ 'custom-field-dropdown-options-placeholder'}}") a.flex.js-field-show-on-card .materialCheckBox(class="{{#if showOnCard}}is-checked{{/if}}") span {{_ 'show-field-on-card'}} - button.primary.wide.left(type="submit") + button.primary.wide.left(type="button") | {{_ 'save'}} if _id - button.negate.wide.right.js-delete-custom-field + button.negate.wide.right.js-delete-custom-field(type="button") | {{_ 'delete'}} -template(name="editCustomFieldPopup") - | {{> createCustomFieldPopup}} - template(name="deleteCustomFieldPopup") p {{_ "custom-field-delete-pop"}} button.js-confirm.negate.full(type="submit") {{_ 'delete'}} \ No newline at end of file diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js index 6ddd466e..139b8a42 100644 --- a/client/components/sidebar/sidebarCustomFields.js +++ b/client/components/sidebar/sidebarCustomFields.js @@ -15,50 +15,111 @@ BlazeComponent.extendComponent({ }).register('customFieldsSidebar'); -Template.createCustomFieldPopup.helpers({ +const CreateCustomFieldPopup = BlazeComponent.extendComponent({ + + _types: ['text', 'number', 'checkbox', 'date', 'dropdown'], + + onCreated() { + this.type = new ReactiveVar((this.data().type) ? this.data().type : this._types[0]); + this.dropdownItems = new ReactiveVar((this.data().settings && this.data().settings.dropdownItems) ? this.data().settings.dropdownItems : []); + }, + types() { - var currentType = this.type; - return ['text', 'number', 'checkbox', 'date', 'dropdown']. - map(type => {return { - type: type, - name: TAPi18n.__('custom-field-' + type), - selected: type == currentType, - }}); + const currentType = this.data().type; + return this._types. + map(type => {return { + value: type, + name: TAPi18n.__('custom-field-' + type), + selected: type == currentType, + }}); + }, + + isTypeNotSelected(type) { + return this.type.get() !== type; + }, + + getDropdownItems() { + var items = this.dropdownItems.get(); + Array.from(this.findAll('.js-field-settings-dropdown input')).forEach((el, index) => { + //console.log('each item!', index, el.value); + if (!items[index]) items[index] = { + _id: Random.id(6), + }; + items[index].name = el.value.trim(); + }); + return items; }, -}); -Template.createCustomFieldPopup.events({ - 'click .js-field-show-on-card'(event) { - let $target = $(event.target); - if(!$target.hasClass('js-field-show-on-card')){ - $target = $target.parent(); + getSettings() { + let settings = {}; + switch (this.type.get()) { + case 'dropdown': + let dropdownItems = this.getDropdownItems().filter(item => !!item.name.trim()); + settings.dropdownItems = dropdownItems; + break; } - $target.find('.materialCheckBox').toggleClass('is-checked'); - $target.toggleClass('is-checked'); + return settings; }, - 'submit'(evt, tpl) { - evt.preventDefault(); - const name = tpl.find('.js-field-name').value.trim(); - const type = tpl.find('.js-field-type').value.trim(); - const showOnCard = tpl.find('.js-field-show-on-card.is-checked') != null; - //console.log('Create',name,type,showOnCard); + events() { + return [{ + 'change .js-field-type'(evt) { + const value = evt.target.value; + this.type.set(value); + }, + 'keydown .js-dropdown-item.last'(evt) { + if (evt.target.value.trim() && evt.keyCode === 13) { + let items = this.getDropdownItems(); + this.dropdownItems.set(items); + evt.target.value = ''; + } + }, + 'click .js-field-show-on-card'(evt) { + let $target = $(evt.target); + if(!$target.hasClass('js-field-show-on-card')){ + $target = $target.parent(); + } + $target.find('.materialCheckBox').toggleClass('is-checked'); + $target.toggleClass('is-checked'); + }, + 'click .primary'(evt) { + evt.preventDefault(); + + const data = { + boardId: Session.get('currentBoard'), + name: this.find('.js-field-name').value.trim(), + type: this.type.get(), + settings: this.getSettings(), + showOnCard: this.find('.js-field-show-on-card.is-checked') != null + } - CustomFields.insert({ - boardId: Session.get('currentBoard'), - name: name, - type: type, - showOnCard: showOnCard - }); + // insert or update + if (!this.data()._id) { + CustomFields.insert(data); + } else { + CustomFields.update(this.data()._id, {$set: data}); + } - Popup.back(); + Popup.back(); + }, + 'click .js-delete-custom-field': Popup.afterConfirm('deleteCustomField', function() { + const customFieldId = this._id; + CustomFields.remove(customFieldId); + Popup.close(); + }), + }]; }, - 'click .js-delete-custom-field': Popup.afterConfirm('deleteCustomField', function() { - const customFieldId = this._id; - CustomFields.remove(customFieldId); - Popup.close(); - }), + }); +CreateCustomFieldPopup.register('createCustomFieldPopup'); + +(class extends CreateCustomFieldPopup { + + template() { + return 'createCustomFieldPopup'; + } + +}).register('editCustomFieldPopup'); /*Template.deleteCustomFieldPopup.events({ 'submit'(evt) { diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index 1039d3c6..a6893117 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -155,7 +155,6 @@ "create": "Create", "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", - "configure-custom-fields": "Configure Custom Fields", "createLabelPopup-title": "Create Label", "createCustomField": "Create Field", "createCustomFieldPopup-title": "Create Field", @@ -164,8 +163,13 @@ "custom-field-checkbox": "Checkbox", "custom-field-date": "Date", "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", "custom-field-number": "Number", "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", diff --git a/models/customFields.js b/models/customFields.js index 5e76db35..8b0abef4 100644 --- a/models/customFields.js +++ b/models/customFields.js @@ -9,6 +9,24 @@ CustomFields.attachSchema(new SimpleSchema({ }, type: { type: String, + allowedValues: ['text', 'number', 'checkbox', 'date', 'dropdown'] + }, + settings: { + type: Object, + }, + 'settings.dropdownItems': { + type: [Object], + optional: true + }, + 'settings.dropdownItems.$': { + type: new SimpleSchema({ + _id: { + type: String, + }, + name: { + type: String, + }, + }) }, showOnCard: { type: Boolean, @@ -83,6 +101,7 @@ if (Meteor.isServer) { const id = CustomFields.direct.insert({ name: req.body.name, type: req.body.type, + settings: req.body.settings, showOnCard: req.body.showOnCard, boardId: paramBoardId, }); -- cgit v1.2.3-1-g7c22 From 8b16955cc27b29ae507be084adccc4fad61b05ef Mon Sep 17 00:00:00 2001 From: Pouyan Savoli Date: Sat, 14 Oct 2017 01:38:25 +0200 Subject: number + date fields --- client/components/cards/cardCustomFields.jade | 24 ++++++ client/components/cards/cardCustomFields.js | 103 ++++++++++++++++++++++++-- client/components/cards/cardDate.jade | 16 ---- client/components/cards/cardDate.js | 91 +---------------------- client/components/cards/cardDate.styl | 19 ----- client/components/forms/datepicker.jade | 15 ++++ client/components/forms/datepicker.styl | 17 +++++ client/lib/datepicker.js | 86 +++++++++++++++++++++ i18n/en.i18n.json | 1 + 9 files changed, 242 insertions(+), 130 deletions(-) create mode 100644 client/components/forms/datepicker.jade create mode 100644 client/components/forms/datepicker.styl create mode 100644 client/lib/datepicker.js diff --git a/client/components/cards/cardCustomFields.jade b/client/components/cards/cardCustomFields.jade index 9e9f7d84..65081e3b 100644 --- a/client/components/cards/cardCustomFields.jade +++ b/client/components/cards/cardCustomFields.jade @@ -31,6 +31,30 @@ template(name="cardCustomField-text") else | {{_ 'edit'}} +template(name="cardCustomField-number") + if canModifyCard + +inlinedForm(classNames="js-card-customfield-number") + input(type="number" value=data.value) + .edit-controls.clearfix + button.primary(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + else + a.js-open-inlined-form + if value + = value + else + | {{_ 'edit'}} + +template(name="cardCustomField-date") + if canModifyCard + a.js-edit-date(title="{{showTitle}}" class="{{classes}}") + if value + div.card-date + time(datetime="{{showISODate}}") + | {{showDate}} + else + | {{_ 'edit'}} + template(name="cardCustomField-dropdown") if canModifyCard +inlinedForm(classNames="js-card-customfield-dropdown") diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js index f9fa760c..e014de4a 100644 --- a/client/components/cards/cardCustomFields.js +++ b/client/components/cards/cardCustomFields.js @@ -20,6 +20,7 @@ Template.cardCustomFieldsPopup.events({ } }); +// cardCustomField const CardCustomField = BlazeComponent.extendComponent({ getTemplate() { @@ -28,6 +29,8 @@ const CardCustomField = BlazeComponent.extendComponent({ onCreated() { const self = this; + self.card = Cards.findOne(Session.get('currentCard')); + self.customFieldId = this.data()._id; }, canModifyCard() { @@ -36,28 +39,118 @@ const CardCustomField = BlazeComponent.extendComponent({ }); CardCustomField.register('cardCustomField'); +// cardCustomField-text (class extends CardCustomField { onCreated() { + super.onCreated(); } events() { return [{ 'submit .js-card-customfield-text'(evt) { evt.preventDefault(); - const card = Cards.findOne(Session.get('currentCard')); - const customFieldId = this.data()._id; const value = this.currentComponent().getValue(); - card.setCustomField(customFieldId,value); + this.card.setCustomField(this.customFieldId, value); }, }]; } }).register('cardCustomField-text'); +// cardCustomField-number (class extends CardCustomField { onCreated() { + super.onCreated(); + } + + events() { + return [{ + 'submit .js-card-customfield-number'(evt) { + evt.preventDefault(); + const value = parseInt(this.find('input').value); + this.card.setCustomField(this.customFieldId, value); + }, + }]; + } + +}).register('cardCustomField-number'); + +// cardCustomField-date +(class extends CardCustomField { + + onCreated() { + super.onCreated(); + const self = this; + self.date = ReactiveVar(); + self.now = ReactiveVar(moment()); + window.setInterval(() => { + self.now.set(moment()); + }, 60000); + + self.autorun(() => { + self.date.set(moment(self.data().value)); + }); + } + + showDate() { + // this will start working once mquandalle:moment + // is updated to at least moment.js 2.10.5 + // until then, the date is displayed in the "L" format + return this.date.get().calendar(null, { + sameElse: 'llll', + }); + } + + showISODate() { + return this.date.get().toISOString(); + } + + classes() { + if (this.date.get().isBefore(this.now.get(), 'minute') && + this.now.get().isBefore(this.data().value)) { + return 'current'; + } + return ''; + } + + showTitle() { + return `${TAPi18n.__('card-start-on')} ${this.date.get().format('LLLL')}`; + } + + events() { + return [{ + 'click .js-edit-date': Popup.open('cardCustomField-date'), + }]; + } + +}).register('cardCustomField-date'); + +// cardCustomField-datePopup +(class extends DatePicker { + onCreated() { + super.onCreated(); + const self = this; + self.card = Cards.findOne(Session.get('currentCard')); + self.customFieldId = this.data()._id; + this.data().value && this.date.set(moment(this.data().value)); + } + + _storeDate(date) { + this.card.setCustomField(this.customFieldId, date); + } + + _deleteDate() { + this.card.setCustomField(this.customFieldId, ''); + } +}).register('cardCustomField-datePopup'); + +// cardCustomField-dropdown +(class extends CardCustomField { + + onCreated() { + super.onCreated(); this._items = this.data().definition.settings.dropdownItems; this.items = this._items.slice(0); this.items.unshift({ @@ -77,10 +170,8 @@ CardCustomField.register('cardCustomField'); return [{ 'submit .js-card-customfield-dropdown'(evt) { evt.preventDefault(); - const card = Cards.findOne(Session.get('currentCard')); - const customFieldId = this.data()._id; const value = this.find('select').value; - card.setCustomField(customFieldId,value); + this.card.setCustomField(this.customFieldId, value); }, }]; } diff --git a/client/components/cards/cardDate.jade b/client/components/cards/cardDate.jade index 525f27ed..2e447506 100644 --- a/client/components/cards/cardDate.jade +++ b/client/components/cards/cardDate.jade @@ -1,19 +1,3 @@ -template(name="editCardDate") - .edit-card-date - form.edit-date - .fields - .left - label(for="date") {{_ 'date'}} - input.js-date-field#date(type="text" name="date" value=showDate placeholder=dateFormat autofocus) - .right - label(for="time") {{_ 'time'}} - input.js-time-field#time(type="text" name="time" value=showTime placeholder=timeFormat) - .js-datepicker - if error.get - .warning {{_ error.get}} - button.primary.wide.left.js-submit-date(type="submit") {{_ 'save'}} - button.js-delete-date.negate.wide.right.js-delete-date {{_ 'delete'}} - template(name="dateBadge") if canModifyCard a.js-edit-date.card-date(title="{{showTitle}}" class="{{classes}}") diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js index 3f69f384..09a6761b 100644 --- a/client/components/cards/cardDate.js +++ b/client/components/cards/cardDate.js @@ -1,91 +1,4 @@ // Edit start & due dates -const EditCardDate = BlazeComponent.extendComponent({ - template() { - return 'editCardDate'; - }, - - onCreated() { - this.error = new ReactiveVar(''); - this.card = this.data(); - this.date = new ReactiveVar(moment.invalid()); - }, - - onRendered() { - const $picker = this.$('.js-datepicker').datepicker({ - todayHighlight: true, - todayBtn: 'linked', - language: TAPi18n.getLanguage(), - }).on('changeDate', function(evt) { - this.find('#date').value = moment(evt.date).format('L'); - this.error.set(''); - this.find('#time').focus(); - }.bind(this)); - - if (this.date.get().isValid()) { - $picker.datepicker('update', this.date.get().toDate()); - } - }, - - showDate() { - if (this.date.get().isValid()) - return this.date.get().format('L'); - return ''; - }, - showTime() { - if (this.date.get().isValid()) - return this.date.get().format('LT'); - return ''; - }, - dateFormat() { - return moment.localeData().longDateFormat('L'); - }, - timeFormat() { - return moment.localeData().longDateFormat('LT'); - }, - - events() { - return [{ - 'keyup .js-date-field'() { - // parse for localized date format in strict mode - const dateMoment = moment(this.find('#date').value, 'L', true); - if (dateMoment.isValid()) { - this.error.set(''); - this.$('.js-datepicker').datepicker('update', dateMoment.toDate()); - } - }, - 'keyup .js-time-field'() { - // parse for localized time format in strict mode - const dateMoment = moment(this.find('#time').value, 'LT', true); - if (dateMoment.isValid()) { - this.error.set(''); - } - }, - 'submit .edit-date'(evt) { - evt.preventDefault(); - - // if no time was given, init with 12:00 - const time = evt.target.time.value || moment(new Date().setHours(12, 0, 0)).format('LT'); - - const dateString = `${evt.target.date.value} ${time}`; - const newDate = moment(dateString, 'L LT', true); - if (newDate.isValid()) { - this._storeDate(newDate.toDate()); - Popup.close(); - } - else { - this.error.set('invalid-date'); - evt.target.date.focus(); - } - }, - 'click .js-delete-date'(evt) { - evt.preventDefault(); - this._deleteDate(); - Popup.close(); - }, - }]; - }, -}); - Template.dateBadge.helpers({ canModifyCard() { return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); @@ -93,7 +6,7 @@ Template.dateBadge.helpers({ }); // editCardStartDatePopup -(class extends EditCardDate { +(class extends DatePicker { onCreated() { super.onCreated(); this.data().startAt && this.date.set(moment(this.data().startAt)); @@ -109,7 +22,7 @@ Template.dateBadge.helpers({ }).register('editCardStartDatePopup'); // editCardDueDatePopup -(class extends EditCardDate { +(class extends DatePicker { onCreated() { super.onCreated(); this.data().dueAt && this.date.set(moment(this.data().dueAt)); diff --git a/client/components/cards/cardDate.styl b/client/components/cards/cardDate.styl index 1631baa5..87a3ed25 100644 --- a/client/components/cards/cardDate.styl +++ b/client/components/cards/cardDate.styl @@ -1,22 +1,3 @@ -.edit-card-date - .fields - .left - width: 56% - .right - width: 38% - .datepicker - width: 100% - table - width: 100% - border: none - border-spacing: 0 - border-collapse: collapse - thead - background: none - td, th - box-sizing: border-box - - .card-date display: block border-radius: 4px diff --git a/client/components/forms/datepicker.jade b/client/components/forms/datepicker.jade new file mode 100644 index 00000000..96f63bc4 --- /dev/null +++ b/client/components/forms/datepicker.jade @@ -0,0 +1,15 @@ +template(name="datepicker") + .datepicker-container + form.edit-date + .fields + .left + label(for="date") {{_ 'date'}} + input.js-date-field#date(type="text" name="date" value=showDate placeholder=dateFormat autofocus) + .right + label(for="time") {{_ 'time'}} + input.js-time-field#time(type="text" name="time" value=showTime placeholder=timeFormat) + .js-datepicker + if error.get + .warning {{_ error.get}} + button.primary.wide.left.js-submit-date(type="submit") {{_ 'save'}} + button.js-delete-date.negate.wide.right.js-delete-date {{_ 'delete'}} \ No newline at end of file diff --git a/client/components/forms/datepicker.styl b/client/components/forms/datepicker.styl new file mode 100644 index 00000000..a2558094 --- /dev/null +++ b/client/components/forms/datepicker.styl @@ -0,0 +1,17 @@ +.datepicker-container + .fields + .left + width: 56% + .right + width: 38% + .datepicker + width: 100% + table + width: 100% + border: none + border-spacing: 0 + border-collapse: collapse + thead + background: none + td, th + box-sizing: border-box \ No newline at end of file diff --git a/client/lib/datepicker.js b/client/lib/datepicker.js new file mode 100644 index 00000000..aac061cf --- /dev/null +++ b/client/lib/datepicker.js @@ -0,0 +1,86 @@ +DatePicker = BlazeComponent.extendComponent({ + template() { + return 'datepicker'; + }, + + onCreated() { + this.error = new ReactiveVar(''); + this.card = this.data(); + this.date = new ReactiveVar(moment.invalid()); + }, + + onRendered() { + const $picker = this.$('.js-datepicker').datepicker({ + todayHighlight: true, + todayBtn: 'linked', + language: TAPi18n.getLanguage(), + }).on('changeDate', function(evt) { + this.find('#date').value = moment(evt.date).format('L'); + this.error.set(''); + this.find('#time').focus(); + }.bind(this)); + + if (this.date.get().isValid()) { + $picker.datepicker('update', this.date.get().toDate()); + } + }, + + showDate() { + if (this.date.get().isValid()) + return this.date.get().format('L'); + return ''; + }, + showTime() { + if (this.date.get().isValid()) + return this.date.get().format('LT'); + return ''; + }, + dateFormat() { + return moment.localeData().longDateFormat('L'); + }, + timeFormat() { + return moment.localeData().longDateFormat('LT'); + }, + + events() { + return [{ + 'keyup .js-date-field'() { + // parse for localized date format in strict mode + const dateMoment = moment(this.find('#date').value, 'L', true); + if (dateMoment.isValid()) { + this.error.set(''); + this.$('.js-datepicker').datepicker('update', dateMoment.toDate()); + } + }, + 'keyup .js-time-field'() { + // parse for localized time format in strict mode + const dateMoment = moment(this.find('#time').value, 'LT', true); + if (dateMoment.isValid()) { + this.error.set(''); + } + }, + 'submit .edit-date'(evt) { + evt.preventDefault(); + + // if no time was given, init with 12:00 + const time = evt.target.time.value || moment(new Date().setHours(12, 0, 0)).format('LT'); + + const dateString = `${evt.target.date.value} ${time}`; + const newDate = moment(dateString, 'L LT', true); + if (newDate.isValid()) { + this._storeDate(newDate.toDate()); + Popup.close(); + } + else { + this.error.set('invalid-date'); + evt.target.date.focus(); + } + }, + 'click .js-delete-date'(evt) { + evt.preventDefault(); + this._deleteDate(); + Popup.close(); + }, + }]; + }, +}); \ No newline at end of file diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index a6893117..e954e6eb 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -111,6 +111,7 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", -- cgit v1.2.3-1-g7c22 From 9184bf394629607bbaed8120004d90a21510315b Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Thu, 17 May 2018 21:06:52 +0200 Subject: removing checkbox type --- models/customFields.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/customFields.js b/models/customFields.js index 8b0abef4..57875b6e 100644 --- a/models/customFields.js +++ b/models/customFields.js @@ -9,7 +9,7 @@ CustomFields.attachSchema(new SimpleSchema({ }, type: { type: String, - allowedValues: ['text', 'number', 'checkbox', 'date', 'dropdown'] + allowedValues: ['text', 'number', 'date', 'dropdown'] }, settings: { type: Object, -- cgit v1.2.3-1-g7c22 From 98df01060d237b648878a1a869fff2f7ab24775f Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Thu, 17 May 2018 21:17:40 +0200 Subject: removing checkbox types part 2 --- client/components/sidebar/sidebarCustomFields.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js index 139b8a42..cfa21beb 100644 --- a/client/components/sidebar/sidebarCustomFields.js +++ b/client/components/sidebar/sidebarCustomFields.js @@ -17,7 +17,7 @@ BlazeComponent.extendComponent({ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ - _types: ['text', 'number', 'checkbox', 'date', 'dropdown'], + _types: ['text', 'number', 'date', 'dropdown'], onCreated() { this.type = new ReactiveVar((this.data().type) ? this.data().type : this._types[0]); @@ -127,4 +127,4 @@ CreateCustomFieldPopup.register('createCustomFieldPopup'); CustomFields.remove(customFieldId); Popup.close(); } -});*/ \ No newline at end of file +});*/ -- cgit v1.2.3-1-g7c22 From 7186b947b25d0f7d1d4fb08d1d29cd173dd69ff3 Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Thu, 17 May 2018 21:49:14 +0200 Subject: correcting style errors --- client/components/cards/cardDetails.styl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index e18c07a1..f4ca107b 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -69,11 +69,10 @@ .card-details-items display: flex - flex-wrap: wrap - margin: 0 0 15px + margin: 15px 0 .card-details-item - margin: 15px 0.5em 0 0 + margin-right: 0.5em &:last-child margin-right: 0 &.card-details-item-labels, -- cgit v1.2.3-1-g7c22 From 0dfc62c025c10ebe4b821dbea8e4508601daf671 Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Thu, 17 May 2018 21:57:54 +0200 Subject: Removing Doupling start / end and more style corrections --- client/components/cards/cardDetails.jade | 10 ---------- client/components/cards/cardDetails.styl | 6 ++---- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index b888210b..8201928e 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -65,16 +65,6 @@ template(name="cardDetails") a.card-label.add-label.js-add-labels(title="{{_ 'card-labels-title'}}") i.fa.fa-plus - if startAt - .card-details-item.card-details-item-start - h3.card-details-item-title {{_ 'card-start'}} - +cardStartDate - - if dueAt - .card-details-item.card-details-item-due - h3.card-details-item-title {{_ 'card-due'}} - +cardDueDate - each customFieldsWD .card-details-item.card-details-item-customfield h3.card-details-item-title diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index f4ca107b..dc6ab94f 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -80,12 +80,10 @@ &.card-details-item-received, &.card-details-item-start, &.card-details-item-due, - &.card-details-item-end + &.card-details-item-end, + &.card-details-item-customfield width: 50% flex-shrink: 1 - &.card-details-item-customfield - max-width: 50% - flex-grow: 1 .card-details-item-title font-size: 16px -- cgit v1.2.3-1-g7c22 From 80088174fcb90b0a0556f16e5af7860f51d58032 Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Thu, 17 May 2018 22:08:17 +0200 Subject: More style corrections --- client/components/cards/cardDetails.jade | 1 + client/components/cards/cardDetails.styl | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 8201928e..55ee8d32 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -65,6 +65,7 @@ template(name="cardDetails") a.card-label.add-label.js-add-labels(title="{{_ 'card-labels-title'}}") i.fa.fa-plus + .card-details-items each customFieldsWD .card-details-item.card-details-item-customfield h3.card-details-item-title diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index dc6ab94f..cb9728c9 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -69,6 +69,7 @@ .card-details-items display: flex + flex-wrap: wrap margin: 15px 0 .card-details-item @@ -80,10 +81,12 @@ &.card-details-item-received, &.card-details-item-start, &.card-details-item-due, - &.card-details-item-end, - &.card-details-item-customfield + &.card-details-item-end width: 50% flex-shrink: 1 + &.card-details-item-customfield + width: 50% + flex-grow: 1 .card-details-item-title font-size: 16px -- cgit v1.2.3-1-g7c22 From f9df38d3333e810e5eec39d93ef310539973de7c Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Thu, 17 May 2018 22:14:41 +0200 Subject: Style Changes --- client/components/cards/cardDetails.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index cb9728c9..367f3fbc 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -85,7 +85,7 @@ width: 50% flex-shrink: 1 &.card-details-item-customfield - width: 50% + max-width: 50% flex-grow: 1 .card-details-item-title -- cgit v1.2.3-1-g7c22 From b43779e4085a3b2f9e4f3f2cbb65cc0518f2daea Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Thu, 17 May 2018 22:15:35 +0200 Subject: That should do it --- client/components/cards/cardDetails.styl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 367f3fbc..7dbe8732 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -81,9 +81,7 @@ &.card-details-item-received, &.card-details-item-start, &.card-details-item-due, - &.card-details-item-end - width: 50% - flex-shrink: 1 + &.card-details-item-end, &.card-details-item-customfield max-width: 50% flex-grow: 1 -- cgit v1.2.3-1-g7c22 From c1d2e27c092f9bce4a9982d6b714b442dbf66a4b Mon Sep 17 00:00:00 2001 From: Ignatz Date: Fri, 18 May 2018 10:02:32 +0200 Subject: correcting missing loca --- i18n/en.i18n.json | 1 + 1 file changed, 1 insertion(+) diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index e22808fe..6006a078 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -206,6 +206,7 @@ "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", "editProfilePopup-title": "Edit Profile", -- cgit v1.2.3-1-g7c22 From d6cfac0122dc5e6819c82f73c728488e0600cb70 Mon Sep 17 00:00:00 2001 From: Ignatz Date: Fri, 18 May 2018 10:24:51 +0200 Subject: linter corrections --- .eslintrc.json | 4 +- client/components/cards/cardCustomFields.js | 256 +++++++++++------------ client/components/lists/listBody.js | 6 +- client/components/sidebar/sidebarCustomFields.js | 27 +-- client/lib/datepicker.js | 150 ++++++------- models/cards.js | 17 +- models/customFields.js | 18 +- 7 files changed, 242 insertions(+), 236 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 0a9f3c90..06d3f001 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -32,7 +32,7 @@ "comma-spacing": 2, "comma-style": 2, "eol-last": 2, - "linebreak-style": [2, "unix"], + "linebreak-style": [2, "windows"], "new-parens": 2, "no-lonely-if": 2, "no-multiple-empty-lines": 2, @@ -100,7 +100,9 @@ "Attachments": true, "Boards": true, "CardComments": true, + "DatePicker" : true, "Cards": true, + "CustomFields": true, "Lists": true, "UnsavedEditCollection": true, "Users": true, diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js index e014de4a..821ca02b 100644 --- a/client/components/cards/cardCustomFields.js +++ b/client/components/cards/cardCustomFields.js @@ -1,179 +1,179 @@ Template.cardCustomFieldsPopup.helpers({ - hasCustomField() { - const card = Cards.findOne(Session.get('currentCard')); - const customFieldId = this._id; - return card.customFieldIndex(customFieldId) > -1; - }, + hasCustomField() { + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this._id; + return card.customFieldIndex(customFieldId) > -1; + }, }); Template.cardCustomFieldsPopup.events({ - 'click .js-select-field'(evt) { - const card = Cards.findOne(Session.get('currentCard')); - const customFieldId = this._id; - card.toggleCustomField(customFieldId); - evt.preventDefault(); - }, - 'click .js-settings'(evt) { - EscapeActions.executeUpTo('detailsPane'); - Sidebar.setView('customFields'); - evt.preventDefault(); - } + 'click .js-select-field'(evt) { + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this._id; + card.toggleCustomField(customFieldId); + evt.preventDefault(); + }, + 'click .js-settings'(evt) { + EscapeActions.executeUpTo('detailsPane'); + Sidebar.setView('customFields'); + evt.preventDefault(); + }, }); // cardCustomField const CardCustomField = BlazeComponent.extendComponent({ - getTemplate() { - return 'cardCustomField-' + this.data().definition.type; - }, + getTemplate() { + return 'cardCustomField-${this.data().definition.type}'; + }, - onCreated() { - const self = this; - self.card = Cards.findOne(Session.get('currentCard')); - self.customFieldId = this.data()._id; - }, + onCreated() { + const self = this; + self.card = Cards.findOne(Session.get('currentCard')); + self.customFieldId = this.data()._id; + }, - canModifyCard() { - return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); - }, + canModifyCard() { + return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); + }, }); CardCustomField.register('cardCustomField'); // cardCustomField-text (class extends CardCustomField { - onCreated() { - super.onCreated(); - } + onCreated() { + super.onCreated(); + } - events() { - return [{ - 'submit .js-card-customfield-text'(evt) { - evt.preventDefault(); - const value = this.currentComponent().getValue(); - this.card.setCustomField(this.customFieldId, value); - }, - }]; - } + events() { + return [{ + 'submit .js-card-customfield-text'(evt) { + evt.preventDefault(); + const value = this.currentComponent().getValue(); + this.card.setCustomField(this.customFieldId, value); + }, + }]; + } }).register('cardCustomField-text'); // cardCustomField-number (class extends CardCustomField { - onCreated() { - super.onCreated(); - } + onCreated() { + super.onCreated(); + } - events() { - return [{ - 'submit .js-card-customfield-number'(evt) { - evt.preventDefault(); - const value = parseInt(this.find('input').value); - this.card.setCustomField(this.customFieldId, value); - }, - }]; - } + events() { + return [{ + 'submit .js-card-customfield-number'(evt) { + evt.preventDefault(); + const value = parseInt(this.find('input').value, 10); + this.card.setCustomField(this.customFieldId, value); + }, + }]; + } }).register('cardCustomField-number'); // cardCustomField-date (class extends CardCustomField { - onCreated() { - super.onCreated(); - const self = this; - self.date = ReactiveVar(); - self.now = ReactiveVar(moment()); - window.setInterval(() => { - self.now.set(moment()); - }, 60000); - - self.autorun(() => { - self.date.set(moment(self.data().value)); - }); - } - - showDate() { + onCreated() { + super.onCreated(); + const self = this; + self.date = ReactiveVar(); + self.now = ReactiveVar(moment()); + window.setInterval(() => { + self.now.set(moment()); + }, 60000); + + self.autorun(() => { + self.date.set(moment(self.data().value)); + }); + } + + showDate() { // this will start working once mquandalle:moment // is updated to at least moment.js 2.10.5 // until then, the date is displayed in the "L" format - return this.date.get().calendar(null, { - sameElse: 'llll', - }); - } + return this.date.get().calendar(null, { + sameElse: 'llll', + }); + } - showISODate() { - return this.date.get().toISOString(); - } + showISODate() { + return this.date.get().toISOString(); + } - classes() { - if (this.date.get().isBefore(this.now.get(), 'minute') && + classes() { + if (this.date.get().isBefore(this.now.get(), 'minute') && this.now.get().isBefore(this.data().value)) { - return 'current'; - } - return ''; + return 'current'; } + return ''; + } - showTitle() { - return `${TAPi18n.__('card-start-on')} ${this.date.get().format('LLLL')}`; - } + showTitle() { + return `${TAPi18n.__('card-start-on')} ${this.date.get().format('LLLL')}`; + } - events() { - return [{ - 'click .js-edit-date': Popup.open('cardCustomField-date'), - }]; - } + events() { + return [{ + 'click .js-edit-date': Popup.open('cardCustomField-date'), + }]; + } }).register('cardCustomField-date'); // cardCustomField-datePopup (class extends DatePicker { - onCreated() { - super.onCreated(); - const self = this; - self.card = Cards.findOne(Session.get('currentCard')); - self.customFieldId = this.data()._id; - this.data().value && this.date.set(moment(this.data().value)); - } - - _storeDate(date) { - this.card.setCustomField(this.customFieldId, date); - } - - _deleteDate() { - this.card.setCustomField(this.customFieldId, ''); - } + onCreated() { + super.onCreated(); + const self = this; + self.card = Cards.findOne(Session.get('currentCard')); + self.customFieldId = this.data()._id; + this.data().value && this.date.set(moment(this.data().value)); + } + + _storeDate(date) { + this.card.setCustomField(this.customFieldId, date); + } + + _deleteDate() { + this.card.setCustomField(this.customFieldId, ''); + } }).register('cardCustomField-datePopup'); // cardCustomField-dropdown (class extends CardCustomField { - onCreated() { - super.onCreated(); - this._items = this.data().definition.settings.dropdownItems; - this.items = this._items.slice(0); - this.items.unshift({ - _id: "", - name: TAPi18n.__('custom-field-dropdown-none') - }); - } - - selectedItem() { - const selected = this._items.find((item) => { - return item._id == this.data().value; - }); - return (selected) ? selected.name : TAPi18n.__('custom-field-dropdown-unknown'); - } - - events() { - return [{ - 'submit .js-card-customfield-dropdown'(evt) { - evt.preventDefault(); - const value = this.find('select').value; - this.card.setCustomField(this.customFieldId, value); - }, - }]; - } + onCreated() { + super.onCreated(); + this._items = this.data().definition.settings.dropdownItems; + this.items = this._items.slice(0); + this.items.unshift({ + _id: '', + name: TAPi18n.__('custom-field-dropdown-none'), + }); + } + + selectedItem() { + const selected = this._items.find((item) => { + return item._id === this.data().value; + }); + return (selected) ? selected.name : TAPi18n.__('custom-field-dropdown-unknown'); + } + + events() { + return [{ + 'submit .js-card-customfield-dropdown'(evt) { + evt.preventDefault(); + const value = this.find('select').value; + this.card.setCustomField(this.customFieldId, value); + }, + }]; + } -}).register('cardCustomField-dropdown'); \ No newline at end of file +}).register('cardCustomField-dropdown'); diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index 24e5cf5d..4bf7b369 100644 --- a/client/components/lists/listBody.js +++ b/client/components/lists/listBody.js @@ -36,9 +36,9 @@ BlazeComponent.extendComponent({ const members = formComponent.members.get(); const labelIds = formComponent.labels.get(); const customFields = formComponent.customFields.get(); - console.log("members", members); - console.log("labelIds", labelIds); - console.log("customFields", customFields); + //console.log('members', members); + //console.log('labelIds', labelIds); + //console.log('customFields', customFields); const boardId = this.data().board()._id; let swimlaneId = ''; diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js index cfa21beb..9fed163c 100644 --- a/client/components/sidebar/sidebarCustomFields.js +++ b/client/components/sidebar/sidebarCustomFields.js @@ -27,11 +27,11 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ types() { const currentType = this.data().type; return this._types. - map(type => {return { + map((type) => {return { value: type, - name: TAPi18n.__('custom-field-' + type), - selected: type == currentType, - }}); + name: TAPi18n.__('custom-field-${type}'), + selected: type === currentType, + };}); }, isTypeNotSelected(type) { @@ -39,7 +39,7 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ }, getDropdownItems() { - var items = this.dropdownItems.get(); + const items = this.dropdownItems.get(); Array.from(this.findAll('.js-field-settings-dropdown input')).forEach((el, index) => { //console.log('each item!', index, el.value); if (!items[index]) items[index] = { @@ -51,12 +51,13 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ }, getSettings() { - let settings = {}; + const settings = {}; switch (this.type.get()) { - case 'dropdown': - let dropdownItems = this.getDropdownItems().filter(item => !!item.name.trim()); - settings.dropdownItems = dropdownItems; - break; + case 'dropdown': { + const dropdownItems = this.getDropdownItems().filter((item) => !!item.name.trim()); + settings.dropdownItems = dropdownItems; + break; + } } return settings; }, @@ -69,7 +70,7 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ }, 'keydown .js-dropdown-item.last'(evt) { if (evt.target.value.trim() && evt.keyCode === 13) { - let items = this.getDropdownItems(); + const items = this.getDropdownItems(); this.dropdownItems.set(items); evt.target.value = ''; } @@ -90,8 +91,8 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ name: this.find('.js-field-name').value.trim(), type: this.type.get(), settings: this.getSettings(), - showOnCard: this.find('.js-field-show-on-card.is-checked') != null - } + showOnCard: this.find('.js-field-show-on-card.is-checked') !== null, + }; // insert or update if (!this.data()._id) { diff --git a/client/lib/datepicker.js b/client/lib/datepicker.js index aac061cf..947970ee 100644 --- a/client/lib/datepicker.js +++ b/client/lib/datepicker.js @@ -1,86 +1,86 @@ DatePicker = BlazeComponent.extendComponent({ - template() { - return 'datepicker'; - }, + template() { + return 'datepicker'; + }, - onCreated() { - this.error = new ReactiveVar(''); - this.card = this.data(); - this.date = new ReactiveVar(moment.invalid()); - }, + onCreated() { + this.error = new ReactiveVar(''); + this.card = this.data(); + this.date = new ReactiveVar(moment.invalid()); + }, - onRendered() { - const $picker = this.$('.js-datepicker').datepicker({ - todayHighlight: true, - todayBtn: 'linked', - language: TAPi18n.getLanguage(), - }).on('changeDate', function(evt) { - this.find('#date').value = moment(evt.date).format('L'); - this.error.set(''); - this.find('#time').focus(); - }.bind(this)); + onRendered() { + const $picker = this.$('.js-datepicker').datepicker({ + todayHighlight: true, + todayBtn: 'linked', + language: TAPi18n.getLanguage(), + }).on('changeDate', function(evt) { + this.find('#date').value = moment(evt.date).format('L'); + this.error.set(''); + this.find('#time').focus(); + }.bind(this)); - if (this.date.get().isValid()) { - $picker.datepicker('update', this.date.get().toDate()); - } - }, + if (this.date.get().isValid()) { + $picker.datepicker('update', this.date.get().toDate()); + } + }, - showDate() { - if (this.date.get().isValid()) - return this.date.get().format('L'); - return ''; - }, - showTime() { - if (this.date.get().isValid()) - return this.date.get().format('LT'); - return ''; - }, - dateFormat() { - return moment.localeData().longDateFormat('L'); - }, - timeFormat() { - return moment.localeData().longDateFormat('LT'); - }, + showDate() { + if (this.date.get().isValid()) + return this.date.get().format('L'); + return ''; + }, + showTime() { + if (this.date.get().isValid()) + return this.date.get().format('LT'); + return ''; + }, + dateFormat() { + return moment.localeData().longDateFormat('L'); + }, + timeFormat() { + return moment.localeData().longDateFormat('LT'); + }, - events() { - return [{ - 'keyup .js-date-field'() { + events() { + return [{ + 'keyup .js-date-field'() { // parse for localized date format in strict mode - const dateMoment = moment(this.find('#date').value, 'L', true); - if (dateMoment.isValid()) { - this.error.set(''); - this.$('.js-datepicker').datepicker('update', dateMoment.toDate()); - } - }, - 'keyup .js-time-field'() { + const dateMoment = moment(this.find('#date').value, 'L', true); + if (dateMoment.isValid()) { + this.error.set(''); + this.$('.js-datepicker').datepicker('update', dateMoment.toDate()); + } + }, + 'keyup .js-time-field'() { // parse for localized time format in strict mode - const dateMoment = moment(this.find('#time').value, 'LT', true); - if (dateMoment.isValid()) { - this.error.set(''); - } - }, - 'submit .edit-date'(evt) { - evt.preventDefault(); + const dateMoment = moment(this.find('#time').value, 'LT', true); + if (dateMoment.isValid()) { + this.error.set(''); + } + }, + 'submit .edit-date'(evt) { + evt.preventDefault(); // if no time was given, init with 12:00 - const time = evt.target.time.value || moment(new Date().setHours(12, 0, 0)).format('LT'); + const time = evt.target.time.value || moment(new Date().setHours(12, 0, 0)).format('LT'); - const dateString = `${evt.target.date.value} ${time}`; - const newDate = moment(dateString, 'L LT', true); - if (newDate.isValid()) { - this._storeDate(newDate.toDate()); - Popup.close(); - } - else { - this.error.set('invalid-date'); - evt.target.date.focus(); - } - }, - 'click .js-delete-date'(evt) { - evt.preventDefault(); - this._deleteDate(); - Popup.close(); - }, - }]; - }, -}); \ No newline at end of file + const dateString = `${evt.target.date.value} ${time}`; + const newDate = moment(dateString, 'L LT', true); + if (newDate.isValid()) { + this._storeDate(newDate.toDate()); + Popup.close(); + } + else { + this.error.set('invalid-date'); + evt.target.date.focus(); + } + }, + 'click .js-delete-date'(evt) { + evt.preventDefault(); + this._deleteDate(); + Popup.close(); + }, + }]; + }, +}); diff --git a/models/cards.js b/models/cards.js index 8b917ee3..d3a741bb 100644 --- a/models/cards.js +++ b/models/cards.js @@ -51,10 +51,10 @@ Cards.attachSchema(new SimpleSchema({ type: String, }, value: { - type: Match.OneOf(String,Number,Boolean,Date), + type: Match.OneOf(String, Number, Boolean, Date), optional: true, }, - }) + }), }, dateLastActivity: { type: Date, @@ -225,9 +225,9 @@ Cards.helpers({ _id: customField._id, value: customField.value, definition: definitions.find((definition) => { - return definition._id == customField._id; - }) - } + return definition._id === customField._id; + }), + }; }); }, @@ -331,10 +331,13 @@ Cards.mutations({ // todo const index = this.customFieldIndex(customFieldId); if (index > -1) { - var update = {$set: {}}; - update.$set["customFields." + index + ".value"] = value; + const update = {$set: {}}; + update.$set['customFields.${index}.value'] = value; return update; } + // TODO + // Ignatz 18.05.2018: Return null to silence ESLint. No Idea if that is correct + return null; }, setCover(coverId) { diff --git a/models/customFields.js b/models/customFields.js index 57875b6e..6c5fe7c4 100644 --- a/models/customFields.js +++ b/models/customFields.js @@ -9,14 +9,14 @@ CustomFields.attachSchema(new SimpleSchema({ }, type: { type: String, - allowedValues: ['text', 'number', 'date', 'dropdown'] + allowedValues: ['text', 'number', 'date', 'dropdown'], }, settings: { type: Object, }, 'settings.dropdownItems': { type: [Object], - optional: true + optional: true, }, 'settings.dropdownItems.$': { type: new SimpleSchema({ @@ -26,11 +26,11 @@ CustomFields.attachSchema(new SimpleSchema({ name: { type: String, }, - }) + }), }, showOnCard: { type: Boolean, - } + }, })); CustomFields.allow({ @@ -76,16 +76,16 @@ if (Meteor.isServer) { //CUSTOM FIELD REST API if (Meteor.isServer) { - JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields', function (req, res, next) { + JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields', function (req, res) { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; JsonRoutes.sendResult(res, { code: 200, - data: CustomFields.find({ boardId: paramBoardId }) + data: CustomFields.find({ boardId: paramBoardId }), }); }); - JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields/:customFieldId', function (req, res, next) { + JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields/:customFieldId', function (req, res) { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; const paramCustomFieldId = req.params.customFieldId; @@ -95,7 +95,7 @@ if (Meteor.isServer) { }); }); - JsonRoutes.add('POST', '/api/boards/:boardId/custom-fields', function (req, res, next) { + JsonRoutes.add('POST', '/api/boards/:boardId/custom-fields', function (req, res) { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; const id = CustomFields.direct.insert({ @@ -117,7 +117,7 @@ if (Meteor.isServer) { }); }); - JsonRoutes.add('DELETE', '/api/boards/:boardId/custom-fields/:customFieldId', function (req, res, next) { + JsonRoutes.add('DELETE', '/api/boards/:boardId/custom-fields/:customFieldId', function (req, res) { Authentication.checkUserId( req.userId); const paramBoardId = req.params.boardId; const id = req.params.customFieldId; -- cgit v1.2.3-1-g7c22 From 838578657da4ed46be0e32091120c7554b07c102 Mon Sep 17 00:00:00 2001 From: Ignatz Date: Fri, 18 May 2018 10:43:43 +0200 Subject: template literals correction --- client/components/cards/cardCustomFields.js | 2 +- client/components/sidebar/sidebarCustomFields.js | 2 +- models/cards.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js index 821ca02b..019fcab5 100644 --- a/client/components/cards/cardCustomFields.js +++ b/client/components/cards/cardCustomFields.js @@ -24,7 +24,7 @@ Template.cardCustomFieldsPopup.events({ const CardCustomField = BlazeComponent.extendComponent({ getTemplate() { - return 'cardCustomField-${this.data().definition.type}'; + return `cardCustomField-${this.data().definition.type}`; }, onCreated() { diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js index 9fed163c..d74a5919 100644 --- a/client/components/sidebar/sidebarCustomFields.js +++ b/client/components/sidebar/sidebarCustomFields.js @@ -29,7 +29,7 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ return this._types. map((type) => {return { value: type, - name: TAPi18n.__('custom-field-${type}'), + name: TAPi18n.__(`custom-field-${type}`), selected: type === currentType, };}); }, diff --git a/models/cards.js b/models/cards.js index d3a741bb..c77cd682 100644 --- a/models/cards.js +++ b/models/cards.js @@ -332,7 +332,7 @@ Cards.mutations({ const index = this.customFieldIndex(customFieldId); if (index > -1) { const update = {$set: {}}; - update.$set['customFields.${index}.value'] = value; + update.$set[`customFields.${index}.value`] = value; return update; } // TODO -- cgit v1.2.3-1-g7c22 From 3bf4f3ef40a50b2471d0a6a402c443760ce4427b Mon Sep 17 00:00:00 2001 From: Ignatz Date: Fri, 18 May 2018 11:03:04 +0200 Subject: Line Endings back to Unix (Was Temporarly on Windows) --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 06d3f001..255e00ba 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -32,7 +32,7 @@ "comma-spacing": 2, "comma-style": 2, "eol-last": 2, - "linebreak-style": [2, "windows"], + "linebreak-style": [2, "unix"], "new-parens": 2, "no-lonely-if": 2, "no-multiple-empty-lines": 2, -- cgit v1.2.3-1-g7c22 From ef99e6a6b1cd8d55fdab9ff94e7bfc3d5c538b8f Mon Sep 17 00:00:00 2001 From: Ignatz Date: Fri, 18 May 2018 11:13:01 +0200 Subject: indend corrections --- client/components/cards/cardCustomFields.js | 6 +++--- client/components/sidebar/sidebarCustomFields.js | 10 +++++----- client/lib/datepicker.js | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js index 019fcab5..aa50caec 100644 --- a/client/components/cards/cardCustomFields.js +++ b/client/components/cards/cardCustomFields.js @@ -95,9 +95,9 @@ CardCustomField.register('cardCustomField'); } showDate() { - // this will start working once mquandalle:moment - // is updated to at least moment.js 2.10.5 - // until then, the date is displayed in the "L" format + // this will start working once mquandalle:moment + // is updated to at least moment.js 2.10.5 + // until then, the date is displayed in the "L" format return this.date.get().calendar(null, { sameElse: 'llll', }); diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js index d74a5919..e56d744e 100644 --- a/client/components/sidebar/sidebarCustomFields.js +++ b/client/components/sidebar/sidebarCustomFields.js @@ -27,11 +27,11 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ types() { const currentType = this.data().type; return this._types. - map((type) => {return { - value: type, - name: TAPi18n.__(`custom-field-${type}`), - selected: type === currentType, - };}); + map((type) => {return { + value: type, + name: TAPi18n.__(`custom-field-${type}`), + selected: type === currentType, + };}); }, isTypeNotSelected(type) { diff --git a/client/lib/datepicker.js b/client/lib/datepicker.js index 947970ee..ab2da0bd 100644 --- a/client/lib/datepicker.js +++ b/client/lib/datepicker.js @@ -45,7 +45,7 @@ DatePicker = BlazeComponent.extendComponent({ events() { return [{ 'keyup .js-date-field'() { - // parse for localized date format in strict mode + // parse for localized date format in strict mode const dateMoment = moment(this.find('#date').value, 'L', true); if (dateMoment.isValid()) { this.error.set(''); @@ -53,7 +53,7 @@ DatePicker = BlazeComponent.extendComponent({ } }, 'keyup .js-time-field'() { - // parse for localized time format in strict mode + // parse for localized time format in strict mode const dateMoment = moment(this.find('#time').value, 'LT', true); if (dateMoment.isValid()) { this.error.set(''); @@ -62,7 +62,7 @@ DatePicker = BlazeComponent.extendComponent({ 'submit .edit-date'(evt) { evt.preventDefault(); - // if no time was given, init with 12:00 + // if no time was given, init with 12:00 const time = evt.target.time.value || moment(new Date().setHours(12, 0, 0)).format('LT'); const dateString = `${evt.target.date.value} ${time}`; -- cgit v1.2.3-1-g7c22 From 9b465bc98bd0e0125fa1d99369f1ed7ee47d9e63 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 18 May 2018 15:20:20 +0300 Subject: Fix lint errors back to eslint requirements. --- models/attachments.js | 158 +++++++++++++++++++++++++------------------------- sandstorm.js | 10 ++-- server/migrations.js | 12 ++-- 3 files changed, 90 insertions(+), 90 deletions(-) diff --git a/models/attachments.js b/models/attachments.js index 5e5c4926..91dd0dbc 100644 --- a/models/attachments.js +++ b/models/attachments.js @@ -1,90 +1,90 @@ - Attachments = new FS.Collection('attachments', { - stores: [ +Attachments = new FS.Collection('attachments', { + stores: [ - // XXX Add a new store for cover thumbnails so we don't load big images in - // the general board view - new FS.Store.GridFS('attachments', { - // If the uploaded document is not an image we need to enforce browser - // download instead of execution. This is particularly important for HTML - // files that the browser will just execute if we don't serve them with the - // appropriate `application/octet-stream` MIME header which can lead to user - // data leaks. I imagine other formats (like PDF) can also be attack vectors. - // See https://github.com/wekan/wekan/issues/99 - // XXX Should we use `beforeWrite` option of CollectionFS instead of - // collection-hooks? - // We should use `beforeWrite`. - beforeWrite: (fileObj) => { - if (!fileObj.isImage()) { - return { - type: 'application/octet-stream', - }; - } - return {}; - }, - }), - ], - }); - - - if (Meteor.isServer) { - Attachments.allow({ - insert(userId, doc) { - return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); - }, - update(userId, doc) { - return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); - }, - remove(userId, doc) { - return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); - }, - // We authorize the attachment download either: - // - if the board is public, everyone (even unconnected) can download it - // - if the board is private, only board members can download it - download(userId, doc) { - const board = Boards.findOne(doc.boardId); - if (board.isPublic()) { - return true; - } else { - return board.hasMember(userId); + // XXX Add a new store for cover thumbnails so we don't load big images in + // the general board view + new FS.Store.GridFS('attachments', { + // If the uploaded document is not an image we need to enforce browser + // download instead of execution. This is particularly important for HTML + // files that the browser will just execute if we don't serve them with the + // appropriate `application/octet-stream` MIME header which can lead to user + // data leaks. I imagine other formats (like PDF) can also be attack vectors. + // See https://github.com/wekan/wekan/issues/99 + // XXX Should we use `beforeWrite` option of CollectionFS instead of + // collection-hooks? + // We should use `beforeWrite`. + beforeWrite: (fileObj) => { + if (!fileObj.isImage()) { + return { + type: 'application/octet-stream', + }; } + return {}; }, + }), + ], +}); - fetch: ['boardId'], - }); - } - - // XXX Enforce a schema for the Attachments CollectionFS - if (Meteor.isServer) { - Attachments.files.after.insert((userId, doc) => { - // If the attachment doesn't have a source field - // or its source is different than import - if (!doc.source || doc.source !== 'import') { - // Add activity about adding the attachment - Activities.insert({ - userId, - type: 'card', - activityType: 'addAttachment', - attachmentId: doc._id, - boardId: doc.boardId, - cardId: doc.cardId, - }); +if (Meteor.isServer) { + Attachments.allow({ + insert(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + remove(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + // We authorize the attachment download either: + // - if the board is public, everyone (even unconnected) can download it + // - if the board is private, only board members can download it + download(userId, doc) { + const board = Boards.findOne(doc.boardId); + if (board.isPublic()) { + return true; } else { - // Don't add activity about adding the attachment as the activity - // be imported and delete source field - Attachments.update({ - _id: doc._id, - }, { - $unset: { - source: '', - }, - }); + return board.hasMember(userId); } - }); + }, + + fetch: ['boardId'], + }); +} - Attachments.files.after.remove((userId, doc) => { - Activities.remove({ +// XXX Enforce a schema for the Attachments CollectionFS + +if (Meteor.isServer) { + Attachments.files.after.insert((userId, doc) => { + // If the attachment doesn't have a source field + // or its source is different than import + if (!doc.source || doc.source !== 'import') { + // Add activity about adding the attachment + Activities.insert({ + userId, + type: 'card', + activityType: 'addAttachment', attachmentId: doc._id, + boardId: doc.boardId, + cardId: doc.cardId, }); + } else { + // Don't add activity about adding the attachment as the activity + // be imported and delete source field + Attachments.update({ + _id: doc._id, + }, { + $unset: { + source: '', + }, + }); + } + }); + + Attachments.files.after.remove((userId, doc) => { + Activities.remove({ + attachmentId: doc._id, }); - } + }); +} diff --git a/sandstorm.js b/sandstorm.js index 3ea85fef..d34bc015 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -75,7 +75,7 @@ if (isSandstorm && Meteor.isServer) { session.claimRequest(token).then((response) => { const identity = response.cap.castAs(Identity.Identity); const promises = [api.getIdentityId(identity), identity.getProfile(), - httpBridge.saveIdentity(identity)]; + httpBridge.saveIdentity(identity)]; return Promise.all(promises).then((responses) => { const identityId = responses[0].id.toString('hex').slice(0, 32); const profile = responses[1].profile; @@ -115,9 +115,9 @@ if (isSandstorm && Meteor.isServer) { const identity = response.identity; return identity.getProfile().then(() => { return { identity, - mentioned: !!user.mentioned, - subscribed: !!user.subscribed, - }; + mentioned: !!user.mentioned, + subscribed: !!user.subscribed, + }; }); }).catch(() => { // Ignore identities that fail to restore. Either they were added before we set @@ -132,7 +132,7 @@ if (isSandstorm && Meteor.isServer) { return session.activity(event); }).then(() => done(), - (e) => done(e)); + (e) => done(e)); })(); } diff --git a/server/migrations.js b/server/migrations.js index 0fdd1fe0..ba5ccd98 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -167,9 +167,9 @@ Migrations.add('add-swimlanes', () => { Cards.find({ boardId: board._id }).forEach((card) => { if (!card.hasOwnProperty('swimlaneId')) { Cards.direct.update( - { _id: card._id }, - { $set: { swimlaneId } }, - noValidate + { _id: card._id }, + { $set: { swimlaneId } }, + noValidate ); } }); @@ -180,9 +180,9 @@ Migrations.add('add-views', () => { Boards.find().forEach((board) => { if (!board.hasOwnProperty('view')) { Boards.direct.update( - { _id: board._id }, - { $set: { view: 'board-view-swimlanes' } }, - noValidate + { _id: board._id }, + { $set: { view: 'board-view-swimlanes' } }, + noValidate ); } }); -- cgit v1.2.3-1-g7c22 From 22882a0603a4d7f429ded495fffc6d84054d0240 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 18 May 2018 16:11:32 +0300 Subject: Update translations. --- i18n/ar.i18n.json | 22 ++++++++++++++++++++++ i18n/bg.i18n.json | 22 ++++++++++++++++++++++ i18n/br.i18n.json | 22 ++++++++++++++++++++++ i18n/ca.i18n.json | 22 ++++++++++++++++++++++ i18n/cs.i18n.json | 22 ++++++++++++++++++++++ i18n/de.i18n.json | 22 ++++++++++++++++++++++ i18n/el.i18n.json | 22 ++++++++++++++++++++++ i18n/en-GB.i18n.json | 22 ++++++++++++++++++++++ i18n/eo.i18n.json | 22 ++++++++++++++++++++++ i18n/es-AR.i18n.json | 22 ++++++++++++++++++++++ i18n/es.i18n.json | 22 ++++++++++++++++++++++ i18n/eu.i18n.json | 22 ++++++++++++++++++++++ i18n/fa.i18n.json | 22 ++++++++++++++++++++++ i18n/fi.i18n.json | 22 ++++++++++++++++++++++ i18n/fr.i18n.json | 22 ++++++++++++++++++++++ i18n/gl.i18n.json | 22 ++++++++++++++++++++++ i18n/he.i18n.json | 22 ++++++++++++++++++++++ i18n/hu.i18n.json | 22 ++++++++++++++++++++++ i18n/hy.i18n.json | 22 ++++++++++++++++++++++ i18n/id.i18n.json | 22 ++++++++++++++++++++++ i18n/ig.i18n.json | 22 ++++++++++++++++++++++ i18n/it.i18n.json | 22 ++++++++++++++++++++++ i18n/ja.i18n.json | 22 ++++++++++++++++++++++ i18n/ko.i18n.json | 22 ++++++++++++++++++++++ i18n/lv.i18n.json | 22 ++++++++++++++++++++++ i18n/mn.i18n.json | 22 ++++++++++++++++++++++ i18n/nb.i18n.json | 22 ++++++++++++++++++++++ i18n/nl.i18n.json | 22 ++++++++++++++++++++++ i18n/pl.i18n.json | 22 ++++++++++++++++++++++ i18n/pt-BR.i18n.json | 22 ++++++++++++++++++++++ i18n/pt.i18n.json | 22 ++++++++++++++++++++++ i18n/ro.i18n.json | 22 ++++++++++++++++++++++ i18n/ru.i18n.json | 22 ++++++++++++++++++++++ i18n/sr.i18n.json | 22 ++++++++++++++++++++++ i18n/sv.i18n.json | 22 ++++++++++++++++++++++ i18n/ta.i18n.json | 22 ++++++++++++++++++++++ i18n/th.i18n.json | 22 ++++++++++++++++++++++ i18n/tr.i18n.json | 22 ++++++++++++++++++++++ i18n/uk.i18n.json | 22 ++++++++++++++++++++++ i18n/vi.i18n.json | 22 ++++++++++++++++++++++ i18n/zh-CN.i18n.json | 22 ++++++++++++++++++++++ i18n/zh-TW.i18n.json | 22 ++++++++++++++++++++++ 42 files changed, 924 insertions(+) diff --git a/i18n/ar.i18n.json b/i18n/ar.i18n.json index 4e77fa42..7c470976 100644 --- a/i18n/ar.i18n.json +++ b/i18n/ar.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "علق على __comment__ : __card__", "act-createBoard": "احدث __board__", "act-createCard": "اضاف __card__ الى __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "اضاف __list__ الى __board__", "act-addBoardMember": "اضاف __member__ الى __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "إرفاق %s ل %s", "activity-created": "أنشأ %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "استبعاد %s عن %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "مستحق في", "card-spent": "Spent Time", "card-edit-attachments": "تعديل المرفقات", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "تعديل العلامات", "card-edit-members": "تعديل الأعضاء", "card-labels-title": "تعديل علامات البطاقة.", @@ -118,6 +121,8 @@ "card-start": "بداية", "card-start-on": "يبدأ في", "cardAttachmentsPopup-title": "إرفاق من", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "حذف البطاقة ?", "cardDetailsActionsPopup-title": "إجراءات على البطاقة", "cardLabelsPopup-title": "علامات", @@ -167,11 +172,25 @@ "createBoardPopup-title": "إنشاء لوحة", "chooseBoardSourcePopup-title": "استيراد لوحة", "createLabelPopup-title": "إنشاء علامة", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "الحالي", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "تاريخ", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "تاريخ", "decline": "Decline", "default-avatar": "صورة شخصية افتراضية", "delete": "حذف", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "حذف العلامة ?", "description": "وصف", "disambiguateMultiLabelPopup-title": "تحديد الإجراء على العلامة", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "تغيير تاريخ البدء", "editCardDueDatePopup-title": "تغيير تاريخ الاستحقاق", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "تعديل العلامة", "editNotificationPopup-title": "تصحيح الإشعار", @@ -366,6 +386,7 @@ "title": "عنوان", "tracking": "تتبع", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "إلغاء تعيين العضو", "unsaved-description": "لديك وصف غير محفوظ", "unwatch": "غير مُشاهد", @@ -430,6 +451,7 @@ "hours": "الساعات", "minutes": "الدقائق", "seconds": "الثواني", + "show-field-on-card": "Show this field on card", "yes": "نعم", "no": "لا", "accounts": "الحسابات", diff --git a/i18n/bg.i18n.json b/i18n/bg.i18n.json index 26fea252..39cf7a47 100644 --- a/i18n/bg.i18n.json +++ b/i18n/bg.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "Коментира в __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "прикачи %s към %s", "activity-created": "създаде %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "изключи %s от %s", "activity-imported": "импортира %s в/във %s от %s", "activity-imported-board": "импортира %s от %s", @@ -111,6 +113,7 @@ "card-due-on": "Готова за", "card-spent": "Изработено време", "card-edit-attachments": "Промени прикачените файлове", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Промени етикетите", "card-edit-members": "Промени членовете", "card-labels-title": "Променете етикетите за тази карта", @@ -118,6 +121,8 @@ "card-start": "Начало", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Желаете да изтриете картата?", "cardDetailsActionsPopup-title": "Опции", "cardLabelsPopup-title": "Етикети", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Дата", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Дата", "decline": "Decline", "default-avatar": "Основен аватар", "delete": "Изтрий", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Желаете да изтриете етикета?", "description": "Описание", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Промени началната дата", "editCardDueDatePopup-title": "Промени датата за готовност", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Промени изработеното време", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Промени известията", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Следене", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Спри наблюдаването", @@ -430,6 +451,7 @@ "hours": "часа", "minutes": "минути", "seconds": "секунди", + "show-field-on-card": "Show this field on card", "yes": "Да", "no": "Не", "accounts": "Профили", diff --git a/i18n/br.i18n.json b/i18n/br.i18n.json index 817615bf..7f2c7479 100644 --- a/i18n/br.i18n.json +++ b/i18n/br.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "%s liammet ouzh %s", "activity-created": "%s krouet", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "%s enporzhiet eus %s da %s", "activity-imported-board": "%s enporzhiet da %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Diverkañ ar gartenn ?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Diverkañ", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/ca.i18n.json b/i18n/ca.i18n.json index 02e07af8..6d49f9fc 100644 --- a/i18n/ca.i18n.json +++ b/i18n/ca.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "comentat a __card__: __comment__", "act-createBoard": "creat __board__", "act-createCard": "afegit/da __card__ a __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "afegit/da __list__ a __board__", "act-addBoardMember": "afegit/da __member__ a __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "ha adjuntat %s a %s", "activity-created": "ha creat %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "ha exclòs %s de %s", "activity-imported": "importat %s dins %s des de %s", "activity-imported-board": "importat %s des de %s", @@ -111,6 +113,7 @@ "card-due-on": "Finalitza a", "card-spent": "Temps Dedicat", "card-edit-attachments": "Edita arxius adjunts", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edita etiquetes", "card-edit-members": "Edita membres", "card-labels-title": "Canvia les etiquetes de la fitxa", @@ -118,6 +121,8 @@ "card-start": "Comença", "card-start-on": "Comença a", "cardAttachmentsPopup-title": "Adjunta des de", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Esborrar fitxa?", "cardDetailsActionsPopup-title": "Accions de fitxes", "cardLabelsPopup-title": "Etiquetes", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Crea tauler", "chooseBoardSourcePopup-title": "Importa Tauler", "createLabelPopup-title": "Crea etiqueta", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "Actual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Data", "decline": "Declina", "default-avatar": "Avatar per defecte", "delete": "Esborra", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Esborra etiqueta", "description": "Descripció", "disambiguateMultiLabelPopup-title": "Desfe l'ambigüitat en les etiquetes", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Canvia data d'inici", "editCardDueDatePopup-title": "Canvia data de finalització", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Canvia temps dedicat", "editLabelPopup-title": "Canvia etiqueta", "editNotificationPopup-title": "Edita la notificació", @@ -366,6 +386,7 @@ "title": "Títol", "tracking": "En seguiment", "tracking-info": "Seràs notificat per cada canvi a aquelles fitxes de les que n'eres creador o membre", + "type": "Type", "unassign-member": "Desassignar membre", "unsaved-description": "Tens una descripció sense desar.", "unwatch": "Suprimeix observació", @@ -430,6 +451,7 @@ "hours": "hores", "minutes": "minuts", "seconds": "segons", + "show-field-on-card": "Show this field on card", "yes": "Si", "no": "No", "accounts": "Comptes", diff --git a/i18n/cs.i18n.json b/i18n/cs.i18n.json index 09c6f4e6..46d0cb70 100644 --- a/i18n/cs.i18n.json +++ b/i18n/cs.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "komentář k __card__: __comment__", "act-createBoard": "přidání __board__", "act-createCard": "přidání __card__ do __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "přidání __list__ do __board__", "act-addBoardMember": "přidání __member__ do __board__", "act-archivedBoard": "__board__ bylo přesunuto do koše", @@ -30,6 +31,7 @@ "activity-archived": "%s bylo přesunuto do koše", "activity-attached": "přiloženo %s k %s", "activity-created": "%s vytvořeno", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s vyjmuto z %s", "activity-imported": "importován %s do %s z %s", "activity-imported-board": "importován %s z %s", @@ -111,6 +113,7 @@ "card-due-on": "Do", "card-spent": "Strávený čas", "card-edit-attachments": "Upravit přílohy", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Upravit štítky", "card-edit-members": "Upravit členy", "card-labels-title": "Změnit štítky karty.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Začít dne", "cardAttachmentsPopup-title": "Přiložit formulář", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Smazat kartu?", "cardDetailsActionsPopup-title": "Akce karty", "cardLabelsPopup-title": "Štítky", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Vytvořit tablo", "chooseBoardSourcePopup-title": "Importovat tablo", "createLabelPopup-title": "Vytvořit štítek", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "Aktuální", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Datum", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Datum", "decline": "Zamítnout", "default-avatar": "Výchozí avatar", "delete": "Smazat", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Smazat štítek?", "description": "Popis", "disambiguateMultiLabelPopup-title": "Dvojznačný štítek akce", @@ -186,6 +205,7 @@ "soft-wip-limit": "Mírný WIP limit", "editCardStartDatePopup-title": "Změnit datum startu úkolu", "editCardDueDatePopup-title": "Změnit datum dokončení úkolu", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Změnit strávený čas", "editLabelPopup-title": "Změnit štítek", "editNotificationPopup-title": "Změnit notifikace", @@ -366,6 +386,7 @@ "title": "Název", "tracking": "Pozorující", "tracking-info": "Budete informováni o všech změnách v kartách, u kterých jste tvůrce nebo člen.", + "type": "Type", "unassign-member": "Vyřadit člena", "unsaved-description": "Popis neni uložen.", "unwatch": "Přestat sledovat", @@ -430,6 +451,7 @@ "hours": "hodin", "minutes": "minut", "seconds": "sekund", + "show-field-on-card": "Show this field on card", "yes": "Ano", "no": "Ne", "accounts": "Účty", diff --git a/i18n/de.i18n.json b/i18n/de.i18n.json index ee508a2c..a823daf2 100644 --- a/i18n/de.i18n.json +++ b/i18n/de.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "hat __card__ kommentiert: __comment__", "act-createBoard": "hat __board__ erstellt", "act-createCard": "hat __card__ zu __list__ hinzugefügt", + "act-createCustomField": "created custom field __customField__", "act-createList": "hat __list__ zu __board__ hinzugefügt", "act-addBoardMember": "hat __member__ zu __board__ hinzugefügt", "act-archivedBoard": "__board__ in den Papierkorb verschoben", @@ -30,6 +31,7 @@ "activity-archived": "%s in den Papierkorb verschoben", "activity-attached": "hat %s an %s angehängt", "activity-created": "hat %s erstellt", + "activity-customfield-created": "created custom field %s", "activity-excluded": "hat %s von %s ausgeschlossen", "activity-imported": "hat %s in %s von %s importiert", "activity-imported-board": "hat %s von %s importiert", @@ -111,6 +113,7 @@ "card-due-on": "Fällig am", "card-spent": "Aufgewendete Zeit", "card-edit-attachments": "Anhänge ändern", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Labels ändern", "card-edit-members": "Mitglieder ändern", "card-labels-title": "Labels für diese Karte ändern.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Start am", "cardAttachmentsPopup-title": "Anhängen von", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Karte löschen?", "cardDetailsActionsPopup-title": "Kartenaktionen", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Board erstellen", "chooseBoardSourcePopup-title": "Board importieren", "createLabelPopup-title": "Label erstellen", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "aktuell", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Datum", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Datum", "decline": "Ablehnen", "default-avatar": "Standard Profilbild", "delete": "Löschen", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Label löschen?", "description": "Beschreibung", "disambiguateMultiLabelPopup-title": "Labels vereinheitlichen", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP-Limit", "editCardStartDatePopup-title": "Startdatum ändern", "editCardDueDatePopup-title": "Fälligkeitsdatum ändern", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Aufgewendete Zeit ändern", "editLabelPopup-title": "Label ändern", "editNotificationPopup-title": "Benachrichtigung ändern", @@ -366,6 +386,7 @@ "title": "Titel", "tracking": "Folgen", "tracking-info": "Sie werden über alle Änderungen an Karten benachrichtigt, an denen Sie als Ersteller oder Mitglied beteiligt sind.", + "type": "Type", "unassign-member": "Mitglied entfernen", "unsaved-description": "Sie haben eine nicht gespeicherte Änderung.", "unwatch": "Beobachtung entfernen", @@ -430,6 +451,7 @@ "hours": "Stunden", "minutes": "Minuten", "seconds": "Sekunden", + "show-field-on-card": "Show this field on card", "yes": "Ja", "no": "Nein", "accounts": "Konten", diff --git a/i18n/el.i18n.json b/i18n/el.i18n.json index 0befbe1f..09b8fda7 100644 --- a/i18n/el.i18n.json +++ b/i18n/el.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Έως τις", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Διαγραφή Κάρτας;", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Ετικέτες", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Ημερομηνία", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Ημερομηνία", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Διαγραφή", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Τίτλος", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "ώρες", "minutes": "λεπτά", "seconds": "δευτερόλεπτα", + "show-field-on-card": "Show this field on card", "yes": "Ναι", "no": "Όχι", "accounts": "Λογαριασμοί", diff --git a/i18n/en-GB.i18n.json b/i18n/en-GB.i18n.json index d9b4c0f9..8f8f5c4e 100644 --- a/i18n/en-GB.i18n.json +++ b/i18n/en-GB.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/eo.i18n.json b/i18n/eo.i18n.json index 5b783648..177c2270 100644 --- a/i18n/eo.i18n.json +++ b/i18n/eo.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "Kreiis __board__", "act-createCard": "Aldonis __card__ al __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "Aldonis __card__ al __board__", "act-addBoardMember": "Aldonis __member__ al __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "Kreiis %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Redakti etikedojn", "card-edit-members": "Redakti membrojn", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Komenco", "card-start-on": "Komencas je la", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Etikedoj", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Krei tavolon", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Dato", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Dato", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Redakti komencdaton", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Ŝanĝi etikedon", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Titolo", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/es-AR.i18n.json b/i18n/es-AR.i18n.json index d450d000..6e410413 100644 --- a/i18n/es-AR.i18n.json +++ b/i18n/es-AR.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "comentado en __card__: __comment__", "act-createBoard": "__board__ creado", "act-createCard": "agregada __card__ a __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "agregada __list__ a __board__", "act-addBoardMember": "agregado __member__ a __board__", "act-archivedBoard": "__board__ movido a Papelera de Reciclaje", @@ -30,6 +31,7 @@ "activity-archived": "%s movido a Papelera de Reciclaje", "activity-attached": "adjuntadas %s a %s", "activity-created": "creadas %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluidas %s de %s", "activity-imported": "importadas %s en %s de %s", "activity-imported-board": "importadas %s de %s", @@ -111,6 +113,7 @@ "card-due-on": "Vence en", "card-spent": "Tiempo Empleado", "card-edit-attachments": "Editar adjuntos", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Editar etiquetas", "card-edit-members": "Editar miembros", "card-labels-title": "Cambiar las etiquetas de la tarjeta.", @@ -118,6 +121,8 @@ "card-start": "Empieza", "card-start-on": "Empieza el", "cardAttachmentsPopup-title": "Adjuntar De", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "¿Borrar Tarjeta?", "cardDetailsActionsPopup-title": "Acciones de la Tarjeta", "cardLabelsPopup-title": "Etiquetas", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Crear Tablero", "chooseBoardSourcePopup-title": "Importar tablero", "createLabelPopup-title": "Crear Etiqueta", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "actual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Fecha", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Fecha", "decline": "Rechazar", "default-avatar": "Avatar por defecto", "delete": "Borrar", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "¿Borrar Etiqueta?", "description": "Descripción", "disambiguateMultiLabelPopup-title": "Desambiguación de Acción de Etiqueta", @@ -186,6 +205,7 @@ "soft-wip-limit": "Límite TEP suave", "editCardStartDatePopup-title": "Cambiar fecha de inicio", "editCardDueDatePopup-title": "Cambiar fecha de vencimiento", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Cambiar tiempo empleado", "editLabelPopup-title": "Cambiar Etiqueta", "editNotificationPopup-title": "Editar Notificación", @@ -366,6 +386,7 @@ "title": "Título", "tracking": "Seguimiento", "tracking-info": "Serás notificado de cualquier cambio a aquellas tarjetas en las que seas creador o miembro.", + "type": "Type", "unassign-member": "Desasignar miembro", "unsaved-description": "Tienes una descripción sin guardar.", "unwatch": "Dejar de seguir", @@ -430,6 +451,7 @@ "hours": "horas", "minutes": "minutos", "seconds": "segundos", + "show-field-on-card": "Show this field on card", "yes": "Si", "no": "No", "accounts": "Cuentas", diff --git a/i18n/es.i18n.json b/i18n/es.i18n.json index 532c7df4..7e575d8b 100644 --- a/i18n/es.i18n.json +++ b/i18n/es.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "ha comentado en __card__: __comment__", "act-createBoard": "ha creado __board__", "act-createCard": "ha añadido __card__ a __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "ha añadido __list__ a __board__", "act-addBoardMember": "ha añadido a __member__ a __board__", "act-archivedBoard": "__board__ se ha enviado a la papelera de reciclaje", @@ -30,6 +31,7 @@ "activity-archived": "%s se ha enviado a la papelera de reciclaje", "activity-attached": "ha adjuntado %s a %s", "activity-created": "ha creado %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "ha excluido %s de %s", "activity-imported": "ha importado %s a %s desde %s", "activity-imported-board": "ha importado %s desde %s", @@ -111,6 +113,7 @@ "card-due-on": "Vence el", "card-spent": "Tiempo consumido", "card-edit-attachments": "Editar los adjuntos", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Editar las etiquetas", "card-edit-members": "Editar los miembros", "card-labels-title": "Cambia las etiquetas de la tarjeta", @@ -118,6 +121,8 @@ "card-start": "Comienza", "card-start-on": "Comienza el", "cardAttachmentsPopup-title": "Adjuntar desde", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "¿Eliminar la tarjeta?", "cardDetailsActionsPopup-title": "Acciones de la tarjeta", "cardLabelsPopup-title": "Etiquetas", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Crear tablero", "chooseBoardSourcePopup-title": "Importar un tablero", "createLabelPopup-title": "Crear etiqueta", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "actual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Fecha", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Fecha", "decline": "Declinar", "default-avatar": "Avatar por defecto", "delete": "Eliminar", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "¿Eliminar la etiqueta?", "description": "Descripción", "disambiguateMultiLabelPopup-title": "Desambiguar la acción de etiqueta", @@ -186,6 +205,7 @@ "soft-wip-limit": "Límite del trabajo en proceso flexible", "editCardStartDatePopup-title": "Cambiar la fecha de comienzo", "editCardDueDatePopup-title": "Cambiar la fecha de vencimiento", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Cambiar el tiempo consumido", "editLabelPopup-title": "Cambiar la etiqueta", "editNotificationPopup-title": "Editar las notificaciones", @@ -366,6 +386,7 @@ "title": "Título", "tracking": "Siguiendo", "tracking-info": "Serás notificado de cualquier cambio en las tarjetas en las que participas como creador o miembro.", + "type": "Type", "unassign-member": "Desvincular al miembro", "unsaved-description": "Tienes una descripción por añadir.", "unwatch": "Dejar de vigilar", @@ -430,6 +451,7 @@ "hours": "horas", "minutes": "minutos", "seconds": "segundos", + "show-field-on-card": "Show this field on card", "yes": "Sí", "no": "No", "accounts": "Cuentas", diff --git a/i18n/eu.i18n.json b/i18n/eu.i18n.json index 025fddfb..7a079103 100644 --- a/i18n/eu.i18n.json +++ b/i18n/eu.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "__card__ txartelean iruzkina: __comment__", "act-createBoard": "__board__ sortuta", "act-createCard": "__card__ __list__ zerrrendara gehituta", + "act-createCustomField": "created custom field __customField__", "act-createList": "__list__ __board__ arbelera gehituta", "act-addBoardMember": "__member__ __board__ arbelera gehituta", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "%s %s(e)ra erantsita", "activity-created": "%s sortuta", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s %s(e)tik kanpo utzita", "activity-imported": "%s inportatuta %s(e)ra %s(e)tik", "activity-imported-board": "%s inportatuta %s(e)tik", @@ -111,6 +113,7 @@ "card-due-on": "Epemuga", "card-spent": "Erabilitako denbora", "card-edit-attachments": "Editatu eranskinak", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Editatu etiketak", "card-edit-members": "Editatu kideak", "card-labels-title": "Aldatu txartelaren etiketak", @@ -118,6 +121,8 @@ "card-start": "Hasiera", "card-start-on": "Hasiera", "cardAttachmentsPopup-title": "Erantsi hemendik", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Ezabatu txartela?", "cardDetailsActionsPopup-title": "Txartel-ekintzak", "cardLabelsPopup-title": "Etiketak", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Sortu arbela", "chooseBoardSourcePopup-title": "Inportatu arbela", "createLabelPopup-title": "Sortu etiketa", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "unekoa", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Data", "decline": "Ukatu", "default-avatar": "Lehenetsitako avatarra", "delete": "Ezabatu", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Ezabatu etiketa?", "description": "Deskripzioa", "disambiguateMultiLabelPopup-title": "Argitu etiketaren ekintza", @@ -186,6 +205,7 @@ "soft-wip-limit": "WIP muga malgua", "editCardStartDatePopup-title": "Aldatu hasiera data", "editCardDueDatePopup-title": "Aldatu epemuga data", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Aldatu erabilitako denbora", "editLabelPopup-title": "Aldatu etiketa", "editNotificationPopup-title": "Editatu jakinarazpena", @@ -366,6 +386,7 @@ "title": "Izenburua", "tracking": "Jarraitzen", "tracking-info": "Sortzaile edo kide gisa parte-hartzen duzun txartelei egindako aldaketak jakinaraziko zaizkizu.", + "type": "Type", "unassign-member": "Kendu kidea", "unsaved-description": "Gorde gabeko deskripzio bat duzu", "unwatch": "Utzi ikuskatzeari", @@ -430,6 +451,7 @@ "hours": "ordu", "minutes": "minutu", "seconds": "segundo", + "show-field-on-card": "Show this field on card", "yes": "Bai", "no": "Ez", "accounts": "Kontuak", diff --git a/i18n/fa.i18n.json b/i18n/fa.i18n.json index cf9e062f..52f8abbf 100644 --- a/i18n/fa.i18n.json +++ b/i18n/fa.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "درج نظر برای __card__: __comment__", "act-createBoard": "__board__ ایجاد شد", "act-createCard": "__card__ به __list__ اضافه شد", + "act-createCustomField": "created custom field __customField__", "act-createList": "__list__ به __board__ اضافه شد", "act-addBoardMember": "__member__ به __board__ اضافه شد", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "%s به %s پیوست شد", "activity-created": "%s ایجاد شد", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s از %s مستثنی گردید", "activity-imported": "%s از %s وارد %s شد", "activity-imported-board": "%s از %s وارد شد", @@ -111,6 +113,7 @@ "card-due-on": "مقتضی بر", "card-spent": "زمان صرف شده", "card-edit-attachments": "ویرایش ضمائم", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "ویرایش برچسب", "card-edit-members": "ویرایش اعضا", "card-labels-title": "تغییر برچسب کارت", @@ -118,6 +121,8 @@ "card-start": "شروع", "card-start-on": "شروع از", "cardAttachmentsPopup-title": "ضمیمه از", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "آیا می خواهید کارت را حذف کنید؟", "cardDetailsActionsPopup-title": "اعمال کارت", "cardLabelsPopup-title": "برچسب ها", @@ -167,11 +172,25 @@ "createBoardPopup-title": "ایجاد تخته", "chooseBoardSourcePopup-title": "بارگذاری تخته", "createLabelPopup-title": "ایجاد برچسب", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "جاری", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "تاریخ", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "تاریخ", "decline": "رد", "default-avatar": "تصویر پیش فرض", "delete": "حذف", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "آیا می خواهید برچسب را حذف کنید؟", "description": "توضیحات", "disambiguateMultiLabelPopup-title": "عمل ابهام زدایی از برچسب", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "تغییر تاریخ آغاز", "editCardDueDatePopup-title": "تغییر تاریخ بدلیل", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "تغییر زمان صرف شده", "editLabelPopup-title": "تغیر برچسب", "editNotificationPopup-title": "اصلاح اعلان", @@ -366,6 +386,7 @@ "title": "عنوان", "tracking": "پیگردی", "tracking-info": "شما از هرگونه تغییر در کارتهایی که بعنوان ایجاد کننده ویا عضو آن هستید، آگاه خواهید شد", + "type": "Type", "unassign-member": "عدم انتصاب کاربر", "unsaved-description": "شما توضیحات ذخیره نشده دارید.", "unwatch": "عدم دیده بانی", @@ -430,6 +451,7 @@ "hours": "ساعت", "minutes": "دقیقه", "seconds": "ثانیه", + "show-field-on-card": "Show this field on card", "yes": "بله", "no": "خیر", "accounts": "حساب‌ها", diff --git a/i18n/fi.i18n.json b/i18n/fi.i18n.json index a68831dc..31976b9b 100644 --- a/i18n/fi.i18n.json +++ b/i18n/fi.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "kommentoitu __card__: __comment__", "act-createBoard": "luotu __board__", "act-createCard": "lisätty __card__ listalle __list__", + "act-createCustomField": "luo mukautettu kenttä __customField__", "act-createList": "lisätty __list__ taululle __board__", "act-addBoardMember": "lisätty __member__ taululle __board__", "act-archivedBoard": "__board__ siirretty roskakoriin", @@ -30,6 +31,7 @@ "activity-archived": "%s siirretty roskakoriin", "activity-attached": "liitetty %s kohteeseen %s", "activity-created": "luotu %s", + "activity-customfield-created": "luotu mukautettu kenttä %s", "activity-excluded": "poistettu %s kohteesta %s", "activity-imported": "tuotu %s kohteeseen %s lähteestä %s", "activity-imported-board": "tuotu %s lähteestä %s", @@ -111,6 +113,7 @@ "card-due-on": "Erääntyy", "card-spent": "Käytetty aika", "card-edit-attachments": "Muokkaa liitetiedostoja", + "card-edit-custom-fields": "Muokkaa mukautettua kenttää", "card-edit-labels": "Muokkaa tunnisteita", "card-edit-members": "Muokkaa jäseniä", "card-labels-title": "Muokkaa kortin tunnisteita.", @@ -118,6 +121,8 @@ "card-start": "Alkaa", "card-start-on": "Alkaa", "cardAttachmentsPopup-title": "Liitä mistä", + "cardCustomField-datePopup-title": "Muokkaa päivää", + "cardCustomFieldsPopup-title": "Muokkaa mukautettuja kenttiä", "cardDeletePopup-title": "Poista kortti?", "cardDetailsActionsPopup-title": "Kortti toimet", "cardLabelsPopup-title": "Tunnisteet", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Luo taulu", "chooseBoardSourcePopup-title": "Tuo taulu", "createLabelPopup-title": "Luo tunniste", + "createCustomField": "Luo kenttä", + "createCustomFieldPopup-title": "Luo kenttä", "current": "nykyinen", + "custom-field-delete-pop": "Tätä ei voi peruuttaa. Tämä poistaa tämän mukautetun kentän kaikista korteista ja poistaa sen historian.", + "custom-field-checkbox": "Valintaruutu", + "custom-field-date": "Päivämäärä", + "custom-field-dropdown": "Pudotusvalikko", + "custom-field-dropdown-none": "(ei mitään)", + "custom-field-dropdown-options": "Luettelon vaihtoehdot", + "custom-field-dropdown-options-placeholder": "Paina Enter lisätäksesi lisää vaihtoehtoja", + "custom-field-dropdown-unknown": "(tuntematon)", + "custom-field-number": "Numero", + "custom-field-text": "Teksti", + "custom-fields": "Mukautetut kentät", "date": "Päivämäärä", "decline": "Kieltäydy", "default-avatar": "Oletus profiilikuva", "delete": "Poista", + "deleteCustomFieldPopup-title": "Poista mukautettu kenttä?", "deleteLabelPopup-title": "Poista tunniste?", "description": "Kuvaus", "disambiguateMultiLabelPopup-title": "Yksikäsitteistä tunniste toiminta", @@ -186,6 +205,7 @@ "soft-wip-limit": "Pehmeä WIP raja", "editCardStartDatePopup-title": "Muokkaa aloituspäivää", "editCardDueDatePopup-title": "Muokkaa eräpäivää", + "editCustomFieldPopup-title": "Muokkaa kenttää", "editCardSpentTimePopup-title": "Muuta käytettyä aikaa", "editLabelPopup-title": "Muokkaa tunnistetta", "editNotificationPopup-title": "Muokkaa ilmoituksia", @@ -366,6 +386,7 @@ "title": "Otsikko", "tracking": "Ilmoitukset", "tracking-info": "Sinulle ilmoitetaan muutoksista korteissa joihin olet osallistunut luojana tai jäsenenä.", + "type": "Tyyppi", "unassign-member": "Peru jäsenvalinta", "unsaved-description": "Sinulla on tallentamaton kuvaus.", "unwatch": "Lopeta seuraaminen", @@ -430,6 +451,7 @@ "hours": "tuntia", "minutes": "minuuttia", "seconds": "sekuntia", + "show-field-on-card": "Näytä tämä kenttä kortilla", "yes": "Kyllä", "no": "Ei", "accounts": "Tilit", diff --git a/i18n/fr.i18n.json b/i18n/fr.i18n.json index 23a11142..9f0e1fa2 100644 --- a/i18n/fr.i18n.json +++ b/i18n/fr.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "a commenté __card__ : __comment__", "act-createBoard": "a créé __board__", "act-createCard": "a ajouté __card__ à __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "a ajouté __list__ à __board__", "act-addBoardMember": "a ajouté __member__ à __board__", "act-archivedBoard": "__board__ a été déplacé vers la corbeille", @@ -30,6 +31,7 @@ "activity-archived": "%s a été déplacé vers la corbeille", "activity-attached": "a attaché %s à %s", "activity-created": "a créé %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "a exclu %s de %s", "activity-imported": "a importé %s vers %s depuis %s", "activity-imported-board": "a importé %s depuis %s", @@ -111,6 +113,7 @@ "card-due-on": "Échéance le", "card-spent": "Temps passé", "card-edit-attachments": "Modifier les pièces jointes", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Modifier les étiquettes", "card-edit-members": "Modifier les membres", "card-labels-title": "Modifier les étiquettes de la carte.", @@ -118,6 +121,8 @@ "card-start": "Début", "card-start-on": "Commence le", "cardAttachmentsPopup-title": "Joindre depuis", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Supprimer la carte ?", "cardDetailsActionsPopup-title": "Actions sur la carte", "cardLabelsPopup-title": "Étiquettes", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Créer un tableau", "chooseBoardSourcePopup-title": "Importer un tableau", "createLabelPopup-title": "Créer une étiquette", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "actuel", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Refuser", "default-avatar": "Avatar par défaut", "delete": "Supprimer", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Supprimer l'étiquette ?", "description": "Description", "disambiguateMultiLabelPopup-title": "Préciser l'action sur l'étiquette", @@ -186,6 +205,7 @@ "soft-wip-limit": "Limite WIP douce", "editCardStartDatePopup-title": "Modifier la date de début", "editCardDueDatePopup-title": "Modifier la date d'échéance", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Changer le temps passé", "editLabelPopup-title": "Modifier l'étiquette", "editNotificationPopup-title": "Modifier la notification", @@ -366,6 +386,7 @@ "title": "Titre", "tracking": "Suivi", "tracking-info": "Vous serez notifié de toute modification concernant les cartes pour lesquelles vous êtes impliqué en tant que créateur ou membre.", + "type": "Type", "unassign-member": "Retirer le membre", "unsaved-description": "Vous avez une description non sauvegardée", "unwatch": "Arrêter de suivre", @@ -430,6 +451,7 @@ "hours": "heures", "minutes": "minutes", "seconds": "secondes", + "show-field-on-card": "Show this field on card", "yes": "Oui", "no": "Non", "accounts": "Comptes", diff --git a/i18n/gl.i18n.json b/i18n/gl.i18n.json index faab1d9b..6712c2c6 100644 --- a/i18n/gl.i18n.json +++ b/i18n/gl.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Editar anexos", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Editar etiquetas", "card-edit-members": "Editar membros", "card-labels-title": "Cambiar as etiquetas da tarxeta.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Etiquetas", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Crear taboleiro", "chooseBoardSourcePopup-title": "Importar taboleiro", "createLabelPopup-title": "Crear etiqueta", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "actual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Data", "decline": "Rexeitar", "default-avatar": "Avatar predeterminado", "delete": "Eliminar", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Eliminar a etiqueta?", "description": "Descrición", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Cambiar a data de inicio", "editCardDueDatePopup-title": "Cambiar a data límite", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Cambiar a etiqueta", "editNotificationPopup-title": "Editar a notificación", @@ -366,6 +386,7 @@ "title": "Título", "tracking": "Seguimento", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/he.i18n.json b/i18n/he.i18n.json index b3c91549..6d9c9b5c 100644 --- a/i18n/he.i18n.json +++ b/i18n/he.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "התקבלה תגובה על הכרטיס __card__:‏ __comment__", "act-createBoard": "הלוח __board__ נוצר", "act-createCard": "הכרטיס __card__ התווסף לרשימה __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "הרשימה __list__ התווספה ללוח __board__", "act-addBoardMember": "המשתמש __member__ נוסף ללוח __board__", "act-archivedBoard": "__board__ הועבר לסל המחזור", @@ -30,6 +31,7 @@ "activity-archived": "%s הועבר לסל המחזור", "activity-attached": "%s צורף ל%s", "activity-created": "%s נוצר", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s לא נכלל ב%s", "activity-imported": "%s ייובא מ%s אל %s", "activity-imported-board": "%s ייובא מ%s", @@ -111,6 +113,7 @@ "card-due-on": "תאריך יעד", "card-spent": "זמן שהושקע", "card-edit-attachments": "עריכת קבצים מצורפים", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "עריכת תוויות", "card-edit-members": "עריכת חברים", "card-labels-title": "שינוי תוויות לכרטיס.", @@ -118,6 +121,8 @@ "card-start": "התחלה", "card-start-on": "מתחיל ב־", "cardAttachmentsPopup-title": "לצרף מ־", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "למחוק כרטיס?", "cardDetailsActionsPopup-title": "פעולות על הכרטיס", "cardLabelsPopup-title": "תוויות", @@ -167,11 +172,25 @@ "createBoardPopup-title": "יצירת לוח", "chooseBoardSourcePopup-title": "ייבוא לוח", "createLabelPopup-title": "יצירת תווית", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "נוכחי", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "תאריך", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "תאריך", "decline": "סירוב", "default-avatar": "תמונת משתמש כבררת מחדל", "delete": "מחיקה", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "למחוק תווית?", "description": "תיאור", "disambiguateMultiLabelPopup-title": "הבהרת פעולת תווית", @@ -186,6 +205,7 @@ "soft-wip-limit": "מגבלת „בעבודה” רכה", "editCardStartDatePopup-title": "שינוי מועד התחלה", "editCardDueDatePopup-title": "שינוי מועד סיום", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "שינוי הזמן שהושקע", "editLabelPopup-title": "שינוי תווית", "editNotificationPopup-title": "שינוי דיווח", @@ -366,6 +386,7 @@ "title": "כותרת", "tracking": "מעקב", "tracking-info": "על כל שינוי בכרטיסים בהם הייתה לך מעורבות ברמת היצירה או כחברות תגיע אליך הודעה.", + "type": "Type", "unassign-member": "ביטול הקצאת חבר", "unsaved-description": "יש לך תיאור לא שמור.", "unwatch": "ביטול מעקב", @@ -430,6 +451,7 @@ "hours": "שעות", "minutes": "דקות", "seconds": "שניות", + "show-field-on-card": "Show this field on card", "yes": "כן", "no": "לא", "accounts": "חשבונות", diff --git a/i18n/hu.i18n.json b/i18n/hu.i18n.json index 94af52d1..cdec6414 100644 --- a/i18n/hu.i18n.json +++ b/i18n/hu.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "hozzászólt a(z) __card__ kártyán: __comment__", "act-createBoard": "létrehozta a táblát: __board__", "act-createCard": "__card__ kártyát adott hozzá a listához: __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "__list__ listát adott hozzá a táblához: __board__", "act-addBoardMember": "__member__ tagot hozzáadta a táblához: __board__", "act-archivedBoard": "A __board__ tábla a lomtárba került.", @@ -30,6 +31,7 @@ "activity-archived": "%s lomtárba helyezve", "activity-attached": "%s mellékletet csatolt a kártyához: %s", "activity-created": "%s létrehozva", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s kizárva innen: %s", "activity-imported": "%s importálva ebbe: %s, innen: %s", "activity-imported-board": "%s importálva innen: %s", @@ -111,6 +113,7 @@ "card-due-on": "Esedékes ekkor", "card-spent": "Eltöltött idő", "card-edit-attachments": "Mellékletek szerkesztése", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Címkék szerkesztése", "card-edit-members": "Tagok szerkesztése", "card-labels-title": "A kártya címkéinek megváltoztatása.", @@ -118,6 +121,8 @@ "card-start": "Kezdés", "card-start-on": "Kezdés ekkor", "cardAttachmentsPopup-title": "Innen csatolva", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Törli a kártyát?", "cardDetailsActionsPopup-title": "Kártyaműveletek", "cardLabelsPopup-title": "Címkék", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Tábla létrehozása", "chooseBoardSourcePopup-title": "Tábla importálása", "createLabelPopup-title": "Címke létrehozása", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "jelenlegi", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Dátum", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Dátum", "decline": "Elutasítás", "default-avatar": "Alapértelmezett avatár", "delete": "Törlés", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Törli a címkét?", "description": "Leírás", "disambiguateMultiLabelPopup-title": "Címkeművelet egyértelműsítése", @@ -186,6 +205,7 @@ "soft-wip-limit": "Gyenge WIP korlát", "editCardStartDatePopup-title": "Kezdődátum megváltoztatása", "editCardDueDatePopup-title": "Esedékesség dátumának megváltoztatása", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Eltöltött idő megváltoztatása", "editLabelPopup-title": "Címke megváltoztatása", "editNotificationPopup-title": "Értesítés szerkesztése", @@ -366,6 +386,7 @@ "title": "Cím", "tracking": "Követés", "tracking-info": "Értesítve lesz az összes olyan kártya változásáról, amelyen létrehozóként vagy tagként vesz részt.", + "type": "Type", "unassign-member": "Tag hozzárendelésének megszüntetése", "unsaved-description": "Van egy mentetlen leírása.", "unwatch": "Megfigyelés megszüntetése", @@ -430,6 +451,7 @@ "hours": "óra", "minutes": "perc", "seconds": "másodperc", + "show-field-on-card": "Show this field on card", "yes": "Igen", "no": "Nem", "accounts": "Fiókok", diff --git a/i18n/hy.i18n.json b/i18n/hy.i18n.json index 8c06d36d..44c20184 100644 --- a/i18n/hy.i18n.json +++ b/i18n/hy.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "մեկնաբանել է __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/id.i18n.json b/i18n/id.i18n.json index 2bc60852..5a1c6683 100644 --- a/i18n/id.i18n.json +++ b/i18n/id.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "Dikomentari di__kartu__:__comment__", "act-createBoard": "Panel__dibuat__", "act-createCard": "Kartu__dilampirkan__ke__Daftar", + "act-createCustomField": "created custom field __customField__", "act-createList": "Daftar__ditambahkan__ke__Panel", "act-addBoardMember": "Partisipan__ditambahkan__ke__Kartu", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "dilampirkan %s ke %s", "activity-created": "dibuat %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "tidak termasuk %s dari %s", "activity-imported": "diimpor %s kedalam %s dari %s", "activity-imported-board": "diimpor %s dari %s", @@ -111,6 +113,7 @@ "card-due-on": "Jatuh Tempo pada", "card-spent": "Spent Time", "card-edit-attachments": "Sunting lampiran", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Sunting label", "card-edit-members": "Sunting anggota", "card-labels-title": "Ubah label kartu", @@ -118,6 +121,8 @@ "card-start": "Mulai", "card-start-on": "Mulai pada", "cardAttachmentsPopup-title": "Lampirkan dari", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Hapus kartu", "cardDetailsActionsPopup-title": "Aksi Kartu", "cardLabelsPopup-title": "Daftar Label", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Buat Panel", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Buat Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "sekarang", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Tanggal", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Tanggal", "decline": "Tolak", "default-avatar": "Avatar standar", "delete": "Hapus", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Hapus label?", "description": "Deskripsi", "disambiguateMultiLabelPopup-title": "Abaikan label Aksi", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Ubah tanggal mulai", "editCardDueDatePopup-title": "Ubah tanggal selesai", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Ubah Label", "editNotificationPopup-title": "Sunting Pemberitahuan", @@ -366,6 +386,7 @@ "title": "Judul", "tracking": "Pelacakan", "tracking-info": "Anda akan dinotifikasi semua perubahan di kartu tersebut diaman anda terlibat sebagai creator atau partisipan", + "type": "Type", "unassign-member": "Tidak sertakan partisipan", "unsaved-description": "Anda memiliki deskripsi yang belum disimpan.", "unwatch": "Tidak mengamati", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/ig.i18n.json b/i18n/ig.i18n.json index f7746d5c..6c0a259d 100644 --- a/i18n/ig.i18n.json +++ b/i18n/ig.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Bido", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Aha", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "elekere", "minutes": "nkeji", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Ee", "no": "Mba", "accounts": "Accounts", diff --git a/i18n/it.i18n.json b/i18n/it.i18n.json index 36879924..905b8e40 100644 --- a/i18n/it.i18n.json +++ b/i18n/it.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "ha commentato su __card__: __comment__", "act-createBoard": "ha creato __board__", "act-createCard": "ha aggiunto __card__ a __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "ha aggiunto __list__ a __board__", "act-addBoardMember": "ha aggiunto __member__ a __board__", "act-archivedBoard": "__board__ spostata nel cestino", @@ -30,6 +31,7 @@ "activity-archived": "%s spostato nel cestino", "activity-attached": "allegato %s a %s", "activity-created": "creato %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "escluso %s da %s", "activity-imported": "importato %s in %s da %s", "activity-imported-board": "importato %s da %s", @@ -111,6 +113,7 @@ "card-due-on": "Scade", "card-spent": "Tempo trascorso", "card-edit-attachments": "Modifica allegati", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Modifica etichette", "card-edit-members": "Modifica membri", "card-labels-title": "Cambia le etichette per questa scheda.", @@ -118,6 +121,8 @@ "card-start": "Inizio", "card-start-on": "Inizia", "cardAttachmentsPopup-title": "Allega da", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Elimina scheda?", "cardDetailsActionsPopup-title": "Azioni scheda", "cardLabelsPopup-title": "Etichette", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Crea bacheca", "chooseBoardSourcePopup-title": "Importa bacheca", "createLabelPopup-title": "Crea etichetta", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "corrente", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Data", "decline": "Declina", "default-avatar": "Avatar predefinito", "delete": "Elimina", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Eliminare etichetta?", "description": "Descrizione", "disambiguateMultiLabelPopup-title": "Disambiguare l'azione Etichetta", @@ -186,6 +205,7 @@ "soft-wip-limit": "Limite Work in progress soft", "editCardStartDatePopup-title": "Cambia data di inizio", "editCardDueDatePopup-title": "Cambia data di scadenza", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Cambia tempo trascorso", "editLabelPopup-title": "Cambia etichetta", "editNotificationPopup-title": "Modifica notifiche", @@ -366,6 +386,7 @@ "title": "Titolo", "tracking": "Monitoraggio", "tracking-info": "Sarai notificato per tutte le modifiche alle schede delle quali sei creatore o membro.", + "type": "Type", "unassign-member": "Rimuovi membro", "unsaved-description": "Hai una descrizione non salvata", "unwatch": "Non seguire", @@ -430,6 +451,7 @@ "hours": "ore", "minutes": "minuti", "seconds": "secondi", + "show-field-on-card": "Show this field on card", "yes": "Sì", "no": "No", "accounts": "Profili", diff --git a/i18n/ja.i18n.json b/i18n/ja.i18n.json index c55be771..85094475 100644 --- a/i18n/ja.i18n.json +++ b/i18n/ja.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "__card__: __comment__ をコメントしました", "act-createBoard": "__board__ を作成しました", "act-createCard": "__list__ に __card__ を追加しました", + "act-createCustomField": "created custom field __customField__", "act-createList": "__board__ に __list__ を追加しました", "act-addBoardMember": "__board__ に __member__ を追加しました", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "%s を %s に添付しました", "activity-created": "%s を作成しました", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s を %s から除外しました", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "期限日", "card-spent": "Spent Time", "card-edit-attachments": "添付ファイルの編集", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "ラベルの編集", "card-edit-members": "メンバーの編集", "card-labels-title": "カードのラベルを変更する", @@ -118,6 +121,8 @@ "card-start": "開始", "card-start-on": "開始日", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "カードを削除しますか?", "cardDetailsActionsPopup-title": "カード操作", "cardLabelsPopup-title": "ラベル", @@ -167,11 +172,25 @@ "createBoardPopup-title": "ボードの作成", "chooseBoardSourcePopup-title": "ボードをインポート", "createLabelPopup-title": "ラベルの作成", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "現在", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "日付", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "日付", "decline": "拒否", "default-avatar": "デフォルトのアバター", "delete": "削除", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "ラベルを削除しますか?", "description": "詳細", "disambiguateMultiLabelPopup-title": "不正なラベル操作", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "開始日の変更", "editCardDueDatePopup-title": "期限の変更", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "ラベルの変更", "editNotificationPopup-title": "通知の変更", @@ -366,6 +386,7 @@ "title": "タイトル", "tracking": "トラッキング", "tracking-info": "これらのカードへの変更が通知されるようになります。", + "type": "Type", "unassign-member": "未登録のメンバー", "unsaved-description": "未保存の変更があります。", "unwatch": "アンウォッチ", @@ -430,6 +451,7 @@ "hours": "時", "minutes": "分", "seconds": "秒", + "show-field-on-card": "Show this field on card", "yes": "はい", "no": "いいえ", "accounts": "アカウント", diff --git a/i18n/ko.i18n.json b/i18n/ko.i18n.json index 35d2b447..5d28430b 100644 --- a/i18n/ko.i18n.json +++ b/i18n/ko.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "__card__에 내용 추가 : __comment__", "act-createBoard": "__board__ 생성", "act-createCard": "__list__에 __card__ 추가", + "act-createCustomField": "created custom field __customField__", "act-createList": "__board__에 __list__ 추가", "act-addBoardMember": "__board__에 __member__ 추가", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "%s를 %s에 첨부함", "activity-created": "%s 생성됨", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s를 %s에서 제외함", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "종료일", "card-spent": "Spent Time", "card-edit-attachments": "첨부 파일 수정", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "라벨 수정", "card-edit-members": "멤버 수정", "card-labels-title": "카드의 라벨 변경.", @@ -118,6 +121,8 @@ "card-start": "시작일", "card-start-on": "시작일", "cardAttachmentsPopup-title": "첨부 파일", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "카드를 삭제합니까?", "cardDetailsActionsPopup-title": "카드 액션", "cardLabelsPopup-title": "라벨", @@ -167,11 +172,25 @@ "createBoardPopup-title": "보드 생성", "chooseBoardSourcePopup-title": "보드 가져오기", "createLabelPopup-title": "라벨 생성", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "경향", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "날짜", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "날짜", "decline": "쇠퇴", "default-avatar": "기본 아바타", "delete": "삭제", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "라벨을 삭제합니까?", "description": "설명", "disambiguateMultiLabelPopup-title": "라벨 액션의 모호성 제거", @@ -186,6 +205,7 @@ "soft-wip-limit": "원만한 WIP 제한", "editCardStartDatePopup-title": "시작일 변경", "editCardDueDatePopup-title": "종료일 변경", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "라벨 변경", "editNotificationPopup-title": "알림 수정", @@ -366,6 +386,7 @@ "title": "제목", "tracking": "추적", "tracking-info": "보드 생성자 또는 멤버로 참여하는 모든 카드에 대한 변경사항 알림 받음", + "type": "Type", "unassign-member": "멤버 할당 해제", "unsaved-description": "저장되지 않은 설명이 있습니다.", "unwatch": "감시 해제", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/lv.i18n.json b/i18n/lv.i18n.json index 82bfa1cc..9dbdfaa2 100644 --- a/i18n/lv.i18n.json +++ b/i18n/lv.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "komentēja __card__: __comment__", "act-createBoard": "izveidoja __board__", "act-createCard": "pievienoja __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "pievienoja __list__ to __board__", "act-addBoardMember": "pievienoja __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "pievienoja %s pie %s", "activity-created": "izveidoja%s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "izslēdza%s no%s", "activity-imported": "importēja %s iekšā%s no%s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/mn.i18n.json b/i18n/mn.i18n.json index 13e96ed6..04f11c2c 100644 --- a/i18n/mn.i18n.json +++ b/i18n/mn.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Самбар үүсгэх", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Шошго үүсгэх", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Мэдэгдэл тохируулах", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/nb.i18n.json b/i18n/nb.i18n.json index 3b30ada9..8fa570ac 100644 --- a/i18n/nb.i18n.json +++ b/i18n/nb.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "kommenterte til __card__: __comment__", "act-createBoard": "opprettet __board__", "act-createCard": "la __card__ til __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "la __list__ til __board__", "act-addBoardMember": "la __member__ til __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "la %s til %s", "activity-created": "opprettet %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "ekskluderte %s fra %s", "activity-imported": "importerte %s til %s fra %s", "activity-imported-board": "importerte %s fra %s", @@ -111,6 +113,7 @@ "card-due-on": "Frist til", "card-spent": "Spent Time", "card-edit-attachments": "Rediger vedlegg", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Rediger etiketter", "card-edit-members": "Endre medlemmer", "card-labels-title": "Endre etiketter for kortet.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starter på", "cardAttachmentsPopup-title": "Legg ved fra", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Slett kort?", "cardDetailsActionsPopup-title": "Kort-handlinger", "cardLabelsPopup-title": "Etiketter", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/nl.i18n.json b/i18n/nl.i18n.json index 0696409d..e062d3de 100644 --- a/i18n/nl.i18n.json +++ b/i18n/nl.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "gereageerd op __card__:__comment__", "act-createBoard": "aangemaakte __bord__", "act-createCard": "toegevoegd __kaart__ aan __lijst__", + "act-createCustomField": "created custom field __customField__", "act-createList": "toegevoegd __lijst__ aan __bord__", "act-addBoardMember": "__member__ aan __board__ toegevoegd", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "%s bijgevoegd aan %s", "activity-created": "%s aangemaakt", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s uitgesloten van %s", "activity-imported": "%s geimporteerd in %s van %s", "activity-imported-board": "%s geimporteerd van %s", @@ -111,6 +113,7 @@ "card-due-on": "Deadline: ", "card-spent": "gespendeerde tijd", "card-edit-attachments": "Wijzig bijlagen", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Wijzig labels", "card-edit-members": "Wijzig leden", "card-labels-title": "Wijzig de labels vam de kaart.", @@ -118,6 +121,8 @@ "card-start": "Begin", "card-start-on": "Begint op", "cardAttachmentsPopup-title": "Voeg bestand toe vanuit", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Kaart verwijderen?", "cardDetailsActionsPopup-title": "Kaart actie ondernemen", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Bord aanmaken", "chooseBoardSourcePopup-title": "Importeer bord", "createLabelPopup-title": "Label aanmaken", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "Huidige", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Datum", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Datum", "decline": "Weigeren", "default-avatar": "Standaard avatar", "delete": "Verwijderen", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Verwijder label?", "description": "Beschrijving", "disambiguateMultiLabelPopup-title": "Disambigueer Label Actie", @@ -186,6 +205,7 @@ "soft-wip-limit": "Zachte WIP limiet", "editCardStartDatePopup-title": "Wijzig start datum", "editCardDueDatePopup-title": "Wijzig deadline", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Verander gespendeerde tijd", "editLabelPopup-title": "Wijzig label", "editNotificationPopup-title": "Wijzig notificatie", @@ -366,6 +386,7 @@ "title": "Titel", "tracking": "Volgen", "tracking-info": "Je wordt op de hoogte gesteld als er veranderingen zijn aan de kaarten waar je lid of maker van bent.", + "type": "Type", "unassign-member": "Lid ontkennen", "unsaved-description": "Je hebt een niet opgeslagen beschrijving.", "unwatch": "Niet bekijken", @@ -430,6 +451,7 @@ "hours": "uren", "minutes": "minuten", "seconds": "seconden", + "show-field-on-card": "Show this field on card", "yes": "Ja", "no": "Nee", "accounts": "Accounts", diff --git a/i18n/pl.i18n.json b/i18n/pl.i18n.json index 99c7ae3c..fa6fa060 100644 --- a/i18n/pl.i18n.json +++ b/i18n/pl.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s przeniesiono do Kosza", "activity-attached": "załączono %s z %s", "activity-created": "utworzono %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "wyłączono %s z %s", "activity-imported": "zaimportowano %s to %s z %s", "activity-imported-board": "zaimportowano %s z %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edytuj załączniki", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edytuj etykiety", "card-edit-members": "Edytuj członków", "card-labels-title": "Zmień etykiety karty", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Załącz z", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Usunąć kartę?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Etykiety", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Utwórz tablicę", "chooseBoardSourcePopup-title": "Import tablicy", "createLabelPopup-title": "Utwórz etykietę", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "obecny", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Data", "decline": "Odrzuć", "default-avatar": "Domyślny avatar", "delete": "Usuń", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Usunąć etykietę?", "description": "Opis", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Zmień etykietę", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Tytuł", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Nieprzypisany członek", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "godzin", "minutes": "minut", "seconds": "sekund", + "show-field-on-card": "Show this field on card", "yes": "Tak", "no": "Nie", "accounts": "Konto", diff --git a/i18n/pt-BR.i18n.json b/i18n/pt-BR.i18n.json index 613ae44b..dbebd048 100644 --- a/i18n/pt-BR.i18n.json +++ b/i18n/pt-BR.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "comentou em __card__: __comment__", "act-createBoard": "criou __board__", "act-createCard": "__card__ adicionado à __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "__list__ adicionada à __board__", "act-addBoardMember": "__member__ adicionado à __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "anexou %s a %s", "activity-created": "criou %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluiu %s de %s", "activity-imported": "importado %s em %s de %s", "activity-imported-board": "importado %s de %s", @@ -111,6 +113,7 @@ "card-due-on": "Finaliza em", "card-spent": "Tempo Gasto", "card-edit-attachments": "Editar anexos", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Editar etiquetas", "card-edit-members": "Editar membros", "card-labels-title": "Alterar etiquetas do cartão.", @@ -118,6 +121,8 @@ "card-start": "Data início", "card-start-on": "Começa em", "cardAttachmentsPopup-title": "Anexar a partir de", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Excluir Cartão?", "cardDetailsActionsPopup-title": "Ações do cartão", "cardLabelsPopup-title": "Etiquetas", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Criar Quadro", "chooseBoardSourcePopup-title": "Importar quadro", "createLabelPopup-title": "Criar Etiqueta", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "atual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Data", "decline": "Rejeitar", "default-avatar": "Avatar padrão", "delete": "Excluir", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Excluir Etiqueta?", "description": "Descrição", "disambiguateMultiLabelPopup-title": "Desambiguar ações de etiquetas", @@ -186,6 +205,7 @@ "soft-wip-limit": "Limite de WIP", "editCardStartDatePopup-title": "Altera data de início", "editCardDueDatePopup-title": "Altera data fim", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Editar tempo gasto", "editLabelPopup-title": "Alterar Etiqueta", "editNotificationPopup-title": "Editar Notificações", @@ -366,6 +386,7 @@ "title": "Título", "tracking": "Tracking", "tracking-info": "Você será notificado se houver qualquer alteração em cards em que você é o criador ou membro", + "type": "Type", "unassign-member": "Membro não associado", "unsaved-description": "Você possui uma descrição não salva", "unwatch": "Deixar de observar", @@ -430,6 +451,7 @@ "hours": "horas", "minutes": "minutos", "seconds": "segundos", + "show-field-on-card": "Show this field on card", "yes": "Sim", "no": "Não", "accounts": "Contas", diff --git a/i18n/pt.i18n.json b/i18n/pt.i18n.json index b78bbca8..6555af77 100644 --- a/i18n/pt.i18n.json +++ b/i18n/pt.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "Criado %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Etiquetas", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "Não", "accounts": "Contas", diff --git a/i18n/ro.i18n.json b/i18n/ro.i18n.json index 014ad3d4..cca2865f 100644 --- a/i18n/ro.i18n.json +++ b/i18n/ro.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Titlu", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/ru.i18n.json b/i18n/ru.i18n.json index 447e8f0d..456328e2 100644 --- a/i18n/ru.i18n.json +++ b/i18n/ru.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "прокомментировал __card__: __comment__", "act-createBoard": "создал __board__", "act-createCard": "добавил __card__ в __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "добавил __list__ для __board__", "act-addBoardMember": "добавил __member__ в __board__", "act-archivedBoard": "Доска __board__ перемещена в Корзину", @@ -30,6 +31,7 @@ "activity-archived": "%s перемещено в Корзину", "activity-attached": "прикрепил %s к %s", "activity-created": "создал %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "исключил %s из %s", "activity-imported": "импортировал %s в %s из %s", "activity-imported-board": "импортировал %s из %s", @@ -111,6 +113,7 @@ "card-due-on": "Выполнить до", "card-spent": "Затраченное время", "card-edit-attachments": "Изменить вложения", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Изменить метку", "card-edit-members": "Изменить участников", "card-labels-title": "Изменить метки для этой карточки.", @@ -118,6 +121,8 @@ "card-start": "Дата начала", "card-start-on": "Начнётся с", "cardAttachmentsPopup-title": "Прикрепить из", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Удалить карточку?", "cardDetailsActionsPopup-title": "Действия в карточке", "cardLabelsPopup-title": "Метки", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Создать доску", "chooseBoardSourcePopup-title": "Импортировать доску", "createLabelPopup-title": "Создать метку", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "текущий", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Дата", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Дата", "decline": "Отклонить", "default-avatar": "Аватар по умолчанию", "delete": "Удалить", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Удалить метку?", "description": "Описание", "disambiguateMultiLabelPopup-title": "Разрешить конфликт меток", @@ -186,6 +205,7 @@ "soft-wip-limit": "Мягкий лимит на кол-во задач", "editCardStartDatePopup-title": "Изменить дату начала", "editCardDueDatePopup-title": "Изменить дату выполнения", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Изменить затраченное время", "editLabelPopup-title": "Изменить метки", "editNotificationPopup-title": "Редактировать уведомления", @@ -366,6 +386,7 @@ "title": "Название", "tracking": "Отслеживание", "tracking-info": "Вы будете уведомлены о любых изменениях в тех карточках, в которых вы являетесь создателем или участником.", + "type": "Type", "unassign-member": "Отменить назначение участника", "unsaved-description": "У вас есть несохраненное описание.", "unwatch": "Перестать следить", @@ -430,6 +451,7 @@ "hours": "часы", "minutes": "минуты", "seconds": "секунды", + "show-field-on-card": "Show this field on card", "yes": "Да", "no": "Нет", "accounts": "Учетные записи", diff --git a/i18n/sr.i18n.json b/i18n/sr.i18n.json index 14475751..bebe6760 100644 --- a/i18n/sr.i18n.json +++ b/i18n/sr.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "prikačio %s u %s", "activity-created": "kreirao %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "izuzmi %s iz %s", "activity-imported": "uvezao %s u %s iz %s", "activity-imported-board": "uvezao %s iz %s", @@ -111,6 +113,7 @@ "card-due-on": "Završava se", "card-spent": "Spent Time", "card-edit-attachments": "Uredi priloge", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Uredi natpise", "card-edit-members": "Uredi članove", "card-labels-title": "Promeni natpis na kartici.", @@ -118,6 +121,8 @@ "card-start": "Početak", "card-start-on": "Počinje", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Datum", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Datum", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Izmeni početni datum", "editCardDueDatePopup-title": "Izmeni krajnji datum", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Izmeni notifikaciju", @@ -366,6 +386,7 @@ "title": "Naslov", "tracking": "Praćenje", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "Imaš nesnimljen opis.", "unwatch": "Ne posmatraj", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/sv.i18n.json b/i18n/sv.i18n.json index 4cc2d987..3df78262 100644 --- a/i18n/sv.i18n.json +++ b/i18n/sv.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "kommenterade __card__: __comment__", "act-createBoard": "skapade __board__", "act-createCard": "lade till __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "lade till __list__ to __board__", "act-addBoardMember": "lade till __member__ to __board__", "act-archivedBoard": "__board__ flyttad till papperskorgen", @@ -30,6 +31,7 @@ "activity-archived": "%s flyttad till papperskorgen", "activity-attached": "bifogade %s to %s", "activity-created": "skapade %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "exkluderade %s från %s", "activity-imported": "importerade %s till %s från %s", "activity-imported-board": "importerade %s från %s", @@ -111,6 +113,7 @@ "card-due-on": "Förfaller på", "card-spent": "Spenderad tid", "card-edit-attachments": "Redigera bilaga", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Redigera etiketter", "card-edit-members": "Redigera medlemmar", "card-labels-title": "Ändra etiketter för kortet.", @@ -118,6 +121,8 @@ "card-start": "Börja", "card-start-on": "Börja med", "cardAttachmentsPopup-title": "Bifoga från", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Ta bort kort?", "cardDetailsActionsPopup-title": "Kortåtgärder", "cardLabelsPopup-title": "Etiketter", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Skapa anslagstavla", "chooseBoardSourcePopup-title": "Importera anslagstavla", "createLabelPopup-title": "Skapa etikett", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "aktuell", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Datum", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Datum", "decline": "Nedgång", "default-avatar": "Standard avatar", "delete": "Ta bort", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Ta bort etikett?", "description": "Beskrivning", "disambiguateMultiLabelPopup-title": "Otvetydig etikettåtgärd", @@ -186,6 +205,7 @@ "soft-wip-limit": "Mjuk WIP-gräns", "editCardStartDatePopup-title": "Ändra startdatum", "editCardDueDatePopup-title": "Ändra förfallodatum", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Ändra spenderad tid", "editLabelPopup-title": "Ändra etikett", "editNotificationPopup-title": "Redigera avisering", @@ -366,6 +386,7 @@ "title": "Titel", "tracking": "Spårning", "tracking-info": "Du kommer att meddelas om eventuella ändringar av dessa kort du deltar i som skapare eller medlem.", + "type": "Type", "unassign-member": "Ta bort tilldelad medlem", "unsaved-description": "Du har en osparad beskrivning.", "unwatch": "Avbevaka", @@ -430,6 +451,7 @@ "hours": "timmar", "minutes": "minuter", "seconds": "sekunder", + "show-field-on-card": "Show this field on card", "yes": "Ja", "no": "Nej", "accounts": "Konton", diff --git a/i18n/ta.i18n.json b/i18n/ta.i18n.json index d4cf4d88..1986539f 100644 --- a/i18n/ta.i18n.json +++ b/i18n/ta.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "commented on __card__: __comment__", "act-createBoard": "created __board__", "act-createCard": "added __card__ to __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/th.i18n.json b/i18n/th.i18n.json index 7cae51e4..4d398c39 100644 --- a/i18n/th.i18n.json +++ b/i18n/th.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "ออกความเห็นที่ __card__: __comment__", "act-createBoard": "สร้าง __board__", "act-createCard": "เพิ่ม __card__ ไปยัง __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "เพิ่ม __list__ ไปยัง __board__", "act-addBoardMember": "เพิ่ม __member__ ไปยัง __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "แนบ %s ไปยัง %s", "activity-created": "สร้าง %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "ยกเว้น %s จาก %s", "activity-imported": "ถูกนำเข้า %s ไปยัง %s จาก %s", "activity-imported-board": "นำเข้า %s จาก %s", @@ -111,6 +113,7 @@ "card-due-on": "ครบกำหนดเมื่อ", "card-spent": "Spent Time", "card-edit-attachments": "แก้ไขสิ่งที่แนบมา", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "แก้ไขป้ายกำกับ", "card-edit-members": "แก้ไขสมาชิก", "card-labels-title": "เปลี่ยนป้ายกำกับของการ์ด", @@ -118,6 +121,8 @@ "card-start": "เริ่ม", "card-start-on": "เริ่มเมื่อ", "cardAttachmentsPopup-title": "แนบจาก", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "ลบการ์ดนี้หรือไม่", "cardDetailsActionsPopup-title": "การดำเนินการการ์ด", "cardLabelsPopup-title": "ป้ายกำกับ", @@ -167,11 +172,25 @@ "createBoardPopup-title": "สร้างบอร์ด", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "สร้างป้ายกำกับ", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "ปัจจุบัน", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "วันที่", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "วันที่", "decline": "ปฎิเสธ", "default-avatar": "ภาพเริ่มต้น", "delete": "ลบ", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "ลบป้ายกำกับนี้หรือไม่", "description": "คำอธิบาย", "disambiguateMultiLabelPopup-title": "การดำเนินการกำกับป้ายชัดเจน", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "เปลี่ยนวันเริ่มต้น", "editCardDueDatePopup-title": "เปลี่ยนวันครบกำหนด", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "เปลี่ยนป้ายกำกับ", "editNotificationPopup-title": "แก้ไขการแจ้งเตือน", @@ -366,6 +386,7 @@ "title": "หัวข้อ", "tracking": "ติดตาม", "tracking-info": "คุณจะได้รับแจ้งการเปลี่ยนแปลงใด ๆ กับการ์ดที่คุณมีส่วนร่วมในฐานะผู้สร้างหรือสมาชิก", + "type": "Type", "unassign-member": "ยกเลิกสมาชิก", "unsaved-description": "คุณมีคำอธิบายที่ไม่ได้บันทึก", "unwatch": "เลิกเฝ้าดู", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/tr.i18n.json b/i18n/tr.i18n.json index 7f9cfd3d..96445407 100644 --- a/i18n/tr.i18n.json +++ b/i18n/tr.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "__card__ kartına bir yorum bıraktı: __comment__", "act-createBoard": "__board__ panosunu oluşturdu", "act-createCard": "__card__ kartını ___list__ listesine ekledi", + "act-createCustomField": "created custom field __customField__", "act-createList": "__list__ listesini __board__ panosuna ekledi", "act-addBoardMember": "__member__ kullanıcısını __board__ panosuna ekledi", "act-archivedBoard": "__board__ Geri Dönüşüm Kutusu'na taşındı", @@ -30,6 +31,7 @@ "activity-archived": "%s Geri Dönüşüm Kutusu'na taşındı", "activity-attached": "%s içine %s ekledi", "activity-created": "%s öğesini oluşturdu", + "activity-customfield-created": "created custom field %s", "activity-excluded": "%s içinden %s çıkarttı", "activity-imported": "%s kaynağından %s öğesini %s öğesinin içine taşıdı ", "activity-imported-board": "%s i %s içinden aktardı", @@ -111,6 +113,7 @@ "card-due-on": "Bitiş tarihi:", "card-spent": "Harcanan Zaman", "card-edit-attachments": "Ek dosyasını düzenle", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Etiketleri düzenle", "card-edit-members": "Üyeleri düzenle", "card-labels-title": "Bu kart için etiketleri düzenle", @@ -118,6 +121,8 @@ "card-start": "Başlama", "card-start-on": "Başlama tarihi:", "cardAttachmentsPopup-title": "Eklenme", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Kart Silinsin mi?", "cardDetailsActionsPopup-title": "Kart işlemleri", "cardLabelsPopup-title": "Etiketler", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Pano Oluşturma", "chooseBoardSourcePopup-title": "Panoyu içe aktar", "createLabelPopup-title": "Etiket Oluşturma", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "mevcut", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Tarih", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Tarih", "decline": "Reddet", "default-avatar": "Varsayılan avatar", "delete": "Sil", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Etiket Silinsin mi?", "description": "Açıklama", "disambiguateMultiLabelPopup-title": "Etiket işlemini izah et", @@ -186,6 +205,7 @@ "soft-wip-limit": "Zayıf Devam Eden İş Sınırı", "editCardStartDatePopup-title": "Başlangıç tarihini değiştir", "editCardDueDatePopup-title": "Bitiş tarihini değiştir", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Harcanan zamanı değiştir", "editLabelPopup-title": "Etiket Değiştir", "editNotificationPopup-title": "Bildirimi değiştir", @@ -366,6 +386,7 @@ "title": "Başlık", "tracking": "Takip", "tracking-info": "Oluşturduğunuz veya üyesi olduğunuz tüm kartlardaki değişiklikler size bildirim olarak gelecek.", + "type": "Type", "unassign-member": "Üyeye atamayı kaldır", "unsaved-description": "Kaydedilmemiş bir açıklama metnin bulunmakta", "unwatch": "Takibi bırak", @@ -430,6 +451,7 @@ "hours": "saat", "minutes": "dakika", "seconds": "saniye", + "show-field-on-card": "Show this field on card", "yes": "Evet", "no": "Hayır", "accounts": "Hesaplar", diff --git a/i18n/uk.i18n.json b/i18n/uk.i18n.json index 599ebf91..66a87965 100644 --- a/i18n/uk.i18n.json +++ b/i18n/uk.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "комментар в __card__: __comment__", "act-createBoard": "__board__ створенна", "act-createCard": "__card__ карта додана до __list__ листа", + "act-createCustomField": "created custom field __customField__", "act-createList": "added __list__ to __board__", "act-addBoardMember": "added __member__ to __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "attached %s to %s", "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "excluded %s from %s", "activity-imported": "imported %s into %s from %s", "activity-imported-board": "imported %s from %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/vi.i18n.json b/i18n/vi.i18n.json index 73fc1bcb..ee4a93b8 100644 --- a/i18n/vi.i18n.json +++ b/i18n/vi.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "đã bình luận trong __card__: __comment__", "act-createBoard": "đã tạo __board__", "act-createCard": "đã thêm __card__ vào __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "đã thêm __list__ vào __board__", "act-addBoardMember": "đã thêm __member__ vào __board__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "đã đính kèm %s vào %s", "activity-created": "đã tạo %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "đã loại bỏ %s khỏi %s", "activity-imported": "đã nạp %s vào %s từ %s", "activity-imported-board": "đã nạp %s từ %s", @@ -111,6 +113,7 @@ "card-due-on": "Due on", "card-spent": "Spent Time", "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "Edit labels", "card-edit-members": "Edit members", "card-labels-title": "Change the labels for the card.", @@ -118,6 +121,8 @@ "card-start": "Start", "card-start-on": "Starts on", "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "Delete Card?", "cardDetailsActionsPopup-title": "Card Actions", "cardLabelsPopup-title": "Labels", @@ -167,11 +172,25 @@ "createBoardPopup-title": "Create Board", "chooseBoardSourcePopup-title": "Import board", "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "Date", "decline": "Decline", "default-avatar": "Default avatar", "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "Delete Label?", "description": "Description", "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "Change start date", "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "Change Label", "editNotificationPopup-title": "Edit Notification", @@ -366,6 +386,7 @@ "title": "Title", "tracking": "Tracking", "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", "unassign-member": "Unassign member", "unsaved-description": "You have an unsaved description.", "unwatch": "Unwatch", @@ -430,6 +451,7 @@ "hours": "hours", "minutes": "minutes", "seconds": "seconds", + "show-field-on-card": "Show this field on card", "yes": "Yes", "no": "No", "accounts": "Accounts", diff --git a/i18n/zh-CN.i18n.json b/i18n/zh-CN.i18n.json index 3b476dac..1504e568 100644 --- a/i18n/zh-CN.i18n.json +++ b/i18n/zh-CN.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "在 __card__ 发布评论: __comment__", "act-createBoard": "创建看板 __board__", "act-createCard": "添加卡片 __card__ 至列表 __list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "添加列表 __list__ 至看板 __board__", "act-addBoardMember": "添加成员 __member__ 至看板 __board__", "act-archivedBoard": "__board__ 已被移入回收站 ", @@ -30,6 +31,7 @@ "activity-archived": "%s 已被移入回收站", "activity-attached": "添加附件 %s 至 %s", "activity-created": "创建 %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "排除 %s 从 %s", "activity-imported": "导入 %s 至 %s 从 %s 中", "activity-imported-board": "已导入 %s 从 %s 中", @@ -111,6 +113,7 @@ "card-due-on": "期限", "card-spent": "耗时", "card-edit-attachments": "编辑附件", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "编辑标签", "card-edit-members": "编辑成员", "card-labels-title": "更改该卡片上的标签", @@ -118,6 +121,8 @@ "card-start": "开始", "card-start-on": "始于", "cardAttachmentsPopup-title": "附件来源", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "彻底删除卡片?", "cardDetailsActionsPopup-title": "卡片操作", "cardLabelsPopup-title": "标签", @@ -167,11 +172,25 @@ "createBoardPopup-title": "创建看板", "chooseBoardSourcePopup-title": "导入看板", "createLabelPopup-title": "创建标签", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "当前", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "日期", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "日期", "decline": "拒绝", "default-avatar": "默认头像", "delete": "删除", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "删除标签?", "description": "描述", "disambiguateMultiLabelPopup-title": "标签消歧 [?]", @@ -186,6 +205,7 @@ "soft-wip-limit": "软在制品限制", "editCardStartDatePopup-title": "修改起始日期", "editCardDueDatePopup-title": "修改截止日期", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "修改耗时", "editLabelPopup-title": "更改标签", "editNotificationPopup-title": "编辑通知", @@ -366,6 +386,7 @@ "title": "标题", "tracking": "跟踪", "tracking-info": "当任何包含您(作为创建者或成员)的卡片发生变更时,您将得到通知。", + "type": "Type", "unassign-member": "取消分配成员", "unsaved-description": "存在未保存的描述", "unwatch": "取消关注", @@ -430,6 +451,7 @@ "hours": "小时", "minutes": "分钟", "seconds": "秒", + "show-field-on-card": "Show this field on card", "yes": "是", "no": "否", "accounts": "账号", diff --git a/i18n/zh-TW.i18n.json b/i18n/zh-TW.i18n.json index 082668dd..84a4d67b 100644 --- a/i18n/zh-TW.i18n.json +++ b/i18n/zh-TW.i18n.json @@ -7,6 +7,7 @@ "act-addComment": "評論__card__: __comment__", "act-createBoard": "完成新增 __board__", "act-createCard": "將__card__加入__list__", + "act-createCustomField": "created custom field __customField__", "act-createList": "新增__list__至__board__", "act-addBoardMember": "在__board__中新增成員__member__", "act-archivedBoard": "__board__ moved to Recycle Bin", @@ -30,6 +31,7 @@ "activity-archived": "%s moved to Recycle Bin", "activity-attached": "新增附件 %s 至 %s", "activity-created": "建立 %s", + "activity-customfield-created": "created custom field %s", "activity-excluded": "排除 %s 從 %s", "activity-imported": "匯入 %s 至 %s 從 %s 中", "activity-imported-board": "已匯入 %s 從 %s 中", @@ -111,6 +113,7 @@ "card-due-on": "到期", "card-spent": "Spent Time", "card-edit-attachments": "編輯附件", + "card-edit-custom-fields": "Edit custom fields", "card-edit-labels": "編輯標籤", "card-edit-members": "編輯成員", "card-labels-title": "更改該卡片上的標籤", @@ -118,6 +121,8 @@ "card-start": "開始", "card-start-on": "開始", "cardAttachmentsPopup-title": "附件來源", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", "cardDeletePopup-title": "徹底刪除卡片?", "cardDetailsActionsPopup-title": "卡片動作", "cardLabelsPopup-title": "標籤", @@ -167,11 +172,25 @@ "createBoardPopup-title": "建立看板", "chooseBoardSourcePopup-title": "匯入看板", "createLabelPopup-title": "建立標籤", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", "current": "目前", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-date": "日期", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", "date": "日期", "decline": "拒絕", "default-avatar": "預設大頭貼", "delete": "刪除", + "deleteCustomFieldPopup-title": "Delete Custom Field?", "deleteLabelPopup-title": "刪除標籤?", "description": "描述", "disambiguateMultiLabelPopup-title": "清除標籤動作歧義", @@ -186,6 +205,7 @@ "soft-wip-limit": "Soft WIP Limit", "editCardStartDatePopup-title": "更改開始日期", "editCardDueDatePopup-title": "更改到期日期", + "editCustomFieldPopup-title": "Edit Field", "editCardSpentTimePopup-title": "Change spent time", "editLabelPopup-title": "更改標籤", "editNotificationPopup-title": "更改通知", @@ -366,6 +386,7 @@ "title": "標題", "tracking": "追蹤", "tracking-info": "你將會收到與你有關的卡片的所有變更通知", + "type": "Type", "unassign-member": "取消分配成員", "unsaved-description": "未儲存的描述", "unwatch": "取消觀察", @@ -430,6 +451,7 @@ "hours": "小時", "minutes": "分鐘", "seconds": "秒", + "show-field-on-card": "Show this field on card", "yes": "是", "no": "否", "accounts": "帳號", -- cgit v1.2.3-1-g7c22 From 1d904adc610afa3106acc00886a0a848e26e1cb1 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 18 May 2018 16:14:43 +0300 Subject: - Add: Custom Fields. Thanks to feuerball11, papoola and xet7 ! Closes #807 --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49ee9b39..859c7145 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# Upcoming Wekan release + +This release adds the following new features: + +* [Custom Fields](https://github.com/wekan/wekan/issues/807). + +Thanks to GitHub users feuerball11, papoola and xet7 for their contributions. + # v0.95 2018-05-08 Wekan release This release adds the following new features: -- cgit v1.2.3-1-g7c22