Skip to content

Commit

Permalink
Fix translate links. (#3199)
Browse files Browse the repository at this point in the history
  • Loading branch information
daspecster authored and lukesneeringer committed Mar 23, 2017
1 parent b63fda1 commit e0aef02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions docs/translate-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ or to use a non-default target language:
},
]
.. _Google Cloud Translation: https://cloud.google.com/translation
.. _Pricing: https://cloud.google.com/translation/pricing
.. _FAQ: https://cloud.google.com/translation/faq
.. _Identifying your application to Google: https://cloud.google.com/translation/docs/translating-text
.. _confidence: https://cloud.google.com/translation/docs/detecting-language
.. _Google Cloud Translation: https://cloud.google.com/translate/
.. _Pricing: https://cloud.google.com/translate/pricing
.. _FAQ: https://cloud.google.com/translate/faq
.. _Identifying your application to Google: https://cloud.google.com/translate/docs/translating-text
.. _confidence: https://cloud.google.com/translate/docs/detecting-language
7 changes: 3 additions & 4 deletions translate/google/cloud/translate/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def get_languages(self, target_language=None):
Response
See: https://cloud.google.com/translate/v2/\
discovering-supported-languages-with-rest
See:
https://cloud.google.com/translate/docs/discovering-supported-languages
:type target_language: str
:param target_language: (Optional) The language used to localize
Expand All @@ -96,8 +96,7 @@ def get_languages(self, target_language=None):
def detect_language(self, values):
"""Detect the language of a string or list of strings.
See: https://cloud.google.com/translate/v2/\
detecting-language-with-rest
See: https://cloud.google.com/translate/docs/detecting-language
:type values: str or list
:param values: String or list of strings that will have
Expand Down

0 comments on commit e0aef02

Please sign in to comment.