Skip to content

Commit bcf7a19

Browse files
authored
Merge pull request #128 from dregad/commit-message-lang
Add language code to commit message
2 parents 432fcfa + 11407d0 commit bcf7a19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Services/Repository/Repository.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,9 @@ private function createAndSendPatchWithException(TranslationUpdateEntity $update
500500
// add files to local temporary git repository
501501
$this->applyChanges($tmpGit, $tmpDir, $update);
502502
// commit files to local temporary git repository
503+
$message = 'Translation update (' . $update->getLanguage() . ')';
503504
$author = $this->prepareAuthor($update);
504-
$tmpGit->commit('translation update', $author);
505+
$tmpGit->commit($message, $author);
505506

506507
$this->behavior->sendChange($tmpGit, $update, $this->git);
507508
}

0 commit comments

Comments
 (0)