You are here

Translation cart in Translation Management Tool 7

The translation cart can collect multiple source items of different types which are meant for translation into a list. The list then provides functionality to request translation of the items into multiple target languages.

Each source can easily plug into the cart system utilising the tmgmt_ui_add_cart_form() on either the source overview page as well as the translate tab.

File

./tmgmt.api.php, line 261
Hooks provided by the Translation Management module.

Functions

Namesort descending Location Description
tmgmt_ui_add_cart_form ui/tmgmt_ui.module Adds add to cart form elements.
tmgmt_ui_cart_content ui/includes/tmgmt_ui.pages.inc Form constructor for cart form.
tmgmt_ui_cart_empty_cart_form_submit ui/includes/tmgmt_ui.pages.inc Custom form submit callback for tmgmt_ui_cart_cart_form().
tmgmt_ui_cart_remove_selected_form_submit ui/includes/tmgmt_ui.pages.inc Custom form submit callback for tmgmt_ui_cart_cart_form().
tmgmt_ui_cart_request_translation_form_submit ui/includes/tmgmt_ui.pages.inc Custom form submit callback for tmgmt_ui_cart_cart_form().
tmgmt_ui_cart_source_overview_validate ui/tmgmt_ui.module Cart form validation callback for the source overview.
tmgmt_ui_source_add_to_cart_submit ui/tmgmt_ui.module Submit handler to add items into the cart.

Classes

Namesort descending Location Description
TMGMTJobItemUICart ui/includes/tmgmt_ui.cart.inc Represents a job item cart.