I don't think this is a big deal to keep those translations here so that we are sure every single string is translated even if the main translation file changes.
Maybe it would have been better to have dedicated string (ie. "annotation.close"). This would avoid conflicts.