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

locomotivemtl / charcoal-translator / 38 / 3
41%
master: 78%

Build:
Build:
LAST BUILD BRANCH: 0.3.7.1
DEFAULT BRANCH: master
Ran 28 Jun 2017 04:41PM UTC
Files 9
Run time 0s
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

28 Jun 2017 04:39PM UTC coverage: 0.0%. Remained the same
38.3

push

travis-ci

mcaskill
Iternal 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()`

0 of 988 relevant lines covered (0.0%)

0.0 hits per line

Source Files on job 38.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 38
  • Travis Job 38.3
  • 7132d9cb on github
  • Prev Job for on mcaskill-patch-2 (#36.4)
  • Next Job for on mcaskill-patch-2 (#42.4)
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