[PATCH] Sort translation files
Sort translation files when generating the .desktop file to output reproducible results. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848633 Reviewed-by: James Cameron <quozl@laptop.org>
This commit is contained in:
parent
290202d385
commit
05a18a2dc6
@ -387,8 +387,8 @@ class Installer(Packager):
|
|||||||
if info.has_option('Activity', 'summary'):
|
if info.has_option('Activity', 'summary'):
|
||||||
cp.set(section, 'Comment', info.get('Activity', 'summary'))
|
cp.set(section, 'Comment', info.get('Activity', 'summary'))
|
||||||
|
|
||||||
for path in glob(os.path.join(activity_path, 'locale',
|
for path in sorted(glob(os.path.join(activity_path, 'locale',
|
||||||
'*', 'activity.linfo')):
|
'*', 'activity.linfo'))):
|
||||||
locale = path.split(os.path.sep)[-2]
|
locale = path.split(os.path.sep)[-2]
|
||||||
info = ConfigParser()
|
info = ConfigParser()
|
||||||
info.read(path)
|
info.read(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user