EN translation strings for the rest of settings & UI

This commit is contained in:
Rob Kelly 2024-12-09 03:34:38 -07:00
parent 05bb813d9e
commit b1dead039f
12 changed files with 163 additions and 119 deletions

View File

@ -1,6 +1,37 @@
keys,en
UI_UNSET,unset
UI_LISTEN,listening...
UI_CANCEL,Cancel
UI_ACCEPT,Accept
UI_ON,On
UI_OFF,Off
UI_GOAL,Goal!
,
PAUSE_HEADING,Paused
PAUSE_RESUME,Resume
PAUSE_SETTINGS,Settings
PAUSE_QUIT,Quit
PAUSE_QUIT_MSG,"Quit to desktop?"
,
SETTINGS_GAME,Game
SETTINGS_GAME_HEADING,"Game Configuration"
SETTINGS_GAME_ACCESSIBILITY_HEADING,Accessibility
SETTINGS_GAME_CAMERA_HEADING,Camera
SETTINGS_SCREEN_SHAKE,"Enable Screen Shake"
SETTINGS_HIT_LAG,"Enable Hit Lag Effect"
SETTINGS_FREE_CAMERA_SPEED,"Free Camera Speed"
SETTINGS_SENSITIVITY_X,"Sensitivity, Horizontal"
SETTINGS_SENSITIVITY_Y,"Sensitivity, Vertical"
SETTINGS_ACCELERATION_X,"Acceleration, Horizontal"
SETTINGS_ACCELERATION_Y,"Acceleration, Vertical"
SETTINGS_INVERT_PITCH,"Invert Pitch"
SETTINGS_GRAPHICS,Graphics
SETTINGS_GRAPHICS_HEADING,"Graphics & Display"
SETTINGS_AUDIO,Audio
SETTINGS_AUDIO_HEADING,"Audio Settings"
SETTINGS_CONTROLS,Controls
SETTINGS_CONTROLS_HEADING,"Control Bindings"
,
ACTION_camera_forward,"Forward (free camera)"
ACTION_camera_back,"Backward (free camera)"
ACTION_camera_left,"Left (free camera)"
@ -24,3 +55,12 @@ ACTION_club_previous,"Select previous club"
ACTION_pause,Pause
ACTION_ball_next,"Select next ball"
ACTION_ball_previous,"Select previous ball"
,
CLUB_DRIVER,Driver
CLUB_IRON,Iron
CLUB_WEDGE,Wedge
CLUB_SPECIAL,Special
CLUB_PUTTER,Putter
,
BALL_BASIC,Basic
BALL_PLASMA,Plasma

1 keys en
2 UI_UNSET unset
3 UI_LISTEN listening...
4 UI_CANCEL Cancel
5 UI_ACCEPT Accept
6 UI_ON On
7 UI_OFF Off
8 UI_GOAL Goal!
9
10 PAUSE_HEADING Paused
11 PAUSE_RESUME Resume
12 PAUSE_SETTINGS Settings
13 PAUSE_QUIT Quit
14 PAUSE_QUIT_MSG Quit to desktop?
15
16 SETTINGS_GAME Game
17 SETTINGS_GAME_HEADING Game Configuration
18 SETTINGS_GAME_ACCESSIBILITY_HEADING Accessibility
19 SETTINGS_GAME_CAMERA_HEADING Camera
20 SETTINGS_SCREEN_SHAKE Enable Screen Shake
21 SETTINGS_HIT_LAG Enable Hit Lag Effect
22 SETTINGS_FREE_CAMERA_SPEED Free Camera Speed
23 SETTINGS_SENSITIVITY_X Sensitivity, Horizontal
24 SETTINGS_SENSITIVITY_Y Sensitivity, Vertical
25 SETTINGS_ACCELERATION_X Acceleration, Horizontal
26 SETTINGS_ACCELERATION_Y Acceleration, Vertical
27 SETTINGS_INVERT_PITCH Invert Pitch
28 SETTINGS_GRAPHICS Graphics
29 SETTINGS_GRAPHICS_HEADING Graphics & Display
30 SETTINGS_AUDIO Audio
31 SETTINGS_AUDIO_HEADING Audio Settings
32 SETTINGS_CONTROLS Controls
33 SETTINGS_CONTROLS_HEADING Control Bindings
34
35 ACTION_camera_forward Forward (free camera)
36 ACTION_camera_back Backward (free camera)
37 ACTION_camera_left Left (free camera)
55 ACTION_pause Pause
56 ACTION_ball_next Select next ball
57 ACTION_ball_previous Select previous ball
58
59 CLUB_DRIVER Driver
60 CLUB_IRON Iron
61 CLUB_WEDGE Wedge
62 CLUB_SPECIAL Special
63 CLUB_PUTTER Putter
64
65 BALL_BASIC Basic
66 BALL_PLASMA Plasma

