3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Reformat group/inventory/movement log view titles: "[type] logs" (instead of "Logs of [type]").

This commit is contained in:
Michael Stenta 2019-04-10 22:58:54 -04:00
parent 814ea92e36
commit 49eb8f1938
3 changed files with 17 additions and 17 deletions

View file

@ -221,7 +221,7 @@ function farm_group_views_default_views() {
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Logs of group membership';
$handler->display->display_options['title'] = 'Group membership logs';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['access']['perm'] = 'view all logs';
@ -335,7 +335,7 @@ function farm_group_views_default_views() {
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
$handler->display->display_options['empty']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['empty']['area_text_custom']['content'] = 'No logs of group membership found.';
$handler->display->display_options['empty']['area_text_custom']['content'] = 'No group membership logs found.';
/* Relationship: Log: Group membership (field_farm_membership) */
$handler->display->display_options['relationships']['field_farm_membership_value']['id'] = 'field_farm_membership_value';
$handler->display->display_options['relationships']['field_farm_membership_value']['table'] = 'field_data_field_farm_membership';
@ -611,7 +611,7 @@ function farm_group_views_default_views() {
$handler = $view->new_display('page', 'Page', 'page');
$handler->display->display_options['path'] = 'farm/logs/group';
$handler->display->display_options['menu']['type'] = 'normal';
$handler->display->display_options['menu']['title'] = 'Logs of group membership';
$handler->display->display_options['menu']['title'] = 'Group membership logs';
$handler->display->display_options['menu']['weight'] = '100';
$handler->display->display_options['menu']['name'] = 'farm';
$handler->display->display_options['menu']['context'] = 0;
@ -638,7 +638,7 @@ function farm_group_views_default_views() {
);
$translatables['farm_group_log'] = array(
t('Master'),
t('Logs of group membership'),
t('Group membership logs'),
t('more'),
t('Apply'),
t('Reset'),
@ -654,7 +654,7 @@ function farm_group_views_default_views() {
t('last »'),
t('This lists all logs that assign assets as members of a group. Multiple log types are included in this list, and are specified in the "Log type" column.'),
t('Displaying @start - @end of @total'),
t('No logs of group membership found.'),
t('No group membership logs found.'),
t('field collection item from field_farm_membership'),
t('Log'),
t('- Choose an operation -'),

View file

@ -291,7 +291,7 @@ function farm_inventory_views_default_views() {
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Logs of inventory adjustments';
$handler->display->display_options['title'] = 'Inventory logs';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['access']['perm'] = 'view all logs';
@ -409,7 +409,7 @@ function farm_inventory_views_default_views() {
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
$handler->display->display_options['empty']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['empty']['area_text_custom']['content'] = 'No logs of inventory adjustments found.';
$handler->display->display_options['empty']['area_text_custom']['content'] = 'No inventory logs found.';
/* Relationship: Log: Inventory adjustments (field_farm_inventory) */
$handler->display->display_options['relationships']['field_farm_inventory_value']['id'] = 'field_farm_inventory_value';
$handler->display->display_options['relationships']['field_farm_inventory_value']['table'] = 'field_data_field_farm_inventory';
@ -690,7 +690,7 @@ function farm_inventory_views_default_views() {
$handler = $view->new_display('page', 'Page', 'page');
$handler->display->display_options['path'] = 'farm/logs/inventory';
$handler->display->display_options['menu']['type'] = 'normal';
$handler->display->display_options['menu']['title'] = 'Logs of inventory adjustments';
$handler->display->display_options['menu']['title'] = 'Inventory logs';
$handler->display->display_options['menu']['weight'] = '100';
$handler->display->display_options['menu']['name'] = 'farm';
$handler->display->display_options['menu']['context'] = 0;
@ -717,7 +717,7 @@ function farm_inventory_views_default_views() {
);
$translatables['farm_inventory_log'] = array(
t('Master'),
t('Logs of inventory adjustments'),
t('Inventory logs'),
t('more'),
t('Apply'),
t('Reset'),
@ -733,7 +733,7 @@ function farm_inventory_views_default_views() {
t('last »'),
t('This lists all logs that include asset inventory adjustments. If a log contains more than one inventory adjustment, it will be listed more than once in this list. Multiple log types are included in this list, and are specified in the "Log type" column.'),
t('Displaying @start - @end of @total'),
t('No logs of inventory adjustments found.'),
t('No inventory logs found.'),
t('field_farm_inventory'),
t('Log'),
t('- Choose an operation -'),

View file

@ -396,7 +396,7 @@ function farm_movement_views_default_views() {
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Logs of movements';
$handler->display->display_options['title'] = 'Movement logs';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['access']['perm'] = 'view all logs';
@ -500,7 +500,7 @@ function farm_movement_views_default_views() {
$handler->display->display_options['header']['area_text_custom']['table'] = 'views';
$handler->display->display_options['header']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['header']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['header']['area_text_custom']['content'] = 'This lists all logs that define movements of assets. Multiple log types are included in this list, and are specified in the "Log type" column.';
$handler->display->display_options['header']['area_text_custom']['content'] = 'This lists all logs that include asset movements. Multiple log types are included in this list, and are specified in the "Log type" column.';
/* Footer: Global: Result summary */
$handler->display->display_options['footer']['result']['id'] = 'result';
$handler->display->display_options['footer']['result']['table'] = 'views';
@ -510,7 +510,7 @@ function farm_movement_views_default_views() {
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
$handler->display->display_options['empty']['area_text_custom']['field'] = 'area_text_custom';
$handler->display->display_options['empty']['area_text_custom']['empty'] = TRUE;
$handler->display->display_options['empty']['area_text_custom']['content'] = 'No logs of movements found.';
$handler->display->display_options['empty']['area_text_custom']['content'] = 'No movement logs found.';
/* Relationship: Log: Movement (field_farm_movement) */
$handler->display->display_options['relationships']['field_farm_movement_value']['id'] = 'field_farm_movement_value';
$handler->display->display_options['relationships']['field_farm_movement_value']['table'] = 'field_data_field_farm_movement';
@ -807,7 +807,7 @@ function farm_movement_views_default_views() {
$handler = $view->new_display('page', 'Page', 'page');
$handler->display->display_options['path'] = 'farm/logs/movements';
$handler->display->display_options['menu']['type'] = 'normal';
$handler->display->display_options['menu']['title'] = 'Logs of movements';
$handler->display->display_options['menu']['title'] = 'Movement logs';
$handler->display->display_options['menu']['weight'] = '100';
$handler->display->display_options['menu']['name'] = 'farm';
$handler->display->display_options['menu']['context'] = 0;
@ -834,7 +834,7 @@ function farm_movement_views_default_views() {
);
$translatables['farm_movement_log'] = array(
t('Master'),
t('Logs of movements'),
t('Movement logs'),
t('more'),
t('Apply'),
t('Reset'),
@ -848,9 +848,9 @@ function farm_movement_views_default_views() {
t(' previous'),
t('next '),
t('last »'),
t('This lists all logs that define movements of assets. Multiple log types are included in this list, and are specified in the "Log type" column.'),
t('This lists all logs that include asset movements. Multiple log types are included in this list, and are specified in the "Log type" column.'),
t('Displaying @start - @end of @total'),
t('No logs of movements found.'),
t('No movement logs found.'),
t('field collection item from field_farm_movement'),
t('Log'),
t('- Choose an operation -'),