Ok, I pushed a patch to resolve the immediate issue. I wonder how to update the translations. I assume I need Runa to push a new po to transifex, and then update them all there. Except it looks like that string in lib/gettor/responses.py didn't actually use gettext, so maybe it will be all set?
Ok, I pushed a patch to resolve the immediate issue. I wonder how to update the translations. I assume I need Runa to push a new po to transifex, and then update them all there. Except it looks like that string in lib/gettor/responses.py didn't actually use gettext, so maybe it will be all set?
2. Creating/Updating Translation Template Files To update the translation template file for GetTor, run the following command inside the BridgeDB source directory: $ xgettext lib/gettor/i18n.py -dgettor --from-code=utf-8 \ -o i18n/templates/gettor.pot $ for i in i18n/*/gettor.po; do \ msgmerge -U $i i18n/templates/gettor.pot; done
Once the .pot file has been committed, Transifex will automatically pull changes and update the .po files. Once that's happened, we can pull the .po files and have updated translations.
Ok, I committed a new gettor.pot file. The string with my name in it wasn't actually gettexted, so I think this bugfix is all finished.
That said, the instructions you pasted above say "BridgeDB source directory" when presumably they mean gettor. Once you've fixed that, please close this bug.
Ok, I committed a new gettor.pot file. The string with my name in it wasn't actually gettexted, so I think this bugfix is all finished.
That said, the instructions you pasted above say "BridgeDB source directory" when presumably they mean gettor. Once you've fixed that, please close this bug.
We still need to pull the translations from Transifex, and that's kaner's job. The instructions about say "BridgeDB source directory" because that's what kaner wrote. I don't have more info on this than what's in that howto.
Also, I tried to pull in the translations from transifex according to the HOWTO and got this:
$ tx pullPulling translations for resource torproject.2-gettor-gettor-pot (source: templates/gettor.pot) -> gu: gu/gettor.poException: No user credentials found for host http://www.transifex.net. Edit ~/.transifexrc and add the appropriate info in there.
Also, I tried to pull in the translations from transifex according to the HOWTO and got this:
{{{
$ tx pull
Pulling translations for resource torproject.2-gettor-gettor-pot (source: templates/gettor.pot)
-> gu: gu/gettor.po
Exception: No user credentials found for host http://www.transifex.net. Edit ~/.transifexrc and add the appropriate info in there.
}}}
Also, I tried to pull in the translations from transifex according to the HOWTO and got this:
{{{
$ tx pull
Pulling translations for resource torproject.2-gettor-gettor-pot (source: templates/gettor.pot)
-> gu: gu/gettor.po
Exception: No user credentials found for host http://www.transifex.net. Edit ~/.transifexrc and add the appropriate info in there.
}}}