View File

@ -1,6 +1,9 @@
@tool
extends Node3D
const GOAL_KEY := "UI_GOAL"
const LABEL_FMT := "{0}\n{1} m"
@export var show_distance: bool:
set(value):
if distance_label:
@ -17,4 +20,4 @@ func _process(_delta: float) -> void:
var camera := viewport.get_camera_3d()
if camera:
var distance := int(global_position.distance_to(camera.global_position))
distance_label.text = "Goal!\n%d m" % distance
distance_label.text = LABEL_FMT.format([tr(GOAL_KEY), str(distance)])

View File

@ -11,11 +11,6 @@ const UNKNOWN_LABEL_SYM := "[unknown]"
action = value
_update()
@export var label: String:
set(value):
label = value
_update()
func _ready() -> void:
_update()
@ -28,9 +23,11 @@ func _update() -> void:
var primary := actions[0]
input_symbol = PromptMap.from_event(primary)
var loc_action := tr(ControlBinding.ACTION_KEY_FMT.format([action]))
text = PROMPT_FORMAT.format(
[
input_symbol if input_symbol else PromptMap.UNKNOWN_INPUT_SYMBOL,
label if label else UNKNOWN_LABEL_SYM
loc_action if loc_action else action
]
)

View File

@ -2,12 +2,12 @@
extends CheckBox
## Checkbox which updates its label based on check state.
@export var true_text := "On":
@export var true_text := "UI_ON":
set(value):
true_text = value
_refresh()
@export var false_text := "Off":
@export var false_text := "UI_OFF":
set(value):
false_text = value
_refresh()

View File

@ -4,7 +4,7 @@
[node name="TextCheckbox" type="CheckBox"]
size_flags_horizontal = 0
text = "Off"
text = "UI_OFF"
script = ExtResource("1_6mma0")
[connection signal="toggled" from="." to="." method="_on_toggled"]

View File

