<?php
    $lang['list_add']                = __('Add', 'grocerycrud');
    $lang['list_actions']            = __('Actions', 'grocerycrud');
    $lang['list_page']                = __('Page', 'grocerycrud');
    $lang['list_paging_of']        = __('of', 'grocerycrud');
    $lang['list_displaying']        = __('Displaying {start} to {end} of {results} items', 'grocerycrud');
    $lang['list_filtered_from']        = __('(filtered from {total_results} total entries)', 'grocerycrud');
    $lang['list_show_entries']        = __('Show {paging} entries', 'grocerycrud');
    $lang['list_no_items']            = __('No items to display', 'grocerycrud');
    $lang['list_zero_entries']        = __('Displaying 0 to 0 of 0 items', 'grocerycrud');
    $lang['list_search']            = __('Search', 'grocerycrud');
    $lang['list_search_all']        = __('Search all', 'grocerycrud');
    $lang['list_clear_filtering']    = __('Clear filtering', 'grocerycrud');
    $lang['list_delete']            = __('Delete', 'grocerycrud');
    $lang['list_edit']                = __('Edit', 'grocerycrud');
    $lang['list_paging_first']        = __('First', 'grocerycrud');
    $lang['list_paging_previous']    = __('Previous', 'grocerycrud');
    $lang['list_paging_next']        = __('Next', 'grocerycrud');
    $lang['list_paging_last']        = __('Last', 'grocerycrud');
    $lang['list_loading']            = __('Loading...', 'grocerycrud');

    $lang['form_edit']                = __('Edit', 'grocerycrud');
    $lang['form_back_to_list']        = __('Back to list', 'grocerycrud');
    $lang['form_update_changes']    = __('Update changes', 'grocerycrud');
    $lang['form_cancel']            = __('Cancel', 'grocerycrud');
    $lang['form_update_loading']    = __('Loading, updating changes...', 'grocerycrud');
    $lang['update_success_message'] = __('Your data has been successfully updated.', 'grocerycrud');
    $lang['form_go_back_to_list']    = __('Go back to list', 'grocerycrud');

    $lang['form_add']                = __('Add', 'grocerycrud');
    $lang['insert_success_message'] = __('Your data has been successfully stored into the database.', 'grocerycrud');;
    $lang['form_or']                = __('or', 'grocerycrud');;
    $lang['form_save']                = __('Save', 'grocerycrud');;
    $lang['form_insert_loading']    = __('Loading, saving data...', 'grocerycrud');;

    $lang['form_upload_a_file']    = __('Upload a file', 'grocerycrud');;
    $lang['form_upload_delete']    = __('delete', 'grocerycrud');;
    $lang['form_button_clear']        = __('Clear', 'grocerycrud');;

    $lang['delete_success_message'] = __('Your data has been successfully deleted from the database.', 'grocerycrud');;
    $lang['delete_error_message']    = __('Your data was not deleted from the database.', 'grocerycrud');;

    /* Javascript messages */
    $lang['alert_add_form']            = __('The data you had insert may not be saved.\\nAre you sure you want to go back to list?', 'grocerycrud');;
    $lang['alert_edit_form']        = __('The data you had change may not be saved.\\nAre you sure you want to go back to list?', 'grocerycrud');;
    $lang['alert_delete']            = __('Are you sure that you want to delete this record?', 'grocerycrud');;

    $lang['insert_error']            = __('An error has occurred on insert.', 'grocerycrud');;
    $lang['update_error']            = __('An error has occurred on saving.', 'grocerycrud');;

    /* Added in version 1.2.1 */
    $lang['set_relation_title']        = __('Select {field_display_as}', 'grocerycrud');;
    $lang['list_record']            = __('Record', 'grocerycrud');;
    $lang['form_inactive']            = __('inactive', 'grocerycrud');;
    $lang['form_active']            = __('active', 'grocerycrud');;

    /* Added in version 1.2.2 */
    $lang['form_save_and_go_back']    = __('Save and go back to list', 'grocerycrud');;
    $lang['form_update_and_go_back']= __('Update and go back to list', 'grocerycrud');;

    /* Added in version 1.2.2 */
    $lang['form_save_and_go_back']    = __('Save and go back to list', 'grocerycrud');;
    $lang['form_update_and_go_back']= __('Update and go back to list', 'grocerycrud');;

    /* Upload functionality */
    $lang['string_delete_file']    = __("Deleting file", 'grocerycrud');;
    $lang['string_progress']        = __("Progress: ", 'grocerycrud');;
    $lang['error_on_uploading']    = __("An error has occurred on uploading.", 'grocerycrud');;
    $lang['message_prompt_delete_file']    = __("Are you sure that you want to delete this file?", 'grocerycrud');;

    $lang['error_max_number_of_files']    = __("You can only upload one file each time.", 'grocerycrud');;
    $lang['error_accept_file_types']    = __("You are not allow to upload this kind of extension.", 'grocerycrud');;
    $lang['error_max_file_size']        = __("The uploaded file exceeds the {max_file_size} directive that was specified.", 'grocerycrud');;
    $lang['error_min_file_size']        = __("You cannot upload an empty file.", 'grocerycrud');;

    /* Added in version 1.3.1 */
    $lang['list_export']    = __("Export", 'grocerycrud');;
    $lang['list_print']    = __("Print", 'grocerycrud');;
    $lang['minimize_maximize'] = __('Minimize/Maximize', 'grocerycrud');;
    
    /* Added in version 1.4 */
    $lang['list_view'] = __('View', 'grocerycrud');;

    /* Added in version 1.5.1 */
    $lang['ui_day'] = __('dd', 'grocerycrud');;
    $lang['ui_month'] = __('mm', 'grocerycrud');;
    $lang['ui_year'] = __('yyyy', 'grocerycrud');;

    /* Added in version 1.5.2 */
    $lang['list_more'] = __('More', 'grocerycrud');;
