Remove the jinja-mark-translatable function
This commit is contained in:
parent
f7c91a882d
commit
71ccdfc43b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user