Translations are not synced ...
@davivel almost all other ownloud repos are synced every night with transifex.com to get the latest translations.
Are you interested in getting this setup as well?
Yes, I am :)
sync job is in place: https://ci.tmit.eu/job/translation-sync-android/
@DeepDiver1975 , it's not working. There is a credentials error.
@karlitschek @davivel Can you please grant me write permissions to this repo? THX
@DeepDiver1975 I will make the change now. Sorry, I can't change permissions.
@karlitschek THX @davivel up and running: https://ci.tmit.eu/job/translation-sync-android/6/
Thank you very much, @DeepDiver1975 . No more manual updates! :)
one issue remains due to the exotic language en@pirate - I'll fix that tonight
Yes, that won't build in Android.
@DeepDiver1975 , seems that pirate translation is being downloaded again with every pull from Transfex. What options are being passed to tx pull in the script? We need to update .tx/config so that pirate English is ignored.
I've seen the build failing .... sigh
I have to read through the tx docu on this
I can do it myself if you will. Just would like to know what options are being passed now to the tx command , in case we don't need to change it and can do it updating only the config file.
Pirate problem solved. Here is the next issue:
[aapt] /var/lib/jenkins/jobs/ownCloud-Android/workspace/res/values-pt-rBR/strings.xml:118: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
[aapt] /var/lib/jenkins/jobs/ownCloud-Android/workspace/res/values-pt-rBR/strings.xml:118: error: Unexpected end tag string
[aapt] /var/lib/jenkins/jobs/ownCloud-Android/workspace/res/values-ru/strings.xml:115: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
[aapt] /var/lib/jenkins/jobs/ownCloud-Android/workspace/res/values-ru/strings.xml:115: error: Unexpected end tag string
I solved the problem with pt-BR and ru, removing " from the start of the string and altering "5% $" to %5$s" near the end of the string.
Don't know if it's correct, though, at least it's building without problems.
Totally right, there are two replacement tokens wrong in those languages. Thanks, @cabral404 .
Now it's updated, both in the source and in the translations at Transifex.