ngx-i18nsupport
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -0,6 +1,14 @@ | ||
<a name="0.7.2"></a> | ||
# [0.7.2](https://github.com/martinroob/ngx-i18nsupport/compare/v0.7.1...v0.7.2) (2017-07-09) | ||
### Bug Fixes | ||
* **xliffmerge:** run with version 0.7.1 breaks with an exception: | ||
([#38](https://github.com/martinroob/ngx-i18nsupport/issues/38)). | ||
This is a serious bug. | ||
Do not use v0.7.1. | ||
<a name="0.7.1"></a> | ||
# [0.7.1](https://github.com/martinroob/ngx-i18nsupport/compare/v0.7.0...v0.7.1) (2017-07-07) | ||
### Features | ||
### Bug Fixes | ||
@@ -7,0 +15,0 @@ |
@@ -330,2 +330,3 @@ "use strict"; | ||
this.commandOutput.info('file for "%s" was up to date', lang); | ||
return rxjs_1.Observable.of(null); | ||
} | ||
@@ -332,0 +333,0 @@ else { |
{ | ||
"name": "ngx-i18nsupport", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Some tooling to be used with the Angular 2 i18n workflow", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -99,2 +99,3 @@ [![Build Status][travis-badge]][travis-badge-url] | ||
"apikey": "", | ||
"apikeyfile": "", | ||
"verbose": false, | ||
@@ -117,6 +118,11 @@ "quiet": false | ||
- `useSourceAsTarget` (boolean, default `true`): flag, if source should be copied to target for new trans-units | ||
- `autotranslate` (since v0.7.0) (boolean or array of strings, default `false`): flag, if new units should be automatically translated by Google Translate. | ||
- `autotranslate` (since v0.7.0) (boolean or array of strings, default `false`): | ||
flag, if new units should be automatically translated by Google Translate. | ||
You can also specify a string array with the languages you want to auto translate (e.g `"autotranslate": ["fr", "ru"]`). | ||
For details how to use it have a look at the Wiki Page [xliffmerge-autotranslate-feature](https://github.com/martinroob/ngx-i18nsupport/wiki/xliffmerge-autotranslate-feature). | ||
- `apikey` (since v0.7.0) (string, default ""): API key for usage of Google Translate. Must be set if you activate it by setting `autotranslate`. | ||
For details how to use it have a look at the Wiki Page | ||
[xliffmerge-autotranslate-feature](https://github.com/martinroob/ngx-i18nsupport/wiki/xliffmerge-autotranslate-feature). | ||
- `apikey` (since v0.7.0) (string, default ""): API key for usage of Google Translate. | ||
This or `apikeyfile` or env var `API_KEY_FILE` must be set if you activate autotranslate by setting `autotranslate`. | ||
- `apikeyfile` (since v0.7.1) (string, default ""): file that contains API key for usage of Google Translate. | ||
This or `apikey` or env var `API_KEY_FILE` must be set if you activate autotranslate by setting `autotranslate`. | ||
- `verbose` (boolean, default `false`): controls output | ||
@@ -123,0 +129,0 @@ - `quiet` (boolean, default `false`): controls output |
@@ -350,2 +350,3 @@ import * as program from 'commander'; | ||
this.commandOutput.info('file for "%s" was up to date', lang); | ||
return Observable.of(null); | ||
} else { | ||
@@ -352,0 +353,0 @@ return this.autoTranslate(this.master.sourceLanguage(), lang, languageSpecificMessagesFile) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
576487
7035
230
88