Switch to JSON for localization service

This commit is contained in:
Iván Ovejero
2021-11-24 12:16:59 +01:00
parent 0462d14f91
commit ed68ae8055
13 changed files with 2233 additions and 2243 deletions

View File

@@ -0,0 +1,147 @@
{
"githubTrigger": {
"header": {
"displayName": "🇩🇪 GitHub Trigger",
"description": "🇩🇪 Listen to GitHub events"
}
},
"github": {
"header": {
"displayName": "🇩🇪 GitHub",
"description": "🇩🇪 Consume GitHub API"
},
"credentialsModal": {
"githubOAuth2Api": {
"server": {
"displayName": "🇩🇪 Github Server",
"description": "🇩🇪 The server to connect to. Only has to be set if Github Enterprise is used."
}
},
"githubApi": {
"server": {
"displayName": "🇩🇪 Github Server",
"description": "🇩🇪 The server to connect to. Only has to be set if Github Enterprise is used."
},
"user": {
"placeholder": "🇩🇪 Hans"
},
"accessToken": {
"placeholder": "🇩🇪 123"
}
}
},
"nodeView": {
"authentication": {
"displayName": "🇩🇪 Authentication",
"options": {
"accessToken": {
"displayName": "🇩🇪 Access Token"
},
"oAuth2": {
"displayName": "🇩🇪 OAuth2"
}
}
},
"resource": {
"displayName": "🇩🇪 Resource",
"description": "🇩🇪 The resource to operate on.",
"options": {
"issue": {
"displayName": "🇩🇪 Issue"
},
"file": {
"displayName": "🇩🇪 File"
},
"repository": {
"displayName": "🇩🇪 Repository"
},
"release": {
"displayName": "🇩🇪 Release"
},
"review": {
"displayName": "🇩🇪 Review"
},
"user": {
"displayName": "🇩🇪 User"
}
}
},
"operation": {
"displayName": "🇩🇪 Operation",
"options": {
"create": {
"displayName": "🇩🇪 Create",
"description": "🇩🇪 Create a new issue."
},
"get": {
"displayName": "🇩🇪 Get",
"description": "🇩🇪 Get the data of a single issue."
}
}
},
"owner": {
"displayName": "🇩🇪 Repository Owner",
"placeholder": "🇩🇪 n8n-io",
"description": "🇩🇪 Owner of the repository."
},
"repository": {
"displayName": "🇩🇪 Repository Name",
"placeholder": "🇩🇪 n8n"
},
"title": {
"displayName": "🇩🇪 Title"
},
"body": {
"displayName": "🇩🇪 Body"
},
"labels": {
"displayName": "🇩🇪 Labels",
"multipleValueButtonText": "🇩🇪 Add Label"
},
"assignees": {
"displayName": "🇩🇪 Assignees",
"multipleValueButtonText": "🇩🇪 Add Assignee"
},
"label": {
"displayName": "🇩🇪 Label",
"description": "🇩🇪 Label to add to issue."
},
"assignee": {
"displayName": "🇩🇪 Assignee",
"description": "🇩🇪 User to assign issue to."
},
"additionalParameters": {
"displayName": "🇩🇪 Additional Fields",
"placeholder": "🇩🇪 Add Field",
"options": {
"author": {
"displayName": "🇩🇪 Author"
},
"branch": {
"displayName": "🇩🇪 Branch"
},
"committer": {
"displayName": "🇩🇪 Committer"
}
}
},
"author": {
"displayName": "🇩🇪 Author"
},
"branch": {
"displayName": "🇩🇪 Branch"
},
"committer": {
"displayName": "🇩🇪 Committer"
},
"name": {
"displayName": "🇩🇪 Name",
"description": "🇩🇪 The name of the author of the commit."
},
"email": {
"displayName": "🇩🇪 Email",
"description": "🇩🇪 The email of the author of the commit."
}
}
}
}

View File

@@ -1,156 +0,0 @@
module.exports = {
githubTrigger: {
header: {
displayName: '🇩🇪 GitHub Trigger',
description: '🇩🇪 Listen to GitHub events',
},
},
github: {
header: {
displayName: '🇩🇪 GitHub',
description: '🇩🇪 Consume GitHub API',
},
credentialsModal: {
githubOAuth2Api: {
server: {
displayName: '🇩🇪 Github Server',
description: '🇩🇪 The server to connect to. Only has to be set if Github Enterprise is used.',
},
},
githubApi: {
server: {
displayName: '🇩🇪 Github Server',
description: '🇩🇪 The server to connect to. Only has to be set if Github Enterprise is used.',
},
user: {
placeholder: '🇩🇪 Hans',
},
accessToken: {
placeholder: '🇩🇪 123',
},
},
},
nodeView: {
authentication: {
displayName: '🇩🇪 Authentication',
options: {
accessToken: {
displayName: '🇩🇪 Access Token',
},
oAuth2: {
displayName: '🇩🇪 OAuth2',
},
},
},
resource: {
displayName: '🇩🇪 Resource',
description: '🇩🇪 The resource to operate on.',
options: {
issue: {
displayName: '🇩🇪 Issue',
},
file: {
displayName: '🇩🇪 File',
},
repository: {
displayName: '🇩🇪 Repository',
},
release: {
displayName: '🇩🇪 Release',
},
review: {
displayName: '🇩🇪 Review',
},
user: {
displayName: '🇩🇪 User',
},
},
},
operation: {
displayName: '🇩🇪 Operation',
options: {
create: {
displayName: '🇩🇪 Create',
description: '🇩🇪 Create a new issue.',
},
get: {
displayName: '🇩🇪 Get',
description: '🇩🇪 Get the data of a single issue.',
},
},
},
owner: {
displayName: '🇩🇪 Repository Owner',
placeholder: '🇩🇪 n8n-io',
description: '🇩🇪 Owner of the repository.',
},
repository: {
displayName: '🇩🇪 Repository Name',
placeholder: '🇩🇪 n8n',
},
title: {
displayName: '🇩🇪 Title',
},
body: {
displayName: '🇩🇪 Body',
},
labels: {
displayName: '🇩🇪 Labels',
multipleValueButtonText: '🇩🇪 Add Label',
},
assignees: {
displayName: '🇩🇪 Assignees',
multipleValueButtonText: '🇩🇪 Add Assignee',
},
label: {
displayName: '🇩🇪 Label',
description: '🇩🇪 Label to add to issue.',
},
assignee: {
displayName: '🇩🇪 Assignee',
description: '🇩🇪 User to assign issue to.',
},
additionalParameters: {
displayName: '🇩🇪 Additional Fields',
placeholder: '🇩🇪 Add Field',
options: {
author: {
displayName: '🇩🇪 Author',
},
branch: {
displayName: '🇩🇪 Branch',
},
committer: {
displayName: '🇩🇪 Committer',
},
},
},
author: {
displayName: '🇩🇪 Author',
},
branch: {
displayName: '🇩🇪 Branch',
},
committer: {
displayName: '🇩🇪 Committer',
},
name: {
displayName: '🇩🇪 Name',
description: '🇩🇪 The name of the author of the commit.',
},
email: {
displayName: '🇩🇪 Email',
description: '🇩🇪 The email of the author of the commit.',
},
},
},
};