"""This module holds the urls for the ``translation`` app. """

from macrosurl import url

from . import views
from .export_views import views as export_views
from .import_views import views as import_views

urlpatterns = [
    url(
        r'^$',
        views.DashboardView.as_view(),
        name='dashboard'
    ),
    url(
        r'^trainings/:training_uuid/export$',
        export_views.ActivityTranslationExportView.as_view(),
        name='export-content'
    ),
    url(
        r'^trainings/:training_uuid/import$',
        import_views.ActivityTranslationImportView.as_view(),
        name='import-content'
    ),
    url(
        r'^export-interface/:language_code_slug$',
        export_views.POExportView.as_view(),
        name='export-interface'
    ),
    url(
        r'^import-interface/:language_code_slug$',
        import_views.POImportView.as_view(),
        name='import-interface'
    )
]
