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

diffux / diffux / 440
98%

Build:
DEFAULT BRANCH: master
Ran 03 May 2014 07:14AM UTC
Jobs 1
Files 24
Run time 9s
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
440

push

travis-ci

trotzig
Fix missing translations for timestamps

I was trying out the Spanish translation (awesome btw!) and noticed that
the snapshot timestamps didn't all have translations. It turns out that
`distance_in_words` has a total of 11 variations, and we only specified
three.

I first attempted at using my high school Spanish to fill in the blanks
myself (hey, I had a an A in Spanish after all). But I realized that I
had no idea what I was doing. Then I came across the rails-i18n gem
which provides default translations for a large number of languages. It
turns out Rails is smart enough to merge multiple locale files together,
so I was able to rip out some stuff from our es.yml.

I did notice that the translations in the rails-i18n for
distance_in_words didn't match the ones that @menor had provided. So I'm
going to ask him to verify that the default es.yml is doing the right
thing:
https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/es.yml

448 of 454 relevant lines covered (98.68%)

70.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 440.1 (2.0.0) 03 May 2014 07:14AM UTC 0
98.68
Travis Job 440.1
Source Files on build 440
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #440
  • 350b9408 on github
  • Prev Build on master (#439)
  • Next Build on master (#444)
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