Skip to content

Commit b8033be

Browse files
authored
Merge branch 'master' into semantic-release
2 parents 5c3233c + 99fc35e commit b8033be

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ languageTranslator.identify(
372372
373373
### Language Translator v2
374374
375+
**Note:** Language Translator v3 is now available. The v2 Language Translator API will no longer be available after July 31, 2018. To take advantage of the latest service enhancements, migrate to the v3 API. View the [Migrating to Language Translator v3](https://console.bluemix.net/docs/services/language-translator/migrating.html) page for more information.
376+
375377
Translate text from one language to another or idenfity a language using the [Language Translator][language_translator] service.
376378
377379
```javascript

language-translator/v2-generated.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import { FileObject } from '../lib/helper';
2222

2323
/**
2424
* IBM Watson™ Language Translator translates text from one language to another. The service offers multiple domain-specific models that you can customize based on your unique terminology and language. Use Language Translator to take news from across the globe and present it in your language, communicate with your customers in their own language, and more.
25+
*
26+
* @deprecated Language Translator v3 is now available. The v2 Language Translator API will no longer be available after July 31, 2018. To take advantage of the latest service enhancements, migrate to the v3 API. View the [Migrating to Language Translator v3](https://console.bluemix.net/docs/services/language-translator/migrating.html) page for more information.
2527
*/
2628

2729
class LanguageTranslatorV2 extends BaseService {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@
124124
"**/*.ts": [
125125
"tsc",
126126
"tslint --fix -p . -c tslint.json",
127-
"test-unit",
127+
"npm run test-unit",
128128
"git add"
129129
],
130130
"test/**/*.js": [
131131
"eslint --fix",
132132
"prettier --write",
133-
"test-unit",
133+
"npm run test-unit",
134134
"git add"
135135
],
136136
"examples/*.js": [

0 commit comments

Comments
 (0)