Commit Graph

25 Commits

Author SHA1 Message Date
Kim Biesbjerg
72739f2e9a Rename Test class for ServiceParser 2017-03-20 15:32:49 +01:00
Kim Biesbjerg
3facc0c287 - Added typings for packages where typings existed
- Remove regexp ServiceParser and make AstServiceParser the default. #23
- Replaced CLI parser to add support for multiple input/output paths (supports file expansion, glob patterns and multiple values/parameters) #7
2017-03-20 15:29:41 +01:00
Kim Biesbjerg
1c3915ff43 Add experimental AstServiceParser 2017-01-28 15:22:08 +01:00
Kim Biesbjerg
303fb1b6de Fix bug where keys were being extracted when not accessing TranslationService property 2017-01-28 15:06:05 +01:00
Kim Biesbjerg
04429bdb44 Add test 2017-01-16 07:13:18 +01:00
Kim Biesbjerg
fcd37fd000 Fix bug in PipeParser 2017-01-13 09:34:34 +01:00
Kim Biesbjerg
7822916e28 Add NamespacedJsonCompiler 2017-01-13 09:02:01 +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
e0f909fb4f Fix tests 2016-12-23 05:23:33 +01:00
Kim Biesbjerg
9d87ff368c Fix Pipe regex and add test 2016-12-20 16:42:05 +01:00
Kim Biesbjerg
fbbfa04a34 Use non-greedy regular expression 2016-12-20 16:18:40 +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
43df1f0fb8 Fix bug in DirectiveParser: should not extract translate pipe in html tag 2016-12-10 04:14:13 +01:00
Kim Biesbjerg
c35036d4c8 Update test 2016-12-10 02:05: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
73801a9cc5 Add StringCollection to make it easier to work with strings 2016-12-09 05:18:04 +01:00
Kim Biesbjerg
befd841457 Remove newlines 2016-12-08 16:25:36 +01:00
Kim Biesbjerg
e5f937d7f6 Support alternate ng2-translate attribute in DirectiveParser. Add more tests 2016-12-08 16:09:06 +01:00
Kim Biesbjerg
867905586a Add DirectiveParser test for extracting strings with ng2-translate selector 2016-12-08 15:43:38 +01:00
Kim Biesbjerg
fdf26d6af5 Add support for extracting array of strings in ServiceParser + tests 2016-12-08 15:24:23 +01:00
Kim Biesbjerg
3e84dd2f72 Use same structure for tests as src 2016-12-08 14:28:59 +01:00
Kim Biesbjerg
206edc53f7 Add tests for ServiceParser 2016-12-08 14:26:38 +01:00
Kim Biesbjerg
85a1d04c96 Add tests for PipeParser 2016-12-08 14:12:43 +01:00
Kim Biesbjerg
c2aac9c257 Replace quotes with backticks 2016-12-08 14:12:33 +01:00
Kim Biesbjerg
23d2a5eb9d Add tests for AbstractTemplateParser and DirectiveParser 2016-12-08 13:53:13 +01:00