📚 Minor i18n docs fixes (#2689)

This commit is contained in:
Iván Ovejero 2022-01-17 10:31:12 +01:00 committed by GitHub
parent 737d567111
commit 58c9831956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,14 +180,6 @@ export class GithubApi implements ICredentialType {
}
```
```json
{
"server": {...},
"user": {...},
"accessToken": {...},
}
```
The object for each node credential parameter allows for the keys `displayName`, `description`, and `placeholder`.
```json
@ -215,14 +207,7 @@ Only existing parameters are translatable. If a credential parameter does not ha
> **Note**: All keys are optional. Missing translations trigger a fallback to the `en` locale strings.
Each node translation file is an object that allows for two keys, `header` and `nodeView`, which are the _sections_ of each node translation:
```json
{
"header": { ... },
"nodeView": { ... },
}
```
Each node translation file is an object that allows for two keys, `header` and `nodeView`, which are the _sections_ of each node translation.
The `header` section points to an object that may contain only two keys, `displayName` and `description`, matching the node's `description.displayName` and `description.description`.
@ -280,7 +265,9 @@ export class Github implements INodeType {
```json
{
"nodeView": {
"resource": {...},
"resource": {
"displayName": "🇩🇪 Resource",
},
},
}
```