frontend: Rake tasks
These rake tasks come from the desc descriptions in frontend’s lib/tasks folder.
To change what’s shown here, change the description in the code.
consolidation:copy_translation
Copy a locale key for all locales from collections to frontend
k exec deploy/frontend -- rake consolidation:copy_translation[key,target_key]
More about this task
Usage: rake "consolidation:copy_translation[components]" # copies the whole components tree rake "consolidation:copy_translation[components.figure]" # copies just the components.figure tree rake "consolidation:copy_translation[components.figure,component_details.figure]" # copies just the components.figure tree, but puts it into component_details.figure in frontend Note that collections needs to be checked out out in a sibling directory
View source (lib/tasks/consolidation.rake)