forked from willdurand/BazingaJsTranslationBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[willdurand#163] Fixes JsExtractorTest based on PR comment
cf. https://github.com/willdurand/BazingaJsTranslationBundle/pull/164/files/413c12d0a87a7da345a61ed621c2099260d9fa7f#diff-6cb71bac1e0b1d9b34177249d6f1e0db willdurand#164 (comment)
- Loading branch information
1 parent
4137824
commit 4b1f6c4
Showing
9 changed files
with
80 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Translator.transChoice('test-key-1', 5); | ||
Translator.transChoice(); | ||
Translator.transChoice(variable, 5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Translator.trans('test-key-1'); | ||
Translator.trans(); | ||
Translator.trans(variable); |
3 changes: 3 additions & 0 deletions
3
Tests/Fixtures/Extractor/NotValidTransChoiceFunctionUsage/test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Translator.transChice('test-key-1', 5); | ||
Translator.transCohie(); | ||
Translator.transChoce(variable, 5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Translator.tras('test-key-1'); | ||
Translator.trns(); | ||
Translator.tans(variable); |