• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

locomotivemtl / charcoal-translator / 42
41%
master: 78%

Build:
Build:
LAST BUILD BRANCH: 0.3.7.1
DEFAULT BRANCH: master
Ran 28 Jun 2017 06:59PM UTC
Jobs 4
Files 9
Run time 46s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
42

push

travis-ci

mcaskill
Internal improvements to Translator

In order to fix/support choice messages, we need access to the message selector. Unfortunately, the selector is private under Symfony's `Translator` class. To circumvent this limitation, we need to define our own selector property and require from the constructor.

Changes:
- Added protected getter for the `LocalesManager` (for subclasses)
- Added setter/getter for the `MessageSelector`
- Added Symfony's `MessageSelector` to the service provider
- Updated `Translator` to use the manager's getter
- Changed visibility to protected for `isValidTranslation()` (for subclasses)
- Fixed choice message in `translateChoice()` and `translationChoice()`

324 of 988 relevant lines covered (32.79%)

3.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42.1 28 Jun 2017 06:59PM UTC 0
41.06
Travis Job 42.1
2 42.2 28 Jun 2017 06:59PM UTC 0
0.0
Travis Job 42.2
3 42.3 28 Jun 2017 06:58PM UTC 0
0.0
Travis Job 42.3
4 42.4 28 Jun 2017 06:59PM UTC 0
0.0
Travis Job 42.4
Source Files on build 42
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #42
  • ee77d6c1 on github
  • Prev Build on mcaskill-patch-2 (#38)
  • Next Build on mcaskill-patch-2 (#46)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc