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

Method getText

gui/builtinContextMenus/itemAmountChange.py:33–36  ·  view source on GitHub ↗
(self, callingWindow, itmContext, mainItem, selection)

Source from the content-addressed store, hash-verified

31 return True
32
33 def getText(self, callingWindow, itmContext, mainItem, selection):
34 if isinstance(mainItem, es_Cargo):
35 return _t("Change Selection Quantity")
36 return _t("Change {0} Quantity").format(itmContext)
37
38 def activate(self, callingWindow, fullContext, mainItem, selection, i):
39 fitID = self.mainFrame.getActiveFit()

Callers

nothing calls this directly

Calls 1

_tFunction · 0.50

Tested by

no test coverage detected