diff --git a/packages/api/db/migration/20241118191954_add_constraint_to_task_abandonment_reason.js b/packages/api/db/migration/20241118191954_add_constraint_to_task_abandonment_reason.js index 84e6d89d1f..24fb6c9b7b 100644 --- a/packages/api/db/migration/20241118191954_add_constraint_to_task_abandonment_reason.js +++ b/packages/api/db/migration/20241118191954_add_constraint_to_task_abandonment_reason.js @@ -26,7 +26,7 @@ export const up = async (knex) => { 'WEATHER', 'MACHINERY_ISSUE', 'SCHEDULING_ISSUE', - 'NO_ANIMALS_AVAILABLE', + 'NO_ANIMALS', ]; await knex.raw(` ALTER TABLE task ADD CONSTRAINT abandonment_reason_check diff --git a/packages/webapp/public/locales/en/translation.json b/packages/webapp/public/locales/en/translation.json index 3318884646..13405bc6c5 100644 --- a/packages/webapp/public/locales/en/translation.json +++ b/packages/webapp/public/locales/en/translation.json @@ -1922,7 +1922,7 @@ "LABOUR_ISSUE": "Labour issue", "MACHINERY_ISSUE": "Machinery issue", "MARKET_PROBLEM": "Market problem", - "NO_ANIMALS_AVAILABLE": "No animals available (automatic)", + "NO_ANIMALS": "Auto-abandoned: No animals for this task", "OTHER": "Other", "SCHEDULING_ISSUE": "Scheduling issue", "WEATHER": "Weather"