nvaccess / mrconfig

'myrepos' configuration files for nvda translations and addons
GNU General Public License v3.0
5 stars 14 forks source link

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

Closed CyrilleB79 closed 1 year ago

CyrilleB79 commented 1 year ago

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 https://github.com/nvaccess/nvda/pull/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