Skip to content

Commit de569d7

Browse files
chenyumicdanoscarmike
chenyumic
authored andcommitted
Regenerate the README files and fix the Open in Cloud Shell link for some samples [(#1441)](#1441)
1 parent 94a75f0 commit de569d7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

translation/samples/snippets/README.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This directory contains samples for Google Translation API. With `Google Transla
1212

1313

1414

15-
.. _Google Translation API: https://cloud.google.com/translate/docs
15+
.. _Google Translation API: https://cloud.google.com/translate/docs
1616

1717
Setup
1818
-------------------------------------------------------------------------------
@@ -59,7 +59,7 @@ Quickstart
5959
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6060

6161
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
62-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/quickstart.py;translate/cloud-client/README.rst
62+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/quickstart.py,translate/cloud-client/README.rst
6363

6464

6565

@@ -75,7 +75,7 @@ Snippets
7575
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7676

7777
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
78-
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/snippets.py;translate/cloud-client/README.rst
78+
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/snippets.py,translate/cloud-client/README.rst
7979

8080

8181

@@ -103,8 +103,9 @@ To run this sample:
103103
list-languages-with-target
104104
Lists all available languages and localizes them to
105105
the target language. Target must be an ISO 639-1
106-
language code. See https://g.co/cloud/translate/v2
107-
/translate-reference#supported_languages
106+
language code. See
107+
https://g.co/cloud/translate/v2/translate-
108+
reference#supported_languages
108109
translate-text Translates text into the target language. Target must
109110
be an ISO 639-1 language code. See
110111
https://g.co/cloud/translate/v2/translate-

0 commit comments

Comments
 (0)