private boolean changing = false;
- // FIXME: Localize
-
/**
* Sole constructor.
*
// Scale the entire rocket design
try {
- document.startUndo("Scale rocket");
+ document.startUndo(trans.get("undo.scaleRocket"));
for (RocketComponent c : document.getRocket()) {
scale(c, mul, scaleMass);
}
// Scale component and subcomponents
try {
- document.startUndo("Scale components");
+ document.startUndo(trans.get("undo.scaleComponents"));
for (RocketComponent c : selection) {
scale(c, mul, scaleMass);
}
// Scale only the selected component
try {
- document.startUndo("Scale component");
+ document.startUndo(trans.get("undo.scaleComponent"));
scale(selection, mul, scaleMass);
} finally {
document.stopUndo();