i18n: annotate gui/builtinContextMenus

This commit is contained in:
zhaoweny
2020-06-23 15:31:19 +08:00
parent 1079371ecf
commit 1c4de8b259
47 changed files with 340 additions and 218 deletions

View File

@@ -35,8 +35,8 @@ class ChangeDamagePattern(ContextMenuUnconditional):
# Order here is important: patterns with duplicate names from the latter will overwrite
# patterns from the former
self.patterns = sorted(
chain(builtinPatterns, userPatterns),
key=lambda p: p.fullName not in ["Uniform", "Selected Ammo"])
chain(builtinPatterns, userPatterns),
key=lambda p: p.fullName not in ["Uniform", "Selected Ammo"])
self.patternEventMap = {}
self.items = (OrderedDict(), OrderedDict())