1
0
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:
elexis 2016-11-14 09:22:38 +00:00
parent 9dca10e32f
commit ceecd948e2
2 changed files with 10 additions and 10 deletions

View File

@ -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.
*/

View File

@ -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))
});
}