[LyX/2.5.x] * lyx_pot.py - fix remerge examples/ noise in .po files
Pavel Sanda <[email protected]>
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit ecf90865a8f4d416b59a69edf4b8278ebfb561f5 Author: Pavel Sanda <[email protected]> Date: Fri Mar 20 19:38:37 2026 +0100 * lyx_pot.py - fix remerge examples/ noise in .po files Random ordering of files causes spurious diffs in examples/ strings (we fixed that generally for other strings, but examples/ hide this routine in subcall). --- po/lyx_pot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/lyx_pot.py b/po/lyx_pot.py index f1c2384f07..ef8c6a1d00 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -715,7 +715,7 @@ def examples_templates_l10n(input_files, output, base): def parseExamplesTemplates(file, seen, output): # Recursively iterate over subdirectories if os.path.isdir(file): - for sfile in glob.glob( os.path.join(file, '*') ): + for sfile in sorted(glob.glob( os.path.join(file, '*') )): parseExamplesTemplates(sfile, seen, output) filename = os.path.normpath(os.path.realpath(file)).split(os.sep)[-1] -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs