Commit Graph

24 Commits

Author SHA1 Message Date
Kim Biesbjerg
096fc79a9b Update readme 2019-09-17 08:25:47 +02:00
Kim Biesbjerg
8fd157802b update README 2019-09-16 20:42:10 +02:00
Kim Biesbjerg
97e8937709 (feat) add argument --null-as-default-value to use null as default value for extracted translations 2019-09-16 17:52:41 +02:00
Kim Biesbjerg
4fe3c43624 - (chore) update packages
- (refactor) use tsquery for querying AST
- (feat) autodetect usage of marker function and remove --marker cli argument
- (bugfix) extract strings when TranslateService is declared directly as a class parameter. Closes https://github.com/biesbjerg/ngx-translate-extract/issues/83
- (bugfix) handle split strings: marker('hello ' + 'world') is now extracted as a single string: 'hello world'
2019-09-16 16:40:37 +02:00
Kim Biesbjerg
7ce01b97e4 add donate info 2019-07-31 13:06:09 +02:00
Kim Biesbjerg
8b014abf49 update README 2019-07-31 10:28:09 +02:00
Håkon Drolsum Røkenes
7d5d38e6a1 docs: fixes path for extract npm script example (#89)
The example script gives the following error on windows:

Saving: <project dir>\src\assets\i18n\*.json
- sorted strings
fs.js:652
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '<project dir>\src\assets\i18n\*.json'
2018-03-03 08:43:58 +01:00
Sean G. Wright
14eb09f947 feat(cli): add verbose (vb) flag that can control output of all file … (#74)
* feat(cli): add verbose (vb) flag that can control output of all file paths to console

* docs(README): add -vb description
2017-11-07 15:14:31 +01:00
Kim Biesbjerg
bc5ce7e80d Add marker argument to readme 2017-03-30 14:42:03 +02:00
Kim Biesbjerg
daaebede6f Add support for marker functions, to be able to extract strings not directly passed to TranslateService. Closes #10 2017-03-30 14:37:30 +02:00
Kim Biesbjerg
9a2108e9a9 Add cli option to customize compiler indentation. Closes #22 2017-03-29 14:20:01 +02:00
Kim Biesbjerg
7654397bb3 Update README 2017-03-21 15:59:18 +01:00
Kim Biesbjerg
bf3b1b29bf Update README 2017-03-07 15:56:26 +01:00
Kim Biesbjerg
931433e83d Update README 2017-01-28 15:32:16 +01:00
Kim Biesbjerg
7822916e28 Add NamespacedJsonCompiler 2017-01-13 09:02:01 +01:00
Kim Biesbjerg
183592acc3 Update README and bump version 2017-01-13 06:09:43 +01:00
Kim Biesbjerg
c88d387516 Update README and CLI output 2016-12-20 16:02:56 +01:00
Kim Biesbjerg
b5688e9f83 Fix arg in README 2016-12-10 19:21:35 +01:00
Kim Biesbjerg
ac9702122f Update REAME 2016-12-10 01:59:25 +01:00
Kim Biesbjerg
6a76e7b5cb Add option to merge extracted strings with existing translations (Thanks to @ocombe) 2016-12-09 19:29:48 +01:00
Kim Biesbjerg
16ea45235e Fix wrong npm name in readme 2016-12-04 23:22:00 +01:00
Kim Biesbjerg
66b2bde160 Update usage in README 2016-12-04 23:14:00 +01:00
Kim Biesbjerg
b5e1125efb Initial commit 2016-12-03 15:09:39 +01:00
Kim Biesbjerg
916ba888aa Initial commit 2016-12-03 14:47:54 +01:00