MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / getText

Method getText

gui/builtinContextMenus/itemMutations.py:45–46  ·  view source on GitHub ↗
(self, callingWindow, itmContext, mainItem)

Source from the content-addressed store, hash-verified

43 return True
44
45 def getText(self, callingWindow, itmContext, mainItem):
46 return _t("Apply Mutaplasmid") if not mainItem.isMutated else _t("Revert to {}").format(mainItem.baseItem.name)
47
48 def getSubMenu(self, callingWindow, context, mainItem, rootMenu, i, pitem):
49 if mainItem.isMutated:

Callers

nothing calls this directly

Calls 1

_tFunction · 0.50

Tested by

no test coverage detected