Skip to content

Commit

Permalink
Merge pull request #11 from wojsmol/fet/chenelabeling
Browse files Browse the repository at this point in the history
change labeling schema
  • Loading branch information
zero-24 authored Nov 25, 2021
2 parents d60cbef + 77c4eef commit 133d3c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/GithubApiHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,11 @@ public function createNewTranslationRequestIssueFromMergedTranslationIssue($sour
*/
private function getTranslationTargetBranchLabel($targetBranch)
{
return 'Joomla! ' . substr($targetBranch, 0, 1) . '.x';
if ($targetBranch === '3.10-dev')
{
return 'Joomla! 3.10';
}
return 'Joomla! ' . substr($targetBranch, 0, 3);
}

/**
Expand Down

0 comments on commit 133d3c9

Please sign in to comment.