function ignoreTranslationError(ignores, rule, file, key) {
    ignores[rule] ??= [];
    ignores[rule].push({
        file,
        key,
        comment: 'FIXME: This error was automatically ignored. Please update the translation or this comment.'
    });
}
Adds a translation error to {ignores}
@param {Record<string, any>} ignores
@param {string} rule
@param {string} file
@param {string} key