Tweak rack labels

This commit is contained in:
blitzmann
2014-03-26 14:18:40 -04:00
parent 47ef37274b
commit 641f5999f0
2 changed files with 1 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ class BaseName(ViewColumn):
return "%s (%s)" % (stuff.name, stuff.ship.item.name)
elif isinstance(stuff, Rack):
if service.Fit.getInstance().serviceFittingOptions["rackLabels"]:
return u'{} Rack'.format(Slot.getName(stuff.slot).capitalize())
return u'{} Slots'.format(Slot.getName(stuff.slot).capitalize())
else:
return ""
elif isinstance(stuff, Module):