in fluent/migrate/transforms.py [0:0]
def __init__(self, path, key):
if not path.endswith(".ftl"):
raise NotSupportedError(
"Please use COPY to migrate from legacy files " "({})".format(path)
)
if key[0] == "-" and "." in key:
raise NotSupportedError(
"Cannot migrate from Term Attributes, as they are"
"locale-dependent ({})".format(path)
)
super().__init__(path, key)