Skip to content

Commit

Permalink
chenge labeling schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wojsmol committed Nov 25, 2021
1 parent d60cbef commit 77c4eef
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 77c4eef

Please sign in to comment.