Kim Biesbjerg
a72dbf0494
(refactor) rename variables
2019-09-17 08:15:51 +02:00
Kim Biesbjerg
ab2b78eaec
(chore) rename function
2019-09-16 16:54:24 +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
7eefd6c8d3
fix donation message colors
2019-08-03 11:30:30 +02:00
Kim Biesbjerg
7ce01b97e4
add donate info
2019-07-31 13:06:09 +02:00
Kim Biesbjerg
73877a5a35
Add stripBOM
2019-07-08 15:13:07 +02:00
Kim Biesbjerg
c8ba1312b5
(refactor) remove extract marker function. will be published as a separate package at @biesbjerg/ngx-translate-extract-marker
2019-06-13 12:36:26 +02:00
Kim Biesbjerg
deb38eb7c3
(test) add test
2019-06-13 11:59:36 +02:00
Kim Biesbjerg
53eb4d1202
(refactor) get rid of AbstractTemplateParser
2019-06-12 11:50:23 +02:00
Kim Biesbjerg
102286a209
- (feat) add concept of post processors
...
- (feat) add 'key as default value' post processor (closes #109 )
- (chore) move clean functionality to a post processor
- (chore) move sort functionality to a post processor
- (refactor) get rid of leading underscore on protected properties/methods
2019-06-11 23:06:47 +02:00
Kim Biesbjerg
590f58fff3
(refactor) use object spread syntax
2019-06-11 12:54:50 +02:00
Kim Biesbjerg
677d2a35ca
Update dependencies. Bump version
2017-04-06 08:52:22 +02:00
Kim Biesbjerg
5ad1fe6a18
Remove unused import
2017-03-31 08:21:28 +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
4537c1224a
Refactored Extractor and cli
2017-03-21 15:21:39 +01:00
Kim Biesbjerg
994c31fb97
Remove default compareFn. According to docs: If compareFunction is not supplied, elements are sorted by converting them to strings and comparing strings in Unicode code point order.
2017-03-07 15:49:25 +01:00
Kim Biesbjerg
f590b9bb9e
Fix sorting. Closes #16
2017-03-07 15:45:50 +01:00
Kim Biesbjerg
1c3915ff43
Add experimental AstServiceParser
2017-01-28 15:22:08 +01:00
Gustav Gahm
c18b7dc9c7
Add CLI option to enable alphabetical sorting of extracted keys
2017-01-13 06:05:52 +01:00
Kim Biesbjerg
8093370e94
Add tests and allow more liberal spacing with get/instant calls
2016-12-13 15:17:03 +01:00
Kim Biesbjerg
2739545b9e
Optimize TranslationCollection
2016-12-10 19:20:44 +01:00
Kim Biesbjerg
3bb74e6c9e
Move extractor to utils
2016-12-10 03:40:07 +01:00
Kim Biesbjerg
6b2059b23e
Move cli code to Typescript
2016-12-10 03:29:03 +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
73801a9cc5
Add StringCollection to make it easier to work with strings
2016-12-09 05:18:04 +01:00