Skip to content

Commit 5dd4636

Browse files
authored
Upgrade repo tools and regenerate READMEs. (#384)
1 parent 14ce7bd commit 5dd4636

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

packages/google-cloud-translate/samples/README.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
22

3-
# Google Translate API Node.js Samples
3+
# Google Cloud Translation API Node.js Samples
44

55
[![Build](https://storage.googleapis.com/cloud-docs-samples-badges/GoogleCloudPlatform/nodejs-docs-samples/nodejs-docs-samples-translate.svg)]()
66

7-
With the [Google Translate API](https://cloud.google.com/translate/docs), you can dynamically translate text between thousands of language pairs.
7+
The [Cloud Translation API](https://cloud.google.com/translate/docs), can dynamically translate text between thousands of language pairs. The Cloud Translation API lets websites and programs integrate with the translation service programmatically. The Cloud Translation API is part of the larger Cloud Machine Learning API family.
88

99
## Table of Contents
1010

@@ -18,11 +18,11 @@ With the [Google Translate API](https://cloud.google.com/translate/docs), you ca
1818
1. Read [Prerequisites][prereq] and [How to run a sample][run] first.
1919
1. Install dependencies:
2020

21-
With `npm`:
21+
With **npm**:
2222

2323
npm install
2424

25-
With `yarn`:
25+
With **yarn**:
2626

2727
yarn install
2828

@@ -33,7 +33,6 @@ With the [Google Translate API](https://cloud.google.com/translate/docs), you ca
3333

3434
### Translate
3535

36-
3736
View the [documentation][translate_0_docs] or the [source code][translate_0_code].
3837

3938
__Usage:__ `node translate.js --help`
@@ -70,15 +69,14 @@ For more information, see https://cloud.google.com/translate/docs
7069

7170
## Running the tests
7271

73-
1. Set the `GCLOUD_PROJECT` and `GOOGLE_APPLICATION_CREDENTIALS` environment
74-
variables.
72+
1. Set the **GCLOUD_PROJECT** and **GOOGLE_APPLICATION_CREDENTIALS** environment variables.
7573

7674
1. Run the tests:
7775

78-
With `npm`:
76+
With **npm**:
7977

8078
npm test
8179

82-
With `yarn`:
80+
With **yarn**:
8381

8482
yarn test

packages/google-cloud-translate/samples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"yargs": "7.1.0"
2323
},
2424
"devDependencies": {
25-
"@google-cloud/nodejs-repo-tools": "1.4.7",
25+
"@google-cloud/nodejs-repo-tools": "1.4.13",
2626
"ava": "0.19.1",
2727
"proxyquire": "1.7.11",
2828
"sinon": "2.1.0"

0 commit comments

Comments
 (0)