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