diff --git a/farm_crop.info b/farm_crop.info index 21dc1336..2ef0cd47 100644 --- a/farm_crop.info +++ b/farm_crop.info @@ -32,8 +32,8 @@ dependencies[] = taxonomy dependencies[] = text dependencies[] = views dependencies[] = views_bulk_operations -dependencies[] = views_tree dependencies[] = views_data_export +dependencies[] = views_tree features[ctools][] = strongarm:strongarm:1 features[ctools][] = views:views_default:3.0 features[farm_asset_type][] = planting diff --git a/farm_crop.views_default.inc b/farm_crop.views_default.inc index 4dedfb9f..0f6a25ad 100644 --- a/farm_crop.views_default.inc +++ b/farm_crop.views_default.inc @@ -449,39 +449,6 @@ if (!empty($farm_asset)) { $handler->display->display_options['menu']['name'] = 'farm'; $handler->display->display_options['menu']['context'] = 0; $handler->display->display_options['menu']['context_only_inline'] = 0; - $translatables['farm_log_seeding'] = array( - t('Master'), - t('Seedings'), - t('more'), - t('Apply'), - t('Reset'), - t('Sort by'), - t('Asc'), - t('Desc'), - t('Items per page'), - t('- All -'), - t('Offset'), - t('« first'), - t('‹ previous'), - t('next ›'), - t('last »'), - t('No seedings found.'), - t('Log'), - t('- Choose an operation -'), - t('Done'), - t('Not Done'), - t('Log ID'), - t('.'), - t('✔'), - t('Date'), - t('Seeding'), - t('Quantity'), - t('All'), - t('Seedings of %1'), - t('Start date'), - t('End date'), - t('Page'), - ); /* Display: Data export */ $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1'); @@ -502,6 +469,42 @@ if (!empty($farm_asset)) { 'page_1' => 'page_1', 'default' => 0, ); + $translatables['farm_log_seeding'] = array( + t('Master'), + t('Seedings'), + t('more'), + t('Apply'), + t('Reset'), + t('Sort by'), + t('Asc'), + t('Desc'), + t('Items per page'), + t('- All -'), + t('Offset'), + t('« first'), + t('‹ previous'), + t('next ›'), + t('last »'), + t('No seedings found.'), + t('field collection item from field_farm_quantity'), + t('Log'), + t('- Choose an operation -'), + t('Done'), + t('Not Done'), + t('✔'), + t('Log ID'), + t('.'), + t('Date'), + t('Seeding'), + t('Quantity'), + t('Units'), + t('All'), + t('Seedings of %1'), + t('Start date'), + t('End date'), + t('Page'), + t('Data export'), + ); $export['farm_log_seeding'] = $view; $view = new view(); @@ -765,39 +768,6 @@ if (!empty($farm_asset)) { $handler->display->display_options['menu']['name'] = 'farm'; $handler->display->display_options['menu']['context'] = 0; $handler->display->display_options['menu']['context_only_inline'] = 0; - $translatables['farm_log_transplanting'] = array( - t('Master'), - t('Transplantings'), - t('more'), - t('Apply'), - t('Reset'), - t('Sort by'), - t('Asc'), - t('Desc'), - t('Items per page'), - t('- All -'), - t('Offset'), - t('« first'), - t('‹ previous'), - t('next ›'), - t('last »'), - t('No transplantings found.'), - t('Log'), - t('- Choose an operation -'), - t('Done'), - t('Not Done'), - t('Log ID'), - t('.'), - t('✔'), - t('Date'), - t('Transplanting'), - t('Quantity'), - t('All'), - t('Transplantings of %1'), - t('Start date'), - t('End date'), - t('Page'), - ); /* Display: Data export */ $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1'); @@ -818,6 +788,42 @@ if (!empty($farm_asset)) { 'page_1' => 'page_1', 'default' => 0, ); + $translatables['farm_log_transplanting'] = array( + t('Master'), + t('Transplantings'), + t('more'), + t('Apply'), + t('Reset'), + t('Sort by'), + t('Asc'), + t('Desc'), + t('Items per page'), + t('- All -'), + t('Offset'), + t('« first'), + t('‹ previous'), + t('next ›'), + t('last »'), + t('No transplantings found.'), + t('field collection item from field_farm_quantity'), + t('Log'), + t('- Choose an operation -'), + t('Done'), + t('Not Done'), + t('✔'), + t('Log ID'), + t('.'), + t('Date'), + t('Transplanting'), + t('Quantity'), + t('Units'), + t('All'), + t('Transplantings of %1'), + t('Start date'), + t('End date'), + t('Page'), + t('Data export'), + ); $export['farm_log_transplanting'] = $view; $view = new view(); @@ -1089,38 +1095,6 @@ if (!empty($farm_asset)) { $handler->display->display_options['tab_options']['title'] = 'Plantings'; $handler->display->display_options['tab_options']['weight'] = '0'; $handler->display->display_options['tab_options']['name'] = 'farm'; - $translatables['farm_plantings'] = array( - t('Master'), - t('Plantings'), - t('more'), - t('Apply'), - t('Reset'), - t('Sort by'), - t('Asc'), - t('Desc'), - t('Items per page'), - t('- All -'), - t('Offset'), - t('« first'), - t('‹ previous'), - t('next ›'), - t('last »'), - t('No plantings found.'), - t('Latest movement'), - t('Farm asset'), - t('- Choose an operation -'), - t('Farm asset ID'), - t('.'), - t('Name'), - t('Crop/Variety'), - t('Location'), - t('Season'), - t('All'), - t('Plantings in %1'), - t('Plantings of %2'), - t('Active'), - t('Page'), - ); /* Display: Data export */ $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1'); @@ -1141,6 +1115,39 @@ if (!empty($farm_asset)) { 'page' => 'page', 'default' => 0, ); + $translatables['farm_plantings'] = array( + t('Master'), + t('Plantings'), + t('more'), + t('Apply'), + t('Reset'), + t('Sort by'), + t('Asc'), + t('Desc'), + t('Items per page'), + t('- All -'), + t('Offset'), + t('« first'), + t('‹ previous'), + t('next ›'), + t('last »'), + t('No plantings found.'), + t('Latest movement'), + t('Farm asset'), + t('- Choose an operation -'), + t('Asset ID'), + t('.'), + t('Name'), + t('Crop/Variety'), + t('Location'), + t('Season'), + t('All'), + t('Plantings in %1'), + t('Plantings of %2'), + t('Active'), + t('Page'), + t('Data export'), + ); $export['farm_plantings'] = $view; return $export;