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

github.com/nextcloud/docker-ci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kaminsky <tobias@kaminsky.me>2022-09-27 13:10:30 +0300
committerGitHub <noreply@github.com>2022-09-27 13:10:30 +0300
commitf6617fd5b7d8bebe85b626513ef4d2bac96a1a69 (patch)
treea783ac1720594f2a0ad2033174c69b7a8a7f1de9
parentc233eb21c664a40c7d29fe36b232408865ed40bf (diff)
parent22329d4cfc948018fdbe012db12ce60c8d862e9a (diff)
Merge pull request #420 from nextcloud/bugfix/418/try-other-replacement-strategy
Try other replacement strategy
-rwxr-xr-xtranslations-app/handleAppTranslations.sh3
-rw-r--r--translations/transifexSync.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/translations-app/handleAppTranslations.sh b/translations-app/handleAppTranslations.sh
index 7cdb5e6..61b16a4 100755
--- a/translations-app/handleAppTranslations.sh
+++ b/translations-app/handleAppTranslations.sh
@@ -65,7 +65,8 @@ do
cd translationfiles/templates/
for file in $(ls)
do
- mv $file ../../stable-templates/${version/\//-}.$RESOURCE_ID.pot
+ FILE_SAVE_VERSION=$(echo $version | sed -E 's/\//-/')
+ mv $file ../../stable-templates/$FILE_SAVE_VERSION.$RESOURCE_ID.pot
done
cd ../..
done
diff --git a/translations/transifexSync.php b/translations/transifexSync.php
index f916a3d..e7cf68e 100644
--- a/translations/transifexSync.php
+++ b/translations/transifexSync.php
@@ -147,7 +147,7 @@ foreach ($jobs as $job) {
// send email in case of trouble
if ($result->errorMessage !== '') {
- @mail('joas@nextcloud.com,tobias@nextcloud.com', 'Transifex sync job failed', 'This is the log:' . PHP_EOL . $result->errorMessage, ['From' => 'no-reply@nextcloud.com']);
+ @mail('joas@nextcloud.com,tobias@nextcloud.com', 'Transifex sync job failed for ' . $arguments, 'This is the log:' . PHP_EOL . $result->errorMessage, ['From' => 'no-reply@nextcloud.com']);
}
}
}