Skip to content

Commit

Permalink
English changes.xliff + Initial set of user docs translated xliff fil…
Browse files Browse the repository at this point in the history
…es from Crowdin (#17106)

This pr adds a newly generated changes.xliff for English, which has also been uploaded to Crowdin.
This PR updates the user docs github action to upload the English changes.xliff to Crowdin if it has changed.
This pr also includes the initial set of translated user docs xliff files from Crowdin.
So far that is 20 translations of the user guide, and 7 translations of changes (what's new).
scons will see that these are newer than their markdown files, and rebuild the markdown files from these, and then build the html from the rebuilt markdown files.
  • Loading branch information
michaelDCurran authored Sep 3, 2024
1 parent 1315df7 commit 51cd079
Show file tree
Hide file tree
Showing 30 changed files with 1,177,194 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,11 @@ jobs:
} else {
Write-Host "Not uploading userGuide.xliff to Crowdin as it has not changed"
}
$changed = git diff --name-only ${{GITHUB.SHA}}.. -- user_docs/en/changes.xliff
if ($changed) {
Write-Host "Uploading changes.xliff to Crowdin"
# 20 is the file ID for changes.xliff in Crowdin.
python appVeyor/crowdinSync.py uploadSourceFile 20 user_docs/en/changes.xliff
} else {
Write-Host "Not uploading changes.xliff to Crowdin as it has not changed"
}
1 change: 1 addition & 0 deletions source/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ def _genManifestTemplate(shouldHaveUIAccess: bool) -> tuple[int, int, bytes]:
+ (
"__pycache__",
"*.md",
"*.xliff",
"*/user_docs/styles.css",
"*/user_docs/numberedHeadings.css",
"*/developerGuide.*",
Expand Down
Loading

0 comments on commit 51cd079

Please sign in to comment.