Skip to content

fix "rest_hostname" value for .transifexrc #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2023
Merged

Conversation

shimizukawa
Copy link
Member

@shimizukawa shimizukawa commented Feb 19, 2023

Fixed errors in the ~/.transifexrc file generated by the create-transifexrc command; the correct value for rest_hostname is https://rest.api.transifex.com. ref: https://github.com/transifex/cli/blob/86ac74821fac10f2aa17f577a6739eea55427e6a/examples/exampleconf/.transifexrc#L21

Note: create-transifexrc command and SPHINXINTL_TRANSIFEX_TOKEN have been deprecated.
They will be removed after six months. Please use the TX_TOKEN environment variable instead.

@shimizukawa shimizukawa self-assigned this Feb 19, 2023
@@ -29,7 +29,7 @@

TRANSIFEXRC_TEMPLATE = """\
[https://www.transifex.com]
rest_hostname = https://www.transifex.com
rest_hostname = https://rest.api.transifex.com
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shimizukawa referenced this pull request in sphinx-doc/sphinx-doc-translations Feb 20, 2023
@shimizukawa shimizukawa merged commit dffdab1 into master Aug 19, 2023
@shimizukawa shimizukawa deleted the fix-transifexrc branch August 19, 2023 07:00
@rffontenelle
Copy link
Contributor

rffontenelle commented Aug 19, 2023

@shimizukawa What should be used instead of create-transifexrc ? I mean, with TX_TOKEN variable set, is update-txconfig-resources enough for generating the .tx/config file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants