Skip to content

Commit 23eaac9

Browse files
committed
updated messages.
1 parent 7ce0454 commit 23eaac9

5 files changed

Lines changed: 18 additions & 2 deletions

File tree

src/main/java/com/ss/editor/Messages.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,14 @@ public class Messages {
161161
* The constant SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT.
162162
*/
163163
public static final String SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT;
164+
/**
165+
* The constant SCENE_FILE_EDITOR_ACTION_PHYSICS.
166+
*/
167+
public static final String SCENE_FILE_EDITOR_ACTION_PHYSICS;
168+
/**
169+
* The constant SCENE_FILE_EDITOR_ACTION_DEBUG_PHYSICS.
170+
*/
171+
public static final String SCENE_FILE_EDITOR_ACTION_DEBUG_PHYSICS;
164172
/**
165173
* The constant SCENE_FILE_EDITOR_ACTION_SHOW_LIGHTS.
166174
*/
@@ -2453,6 +2461,8 @@ public class Messages {
24532461
SCENE_FILE_EDITOR_ACTION_SCALE_TOOL = bundle.getString("SceneFileEditorActionScaleTool");
24542462
SCENE_FILE_EDITOR_ACTION_ROTATION_TOOL = bundle.getString("SceneFileEditorActionRotationTool");
24552463
SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT = bundle.getString("SceneFileEditorActionCameraLight");
2464+
SCENE_FILE_EDITOR_ACTION_PHYSICS = bundle.getString("SceneFileEditorActionPhysics");
2465+
SCENE_FILE_EDITOR_ACTION_DEBUG_PHYSICS = bundle.getString("SceneFileEditorActionDebugPhysics");
24562466
SCENE_FILE_EDITOR_ACTION_SHOW_LIGHTS = bundle.getString("SceneFileEditorActionShowLights");
24572467
SCENE_FILE_EDITOR_ACTION_SHOW_AUDIO = bundle.getString("SceneFileEditorActionShowAudio");
24582468

src/main/java/com/ss/editor/ui/component/editor/impl/model/ModelFileEditor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,14 @@ protected void createActions(@NotNull final HBox container) {
280280
.addListener((observable, oldValue, newValue) -> changeLight(newValue));
281281

282282
physicsButton = new ToggleButton();
283-
physicsButton.setTooltip(new Tooltip(Messages.SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT));
283+
physicsButton.setTooltip(new Tooltip(Messages.SCENE_FILE_EDITOR_ACTION_PHYSICS));
284284
physicsButton.setGraphic(new ImageView(Icons.PHYSICS_16));
285285
physicsButton.setSelected(false);
286286
physicsButton.selectedProperty()
287287
.addListener((observable, oldValue, newValue) -> changePhysics(newValue));
288288

289289
debugPhysicsButton = new ToggleButton();
290-
debugPhysicsButton.setTooltip(new Tooltip(Messages.SCENE_FILE_EDITOR_ACTION_CAMERA_LIGHT));
290+
debugPhysicsButton.setTooltip(new Tooltip(Messages.SCENE_FILE_EDITOR_ACTION_DEBUG_PHYSICS));
291291
debugPhysicsButton.setGraphic(new ImageView(Icons.DEBUG_16));
292292
debugPhysicsButton.setSelected(false);
293293
debugPhysicsButton.selectedProperty()

src/main/resources/messages/messages.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ SceneFileEditorActionMoveTool=Moving manipulator
3838
SceneFileEditorActionScaleTool=Scaling manipulator
3939
SceneFileEditorActionRotationTool=Rotating manipulator
4040
SceneFileEditorActionCameraLight=Enable/disable the camera light
41+
SceneFileEditorActionPhysics=Enable/disable bullet physics
42+
SceneFileEditorActionDebugPhysics=Enable/disable debug bullet physics
4143
SceneFileEditorActionShowLights=Enable/disable showing lights on a scene
4244
SceneFileEditorActionShowAudio=Enable/disable showing audio nodes on a scene
4345

src/main/resources/messages/messages_de.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ SceneFileEditorActionMoveTool=Bewegungssmanipulator
3838
SceneFileEditorActionScaleTool=Skalierungsmanipulator
3939
SceneFileEditorActionRotationTool=Rotationsmanipulator
4040
SceneFileEditorActionCameraLight=Einschalten/Ausschalten des Kameralichtes
41+
SceneFileEditorActionPhysics=Enable/disable bullet physics
42+
SceneFileEditorActionDebugPhysics=Enable/disable debug bullet physics
4143
SceneFileEditorActionShowLights=Einschalten/Ausschalten der Lichtquellen in der Szene
4244
SceneFileEditorActionShowAudio=Einschalten/Ausschalten der Audioknoten in der Szene
4345

src/main/resources/messages/messages_ru.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ SceneFileEditorActionMoveTool=Манипулятор перемещения
3939
SceneFileEditorActionScaleTool=Манипулятор маштабирования
4040
SceneFileEditorActionRotationTool=Манипулятор вращения
4141
SceneFileEditorActionCameraLight=Включение/отключение света от камеры
42+
SceneFileEditorActionPhysics=Включение/отключение bullet физики
43+
SceneFileEditorActionDebugPhysics=Включение/отключение отладки bullet физики
4244
SceneFileEditorActionShowLights=Включение/отключение отображения источников света на сцене
4345
SceneFileEditorActionShowAudio=Включение/отключение отображения аудио узлов на сцене
4446

0 commit comments

Comments
 (0)