TheNAF / naflm

NAFLM - NAF League Manager
Other
35 stars 34 forks source link

Fun Hopper translation error #317

Open byrnesvictim opened 4 years ago

byrnesvictim commented 4 years ago

index.php?section=objhandler&type=1&obj=4&obj_id=28 causes TRANSLATION ERR ! position/fun-hoppa

There is no sign of this issue being anywhere else including PDF roster

idj- commented 4 years ago

\lib\class_race_htmlout.php line 24 $p->position = $lng->getTrn("position/".strtolower(str_replace(' ','',$p->position))); doesn't account for the '-' in 'Fun-hoppa' everywhere else uses the FilterPosition function which does $lng->GetTrn('position/'.strtolower($lng->FilterPosition($pos)))