@ -45,23 +45,23 @@ theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 8
theme_override_fonts/font = ExtResource("1_4nw1f")
theme_override_font_sizes/font_size = 72
text = "Paused"
text = "PAUSE_HEADING"
[node name="ResumeButton" type="Button" parent="MarginContainer/MenuList"]
layout_mode = 2
theme_type_variation = &"PauseMenuButton"
text = "Resume"
text = "PAUSE_RESUME"
[node name="SettingsButton" type="Button" parent="MarginContainer/MenuList"]
layout_mode = 2
theme_type_variation = &"PauseMenuButton"
text = "Settings"
text = "PAUSE_SETTINGS"
[node name="QuitButton" type="Button" parent="MarginContainer/MenuList"]
layout_mode = 2
theme_type_variation = &"PauseMenuButton"
theme_override_colors/font_color = Color(0.819608, 0.196078, 0.196078, 1)
text = "Quit"
text = "PAUSE_QUIT"
[node name="SettingsContainer" type="MarginContainer" parent="."]
unique_name_in_owner = true
@ -105,7 +105,7 @@ layout_mode = 2
[node name="Label" type="Label" parent="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 24
text = "Quit to desktop?"
text = "PAUSE_QUIT_MSG"
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer"]
@ -116,13 +116,13 @@ theme_override_constants/separation = 16
layout_mode = 2
size_flags_horizontal = 3
theme_type_variation = &"CancelButton"
text = "Cancel"
text = "UI_CANCEL"
[node name="ConfirmQuitButton" type="Button" parent="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_type_variation = &"AlertButton"
text = "Quit"
text = "PAUSE_QUIT"
[connection signal="pressed" from="MarginContainer/MenuList/ResumeButton" to="." method="resume"]
[connection signal="pressed" from="MarginContainer/MenuList/SettingsButton" to="." method="settings"]

View File

@ -14,260 +14,260 @@ script = ExtResource("1_lbcn7")
[node name="TabContainer" type="TabContainer" parent="."]
layout_mode = 2
current_tab = 2
current_tab = 0
[node name="Game" type="MarginContainer" parent="TabContainer"]
visible = false
[node name="SETTINGS_GAME" type="MarginContainer" parent="TabContainer"]
layout_mode = 2
theme_type_variation = &"SettingsPageContainer"
metadata/_tab_index = 0
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Game"]
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/SETTINGS_GAME"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Game/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/SETTINGS_GAME/VBoxContainer"]
layout_mode = 2
[node name="Icon" type="Label" parent="TabContainer/Game/VBoxContainer/HBoxContainer"]
[node name="Icon" type="Label" parent="TabContainer/SETTINGS_GAME/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_type_variation = &"InputPrompt"
text = "⚙"
[node name="Label" type="Label" parent="TabContainer/Game/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="TabContainer/SETTINGS_GAME/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 8
theme_type_variation = &"HeaderXLarge"
text = "Game Configuration"
text = "SETTINGS_GAME_HEADING"
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/Game/VBoxContainer"]
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/SETTINGS_GAME/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/Game/VBoxContainer/ScrollContainer"]
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = &"SettingsListMargin"
[node name="SettingsList" type="VBoxContainer" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer"]
[node name="SettingsList" type="VBoxContainer" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer"]
layout_mode = 2
[node name="AccessibilityHeading" type="HBoxContainer" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList"]
[node name="AccessibilityHeading" type="HBoxContainer" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList"]
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccessibilityHeading"]
[node name="Label" type="Label" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccessibilityHeading"]
layout_mode = 2
theme_type_variation = &"HeaderMedium"
text = "Accessibility"
text = "SETTINGS_GAME_ACCESSIBILITY_HEADING"
[node name="HSeparator" type="HSeparator" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccessibilityHeading"]
[node name="HSeparator" type="HSeparator" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccessibilityHeading"]
layout_mode = 2
size_flags_horizontal = 3
[node name="ScreenShake" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("2_f274v")]
[node name="ScreenShake" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("2_f274v")]
layout_mode = 2
key = &"game/config/accessibility/enable_screen_shake"
[node name="SettingLabel" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/ScreenShake" index="1"]
text = "Enable Screen Shake"
[node name="SettingLabel" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/ScreenShake" index="1"]
text = "SETTINGS_SCREEN_SHAKE"
[node name="HitLag" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("2_f274v")]
[node name="HitLag" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("2_f274v")]
layout_mode = 2
key = &"game/config/accessibility/enable_hit_lag"
[node name="SettingLabel" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/HitLag" index="1"]
text = "Enable Hit Lag Effect"
[node name="SettingLabel" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/HitLag" index="1"]
text = "SETTINGS_HIT_LAG"
[node name="CameraHeading" type="HBoxContainer" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList"]
[node name="CameraHeading" type="HBoxContainer" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList"]
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/CameraHeading"]
[node name="Label" type="Label" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/CameraHeading"]
layout_mode = 2
theme_type_variation = &"HeaderMedium"
text = "Camera"
text = "SETTINGS_GAME_CAMERA_HEADING"
[node name="HSeparator" type="HSeparator" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/CameraHeading"]
[node name="HSeparator" type="HSeparator" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/CameraHeading"]
layout_mode = 2
size_flags_horizontal = 3
[node name="FreeCameraSpeed" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
[node name="FreeCameraSpeed" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
layout_mode = 2
key = &"game/config/controls/camera/free_camera_speed"
[node name="SettingLabel" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed" index="1"]
text = "Free Camera Speed"
[node name="SettingLabel" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed" index="1"]
text = "SETTINGS_FREE_CAMERA_SPEED"
[node name="NumericSlider" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed/PanelContainer/MarginContainer" index="0"]
[node name="NumericSlider" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed/PanelContainer/MarginContainer" index="0"]
step = 0.1
[node name="HSlider" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed/PanelContainer/MarginContainer/NumericSlider" index="0"]
[node name="HSlider" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed/PanelContainer/MarginContainer/NumericSlider" index="0"]
step = 0.1
[node name="SpinBox" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed/PanelContainer/MarginContainer/NumericSlider" index="1"]
[node name="SpinBox" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed/PanelContainer/MarginContainer/NumericSlider" index="1"]
step = 0.1
suffix = "m/s"
[node name="SensitivityX" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
[node name="SensitivityX" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
layout_mode = 2
key = &"game/config/controls/camera/x_axis_sensitivity"
[node name="SettingLabel" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityX" index="1"]
text = "Sensitivity, Horizontal"
[node name="SettingLabel" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityX" index="1"]
text = "SETTINGS_SENSITIVITY_X"
[node name="NumericSlider" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityX/PanelContainer/MarginContainer" index="0"]
[node name="NumericSlider" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityX/PanelContainer/MarginContainer" index="0"]
max_value = 4.0
step = 0.01
[node name="SensitivityY" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
[node name="SensitivityY" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
layout_mode = 2
key = &"game/config/controls/camera/y_axis_sensitivity"
[node name="SettingLabel" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityY" index="1"]
text = "Sensitivity, Vertical"
[node name="SettingLabel" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityY" index="1"]
text = "SETTINGS_SENSITIVITY_Y"
[node name="NumericSlider" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityY/PanelContainer/MarginContainer" index="0"]
[node name="NumericSlider" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityY/PanelContainer/MarginContainer" index="0"]
max_value = 4.0
step = 0.01
[node name="AccelerationX" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
[node name="AccelerationX" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
layout_mode = 2
key = &"game/config/controls/camera/x_axis_acceleration"
[node name="SettingLabel" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationX" index="1"]
text = "Acceleration, Horizontal"
[node name="SettingLabel" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationX" index="1"]
text = "SETTINGS_ACCELERATION_X"
[node name="NumericSlider" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationX/PanelContainer/MarginContainer" index="0"]
[node name="NumericSlider" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationX/PanelContainer/MarginContainer" index="0"]
step = 0.1
[node name="AccelerationY" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
[node name="AccelerationY" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("3_jox8e")]
layout_mode = 2
key = &"game/config/controls/camera/y_axis_acceleration"
[node name="SettingLabel" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationY" index="1"]
text = "Acceleration, Vertical"
[node name="SettingLabel" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationY" index="1"]
text = "SETTINGS_ACCELERATION_Y"
[node name="NumericSlider" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationY/PanelContainer/MarginContainer" index="0"]
[node name="NumericSlider" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationY/PanelContainer/MarginContainer" index="0"]
step = 0.1
[node name="InvertPitch" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("2_f274v")]
[node name="InvertPitch" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList" groups=["Settings"] instance=ExtResource("2_f274v")]
layout_mode = 2
key = &"game/config/controls/camera/invert_pitch"
[node name="SettingLabel" parent="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/InvertPitch" index="1"]
text = "Invert Pitch"
[node name="SettingLabel" parent="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/InvertPitch" index="1"]
text = "SETTINGS_INVERT_PITCH"
[node name="Graphics" type="MarginContainer" parent="TabContainer"]
[node name="SETTINGS_GRAPHICS" type="MarginContainer" parent="TabContainer"]
visible = false
layout_mode = 2
theme_type_variation = &"SettingsPageContainer"
metadata/_tab_index = 1
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Graphics"]
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/SETTINGS_GRAPHICS"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Graphics/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/SETTINGS_GRAPHICS/VBoxContainer"]
layout_mode = 2
[node name="Icon" type="Label" parent="TabContainer/Graphics/VBoxContainer/HBoxContainer"]
[node name="Icon" type="Label" parent="TabContainer/SETTINGS_GRAPHICS/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_type_variation = &"InputPrompt"
text = "🖵
"
[node name="Label" type="Label" parent="TabContainer/Graphics/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="TabContainer/SETTINGS_GRAPHICS/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 8
theme_type_variation = &"HeaderXLarge"
text = "Graphics & Display"
text = "SETTINGS_GRAPHICS_HEADING"
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/Graphics/VBoxContainer"]
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/SETTINGS_GRAPHICS/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/Graphics/VBoxContainer/ScrollContainer"]
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/SETTINGS_GRAPHICS/VBoxContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = &"SettingsListMargin"
[node name="SettingsList" type="VBoxContainer" parent="TabContainer/Graphics/VBoxContainer/ScrollContainer/MarginContainer"]
[node name="SettingsList" type="VBoxContainer" parent="TabContainer/SETTINGS_GRAPHICS/VBoxContainer/ScrollContainer/MarginContainer"]
layout_mode = 2
[node name="Audio" type="MarginContainer" parent="TabContainer"]
[node name="SETTINGS_AUDIO" type="MarginContainer" parent="TabContainer"]
visible = false
layout_mode = 2
theme_type_variation = &"SettingsPageContainer"
metadata/_tab_index = 2
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Audio"]
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/SETTINGS_AUDIO"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Audio/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/SETTINGS_AUDIO/VBoxContainer"]
layout_mode = 2
[node name="Icon" type="Label" parent="TabContainer/Audio/VBoxContainer/HBoxContainer"]
[node name="Icon" type="Label" parent="TabContainer/SETTINGS_AUDIO/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_type_variation = &"InputPrompt"
text = "🕬"
[node name="Label" type="Label" parent="TabContainer/Audio/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="TabContainer/SETTINGS_AUDIO/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 8
theme_type_variation = &"HeaderXLarge"
text = "Audio Settings"
text = "SETTINGS_AUDIO_HEADING"
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/Audio/VBoxContainer"]
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/SETTINGS_AUDIO/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/Audio/VBoxContainer/ScrollContainer"]
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/SETTINGS_AUDIO/VBoxContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = &"SettingsListMargin"
[node name="BusMixerList" type="HBoxContainer" parent="TabContainer/Audio/VBoxContainer/ScrollContainer/MarginContainer"]
[node name="BusMixerList" type="HBoxContainer" parent="TabContainer/SETTINGS_AUDIO/VBoxContainer/ScrollContainer/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 16
[node name="Controls" type="MarginContainer" parent="TabContainer"]
[node name="SETTINGS_CONTROLS" type="MarginContainer" parent="TabContainer"]
visible = false
layout_mode = 2
theme_type_variation = &"SettingsPageContainer"
metadata/_tab_index = 3
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Controls"]
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/SETTINGS_CONTROLS"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Controls/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/SETTINGS_CONTROLS/VBoxContainer"]
layout_mode = 2
[node name="Icon" type="Label" parent="TabContainer/Controls/VBoxContainer/HBoxContainer"]
[node name="Icon" type="Label" parent="TabContainer/SETTINGS_CONTROLS/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_type_variation = &"InputPrompt"
text = "␼"
[node name="Label" type="Label" parent="TabContainer/Controls/VBoxContainer/HBoxContainer"]
[node name="Label" type="Label" parent="TabContainer/SETTINGS_CONTROLS/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 8
theme_type_variation = &"HeaderXLarge"
text = "Control Bindings"
text = "SETTINGS_CONTROLS_HEADING"
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/Controls/VBoxContainer"]
[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer/SETTINGS_CONTROLS/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/Controls/VBoxContainer/ScrollContainer"]
[node name="MarginContainer" type="MarginContainer" parent="TabContainer/SETTINGS_CONTROLS/VBoxContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_type_variation = &"SettingsListMargin"
[node name="ControlBindingList" type="VBoxContainer" parent="TabContainer/Controls/VBoxContainer/ScrollContainer/MarginContainer"]
[node name="ControlBindingList" type="VBoxContainer" parent="TabContainer/SETTINGS_CONTROLS/VBoxContainer/ScrollContainer/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
@ -287,24 +287,22 @@ theme_override_constants/separation = 16
[node name="CancelButton" type="Button" parent="SouthEast/HBoxContainer"]
layout_mode = 2
theme_type_variation = &"CancelButton"
text = "Cancel
"
text = "UI_CANCEL"
[node name="AcceptButton" type="Button" parent="SouthEast/HBoxContainer"]
layout_mode = 2
theme_type_variation = &"AlertButton"
text = "Accept
"
text = "UI_ACCEPT"
[connection signal="pressed" from="SouthEast/HBoxContainer/CancelButton" to="." method="cancel"]
[connection signal="pressed" from="SouthEast/HBoxContainer/AcceptButton" to="." method="accept"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/ScreenShake"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/HitLag"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed/PanelContainer/MarginContainer/NumericSlider"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityX"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityY"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationX"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationY"]
[editable path="TabContainer/Game/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/InvertPitch"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/ScreenShake"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/HitLag"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/FreeCameraSpeed/PanelContainer/MarginContainer/NumericSlider"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityX"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/SensitivityY"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationX"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/AccelerationY"]
[editable path="TabContainer/SETTINGS_GAME/VBoxContainer/ScrollContainer/MarginContainer/SettingsList/InvertPitch"]

View File

@ -47,5 +47,5 @@ stream = ExtResource("2_822gu")
[connection signal="drag_ended" from="Slider" to="." method="_on_slider_drag_ended"]
[connection signal="value_changed" from="Slider" to="." method="_on_component_value_changed"]
[connection signal="value_changed" from="DigitalDisplay/SpinBox" to="." method="_on_component_value_changed"]
[connection signal="value_changed" from="DigitalDisplay/SpinBox" to="." method="_on_spin_box_value_changed"]
[connection signal="value_changed" from="DigitalDisplay/SpinBox" to="." method="_on_component_value_changed"]

View File

@ -37,6 +37,7 @@ theme_override_fonts/font = ExtResource("2_bu42i")
theme_override_font_sizes/font_size = 25
text = "BALLTYPE"
horizontal_alignment = 2
uppercase = true
[node name="QuantityContainer" type="HBoxContainer" parent="BallLabel"]
unique_name_in_owner = true

View File

@ -53,10 +53,10 @@ theme_override_constants/separation = 5
unique_name_in_owner = true
custom_minimum_size = Vector2(120, 27)
layout_mode = 2
text = "BASIC"
text = "BALL_BASIC"
[node name="PlasmaIcon" parent="GradientMask/BallList" instance=ExtResource("1_1v8xg")]
unique_name_in_owner = true
custom_minimum_size = Vector2(120, 27)
layout_mode = 2
text = "PLASMA"
text = "BALL_PLASMA"

View File

@ -107,7 +107,8 @@ grow_vertical = 2
scale = Vector2(0.618, 0.618)
pivot_offset = Vector2(0, 20)
theme_type_variation = &"ClubSelectLabel"
text = "DRIVER"
text = "CLUB_DRIVER"
uppercase = true
script = ExtResource("4_j7p7f")
[node name="IronLabel" type="Label" parent="ClubHub"]
@ -127,7 +128,8 @@ grow_vertical = 2
scale = Vector2(0.618, 0.618)
pivot_offset = Vector2(0, 20)
theme_type_variation = &"ClubSelectLabel"
text = "IRON"
text = "CLUB_IRON"
uppercase = true
script = ExtResource("4_j7p7f")
[node name="WedgeLabel" type="Label" parent="ClubHub"]
@ -147,7 +149,8 @@ grow_vertical = 2
scale = Vector2(0.618, 0.618)
pivot_offset = Vector2(0, 20)
theme_type_variation = &"ClubSelectLabel"
text = "WEDGE"
text = "CLUB_WEDGE"
uppercase = true
script = ExtResource("4_j7p7f")
[node name="SpecialLabel" type="Label" parent="ClubHub"]
@ -167,7 +170,8 @@ grow_vertical = 2
scale = Vector2(0.618, 0.618)
pivot_offset = Vector2(0, 20)
theme_type_variation = &"ClubSelectLabel"
text = "SPECIAL"
text = "CLUB_SPECIAL"
uppercase = true
script = ExtResource("4_j7p7f")
[node name="PutterLabel" type="Label" parent="ClubHub"]
@ -187,5 +191,6 @@ grow_vertical = 2
scale = Vector2(0.618, 0.618)
pivot_offset = Vector2(0, 20)
theme_type_variation = &"ClubSelectLabel"
text = "PUTTER"
text = "CLUB_PUTTER"
uppercase = true
script = ExtResource("4_j7p7f")

View File

@ -1035,18 +1035,18 @@ layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_right = 0.5
offset_left = -95.5
offset_left = -237.5
offset_top = -55.0
offset_right = 95.5
offset_right = 237.5
grow_horizontal = 2
theme_override_constants/margin_top = 16
[node name="ResetInputPrompt" parent="ResetPrompt" instance=ExtResource("14_ik4gg")]
clip_children = 2
layout_mode = 2
text = "❓ - RESET"
text = "❓ - ACTION_shot_reset"
uppercase = true
action = &"shot_reset"
label = "RESET"
[node name="Glint" type="TextureRect" parent="ResetPrompt/ResetInputPrompt"]
layout_mode = 1