add copy translation link

This commit is contained in:
2023-10-05 21:31:23 +05:30
parent 3f7ba6b071
commit fbf74effcd
2 changed files with 3 additions and 4 deletions

View File

@@ -95,6 +95,7 @@
<button class="wrap" type="submit">
Translate!
</button>
{{ if and .Engine .From .To .OriginalText }}<p><a href="/?engine={{.Engine}}&from={{.From}}&to={{.To}}&text={{.OriginalText}}">Copy translation link</a></p>{{end}}
</form>
<script>
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0