# ===================================
#  List Behavior Config
# ===================================

# Model List Column configuration
list: ~/plugins/rainlab/translate/models/locale/columns.yaml

# Model Class name
modelClass: RainLab\Translate\Models\Locale

# List Title
title: rainlab.translate::lang.locale.title

# Link URL for each record
# recordUrl: rainlab/translate/locale/update/:id

recordOnClick: $.translateLocales.clickRecord(:id)

# Message to display if the list is empty
noRecordsMessage: backend::lang.list.no_records

# Records to display per page
recordsPerPage: 20

# Displays the list column set up button
showSetup: true

# Displays the sorting link on each column
showSorting: true

# Default sorting column
defaultSort:
     column: sort_order
     direction: asc

# Display checkboxes next to each record
# showCheckboxes: true

# Toolbar widget configuration
toolbar:
    # Partial for toolbar buttons
    buttons: list_toolbar

    # Search widget configuration
    search:
        prompt: backend::lang.list.search_prompt
