diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-03 15:01:18 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-03 15:01:18 +0300 |
commit | ac995d8dbfb6559e786505ad7ec4b2b5f6b29b98 (patch) | |
tree | bc4c845c8b95afe2b6ed0935a35766687d76a827 | |
parent | 664b54c999b5834de766c73140a30ed269d74316 (diff) |
Fix issues with appid != resource id
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rwxr-xr-x | translations-app/handleAppTranslations.sh | 2 |
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 |