Remove the jinja-mark-translatable function

This commit is contained in:
Gergely Polonkai 2023-10-22 07:13:37 +02:00
parent f7c91a882d
commit 71ccdfc43b
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -785,20 +785,6 @@ and a backlink to the function and the file."
** Jinja related
*** Mark a string as translatable
#+BEGIN_SRC emacs-lisp
(defun jinja-mark-translatable (begin end)
(interactive (if (use-region-p)
(list (region-beginning) (region-end))
(list (point-min) (point-max))))
(save-excursion
(goto-char end)
(insert "{% endtrans %}")
(goto-char begin)
(insert "{% trans %}")))
#+END_SRC
*** URL-ify and de-URL-ify region
These functions URL-encode/decode a text. Might be helpful when embedding/extracting data to/from