'VS[compat]'

@classmethod
def _translate(cls, key):

    if (key in cls.metadata_translations):
        dog_stats_api.increment(DEPRECATION_VSCOMPAT_EVENT, tags=['location:xmodule_descriptor_translate'])
    return cls.metadata_translations.get(key, key)
