Skip to content

Commit 9c00f3f

Browse files
[CRYSTAL-574] Fix: remove escaped quotes and standardize trigger parameters in validation messages (#401)
* fix: consistency in cov2 validation error messages - Remove the \ prefix and suffix in strings wrapped in double quotes * fix: rename existing strings to avoid conflicits * fix: translations title
1 parent daf4c95 commit 9c00f3f

File tree

1 file changed

+77
-5
lines changed

1 file changed

+77
-5
lines changed

config/locales/translations/zendesk_apps_support.yml

Lines changed: 77 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,13 @@ parts:
125125
title: "App builder job: requirements file contains too many custom object trigger conditions. The maximum number of conditions allowed per trigger is 50. Leave requirements.json as is (do not translate)"
126126
value: "The requirements.json file contains too many custom object trigger conditions. The current limit is %{max} conditions per trigger. This app has %{count} conditions for trigger %{trigger_title}."
127127
screenshot: "https://drive.google.com/file/d/1szSaYRTeIcHux5nMJg3Yxyct1Obxa-wv/view?usp=sharing"
128+
obsolete: "2025-12-31"
128129
- translation:
129130
key: "txt.apps.admin.error.app_build.excessive_custom_objects_v2_trigger_actions"
130131
title: "App builder job: requirements file contains too many custom object trigger actions. The maximum number of actions allowed per trigger is 25. Leave requirements.json as is (do not translate)"
131132
value: "The requirements.json file contains too many custom object trigger actions. The current limit is %{max} actions per trigger. This app has %{count} actions for trigger %{trigger_title}."
132133
screenshot: "https://drive.google.com/file/d/18jXaM7_OnPqHAg6jAxJrTrgX1v_H156_/view?usp=sharing"
134+
obsolete: "2025-12-31"
133135
- translation:
134136
key: "txt.apps.admin.error.app_build.excessive_cov2_dropdown_fields_per_object"
135137
title: "App builder job: requirements file contains too many custom object fields of type dropdown. The maximum number of fields of type dropdown per object is 5. Leave requirements.json as is (do not translate)"
@@ -151,32 +153,35 @@ parts:
151153
key: "txt.apps.admin.error.app_build.excessive_cov2_relationship_filter_conditions"
152154
title: "App builder job: requirements file contains too many conditions in relationship filter for lookup fields. The maximum number of conditions allowed in the relationship filter per field is 20. Leave requirements.json as is (do not translate)"
153155
value: "The requirements.json file contains too many conditions in relationship filter for custom object field %{field_key}. The current limit is %{max} conditions per field. This app has %{count} conditions for field %{field_key} in object %{object_key}."
154-
"screenshot": "https://drive.google.com/file/d/13J6GIkq3CXGqRwV5KRHouXulRVuwQnNi/view?usp=sharing"
156+
screenshot: "https://drive.google.com/file/d/13J6GIkq3CXGqRwV5KRHouXulRVuwQnNi/view?usp=sharing"
155157
- translation:
156158
key: "txt.apps.admin.error.app_build.missing_cov2_object_schema_key"
157159
title: 'App builder job: requirements file is missing a custom object schema key. These are the required keys: (key, title, title_pluralized, include_in_list_view). The term \"schema key\" typically refers to an identifier or attribute that defines a specific item within a schema and it should be translated. Leave requirements.json as is (do not translate)'
158160
value: "The requirements.json file is missing custom object schema key for object %{object_key}. The following key is required: %{missing_key}."
159-
"screenshot": "https://drive.google.com/file/d/15iZemfkt14z96W4zmDHw1kodU70UxMYs/view?usp=sharing"
161+
screenshot: "https://drive.google.com/file/d/15iZemfkt14z96W4zmDHw1kodU70UxMYs/view?usp=sharing"
160162
- translation:
161163
key: "txt.apps.admin.error.app_build.missing_cov2_field_schema_key"
162164
title: 'App builder job: requirements file is missing a custom object field schema key. These are the required keys: (key, title, type, object_key). The term \"schema key\" typically refers to an identifier or attribute that defines a specific item within a schema and it should be translated. Leave requirements.json as is (do not translate)'
163165
value: "The requirements.json file is missing custom object field schema key for field %{field_key} in object %{object_key}. The following key is required: %{missing_key}."
164-
"screenshot": "https://drive.google.com/file/d/1hYqJ_df8jhjqQjUQHMAC-yrAK7uGaKEH/view?usp=sharing"
166+
screenshot: "https://drive.google.com/file/d/1hYqJ_df8jhjqQjUQHMAC-yrAK7uGaKEH/view?usp=sharing"
165167
- translation:
166168
key: "txt.apps.admin.error.app_build.missing_cov2_trigger_schema_key"
167169
title: 'App builder job: requirements file is missing a custom object trigger schema key. These are the required keys: (title, actions, conditions, object_key). The term \"schema key\" typically refers to an identifier or attribute that defines a specific item within a schema and it should be translated. Leave requirements.json as is (do not translate)'
168170
value: "The requirements.json file is missing custom object trigger schema key for trigger %{trigger_title} in object %{object_key}. The following key is required: %{missing_key}."
169-
"screenshot": "https://drive.google.com/file/d/1Q_qFDZMoUzfAdL27QehW0q1rrHG3BPcP/view?usp=sharing"
171+
screenshot: "https://drive.google.com/file/d/1Q_qFDZMoUzfAdL27QehW0q1rrHG3BPcP/view?usp=sharing"
172+
obsolete: "2025-12-31"
170173
- translation:
171174
key: "txt.apps.admin.error.app_build.empty_cov2_trigger_conditions"
172175
title: "App builder job: requirements file contains an empty conditions array for custom object trigger. Leave requirements.json as is (do not translate)"
173176
value: "The requirements.json file contains an empty conditions array for custom object trigger %{trigger_title} in object %{object_key}."
174-
"screenshot": "https://drive.google.com/file/d/1dU534_37__yrqX9lQujjgTJeCV5Y5FIp/view?usp=sharing"
177+
screenshot: "https://drive.google.com/file/d/1dU534_37__yrqX9lQujjgTJeCV5Y5FIp/view?usp=sharing"
178+
obsolete: "2025-12-31"
175179
- translation:
176180
key: "txt.apps.admin.error.app_build.invalid_cov2_requirements_structure"
177181
title: 'App builder job: requirements file contains invalid custom objects v2 structure. An "object" here refers to a programming object (a set of key-value pairs), not a custom object in Zendesk. Leave requirements.json, custom_objects_v2 as is (do not translate)'
178182
value: 'The requirements.json file contains an invalid custom_objects_v2 structure. \"custom_objects_v2\" requirements must be an object.'
179183
screenshot: "https://drive.google.com/file/d/1_P5Vl_QikPs-WgxqgDKJdgQW3jr1pTk2/view?usp=sharing"
184+
obsolete: "2025-12-31"
180185
- translation:
181186
key: "txt.apps.admin.error.app_build.excessive_cov2_payload_size"
182187
title: "App builder job: requirements file contains custom objects v2 payload that exceeds maximum size limit. The maximum payload size is 1 MB. Leave requirements.json as is (do not translate)"
@@ -192,11 +197,13 @@ parts:
192197
title: "App builder job: requirements file contains an invalid custom object trigger actions structure. Actions must be an array. 'actions' is part of requirements file. Leave requirements.json and 'actions' as is (do not translate)"
193198
value: 'The requirements.json file contains an invalid custom object trigger actions structure. \"actions\" must be an array for trigger %{trigger_title}.'
194199
screenshot: "https://drive.google.com/file/d/12p8LzIcK4-ItJfHqHQiTaKxDxWnIiDni/view?usp=sharing"
200+
obsolete: "2025-12-31"
195201
- translation:
196202
key: "txt.apps.admin.error.app_build.empty_cov2_trigger_actions"
197203
title: "App builder job: requirements file contains empty custom object trigger actions. At least one action must be specified. Leave requirements.json as is (do not translate)"
198204
value: "The requirements.json file contains empty custom object trigger actions. At least one action must be specified for trigger %{trigger_title}."
199205
screenshot: "https://drive.google.com/file/d/12XxGTNfRwh0aQM0gJkc_gFxiYSB0Op_r/view?usp=sharing"
206+
obsolete: "2025-12-31"
200207
- translation:
201208
key: "txt.apps.admin.error.app_build.excessive_cov2_selection_fields_per_object"
202209
title: "App builder job: requirements file contains too many custom object fields of type dropdown or multiselect. The maximum number of fields of type dropdown or multiselect per object is 5. Leave requirements.json as is (do not translate). If your language has concatenation issues, please translate as: The requirements.json file contains too many custom object fields of type %{field_type}. The current limit per object is %{max}. This app has object %{object_key}, which has %{count} fields of type %{field_type}."
@@ -207,16 +214,19 @@ parts:
207214
title: "App builder job: requirements file contains invalid objects structure for custom objects v2. Objects must be an array. Leave requirements.json and 'objects' as is (do not translate)"
208215
value: 'The requirements.json file contains an invalid objects structure. \"objects\" must be an array.'
209216
screenshot: "https://drive.google.com/file/d/1_0TOE9hOP2XeGZNyw9ueiYspvWGLileu/view?usp=sharing"
217+
obsolete: "2025-12-31"
210218
- translation:
211219
key: "txt.apps.admin.error.app_build.invalid_object_fields_structure_in_cov2_requirements"
212220
title: "App builder job: requirements file contains invalid object_fields structure for custom objects v2. Object_fields must be an array. Leave requirements.json and 'object_fields' as is (do not translate)"
213221
value: 'The requirements.json file contains an invalid object_fields structure. \"object_fields\" must be an array.'
214222
screenshot: "https://drive.google.com/file/d/1yIHf-no1xXobSxnhmBuZSqzFMbZROzDO/view?usp=sharing"
223+
obsolete: "2025-12-31"
215224
- translation:
216225
key: "txt.apps.admin.error.app_build.invalid_object_triggers_structure_in_cov2_requirements"
217226
title: "App builder job: requirements file contains invalid object_triggers structure for custom objects v2. Object_triggers must be an array. Leave requirements.json and 'object_triggers' as is (do not translate)"
218227
value: 'The requirements.json file contains an invalid object_triggers structure. \"object_triggers\" must be an array.'
219228
screenshot: "https://drive.google.com/file/d/14NNUm9R0u45LPbugUNmpA9psEwED1zkB/view?usp=sharing"
229+
obsolete: "2025-12-31"
220230
- translation:
221231
key: "txt.apps.admin.error.app_build.empty_cov2_requirements"
222232
title: "App builder job: requirements file contains an empty hash for custom objects v2. Leave requirements.json as is (do not translate)"
@@ -227,11 +237,73 @@ parts:
227237
title: 'App builder job: requirements file contains an invalid object reference in object_fields for Custom Objects V2. Do not translate "requirements.json", "object_fields", \"%{item_identifier}\", \"%{object_key}\".'
228238
value: 'The requirements.json file contains an invalid object reference in object_fields. Field \"%{item_identifier}\" references object \"%{object_key}\" which does not exist in the objects array.'
229239
screenshot: "https://drive.google.com/file/d/124uX-MBnEoqt7lDZBqQb4OVT2YN8-qz2/view?usp=sharing"
240+
obsolete: "2025-12-31"
230241
- translation:
231242
key: "txt.apps.admin.error.app_build.invalid_cov2_object_reference_in_triggers"
232243
title: 'App builder job: requirements file contains an invalid object reference in object_triggers for Custom Objects V2. Do not translate "requirements.json", "object_fields", \"%{item_identifier}\", \"%{object_key}\".'
233244
value: 'The requirements.json file contains an invalid object reference in object_triggers. Trigger \"%{item_identifier}\" references object \"%{object_key}\" which does not exist in the objects array.'
234245
screenshot: "https://drive.google.com/file/d/11e3x1sEfXQydkE-mRQ_rHqqLCRurHoCN/view?usp=sharing"
246+
obsolete: "2025-12-31"
247+
- translation:
248+
key: "txt.apps.admin.error.app_build.excessive_custom_objects_v2_trigger_conditions_v2"
249+
title: "App builder job: requirements file contains too many custom object trigger conditions. The maximum number of conditions allowed per trigger is 50. Leave requirements.json as is (do not translate)"
250+
value: "The requirements.json file contains too many custom object trigger conditions. The current limit is %{max} conditions per trigger. This app has %{count} conditions for trigger %{trigger_key}."
251+
screenshot: "https://drive.google.com/file/d/1UPm_rLhRksRJbfrjy5BJFBn00ceBA_Rx/view?usp=sharing"
252+
- translation:
253+
key: "txt.apps.admin.error.app_build.excessive_custom_objects_v2_trigger_actions_v2"
254+
title: "App builder job: requirements file contains too many custom object trigger actions. The maximum number of actions allowed per trigger is 25. Leave requirements.json as is (do not translate)"
255+
value: "The requirements.json file contains too many custom object trigger actions. The current limit is %{max} actions per trigger. This app has %{count} actions for trigger %{trigger_key}."
256+
screenshot: "https://drive.google.com/file/d/1peD9NjuFQ6_dW4ia6Cxz-GimTN0rdjMk/view?usp=sharing"
257+
- translation:
258+
key: "txt.apps.admin.error.app_build.missing_cov2_trigger_schema_key_v2"
259+
title: 'App builder job: requirements file is missing a custom object trigger schema key. These are the required keys: (title, actions, conditions, object_key). The term "schema key" typically refers to an identifier or attribute that defines a specific item within a schema and it should be translated. Leave requirements.json as is (do not translate)'
260+
value: "The requirements.json file is missing custom object trigger schema key for trigger %{trigger_key} in object %{object_key}. The following key is required: %{missing_key}."
261+
screenshot: "https://drive.google.com/file/d/1esO2LObXEPGoeEJQSZYy-e2Jaa867vOy/view?usp=sharing"
262+
- translation:
263+
key: "txt.apps.admin.error.app_build.empty_cov2_trigger_conditions_v2"
264+
title: 'App builder job: requirements file contains an empty conditions array for custom object trigger. Leave requirements.json as is (do not translate). Do not translate "conditions" as it is part of schema.'
265+
value: "The requirements.json file contains an empty conditions array for custom object trigger %{trigger_key} in object %{object_key}."
266+
screenshot: "https://drive.google.com/file/d/1ishzANlbt4PiyxikwXDTTPKy9drlWWlP/view?usp=sharing"
267+
- translation:
268+
key: "txt.apps.admin.error.app_build.invalid_cov2_requirements_structure_v2"
269+
title: 'App builder job: requirements file contains invalid custom objects v2 structure. An "object" here refers to a programming object (a set of key-value pairs), not a custom object in Zendesk. Leave requirements.json as is (do not translate). Do not translate "custom_objects_v2" as it is part of schema.'
270+
value: 'The requirements.json file contains an invalid custom_objects_v2 structure. The custom_objects_v2 requirements must be an object.'
271+
screenshot: "https://drive.google.com/file/d/1hTiBvSHqEXCsoa2YAt1bnGNCs8cXSzlx/view?usp=sharing"
272+
- translation:
273+
key: "txt.apps.admin.error.app_build.invalid_cov2_trigger_actions_structure_v2"
274+
title: "App builder job: requirements file contains an invalid custom object trigger actions structure. Actions must be an array. 'actions' is part of requirements file. Leave requirements.json as is (do not translate). Do not translate 'actions' as it is part of schema."
275+
value: 'The requirements.json file contains an invalid custom object trigger actions structure. The actions field must be an array for trigger %{trigger_key}.'
276+
screenshot: "https://drive.google.com/file/d/1UeBrY4GlnHDK19zuUE8xUoHnZl9HQv3y/view?usp=sharing"
277+
- translation:
278+
key: "txt.apps.admin.error.app_build.empty_cov2_trigger_actions_v2"
279+
title: "App builder job: requirements file contains empty custom object trigger actions. At least one action must be specified. Leave requirements.json as is (do not translate). Do not translate 'actions' as it is part of schema."
280+
value: "The requirements.json file contains empty custom object trigger actions. At least one action must be specified for trigger %{trigger_key}."
281+
screenshot: "https://drive.google.com/file/d/1MKBwF-OTD18FQPxkjVhwq4GVOCXAgVDs/view?usp=sharing"
282+
- translation:
283+
key: "txt.apps.admin.error.app_build.invalid_objects_structure_in_cov2_requirements_v2"
284+
title: "App builder job: requirements file contains invalid objects structure for custom objects v2. Objects must be an array. Leave requirements.json as is (do not translate). Do not translate 'objects' as it is part of schema."
285+
value: "The requirements.json file contains an invalid objects structure. The objects field must be an array."
286+
screenshot: "https://drive.google.com/file/d/1ywYAYOoeVmjUgZ2yfFl3YdJ-xkrBSgUG/view?usp=sharing"
287+
- translation:
288+
key: "txt.apps.admin.error.app_build.invalid_object_fields_structure_in_cov2_requirements_v2"
289+
title: "App builder job: requirements file contains invalid object_fields structure for custom objects v2. Object_fields must be an array. Leave requirements.json as is (do not translate). Do not translate 'object_fields' as it is part of schema."
290+
value: 'The requirements.json file contains an invalid object_fields structure. The object_fields field must be an array.'
291+
screenshot: "https://drive.google.com/file/d/1TQSnKbBXxLSYFpcgEBGNceLpo5ARMBAa/view?usp=sharing"
292+
- translation:
293+
key: "txt.apps.admin.error.app_build.invalid_object_triggers_structure_in_cov2_requirements_v2"
294+
title: "App builder job: requirements file contains invalid object_triggers structure for custom objects v2. Object_triggers must be an array. Leave requirements.json as is (do not translate). Do not translate 'object_triggers' as it is part of schema."
295+
value: 'The requirements.json file contains an invalid object_triggers structure. The object_triggers field must be an array.'
296+
screenshot: "https://drive.google.com/file/d/19r2xv15OnXtu2-JxU_ioAVMmaP33DiB-/view?usp=sharing"
297+
- translation:
298+
key: "txt.apps.admin.error.app_build.invalid_cov2_object_reference_in_fields_v2"
299+
title: 'App builder job: requirements file contains an invalid object reference in object_fields for Custom Objects V2. Do not translate "requirements.json" %{item_identifier}, %{object_key}. Do not translate "object_fields" as it is part of schema.'
300+
value: 'The requirements.json file contains an invalid object reference in object_fields. Field %{item_identifier} references object %{object_key} which does not exist in the objects array.'
301+
screenshot: "https://drive.google.com/file/d/1yHiq5uUyGmQjLgO72ARAVCgFA1tXFUHT/view?usp=sharing"
302+
- translation:
303+
key: "txt.apps.admin.error.app_build.invalid_cov2_object_reference_in_triggers_v2"
304+
title: 'App builder job: requirements file contains an invalid object reference in object_triggers for Custom Objects V2. Do not translate "requirements.json", %{item_identifier}, %{object_key}. Do not translate "object_triggers" as it is part of schema.'
305+
value: 'The requirements.json file contains an invalid object reference in object_triggers. Trigger %{item_identifier} references object %{object_key} which does not exist in the objects array.'
306+
screenshot: "https://drive.google.com/file/d/1hwmWbFPd5_XtoY6gpyy7FZ9niHppRe2m/view?usp=sharing"
235307
- translation:
236308
key: "txt.apps.admin.error.app_build.missing_required_fields"
237309
title: "App builder job: required key missing in requirements, e.g. \"title\" is required in \"my_custom_email_target\""

0 commit comments

Comments
 (0)