You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
Copy file name to clipboardExpand all lines: config/locales/translations/zendesk_apps_support.yml
+77-5Lines changed: 77 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -125,11 +125,13 @@ parts:
125
125
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)"
126
126
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}."
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)"
131
132
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}."
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)"
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)"
153
155
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}."
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)'
158
160
value: "The requirements.json file is missing custom object schema key for object %{object_key}. The following key is required: %{missing_key}."
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)'
163
165
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}."
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)'
168
170
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}."
title: "App builder job: requirements file contains an empty conditions array for custom object trigger. Leave requirements.json as is (do not translate)"
173
176
value: "The requirements.json file contains an empty conditions array for custom object trigger %{trigger_title} in object %{object_key}."
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)'
178
182
value: 'The requirements.json file contains an invalid custom_objects_v2 structure. \"custom_objects_v2\" requirements must be an object.'
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:
192
197
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)"
193
198
value: 'The requirements.json file contains an invalid custom object trigger actions structure. \"actions\" must be an array for trigger %{trigger_title}.'
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)"
198
204
value: "The requirements.json file contains empty custom object trigger actions. At least one action must be specified for trigger %{trigger_title}."
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:
207
214
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)"
208
215
value: 'The requirements.json file contains an invalid objects structure. \"objects\" must be an array.'
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)"
213
221
value: 'The requirements.json file contains an invalid object_fields structure. \"object_fields\" must be an array.'
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)"
218
227
value: 'The requirements.json file contains an invalid object_triggers structure. \"object_triggers\" must be an array.'
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:
227
237
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}\".'
228
238
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.'
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}\".'
233
244
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.'
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}."
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}."
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}."
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}."
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.'
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}.'
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}."
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."
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.'
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.'
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.'
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.'
0 commit comments