Don't assume health is both plural and singular in all languages.

see 47d5422e64

This was SVN commit r23864.
This commit is contained in:
bb 2020-07-21 16:37:43 +00:00
parent 47d5422e64
commit e428678b7e

View File

@ -834,7 +834,7 @@ function getHealerTooltip(template)
sprintf(translatePlural("%(label)s %(val)s %(unit)s", "%(label)s %(val)s %(unit)s", health), {
"label": headerFont(translate("Heal:")),
"val": health,
"unit": unitFont(translate("Health"))
"unit": unitFont(translatePlural("Health", "Health", health))
}),
sprintf(translatePlural("%(label)s %(val)s %(unit)s", "%(label)s %(val)s %(unit)s", range), {
"label": headerFont(translate("Range:")),