diff options
author | Arun Isaac | 2022-06-13 00:43:35 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-13 00:43:35 +0530 |
commit | 8a8230e0604a20234a30d49b297dd8dd0c8c7cd1 (patch) | |
tree | 57199e1d290eae720f198fe5b03eeee26aefbba2 | |
parent | d70b0db60691086ce7f82a5d5211d7a3217f5541 (diff) | |
download | thogai-8a8230e0604a20234a30d49b297dd8dd0c8c7cd1.tar.gz thogai-8a8230e0604a20234a30d49b297dd8dd0c8c7cd1.tar.lz thogai-8a8230e0604a20234a30d49b297dd8dd0c8c7cd1.zip |
Insert space before glue translations.
* thogai.el (thogai-insert-translation): Insert space before glue
translations if it is the first part of the translation.
-rw-r--r-- | thogai.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ callers should never pass non-nil SUBTRANSLATION." ((pred (lambda (str) (and (string-prefix-p "{&" str) (string-suffix-p "}" str)))) - (unless thogai-glue + (unless (or subtranslation thogai-glue) (thogai-insert-space)) (thogai-insert-literal (string-remove-prefix "{&" (string-remove-suffix "}" translation))) |