translation key for traslated multi
This commit is contained in:
parent
5d25796323
commit
a4f5837e0c
@ -328,6 +328,7 @@ class RedactionalObject(WritableObject):
|
||||
)
|
||||
text = text.replace(block.group(), lang.group(1))
|
||||
self.lang = forced_lang # So write-all will not be cancelled
|
||||
self.id_trad = self._id # Assign translation key to id so hugo can link
|
||||
if lang is None:
|
||||
LOG.debug(f"{forced_lang} not found in `{self._title}`")
|
||||
return text
|
||||
|
Loading…
Reference in New Issue
Block a user