Fix issue with pt_BR not being updated#15
Conversation
Due to the lower-case name of the repo-folder and the mixed-case language name the brazilian translation was not updated. This commit fixes this
| for i in $langs; do | ||
| cd /local/src/phpdoc-git/$i | ||
| lang=`echo "$i" | tr '[:upper:]' '[:lower:]'` | ||
| cd /local/src/phpdoc-git/$lang |
There was a problem hiding this comment.
Is a similar fix needed for the production build?
There was a problem hiding this comment.
As the production build doesn't updatre the docs-sources by itself I doubt it. I'll recheck though!
There was a problem hiding this comment.
And the cronjob on rsync.php.net runs a file /home/docbuilder/build-docs.sh which I can't find in this repo. So perhaps someone with access to that box (@derickr ?) needs to have a look for that...
There was a problem hiding this comment.
That file got dropped in 6643326. As far as I can see, build-docs-rsync is the production build.
There was a problem hiding this comment.
Fixed the same issue in build-docs-rsync.
This should fix issues with the brazilian translation. Worst case is that the brazilian translation is checked out again and that we now have a `pt_br` and a `pt_BR` folder on the rsync machine.
|
Is this still relevant? |
|
pt-br builds and pulls, so this no longer seems needed. |
Due to the lower-case name of the repo-folder and the mixed-case language name the brazilian translation was not updated.
This commit fixes this