Missing translation (or incorrect translation reference) in r2825
|Assignee:||Eric Davis||% Done:|
I get, when setting a related issue to an issue, and selecting 'blocks', the following message
"Translation missing, en, field_issue_to"
I added field_issue_to: Related issue to config/locales/en.yml
and it worked.
I don't know if this is the proper solution, or is there somewhere in code that must be changed to field_issue_to_id (because it has the same text).
- rails --version
- ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
Last Changed Author: edavis10
Last Changed Rev: 2825
Last Changed Date: 2009-07-27 02:55:43 +0200 (Mon, 27 Jul 2009)
Fixed missing translation for 'field_issue_to', the translation files ended in _id.
#2 Updated by Vinko Vrsalovic almost 10 years ago
Found the real culprit.
Put a non existing issue number and it shows the message. (pic1.png)
If I add the field_issue_to to en.yml then it shows the proper error message. (pic2.png)
Sorry for the misreport.
#4 Updated by Vinko Vrsalovic almost 10 years ago
- Status changed from Closed to Reopened
- Assignee deleted (
Mischa The Evil)
Should I open a new issue for this?
It's clearly still a problem.
The message when using a non existing issue (imagine a typo or a similar mistake) shows an error of translation instead of the proper error.
This seems to point at the error handler pointing to a non existing translation item.
#6 Updated by Eric Davis almost 10 years ago
- Category changed from Translations to Issues
- Status changed from Reopened to 7
- Assignee set to Eric Davis
- Resolution deleted (
#7 Updated by Eric Davis almost 10 years ago
- Status changed from 7 to Closed
- Target version set to 0.9.0
- % Done changed from 0 to 100
- Resolution set to Fixed
Fixed in r2835. It looks like the
field_issue_to_id was the older translation but in trunk (with Rails 2.2.2), it was looking for
field_issue_to instead. Thank you for the bug report and the steps to reproduce.
0.8.x wasn't affected by this.