/* * Copyright 2006, 2023, Haiku. * Distributed under the terms of the MIT License. * * Authors: * Stephan Aßmus * Zardshard */ #include "RemoveTransformersCommand.h" #include #include #include #include "Transformer.h" #undef B_TRANSLATION_CONTEXT #define B_TRANSLATION_CONTEXT "Icon-O-Matic-RemoveTransformersCmd" RemoveTransformersCommand::RemoveTransformersCommand(Container* container, const int32* indices, int32 count) : RemoveCommand(container, indices, count) { } RemoveTransformersCommand::~RemoveTransformersCommand() { } void RemoveTransformersCommand::GetName(BString& name) { static BStringFormat format(B_TRANSLATE("Remove {0, plural, " "one{transformer} other{transformers}}")); format.Format(name, fCount); }