addedInput schema / properties / feedback
Added value: +{
+ "additionalProperties": false,
+ "description": "Translated copy for the result-page feedback block. Whether it shows and its answer type always come from the source form — this only translates its wording. Replaced WHOLESALE on every save: pass every key you want translated; omitted or empty keys fall back to the source text. Read the source text and choice codes from feedbackSource in get_form_translation / create_form_translation.",
+ "properties": {
+ "buttonText": {
+ "description": "Translated submit button label.",
+ "maxLength": 30,
+ "type": "string"
+ },
+ "choices": {
+ "description": "Choice answer type only: translated option labels matched by the source choice code; a choice you leave out keeps the source label.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Source choice code (from feedbackSource.choices)",
+ "type": "string"
+ },
+ "label": {
+ "description": "Translated label",
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "Translated block description.",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "question": {
+ "description": "Translated feedback question.",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "title": {
+ "description": "Translated block heading.",
+ "maxLength": 100,
+ "type": "string"
+ }
+ },
+ "type": "object"
+}