From 77c4eefc10113031072d37f050d421be48ac2e1e Mon Sep 17 00:00:00 2001 From: wojsmol Date: Thu, 25 Nov 2021 11:29:10 +0100 Subject: [PATCH] chenge labeling schema --- src/GithubApiHelper.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/GithubApiHelper.php b/src/GithubApiHelper.php index c119a08..adb4076 100644 --- a/src/GithubApiHelper.php +++ b/src/GithubApiHelper.php @@ -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); } /**