diff --git a/server/api/controllers/cards/create.js b/server/api/controllers/cards/create.js
index 9c542c6d..7ff91013 100755
--- a/server/api/controllers/cards/create.js
+++ b/server/api/controllers/cards/create.js
@@ -53,9 +53,6 @@ module.exports = {
type: 'json',
custom: isStopwatch,
},
- customFields: {
- type: 'ref',
- },
},
exits: {
@@ -99,10 +96,6 @@ module.exports = {
'stopwatch',
]);
- if (inputs.customFields) {
- values.customFields = inputs.customFields;
- }
-
const card = await sails.helpers.cards.createOne
.with({
project,
diff --git a/server/api/helpers/cards/create-one.js b/server/api/helpers/cards/create-one.js
index 602ce4db..ae05a43e 100644
--- a/server/api/helpers/cards/create-one.js
+++ b/server/api/helpers/cards/create-one.js
@@ -75,33 +75,6 @@ module.exports = {
listChangedAt: new Date().toISOString(),
});
- if (values.customFields) {
- const customFieldGroups = await CustomFieldGroup.qm.getByBoardId(values.board.id);
- const customFieldGroupMap = _.keyBy(customFieldGroups, 'name');
- const customFieldGroupIds = customFieldGroups.map((g) => g.id);
- const customFields = await CustomField.qm.getByCustomFieldGroupIds(customFieldGroupIds);
- const customFieldMap = _.keyBy(customFields, (f) => `${f.customFieldGroupId}:${f.name}`);
-
- const createValuePromises = [];
- Object.entries(values.customFields).forEach(([groupName, fields]) => {
- const group = customFieldGroupMap[groupName];
- if (!group) return;
- Object.entries(fields).forEach(([fieldName, content]) => {
- const field = customFieldMap[`${group.id}:${fieldName}`];
- if (!field) return;
- createValuePromises.push(
- CustomFieldValue.create({
- cardId: card.id,
- customFieldGroupId: group.id,
- customFieldId: field.id,
- content: String(content),
- }),
- );
- });
- });
- await Promise.all(createValuePromises);
- }
-
sails.sockets.broadcast(
`board:${card.boardId}`,
'cardCreate',
diff --git a/server/config/i18n.js b/server/config/i18n.js
index dab3b812..574a6b55 100644
--- a/server/config/i18n.js
+++ b/server/config/i18n.js
@@ -19,7 +19,7 @@ module.exports.i18n = {
*
*/
- locales: ['en-GB', 'en-US', 'es-ES', 'it-IT', 'ru-RU'],
+ locales: ['en-GB', 'en-US', 'es-ES', 'it-IT', 'ru-RU', 'de-DE'],
/**
*
diff --git a/server/config/locales/de-DE.json b/server/config/locales/de-DE.json
new file mode 100644
index 00000000..ceb546df
--- /dev/null
+++ b/server/config/locales/de-DE.json
@@ -0,0 +1,16 @@
+{
+ "Card Created": "Karte erstellt",
+ "Card Moved": "Karte verschoben",
+ "New Comment": "Neuer Kommentar",
+ "Test Title": "Testtitel",
+ "This is a test text message!": "Dies ist eine Test-Textnachricht!",
+ "This is a *test* **markdown** `message`!": "Dies ist eine *Test*-**Markdown**-`Nachricht`!",
+ "This is a test html message
": "Dies ist eine Test-HTML-Nachricht
",
+ "You Were Added to Card": "Sie wurden zur Karte hinzugefügt",
+ "You Were Mentioned in Comment": "Sie wurden in einem Kommentar erwähnt",
+ "%s added you to %s on %s": "%s hat Sie zu %s am %s hinzugefügt",
+ "%s created %s in %s on %s": "%s hat %s in %s am %s erstellt",
+ "%s left a new comment to %s on %s": "%s hat einen neuen Kommentar zu %s am %s hinterlassen",
+ "%s mentioned you in %s on %s": "%s hat Sie in %s am %s erwähnt",
+ "%s moved %s from %s to %s on %s": "%s hat %s von %s nach %s am %s verschoben"
+}