Skip to content

Commit 8f0f04f

Browse files
committed
clean up gettext output folder before updating po files
1 parent 723250a commit 8f0f04f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def update_release_languages(session):
269269
if RELEASE_LANGUAGES:
270270
session.install("-e", ".")
271271
session.install("sphinx-intl")
272+
_clean_translation_templates(session)
272273
session.log("Updating templates (.pot)")
273274
session.run(
274275
SPHINX_BUILD,
@@ -298,6 +299,7 @@ def update_language(session):
298299
if lang in LANGUAGES:
299300
session.install("-e", ".")
300301
session.install("sphinx-intl")
302+
_clean_translation_templates(session)
301303
session.log("Updating templates (.pot)")
302304
session.run(
303305
SPHINX_BUILD,

0 commit comments

Comments
 (0)