Bug 435243 - Unstable order of messages in websites-edu-kde-org/edu-kde-org_www.pot
Summary: Unstable order of messages in websites-edu-kde-org/edu-kde-org_www.pot
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-02 01:15 UTC by Alexander Potashev
Modified: 2021-04-03 15:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2021-04-02 01:15:17 UTC
SUMMARY
The order of messages in websites-edu-kde-org/edu-kde-org_www.pot is unstable. Maybe sorting by JSON file path in messages.py would help.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Alexander Potashev 2021-04-02 01:16:15 UTC
(Hint: glob returns a list of randomly ordered paths.)
Comment 2 Albert Astals Cid 2021-04-02 23:57:20 UTC
This is something for Carl i think.
Comment 3 Bug Janitor Service 2021-04-03 15:00:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/websites/edu-kde-org/-/merge_requests/3
Comment 4 Carl Schwan 2021-04-03 15:28:51 UTC
Git commit e8da9785dee020c476744d908c5ac6818c645bc7 by Carl Schwan.
Committed on 03/04/2021 at 14:59.
Pushed by aacid into branch 'master'.

Sort json files before generating the pot files

Warning: not tested

M  +1    -1    messages.py

https://invent.kde.org/websites/edu-kde-org/commit/e8da9785dee020c476744d908c5ac6818c645bc7