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

Method getText

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

Source from the content-addressed store, hash-verified

39 return True
40
41 def getText(self, callingWindow, itmContext, mainItem, selection):
42 return _t('Remove {item}{stack}').format(
43 item=itmContext if itmContext is not None else _t('Item'),
44 stack=_t(' Stack') if self.srcContext in ('droneItem', 'projectedDrone', 'cargoItem', 'projectedFit') else '')
45
46 def activate(self, callingWindow, fullContext, mainItem, selection, i):
47 handlerMap = {

Callers

nothing calls this directly

Calls 1

_tFunction · 0.50

Tested by

no test coverage detected