nicosantangelo / sublime-text-i18n-rails

Sublime Text 2/3 package for Rails Internationalization
MIT License
18 stars 3 forks source link

Nesting on existing key #9

Closed nicosantangelo closed 10 years ago

nicosantangelo commented 10 years ago

Handle the case where the key exists but it tries to be defined with nesting:

Yaml

en:
  greeting: Hello world

And erb:

<%= t('greeting.hello') %>

Right now it just fails, I should at least show a notice explaining what's happening like 'greeting' is already defined with 'Hello World'