Fix duplicate translation name error
add a test for untested code
Merge pull request #153 from jinty/fix_duplicate_name_error

Fix duplicate name error