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

Method getText

gui/builtinContextMenus/droneAddStack.py:39–41  ·  view source on GitHub ↗
(self, callingWindow, itmContext, mainItem)

Source from the content-addressed store, hash-verified

37 return True
38
39 def getText(self, callingWindow, itmContext, mainItem):
40 return _t('Add {} to Drone Bay{}').format(
41 itmContext, '' if self.amount == 1 else ' (x{})'.format(self.amount))
42
43 def activate(self, callingWindow, fullContext, mainItem, i):
44 command = cmd.GuiAddLocalDroneCommand(

Callers

nothing calls this directly

Calls 1

_tFunction · 0.50

Tested by

no test coverage detected