import I18n from "I18n";
import RestModel from "discourse/models/rest";
import discourseComputed from "discourse-common/utils/decorators";

export default RestModel.extend({
  @discourseComputed("id")
  name(id) {
    return I18n.t(`admin.flags.summary.action_type_${id}`, { count: 1 });
  },
});
