<?php

// Operations
$GLOBALS['TL_LANG']['tl_form_submissions_set']['settings'][0] = 'Settings';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['settings'][1] = 'Edit settings';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['edit'][0]     = 'View submissions';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['edit'][1]     = 'View all submissions for this form';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['show'][0]     = 'View details';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['show'][1]     = 'View details of this record';

// Fields
$GLOBALS['TL_LANG']['tl_form_submissions_set']['form_id'][0]     = 'Form ID';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['form_id'][1]     = 'ID of the linked form';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['form_alias'][0]  = 'Form alias';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['form_alias'][1]  = 'Alias of the linked form';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['form_title'][0]  = 'Form title';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['form_title'][1]  = 'Title of the linked form';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['label_field'][0] = 'Backend Labels';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['label_field'][1] = 'Defines how submissions are labelled in the backend list. Embed form values using InsertTags: {{field_value::fieldname}}. Chain multiple fields with :: for fallbacks – the first non-empty value is displayed, the last part serves as fallback text. Empty = recipient address.';

// Legends
$GLOBALS['TL_LANG']['tl_form_submissions_set']['label_legend'] = 'Backend Labels';

// Inline docs box (generateDocsHtml)
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_title']         = 'InsertTag Syntax';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_desc_single']   = 'Value of a form field';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_desc_fallback'] = 'Fallback: tries field1, then field2';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_desc_text']     = 'Last part serves as fallback text';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_examples']      = 'Examples';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_fields_title']  = 'Available fields';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_source_live']   = 'from last submission';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_source_config'] = 'from form configuration (no submissions yet)';
$GLOBALS['TL_LANG']['tl_form_submissions_set']['docs_fields_empty']  = 'No fields found yet – available field names will appear here after the first submission.';
