i18n-active_record icon indicating copy to clipboard operation
i18n-active_record copied to clipboard

Silently ignore the parent

Open nvanoorschot opened this issue 7 years ago • 2 comments

Closes #82

First I order the translations so that a parent element would be the last result. This makes sure that when checking the key of the first result it is not parents value that is returned.

In the build_translation_hash_by_key method I simply return an empty Hash when the parent is evaluated.

nvanoorschot avatar May 19 '17 09:05 nvanoorschot