Ticket #2353: tooltip.patch

File tooltip.patch, 982 bytes (added by Itms, 10 years ago)
  • binaries/data/mods/public/gui/session/utility_functions.js

     
    359359        if(entState.alertRaiser.canIncreaseLevel)
    360360            commands.push({
    361361                    "name": "increase-alert-level",
    362                     "tooltip": "Raise the alert ! Or raise it again to protect more units.",
     362                    "tooltip": "Raise the alert!",
    363363                    "icon": "bell_level1.png"
    364364                });
    365365       
    366366        if(entState.alertRaiser.hasRaisedAlert)
     367        {
    367368            commands.push({
     369                    "name": "increase-alert-level",
     370                    "tooltip": "Increase the alert level to protect more units",
     371                    "icon": "bell_level1.png"
     372                });
     373            commands.push({
    368374                    "name": "alert-end",
    369                     "tooltip": "End of alert.",
     375                    "tooltip": "End of alert",
    370376                    "icon": "bell_level0.png"
    371377                });
     378        }
    372379    }
    373380
    374381    return commands;