Skip to content

Commit e0aef02

Browse files
daspecsterlukesneeringer
authored andcommitted
Fix translate links. (#3199)
1 parent b63fda1 commit e0aef02

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

docs/translate-usage.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ or to use a non-default target language:
112112
},
113113
]
114114
115-
.. _Google Cloud Translation: https://cloud.google.com/translation
116-
.. _Pricing: https://cloud.google.com/translation/pricing
117-
.. _FAQ: https://cloud.google.com/translation/faq
118-
.. _Identifying your application to Google: https://cloud.google.com/translation/docs/translating-text
119-
.. _confidence: https://cloud.google.com/translation/docs/detecting-language
115+
.. _Google Cloud Translation: https://cloud.google.com/translate/
116+
.. _Pricing: https://cloud.google.com/translate/pricing
117+
.. _FAQ: https://cloud.google.com/translate/faq
118+
.. _Identifying your application to Google: https://cloud.google.com/translate/docs/translating-text
119+
.. _confidence: https://cloud.google.com/translate/docs/detecting-language

translate/google/cloud/translate/client.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def get_languages(self, target_language=None):
6969
7070
Response
7171
72-
See: https://cloud.google.com/translate/v2/\
73-
discovering-supported-languages-with-rest
72+
See:
73+
https://cloud.google.com/translate/docs/discovering-supported-languages
7474
7575
:type target_language: str
7676
:param target_language: (Optional) The language used to localize
@@ -96,8 +96,7 @@ def get_languages(self, target_language=None):
9696
def detect_language(self, values):
9797
"""Detect the language of a string or list of strings.
9898
99-
See: https://cloud.google.com/translate/v2/\
100-
detecting-language-with-rest
99+
See: https://cloud.google.com/translate/docs/detecting-language
101100
102101
:type values: str or list
103102
:param values: String or list of strings that will have

0 commit comments

Comments
 (0)