From 11407d0e2be2e50f667f5c30671da814bb355017 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Sun, 21 Sep 2025 17:57:32 +0200 Subject: [PATCH] Add language code to commit message Before this, the commit message was just `translation update`. now it includes the language code, i.e. `Translation update (xx)`. --- src/Services/Repository/Repository.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Services/Repository/Repository.php b/src/Services/Repository/Repository.php index a383854c..da5a7535 100644 --- a/src/Services/Repository/Repository.php +++ b/src/Services/Repository/Repository.php @@ -500,8 +500,9 @@ private function createAndSendPatchWithException(TranslationUpdateEntity $update // add files to local temporary git repository $this->applyChanges($tmpGit, $tmpDir, $update); // commit files to local temporary git repository + $message = 'Translation update (' . $update->getLanguage() . ')'; $author = $this->prepareAuthor($update); - $tmpGit->commit('translation update', $author); + $tmpGit->commit($message, $author); $this->behavior->sendChange($tmpGit, $update, $this->git); }