forked from 0ad/0ad
Move that string to another transifex resource while not in string freeze, 58a8380dd9
, f37faa57e3
.
This was SVN commit r18931.
This commit is contained in:
parent
9dca10e32f
commit
ceecd948e2
@ -437,6 +437,16 @@ function getEntityCostTooltip(template, trainNum, entity)
|
||||
return "";
|
||||
}
|
||||
|
||||
function getRequiredTechnologyTooltip(technologyEnabled, requiredTechnology)
|
||||
{
|
||||
if (technologyEnabled)
|
||||
return "";
|
||||
|
||||
return sprintf(translate("Requires %(technology)s"), {
|
||||
"technology": getEntityNames(GetTechnologyData(requiredTechnology))
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the population bonus information to display in the specified entity's construction button tooltip.
|
||||
*/
|
||||
|
@ -1228,13 +1228,3 @@ let g_PanelsOrder = [
|
||||
"Queue",
|
||||
"Selection",
|
||||
];
|
||||
|
||||
function getRequiredTechnologyTooltip(technologyEnabled, requiredTechnology)
|
||||
{
|
||||
if (technologyEnabled)
|
||||
return "";
|
||||
|
||||
return sprintf(translate("Requires %(technology)s"), {
|
||||
"technology": getEntityNames(GetTechnologyData(requiredTechnology))
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user