Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix beta build by better clearly distinguishing between the main nvda launcher and the l10nutil exe files #17249

Merged
merged 4 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appveyor/scripts/deployScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (!$env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:versionType) {
}
# Notify the NV Access server if this is an NV Access build.
if ($env:APPVEYOR_REPO_NAME.StartsWith("nvaccess/")) {
$exe = Get-ChildItem -Name output\*.exe
$exe = Get-ChildItem -Name output\nvda_*.exe
SaschaCowley marked this conversation as resolved.
Show resolved Hide resolved
$hash = (Get-FileHash "output\$exe" -Algorithm SHA1).Hash.ToLower()
$apiVersion = (py -c "import sys; sys.path.append('source'); from addonAPIVersion import CURRENT; print('{}.{}.{}'.format(*CURRENT))")
echo apiversion: $apiVersion
Expand Down
8 changes: 4 additions & 4 deletions projectDocs/translating/crowdin.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ To translate any of these files:
* Make sure to choose "Download" not "Export xliff".
* Make a copy of this file.
* Open the xliff file in Poedit, translate, and save the file.
* Use the nvdaL10nUtil program to strip the xliff so that it only contains translations that were added / changed. E.g.
* Use the NVDA l10nUtil program to strip the xliff so that it only contains translations that were added / changed. E.g.
```
nvdaL10nUtil stripXliff -o <old xliff file> <translated xliff file> <output stripped xliff file>
l10nUtil.exe stripXliff -o <old xliff file> <translated xliff file> <output stripped xliff file>
```
* Upload the xliff file back to Crowdin. If it is a stripped xliff file, it is safe to check the `allow target to match source` checkbox.

Expand All @@ -194,7 +194,7 @@ All strings for translation contain translator notes which include:

### Verifying your translation

When ever you have saved the xliff file with Poedit, you can use the nvdaL10nUtil program to generate the html version of the documentation file. E.g.
When ever you have saved the xliff file with Poedit, you can use the NVDA l10nUtil program to generate the html version of the documentation file. E.g.
```
nvdaL10nUtil xliff2html -t [userGuide|changes|keyCommands] <xliff file> <output html file>
l10nUtil.exe xliff2html -t [userGuide|changes|keyCommands] <xliff file> <output html file>
```
2 changes: 1 addition & 1 deletion sconstruct
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,6 @@ nvdaL10nUtil = env.Command(
target=outputDir.File("nvdaL10nUtil.exe"),
source="user_docs/nvdaL10nUtil.py",
ENV=os.environ,
action=f"nuitka --assume-yes-for-downloads --remove-output --standalone --onefile --output-dir={outputDir.abspath} --include-module=mdx_truly_sane_lists --include-module=markdown_link_attr_modifier --include-module=mdx_gh_links user_docs/nvdaL10nUtil.py",
action=f"nuitka --assume-yes-for-downloads --remove-output --standalone --onefile --output-dir={outputDir.abspath} --include-module=mdx_truly_sane_lists --include-module=markdown_link_attr_modifier --include-module=mdx_gh_links user_docs/l10nUtil.py",
)
env.Alias("nvdaL10nUtil", nvdaL10nUtil)
File renamed without changes.