projects
/
debian
/
openrocket
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
language selector, bug fixed
[debian/openrocket]
/
src
/
net
/
sf
/
openrocket
/
gui
/
dialogs
/
ScaleDialog.java
diff --git
a/src/net/sf/openrocket/gui/dialogs/ScaleDialog.java
b/src/net/sf/openrocket/gui/dialogs/ScaleDialog.java
index d53a1a54c28636052b6165e0ab65f82e2b39845e..c6ccc23987561d22fba64fdcdd2469759e8cd16a 100644
(file)
--- a/
src/net/sf/openrocket/gui/dialogs/ScaleDialog.java
+++ b/
src/net/sf/openrocket/gui/dialogs/ScaleDialog.java
@@
-206,8
+206,6
@@
public class ScaleDialog extends JDialog {
private boolean changing = false;
private boolean changing = false;
- // FIXME: Localize
-
/**
* Sole constructor.
*
/**
* Sole constructor.
*
@@
-430,7
+428,7
@@
public class ScaleDialog extends JDialog {
// Scale the entire rocket design
try {
// 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);
}
for (RocketComponent c : document.getRocket()) {
scale(c, mul, scaleMass);
}
@@
-442,7
+440,7
@@
public class ScaleDialog extends JDialog {
// Scale component and subcomponents
try {
// Scale component and subcomponents
try {
- document.startUndo(
"Scale components"
);
+ document.startUndo(
trans.get("undo.scaleComponents")
);
for (RocketComponent c : selection) {
scale(c, mul, scaleMass);
}
for (RocketComponent c : selection) {
scale(c, mul, scaleMass);
}
@@
-454,7
+452,7
@@
public class ScaleDialog extends JDialog {
// Scale only the selected component
try {
// Scale only the selected component
try {
- document.startUndo(
"Scale component"
);
+ document.startUndo(
trans.get("undo.scaleComponent")
);
scale(selection, mul, scaleMass);
} finally {
document.stopUndo();
scale(selection, mul, scaleMass);
} finally {
document.stopUndo();