Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
message/pipeline: sort maps to generate predictable output
When using gotext utility, the output files are always reshuffled, which makes any kind of source versioning and incremental translation a real challenge. This commit sorts the Go files by package name and order index (file name is not available) before processing the string extraction. Furthermore, an issue with sorting plural cases has been resolved. Originally, it sorted ["two", "few", "one", "other"] wrong. Fixes golang/go#33552 Change-Id: I76fc5d40cf4f989e01ba6d897c0a69029ca30337 Reviewed-on: https://go-review.googlesource.com/c/text/+/207281 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
- Loading branch information