Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

Added one level when searching for .py files to construct the .pot file#107

Merged
seanbudd merged 2 commits into
nvaccess:masterfrom
CyrilleB79:allFilesInPot
Jun 27, 2023
Merged

Added one level when searching for .py files to construct the .pot file#107
seanbudd merged 2 commits into
nvaccess:masterfrom
CyrilleB79:allFilesInPot

Conversation

@CyrilleB79

Copy link
Copy Markdown
Contributor

Another issue found on the .pot generation

Issue

Some strings of the add-on store GUI are not provided to translators as reported in this message.

Cause

When generating the .pot file, svn2nvda looks for .py files only in NVDA's source folder and maximum two levels below. However, after merging of nvaccess/nvda#13985, the GUI files of the add-on store are three levels below, thus they are not taken as source when generating the .pot file.

Solution

Added one more level for the sources used by xgettext to generate the .pot file.

Testing

  • @seanbudd could you manually check the generated files on the server?
  • Check after merge that the strings are provided to translators.

Comment thread .sh.d/01_nvda2svn.sh
@seanbudd seanbudd merged commit 4bbb11e into nvaccess:master Jun 27, 2023
@CyrilleB79 CyrilleB79 deleted the allFilesInPot branch June 27, 2023 07:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants