mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 23:51:58 +00:00
Move that string to another transifex resource while not in string freeze, 58a8380dd9, f37faa57e3.
This was SVN commit r18931.
This commit is contained in:
@@ -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))
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user