def inv_recv_crud_strings():
 T = current.T
 if (current.deployment_settings.get_inv_shipment_name() == 'order'):
  ADD_RECV = T('Add Order')
  current.response.s3.crud_strings['inv_recv'] = Storage(label_create=ADD_RECV, title_display=T('Order Details'), title_list=T('Orders'), title_update=T('Edit Order'), label_list_button=T('List Orders'), label_delete_button=T('Delete Order'), msg_record_created=T('Order Created'), msg_record_modified=T('Order updated'), msg_record_deleted=T('Order canceled'), msg_list_empty=T('No Orders registered'))
 else:
  ADD_RECV = T('Receive New Shipment')
  current.response.s3.crud_strings['inv_recv'] = Storage(label_create=ADD_RECV, title_display=T('Received Shipment Details'), title_list=T('Received/Incoming Shipments'), title_update=T('Shipment to Receive'), label_list_button=T('List Received/Incoming Shipments'), label_delete_button=T('Delete Received Shipment'), msg_record_created=T('Shipment Created'), msg_record_modified=T('Received Shipment updated'), msg_record_deleted=T('Received Shipment canceled'), msg_list_empty=T('No Received Shipments'))
 return

def inv_recv_crud_strings ( ) : T = current . T if ( current . deployment_settings . get_inv_shipment_name ( ) == 'order' ) : ADD_RECV = T ( 'Add Order' ) current . response . s3 . crud_strings [ 'inv_recv' ] = Storage ( label_create = ADD_RECV , title_display = T ( 'Order Details' ) , title_list = T ( 'Orders' ) , title_update = T ( 'Edit Order' ) , label_list_button = T ( 'List Orders' ) , label_delete_button = T ( 'Delete Order' ) , msg_record_created = T ( 'Order Created' ) , msg_record_modified = T ( 'Order updated' ) , msg_record_deleted = T ( 'Order canceled' ) , msg_list_empty = T ( 'No Orders registered' ) ) else : ADD_RECV = T ( 'Receive New Shipment' ) current . response . s3 . crud_strings [ 'inv_recv' ] = Storage ( label_create = ADD_RECV , title_display = T ( 'Received Shipment Details' ) , title_list = T ( 'Received/Incoming Shipments' ) , title_update = T ( 'Shipment to Receive' ) , label_list_button = T ( 'List Received/Incoming Shipments' ) , label_delete_button = T ( 'Delete Received Shipment' ) , msg_record_created = T ( 'Shipment Created' ) , msg_record_modified = T ( 'Received Shipment updated' ) , msg_record_deleted = T ( 'Received Shipment canceled' ) , msg_list_empty = T ( 'No Received Shipments' ) ) return
crud strings for inv_recv which need to be visible to menus without a model load .