def _updateTitle(self, isSortie, direction, resourceMultiplier):
     if isSortie:
         title = i18n.makeString(FORTIFICATIONS.STRONGHOLDTITLE_SORTIE)
     else:
         direction = vo_converters.getDirection(direction)
         title = i18n.makeString(FORTIFICATIONS.STRONGHOLDTITLE_STRONGHOLD) % {'direction': direction}
         if resourceMultiplier > 1:
             title += ' (x%s)' % resourceMultiplier
     self.fireEvent(events.RenameWindowEvent(events.RenameWindowEvent.RENAME_WINDOW, ctx={'data': title}), scope=EVENT_BUS_SCOPE.LOBBY)
 def _populate(self):
     super(StrongholdBattlesListView, self)._populate()
     self.fireEvent(events.RenameWindowEvent(
         events.RenameWindowEvent.RENAME_WINDOW,
         ctx={'data': FORTIFICATIONS.SORTIE_INTROVIEW_TITLE}),
                    scope=EVENT_BUS_SCOPE.LOBBY)