Skip to content

Commit

Permalink
sconstruct: correctly detect the language of xliff files when trying …
Browse files Browse the repository at this point in the history
…to skip English
  • Loading branch information
michaelDCurran committed Sep 9, 2024
1 parent 88be74a commit d5033a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sconstruct
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ numberedHeadingsStyle = os.path.join(userDocsDir.path, "numberedHeadings.css")

# Create Non-english md files in user_docs from localized xliff and English skel files
for xliffFile in env.Glob(os.path.join(userDocsDir.path, "*", "*.xliff")):
lang = os.path.basename(xliffFile.path).split(".")[0]
lang = os.path.split(os.path.dirname(xliffFile.path))[-1]
if lang == "en":
continue
mdFile = os.path.splitext(xliffFile.path)[0] + ".md"
Expand Down

0 comments on commit d5033a6

Please sign in to comment.