#20 new
shaheenery

descriptive exception for malformed translation file

Reported by shaheenery | November 26th, 2008 @ 02:35 AM

if a .rb or .yml file are malformed (OR BLANK...oops) currently it results in a called each for FalseClass error

with my diff patch there is a new exception that is raised accusing the proper file of it's rediculousness

I couldn't find where these functions were being tested, i'd probably be able to write the test if I saw some similar ones...this is my first contribution back to the community...woohoo OpenSource

Comments and changes to this ticket

  • ms (at budstikka)

    ms (at budstikka) July 15th, 2010 @ 01:04 PM

    • Assigned user set to “Sven Fuchs”
    • Milestone order changed from “0” to “0”

    Pull request sent on GitHub for a fix for this. It's essentially the same code as in the diff shaheenery provided, just refactored to work with the latest version of the i18n source.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff

People watching this ticket

Attachments

Pages