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:
authorJoas Schilling <coding@schilljs.com>2022-10-03 15:01:18 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-03 15:01:18 +0300
commitac995d8dbfb6559e786505ad7ec4b2b5f6b29b98 (patch)
treebc4c845c8b95afe2b6ed0935a35766687d76a827
parent664b54c999b5834de766c73140a30ed269d74316 (diff)
Fix issues with appid != resource id
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rwxr-xr-xtranslations-app/handleAppTranslations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/translations-app/handleAppTranslations.sh b/translations-app/handleAppTranslations.sh
index 9c63dbf..7446177 100755
--- a/translations-app/handleAppTranslations.sh
+++ b/translations-app/handleAppTranslations.sh
@@ -26,7 +26,7 @@ if [ ! -f '/app/.tx/config' ]; then
fi
APP_ID=$(grep -oE '<id>.*</id>' appinfo/info.xml | head --lines 1 | sed -E 's/<id>(.*)<\/id>/\1/')
-RESOURCE_ID=$(grep -oE '\[nextcloud\..*\]' .tx/config | sed -E 's/\[nextcloud.(.*)\]/\1/')
+RESOURCE_ID=$(grep -oE '\[o:nextcloud:p:nextcloud:r:.*\]' config | sed -E 's/\[o:nextcloud:p:nextcloud:r:(.*)\]/\1/')
SOURCE_FILE=$(grep -oE '^source_file\s*=\s*(.+)$' .tx/config | sed -E 's/source_file\s*=\s*(.+)/\1/')
if [ "$RESOURCE_ID" = "MYAPP" ]; then