Export a zipped file of the translations on a project

This commit is contained in:
kngako
2023-01-19 00:40:13 +02:00
parent 83c282bc73
commit eebf9266a9
6 changed files with 813 additions and 104 deletions

View File

@@ -32,6 +32,18 @@ block content
button.btn.black(type="submit")
i.material-icons.left file_download
span export to spreadsheets
.row
.col.s12
form(action=urlEndpoint, method="get")
input(type="hidden", name="markdown", value="true")
each val, key in query
if key != "markdown"
input(type="hidden", name=key, value=val)
button.btn.black(type="submit")
i.material-icons.left file_download
span export translations to markdown
.row
.col.s12
a.btn.black(href=`/projects/${project.id}/import`)