Opened 8 years ago

Closed 8 years ago

#3304 closed defect (fixed)

gettor email instructions make people mail arma

Reported by: arma Owned by: kaner
Priority: Medium Milestone:
Component: Applications/GetTor Version:
Severity: Keywords:
Cc: kaner Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The gettor response mails include the line

gpg: Good signature from 'Roger Dingledine <arma@mit.edu>'

This line causes me to get several mails a week thinking that I'm some sort of autoresponder. I ignore them, which isn't good on either side.

The rate is increasing lately, I guess since people are encouraging more use of the gettor robot.

Child Tickets

Change History (13)

comment:1 Changed 8 years ago by arma

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?

comment:2 in reply to:  1 Changed 8 years ago by runa

Cc: kaner added

Replying to arma:

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?

From https://svn.torproject.org/svn/translation/trunk/documentation/howto.txt:

    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.

comment:3 Changed 8 years ago by arma

Owner: set to runa
Status: newassigned

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.

comment:4 in reply to:  3 ; Changed 8 years ago by runa

Replying to arma:

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.

comment:5 in reply to:  4 Changed 8 years ago by arma

Replying to runa:

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.

This is gettor. It's a typo.

comment:6 Changed 8 years ago by runa

Owner: changed from runa to kaner

comment:7 Changed 8 years ago by kaner

Looks like I'm not allowed to commit to the documentation repository. (I get "svn: Server sent unexpected return value (403 Forbidden)")

Anyway, maybe Runa can add the patch herself. Here is the diff:

Index: howto.txt
===================================================================
--- howto.txt   (revision 24960)
+++ howto.txt   (working copy)
@@ -261,7 +261,7 @@
     2. Creating/Updating Translation Template Files
 
        To update the translation template file for GetTor, run the
-       following command inside the BridgeDB source directory:
+       following command inside the GetTor source directory:
 
        $  xgettext lib/gettor/i18n.py -dgettor --from-code=utf-8 \
                         -o i18n/templates/gettor.pot

comment:8 Changed 8 years ago by kaner

Owner: changed from kaner to runa

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.

See also:

$ cat ~/.transifexrc 
[https://www.transifex.net]
hostname = https://www.transifex.net
password = secret_pass
token = 
username = kaner

Am I missing something? Thanks in advance! :)

comment:9 in reply to:  8 ; Changed 8 years ago by runa

Owner: changed from runa to kaner

Replying to kaner:

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.

See also:

$ cat ~/.transifexrc 
[https://www.transifex.net]
hostname = https://www.transifex.net
password = secret_pass
token = 
username = kaner

Am I missing something? Thanks in advance! :)

Did you create an account on https://www.transifex.net/ ?

comment:10 in reply to:  9 Changed 8 years ago by kaner

Replying to runa:

Replying to kaner:

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.

See also:

$ cat ~/.transifexrc 
[https://www.transifex.net]
hostname = https://www.transifex.net
password = secret_pass
token = 
username = kaner

Am I missing something? Thanks in advance! :)

Did you create an account on https://www.transifex.net/ ?

Yes, I can log into the website just fine. Maybe the problem has to do with the http (missing 's') in the gettor .tx/config file? (Just a wild guess)

Could you test if you can pull the files? (So we can be sure its my config that is broken?)

comment:11 Changed 8 years ago by Sebastian

works for me

comment:12 in reply to:  7 Changed 8 years ago by runa

Replying to kaner:

Looks like I'm not allowed to commit to the documentation repository. (I get "svn: Server sent unexpected return value (403 Forbidden)")

Anyway, maybe Runa can add the patch herself. Here is the diff:

Index: howto.txt
===================================================================
--- howto.txt   (revision 24960)
+++ howto.txt   (working copy)
@@ -261,7 +261,7 @@
     2. Creating/Updating Translation Template Files
 
        To update the translation template file for GetTor, run the
-       following command inside the BridgeDB source directory:
+       following command inside the GetTor source directory:
 
        $  xgettext lib/gettor/i18n.py -dgettor --from-code=utf-8 \
                         -o i18n/templates/gettor.pot

Thanks, fixed in r24962.

comment:13 Changed 8 years ago by arma

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.