diff --git a/cinnamon-spices-makepot b/cinnamon-spices-makepot index a863c6ec..8413813f 100755 --- a/cinnamon-spices-makepot +++ b/cinnamon-spices-makepot @@ -179,6 +179,7 @@ def process_po(path_to_po: str, po_info: list, uuid: str) -> CapturedOutput: content = po.read() content = content.replace('SOME DESCRIPTIVE TITLE.', name) content = content.replace('FIRST AUTHOR , YEAR.', f'{po_author}, {year}') + content = content.replace('#: ', '#. ') po.seek(0) po.write(content) po.truncate() @@ -294,6 +295,7 @@ def make_pot(uuid: str) -> CapturedOutput: content = content.replace('YEAR-MO-DA HO:MI+ZONE', '') content = content.replace('FULL NAME ', '') content = content.replace('LANGUAGE ', '') + content = content.replace('#: ', '#. ') po.seek(0) po.write(content) po.truncate()