-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keys reported as missing and unused #127
Comments
It is indeed correct in reporting the keys as missing:
en.yml does not have single_events:
show:
participate: And me!
unparticipate: Not yet. de.yml does not have subscriptions:
index:
error: Eintrag nicht gefunden. These are missing because they do appear in the other locale file.
The other unused warning is because the key is used like this: flash[:notice] = t "single_events.#{params[:state]}.confirmation" Generally, i18n-tasks does its best to guess the usage here, but I'd recommend to list the keys explicitly: # i18n-tasks-use t('single_events.push.confirmation') t('single_events.delete.confirmation')
flash[:notice] = t "single_events.#{params[:state]}.confirmation" |
In hacken-in/hacken-in#558 (I first linked to PR 557 of that repo, sorry for the mixup), some keys are recognised as missing and unused (see especially the fixing commit hacken-in/hacken-in@ca5d261), any idea what could be happening? Is there anything we can do to help debug this?
(we have obviously worked around it, but I don't think that's a good answer :-) )
The text was updated successfully, but these errors were encountered: