Skip to content

Commit

Permalink
Update translations to 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jetwitaussi committed May 20, 2022
1 parent a979ce4 commit 1b2f20a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PHT/Config/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Version
const TRANSFERSEARCH = '1.1';
const TRANSFERSPLAYER = '1.1';
const TRANSFERSTEAM = '1.2';
const TRANSLATIONS = '1.1';
const TRANSLATIONS = '1.2';
const WORLDCUP = '1.1';
const WORLDDETAILS = '1.9';
const WORLDLANGUAGES = '1.2';
Expand Down
40 changes: 40 additions & 0 deletions PHT/Xml/I18n/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ public function getSkillNameLeaderShip()
return $this->getSkillName('LeaderShip');
}

/**
* Return form skill name
*
* @return string
*/
public function getSkillNameForm()
{
return $this->getSkillName('Form');
}

/**
* Return skill name
*
Expand Down Expand Up @@ -422,6 +432,36 @@ public function getRatingSectorsLeftAttack()
return $this->getRatingSectors('LeftAttack');
}

/**
* Return indirect set pieces rating sector name
*
* @return string
*/
public function getRatingSectorsIndirectSetPieces()
{
return $this->getRatingSectors('Indirect set pieces');
}

/**
* Return defense rating sector name
*
* @return string
*/
public function getRatingSectorsDefense()
{
return $this->getRatingSectors('Defense');
}

/**
* Return attack rating sector name
*
* @return string
*/
public function getRatingSectorsAttack()
{
return $this->getRatingSectors('Attack');
}

/**
* Returns rating sector name
*
Expand Down

0 comments on commit 1b2f20a

Please sign in to comment.