Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2016-12-26 01:24:13 +0300
committersgiehl <stefan@piwik.org>2016-12-26 01:24:32 +0300
commit385ac7e3a3aa9f207cf11be65d739e252978307d (patch)
tree802c731b91e089b591fd2bd1a2d12b1254ea794f /plugins/LanguagesManager
parentdfab3037843444df09958daf94863bc2abcd6c8d (diff)
fix title in automatic translation pull requests
Diffstat (limited to 'plugins/LanguagesManager')
-rw-r--r--plugins/LanguagesManager/Commands/CreatePull.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/LanguagesManager/Commands/CreatePull.php b/plugins/LanguagesManager/Commands/CreatePull.php
index 9348739932..bebfab973b 100644
--- a/plugins/LanguagesManager/Commands/CreatePull.php
+++ b/plugins/LanguagesManager/Commands/CreatePull.php
@@ -152,9 +152,10 @@ class CreatePull extends TranslationBase
$linesSumByLang[$modifiedFile],
$languageInfo['percentage_complete']
);
+ $languageCodesTouched[] = $modifiedFile;
}
}
- $languageCodesTouched = array_merge($languageCodesTouched, $modifiedFiles[1]);
+ $languageCodesTouched = array_unique($languageCodesTouched);
}
$message = implode('', $messages);