Exemplo n.º 1
0
def getLevelInvalidTooltip(teamLimits, restriction):
    minLevel, maxLevel = prb_getters.getLevelLimits(teamLimits)
    return makeTooltip(
        i18n.makeString(
            '#tooltips:redButton/disabled/{0:>s}/header'.format(restriction)),
        i18n.makeString(
            '#tooltips:redButton/disabled/{0:>s}/body'.format(restriction),
            minLevel, maxLevel))
Exemplo n.º 2
0
def getLevelLimitMessage4Team(teamLimits):
    minLevel, maxLevel = prb_getters.getLevelLimits(teamLimits)
    return i18n.makeString('#system_messages:prebattle/teamInvalid/limits/level', minLevel=minLevel, maxLevel=maxLevel)
Exemplo n.º 3
0
def getLevelLimitMessage4Vehicle(teamLimits):
    minLevel, maxLevel = prb_getters.getLevelLimits(teamLimits)
    return i18n.makeString(
        '#system_messages:prebattle/vehicleInvalid/limits/level', minLevel,
        maxLevel)
Exemplo n.º 4
0
def getLevelInvalidTooltip(teamLimits, restriction):
    minLevel, maxLevel = prb_getters.getLevelLimits(teamLimits)
    return makeTooltip(i18n.makeString('#tooltips:redButton/disabled/{0:>s}/header'.format(restriction)), i18n.makeString('#tooltips:redButton/disabled/{0:>s}/body'.format(restriction), minLevel, maxLevel))
Exemplo n.º 5
0
def getLevelLimitMessage4Vehicle(teamLimits):
    minLevel, maxLevel = prb_getters.getLevelLimits(teamLimits)
    return i18n.makeString("#system_messages:prebattle/vehicleInvalid/limits/level", minLevel, maxLevel)