Skip to content
Commit 460bdfe8 authored by Hannu Nyman's avatar Hannu Nyman Committed by Jo-Philipp Wich
Browse files

build: sort location annotation table in i18n sync process



The scanning routine has caused unnecessary changes to the .po files
if a string has been found in multiple files and those files have been
found in different order than the previous time.

Sort the location annotations to avoid unnecessary changes to the .po files.
(sort is alphabetic, so the line numbers are also sorted alphabetically)

Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
[apply a Schwartzian transform to sort locations by path, then line number]
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent a8087bd7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment