Added localization changes supplied by Russian USS.
This commit is contained in:
parent
007c7d6b41
commit
6aac556a53
@ -413,6 +413,7 @@ SimuRunDlg.msg.unknownerror2 = The program may be unstable, you should save all
|
||||
|
||||
RK4SimulationStepper.error.valuesTooLarge = Simulation values exceeded limits. Try selecting a shorter time step.
|
||||
|
||||
SimulationModifierTree.OptimizationParameters = Optimization Parameters
|
||||
|
||||
! SimulationExportPanel
|
||||
SimExpPan.desc = Comma Separated Files (*.csv)
|
||||
@ -597,6 +598,9 @@ componentanalysisdlg.lbl.rollrate = Roll rate:
|
||||
componentanalysisdlg.lbl.activestages = Active stages:
|
||||
componentanalysisdlg.lbl.motorconf = Motor configuration:
|
||||
componentanalysisdlg.TabStability.Col = Component
|
||||
componentanalysisdlg.TabStability.Col.CG = CG
|
||||
componentanalysisdlg.TabStability.Col.Mass = Mass
|
||||
componentanalysisdlg.TabStability.Col.CP = CP
|
||||
componentanalysisdlg.TabStability = Stability
|
||||
componentanalysisdlg.TabStability.ttip = Stability information
|
||||
componentanalysisdlg.dragTableModel.Col.Component = Component
|
||||
|
@ -203,7 +203,7 @@ public class ComponentAnalysisDialog extends JDialog implements ChangeListener {
|
||||
return 200;
|
||||
}
|
||||
},
|
||||
new Column("CG / " + UnitGroup.UNITS_LENGTH.getDefaultUnit().getUnit()) {
|
||||
new Column(trans.get("componentanalysisdlg.TabStability.Col.CG") + " / " + UnitGroup.UNITS_LENGTH.getDefaultUnit().getUnit()) {
|
||||
private Unit unit = UnitGroup.UNITS_LENGTH.getDefaultUnit();
|
||||
|
||||
@Override
|
||||
@ -211,7 +211,7 @@ public class ComponentAnalysisDialog extends JDialog implements ChangeListener {
|
||||
return unit.toString(cgData.get(row).x);
|
||||
}
|
||||
},
|
||||
new Column("Mass / " + UnitGroup.UNITS_MASS.getDefaultUnit().getUnit()) {
|
||||
new Column(trans.get("componentanalysisdlg.TabStability.Col.Mass") + " / " + UnitGroup.UNITS_MASS.getDefaultUnit().getUnit()) {
|
||||
private Unit unit = UnitGroup.UNITS_MASS.getDefaultUnit();
|
||||
|
||||
@Override
|
||||
@ -219,7 +219,7 @@ public class ComponentAnalysisDialog extends JDialog implements ChangeListener {
|
||||
return unit.toString(cgData.get(row).weight);
|
||||
}
|
||||
},
|
||||
new Column("CP / " + UnitGroup.UNITS_LENGTH.getDefaultUnit().getUnit()) {
|
||||
new Column(trans.get("componentanalysisdlg.TabStability.Col.CP") + " / " + UnitGroup.UNITS_LENGTH.getDefaultUnit().getUnit()) {
|
||||
private Unit unit = UnitGroup.UNITS_LENGTH.getDefaultUnit();
|
||||
|
||||
@Override
|
||||
|
@ -16,9 +16,11 @@ import javax.swing.tree.TreePath;
|
||||
|
||||
import net.sf.openrocket.gui.components.BasicTree;
|
||||
import net.sf.openrocket.gui.main.ComponentIcons;
|
||||
import net.sf.openrocket.l10n.Translator;
|
||||
import net.sf.openrocket.optimization.rocketoptimization.SimulationModifier;
|
||||
import net.sf.openrocket.rocketcomponent.Rocket;
|
||||
import net.sf.openrocket.rocketcomponent.RocketComponent;
|
||||
import net.sf.openrocket.startup.Application;
|
||||
import net.sf.openrocket.util.TextUtil;
|
||||
|
||||
/**
|
||||
@ -32,6 +34,7 @@ import net.sf.openrocket.util.TextUtil;
|
||||
public class SimulationModifierTree extends BasicTree {
|
||||
|
||||
private final List<SimulationModifier> selectedModifiers;
|
||||
private static final Translator trans = Application.getTranslator();
|
||||
|
||||
/**
|
||||
* Sole constructor.
|
||||
@ -76,7 +79,7 @@ public class SimulationModifierTree extends BasicTree {
|
||||
DefaultMutableTreeNode modifierNode;
|
||||
|
||||
if (component.getChildCount() > 0) {
|
||||
modifierNode = new DefaultMutableTreeNode("Optimization parameters");
|
||||
modifierNode = new DefaultMutableTreeNode(trans.get("SimulationModifierTree.OptimizationParameters"));
|
||||
node.add(modifierNode);
|
||||
} else {
|
||||
modifierNode = node;
|
||||
|
Loading…
x
Reference in New Issue
Block a user