mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
📚 Minor i18n docs fixes (#2689)
This commit is contained in:
parent
737d567111
commit
58c9831956
|
@ -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`.
|
The object for each node credential parameter allows for the keys `displayName`, `description`, and `placeholder`.
|
||||||
|
|
||||||
```json
|
```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.
|
> **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:
|
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": { ... },
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
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`.
|
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
|
```json
|
||||||
{
|
{
|
||||||
"nodeView": {
|
"nodeView": {
|
||||||
"resource": {...},
|
"resource": {
|
||||||
|
"displayName": "🇩🇪 Resource",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue