From b1abcf4299226cbf12db857e7f4895224999bbb8 Mon Sep 17 00:00:00 2001 From: Ernest Landrito Date: Wed, 24 May 2017 17:07:00 -0700 Subject: [PATCH] NodeJS: Small readme fix from GCN reviews (#1294) --- .../transformer/nodejs/NodeJSPackageMetadataTransformer.java | 2 +- .../api/codegen/testdata/nodejs_README_library.baseline | 4 ++-- .../codegen/testdata/nodejs_README_no_path_templates.baseline | 4 ++-- .../api/codegen/testdata/nodejs_doc_README_library.baseline | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/google/api/codegen/transformer/nodejs/NodeJSPackageMetadataTransformer.java b/src/main/java/com/google/api/codegen/transformer/nodejs/NodeJSPackageMetadataTransformer.java index 6e3dd89caf..b2f05f53c9 100644 --- a/src/main/java/com/google/api/codegen/transformer/nodejs/NodeJSPackageMetadataTransformer.java +++ b/src/main/java/com/google/api/codegen/transformer/nodejs/NodeJSPackageMetadataTransformer.java @@ -108,7 +108,7 @@ private ViewModel generateReadmeView( namer.getReleaseAnnotation(packageConfig.releaseLevel(TargetLanguage.NODEJS))) .exampleMethods(exampleMethods) .hasMultipleServices(hasMultipleServices) - .targetLanguage("NodeJS") + .targetLanguage("Node.js") .mainReadmeLink(GITHUB_REPO_HOST + MAIN_README_PATH) .libraryDocumentationLink( GITHUB_DOC_HOST + String.format(LIB_DOC_PATH, packageConfig.shortName())) diff --git a/src/test/java/com/google/api/codegen/testdata/nodejs_README_library.baseline b/src/test/java/com/google/api/codegen/testdata/nodejs_README_library.baseline index c4aff52a5a..cf40bdf2d8 100644 --- a/src/test/java/com/google/api/codegen/testdata/nodejs_README_library.baseline +++ b/src/test/java/com/google/api/codegen/testdata/nodejs_README_library.baseline @@ -1,7 +1,7 @@ ============== file: README.md ============== -# NodeJS Client for Google Example Library API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-node#versioning)) +# Node.js Client for Google Example Library API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-node#versioning)) -Idiomatic NodeJS client for [Google Example Library API][Product Documentation] +Idiomatic Node.js client for [Google Example Library API][Product Documentation] - [Client Library Documentation][] - [Product Documentation][] diff --git a/src/test/java/com/google/api/codegen/testdata/nodejs_README_no_path_templates.baseline b/src/test/java/com/google/api/codegen/testdata/nodejs_README_no_path_templates.baseline index b621c3d28e..9f22faef0b 100644 --- a/src/test/java/com/google/api/codegen/testdata/nodejs_README_no_path_templates.baseline +++ b/src/test/java/com/google/api/codegen/testdata/nodejs_README_no_path_templates.baseline @@ -1,7 +1,7 @@ ============== file: README.md ============== -# NodeJS Client for Google Fake API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-node#versioning)) +# Node.js Client for Google Fake API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-node#versioning)) -Idiomatic NodeJS client for [Google Fake API][Product Documentation] +Idiomatic Node.js client for [Google Fake API][Product Documentation] - [Client Library Documentation][] - [Product Documentation][] diff --git a/src/test/java/com/google/api/codegen/testdata/nodejs_doc_README_library.baseline b/src/test/java/com/google/api/codegen/testdata/nodejs_doc_README_library.baseline index c4aff52a5a..cf40bdf2d8 100644 --- a/src/test/java/com/google/api/codegen/testdata/nodejs_doc_README_library.baseline +++ b/src/test/java/com/google/api/codegen/testdata/nodejs_doc_README_library.baseline @@ -1,7 +1,7 @@ ============== file: README.md ============== -# NodeJS Client for Google Example Library API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-node#versioning)) +# Node.js Client for Google Example Library API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-node#versioning)) -Idiomatic NodeJS client for [Google Example Library API][Product Documentation] +Idiomatic Node.js client for [Google Example Library API][Product Documentation] - [Client Library Documentation][] - [Product Documentation][]