Skip to content

Commit

Permalink
Improve documentation of translation of collapsible groups in service…
Browse files Browse the repository at this point in the history
… actions (#2284)
  • Loading branch information
emontnemery authored Aug 25, 2024
1 parent 615fc11 commit 613d119
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/internationalization/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ The translation for selectors are defined under the `selector` key. It supports
The translations of service actions strings are defined under the `services` key.

It supports translating the `name` and `description` of each action,
and the `name` and `description` of each action's `fields`.
`name` and `description` of each action's `fields`, and the `name` of
each collapsible section of fields.

Note that also the translations for `name` and `description` of fields which
are displayed in a collapsible section should be under the `fields` key.

```json
{
Expand All @@ -151,6 +155,11 @@ and the `name` and `description` of each action's `fields`.
"name": "Speed",
"description": "The speed to set."
}
},
"sections": {
"advanced_fields": {
"name": "Advanced options"
}
}
}
}
Expand Down

0 comments on commit 613d119

Please sign in to comment.