mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-02 17:05:26 +00:00
0881583535
While `creditTranslators.py` did already contain logic to remove duplicate translator names, that logic didn't remove translator names which only differed in their casing. As the removal was implemented using an (unordered) `set`, the order of such duplicate names wasn't deterministic and oscilated between the possible orders with different invocations of `creditTranslators.py`, creating unnecessary changes to `translators.json`. This commit fixes that so that duplicate names are also removed when they just differ in their casing and prefers the variant with has the names starting with a capitalized letter. Patch by: @Dunedan Accepted by: @Stan Differential Revision: https://code.wildfiregames.com/D5304 This was SVN commit r28152.