From a3306d29bd4dfccc1823ac9dc88ab07da195bbfc Mon Sep 17 00:00:00 2001 From: Bucket Of Chicken <122376377+realbucketofchicken@users.noreply.github.com> Date: Sat, 5 Jul 2025 08:13:18 +0200 Subject: [PATCH] translations --- Main.tscn | 64 +++++++++-------- PlaylistDisplay.tscn | 2 +- Settings.tscn | 43 ++++++------ addons/discord-rpc-gd/nodes/Debug.tscn | 4 +- addons/discord-rpc-gd/restart_window.tscn | 4 +- playing_now_window.gdshader | 17 +++++ playing_now_window.gdshader.uid | 1 + playing_now_window.tscn | 81 ++++++++++------------ project.godot | 8 ++- search_item.tscn | 2 +- search_results.tscn | 2 +- settings.gd | 2 +- translation/translations.csv | 38 ++++++++++ translation/translations.csv.import | 17 +++++ translation/translations.de.translation | Bin 0 -> 1885 bytes translation/translations.en.translation | Bin 0 -> 1790 bytes 16 files changed, 175 insertions(+), 110 deletions(-) create mode 100644 playing_now_window.gdshader create mode 100644 playing_now_window.gdshader.uid create mode 100644 translation/translations.csv create mode 100644 translation/translations.csv.import create mode 100644 translation/translations.de.translation create mode 100644 translation/translations.en.translation diff --git a/Main.tscn b/Main.tscn index 46b39fa..9831cb7 100644 --- a/Main.tscn +++ b/Main.tscn @@ -1,43 +1,43 @@ [gd_scene load_steps=81 format=3 uid="uid://b2sygl55s6fng"] -[ext_resource type="Script" path="res://main.gd" id="1_ubs1p"] +[ext_resource type="Script" uid="uid://cvqefw0g6ala7" path="res://main.gd" id="1_ubs1p"] [ext_resource type="Texture2D" uid="uid://b8on1case224h" path="res://LoopPressed.png" id="2_iolk5"] [ext_resource type="Texture2D" uid="uid://daq8wnhtscpjl" path="res://Skip.png" id="3_4vx67"] -[ext_resource type="Script" path="res://wallpaper_manager.gd" id="4_y372l"] +[ext_resource type="Script" uid="uid://b4mmbu4weiab5" path="res://wallpaper_manager.gd" id="4_y372l"] [ext_resource type="Texture2D" uid="uid://cmr1ij4s7xa27" path="res://IMG_20241015_162213_033(1).jpg" id="5_8v24s"] [ext_resource type="Texture2D" uid="uid://38c8dfym0svn" path="res://Loop.png" id="5_c2g63"] [ext_resource type="Texture2D" uid="uid://cekkhyppj88xi" path="res://Headphones.png" id="6_3mi6c"] [ext_resource type="Texture2D" uid="uid://ba5wdmchyy50n" path="res://nighttime-in-the-hills-henry-porter.jpg" id="6_8abnc"] [ext_resource type="Texture2D" uid="uid://2vacx4h6vn46" path="res://IMG_20241015_175925_722(1).jpg" id="6_hvupl"] [ext_resource type="Texture2D" uid="uid://ctb4s2nks73rx" path="res://Play.png" id="8_5v7u3"] -[ext_resource type="Shader" path="res://CoverShader.gdshader" id="8_4531v"] -[ext_resource type="Shader" path="res://Background1.gdshader" id="8_xtnau"] -[ext_resource type="Shader" path="res://Main.gdshader" id="10_20857"] +[ext_resource type="Shader" uid="uid://cv5aoaprqfuhx" path="res://CoverShader.gdshader" id="8_4531v"] +[ext_resource type="Shader" uid="uid://dgwslfj43mu1y" path="res://Background1.gdshader" id="8_xtnau"] +[ext_resource type="Shader" uid="uid://b8g2xx06g626m" path="res://Main.gdshader" id="10_20857"] [ext_resource type="Texture2D" uid="uid://b00wlqid2jdvi" path="res://BigLogo.png" id="10_xnj6a"] [ext_resource type="Texture2D" uid="uid://0r1tx6l1lc6x" path="res://settingscog.png" id="11_esjel"] -[ext_resource type="Script" path="res://cover.gd" id="12_3v50a"] -[ext_resource type="Script" path="res://playlists_panel.gd" id="12_8ie8y"] -[ext_resource type="Script" path="res://settings_button.gd" id="12_073mb"] +[ext_resource type="Script" uid="uid://dg68hvw773xu6" path="res://cover.gd" id="12_3v50a"] +[ext_resource type="Script" uid="uid://bxc2fqwlm5ea5" path="res://playlists_panel.gd" id="12_8ie8y"] +[ext_resource type="Script" uid="uid://xnlvpxy2jwxb" path="res://settings_button.gd" id="12_073mb"] [ext_resource type="Texture2D" uid="uid://myq6n4bshduj" path="res://search.png" id="12_cv2gm"] -[ext_resource type="Script" path="res://search_bar.gd" id="12_mr42x"] -[ext_resource type="Script" path="res://select_playlist.gd" id="12_of5fe"] -[ext_resource type="Script" path="res://search_toggle.gd" id="13_5illk"] +[ext_resource type="Script" uid="uid://cchutywgopaq4" path="res://search_bar.gd" id="12_mr42x"] +[ext_resource type="Script" uid="uid://dv2vjibopktug" path="res://select_playlist.gd" id="12_of5fe"] +[ext_resource type="Script" uid="uid://c2t3ignwqoplj" path="res://search_toggle.gd" id="13_5illk"] [ext_resource type="PackedScene" uid="uid://dqg674t6kun4e" path="res://Settings.tscn" id="13_7atry"] -[ext_resource type="Script" path="res://create_playlists_menu.gd" id="13_asgvh"] +[ext_resource type="Script" uid="uid://bsnt1irskti8d" path="res://create_playlists_menu.gd" id="13_asgvh"] [ext_resource type="Texture2D" uid="uid://b5eims5ucn81r" path="res://Loding.png" id="13_de5ej"] -[ext_resource type="Script" path="res://volume_button.gd" id="14_7q3ja"] +[ext_resource type="Script" uid="uid://ctj7miuviibin" path="res://volume_button.gd" id="14_7q3ja"] [ext_resource type="Texture2D" uid="uid://1rstn6r2wisy" path="res://X.png" id="14_mioc4"] -[ext_resource type="Script" path="res://Spinning.gd" id="14_rhw4k"] -[ext_resource type="Script" path="res://yt_tab_button.gd" id="16_2t15p"] -[ext_resource type="Script" path="res://help_button.gd" id="17_4b8oh"] -[ext_resource type="Script" path="res://songs_menu.gd" id="27_f8wx0"] +[ext_resource type="Script" uid="uid://bx75h6xic1hi7" path="res://Spinning.gd" id="14_rhw4k"] +[ext_resource type="Script" uid="uid://chdf40dyj73pq" path="res://yt_tab_button.gd" id="16_2t15p"] +[ext_resource type="Script" uid="uid://bn0iqqmor3b2b" path="res://help_button.gd" id="17_4b8oh"] +[ext_resource type="Script" uid="uid://dkjp64f01dpf4" path="res://songs_menu.gd" id="27_f8wx0"] [ext_resource type="PackedScene" uid="uid://bel6i6wdbexw4" path="res://search_results.tscn" id="27_g8wmp"] [ext_resource type="Texture2D" uid="uid://bmbxyma4ra46p" path="res://Download.png" id="29_v44vi"] -[ext_resource type="Script" path="res://update_checker.gd" id="30_byc5i"] -[ext_resource type="Script" path="res://CustomButtonColor.gd" id="32_pwgec"] -[ext_resource type="Script" path="res://loading_failed_screen.gd" id="37_mkkhu"] +[ext_resource type="Script" uid="uid://drqx8pjalsxqr" path="res://update_checker.gd" id="30_byc5i"] +[ext_resource type="Script" uid="uid://cf1rsngucr7e2" path="res://CustomButtonColor.gd" id="32_pwgec"] +[ext_resource type="Script" uid="uid://cbdcs7oie12g5" path="res://loading_failed_screen.gd" id="37_mkkhu"] [ext_resource type="AudioStream" uid="uid://n8g3v41u2u48" path="res://Error.wav" id="38_nkjlp"] -[ext_resource type="Script" path="res://birthday_container.gd" id="38_pitc3"] +[ext_resource type="Script" uid="uid://n3koklp0funr" path="res://birthday_container.gd" id="38_pitc3"] [ext_resource type="AudioStream" uid="uid://bwfw3l3iyv67o" path="res://roblox win sound effect.mp3" id="39_3er0p"] [ext_resource type="PackedScene" uid="uid://n7cnapaftfse" path="res://playing_now_window.tscn" id="40_ismud"] @@ -345,7 +345,7 @@ offset_bottom = 80.0 focus_mode = 0 toggle_mode = true shortcut = SubResource("Shortcut_vp2fh") -text = "Playlists" +text = "PLAYLIST" script = ExtResource("12_of5fe") [node name="PlaylistPanelHolder" type="Control" parent="."] @@ -360,7 +360,6 @@ grow_vertical = 2 metadata/_edit_use_anchors_ = true [node name="PlaylistsPanel" type="Control" parent="PlaylistPanelHolder"] -visible = false anchors_preset = 0 anchor_bottom = 1.0 offset_left = 19.0 @@ -415,8 +414,7 @@ alignment = 1 custom_minimum_size = Vector2(155, 42.335) layout_mode = 2 focus_mode = 0 -text = "Create -Playlist" +text = "CREATE_PLAYLIST" [node name="Control" type="Control" parent="PlaylistPanelHolder/PlaylistsPanel/PlaylistsContainer/VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(7.55, 0) @@ -427,7 +425,7 @@ custom_minimum_size = Vector2(155, 42.335) layout_mode = 2 focus_mode = 0 toggle_mode = true -text = "Play all" +text = "PLAYALL" [node name="PlaylistsHolder" type="VBoxContainer" parent="PlaylistPanelHolder/PlaylistsPanel/PlaylistsContainer/VBoxContainer"] layout_mode = 2 @@ -486,7 +484,7 @@ color = Color(0.14902, 0.14902, 0.14902, 1) layout_mode = 1 offset_right = 229.0 offset_bottom = 47.0 -placeholder_text = "Link to download" +placeholder_text = "DOWNLOAD_LINK" [node name="YTDownload" type="Button" parent="YoutubeMenuHolder/Youtube menu"] layout_mode = 1 @@ -495,7 +493,7 @@ offset_top = 70.0 offset_right = 88.0 offset_bottom = 110.0 focus_mode = 0 -text = "Download" +text = "DOWNLOAD" [node name="LoadingIMG" type="Sprite2D" parent="YoutubeMenuHolder/Youtube menu"] position = Vector2(108, 91) @@ -510,7 +508,7 @@ offset_left = 1.99998 offset_top = 49.0 offset_right = 227.0 offset_bottom = 72.0 -text = "NOTE: speed depends on your internet" +text = "DOWNLOAD_NOTE" label_settings = SubResource("LabelSettings_fiiw4") [node name="HelpButton" type="Button" parent="YoutubeMenuHolder/Youtube menu"] @@ -646,7 +644,7 @@ offset_bottom = 80.0 grow_horizontal = 0 focus_mode = 0 shortcut = SubResource("Shortcut_axi6u") -text = "Randomize" +text = "RANDOMIZE" [node name="FileDialog" type="FileDialog" parent="."] title = "Open a Directory" @@ -844,7 +842,7 @@ offset_right = -328.0 offset_bottom = 80.0 grow_horizontal = 2 focus_mode = 0 -text = "Select Songs" +text = "SONG_SELECT" script = ExtResource("27_f8wx0") [node name="SearchResults" parent="." instance=ExtResource("27_g8wmp")] @@ -1074,7 +1072,7 @@ anchor_bottom = 1.0 offset_top = -38.0 grow_horizontal = 2 grow_vertical = 0 -text = "Update" +text = "UPDATE" flat = true [node name="LinkBTTNBG" type="ColorRect" parent="UpdateChecker/ColorRect/LinkButton"] @@ -1293,11 +1291,11 @@ opacitycurve = SubResource("Curve_ilc1k") [node name="BirthdayParticles" type="GPUParticles2D" parent="BirthdayContainer"] emitting = false amount = 120 -process_material = SubResource("ParticleProcessMaterial_cr82i") lifetime = 5.0 one_shot = true explosiveness = 0.9 visibility_rect = Rect2(-750, -750, 1500, 1000) +process_material = SubResource("ParticleProcessMaterial_cr82i") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="BirthdayContainer"] stream = ExtResource("39_3er0p") diff --git a/PlaylistDisplay.tscn b/PlaylistDisplay.tscn index 5577120..56ec156 100644 --- a/PlaylistDisplay.tscn +++ b/PlaylistDisplay.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=4 format=3 uid="uid://c33qaelwn46f4"] -[ext_resource type="Script" path="res://playlist_display.gd" id="1_h0jh1"] +[ext_resource type="Script" uid="uid://cs12qambyvou8" path="res://playlist_display.gd" id="1_h0jh1"] [ext_resource type="Texture2D" uid="uid://dwvy6crqhardn" path="res://Dropdown.png" id="2_im6ur"] [sub_resource type="LabelSettings" id="LabelSettings_ky8oc"] diff --git a/Settings.tscn b/Settings.tscn index 4963f37..150f629 100644 --- a/Settings.tscn +++ b/Settings.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=10 format=3 uid="uid://dqg674t6kun4e"] -[ext_resource type="Script" path="res://settings.gd" id="1_uaa7d"] -[ext_resource type="Script" path="res://eq_settings.gd" id="2_1n4m6"] +[ext_resource type="Script" uid="uid://vnpslgl788du" path="res://settings.gd" id="1_uaa7d"] +[ext_resource type="Script" uid="uid://kt7n1epi3ng8" path="res://eq_settings.gd" id="2_1n4m6"] [ext_resource type="Texture2D" uid="uid://1rstn6r2wisy" path="res://X.png" id="2_iuivb"] [ext_resource type="Texture2D" uid="uid://pgij783wgbhn" path="res://File.png" id="2_jmen4"] @@ -41,6 +41,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +scroll_vertical = 391 [node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"] custom_minimum_size = Vector2(576, 493) @@ -67,7 +68,7 @@ custom_minimum_size = Vector2(400, 26.975) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 3 -text = "THIRD PARTY APPS" +text = "INTIGRATIONS" label_settings = SubResource("LabelSettings_2bhor") horizontal_alignment = 1 vertical_alignment = 1 @@ -77,13 +78,13 @@ autowrap_mode = 2 layout_mode = 2 size_flags_horizontal = 0 focus_mode = 0 -text = "Discord Rich Presence" +text = "DRPC" [node name="disclaimer" type="Label" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(229.895, 0) layout_mode = 2 size_flags_horizontal = 0 -text = "NOTE: After disableing a restart is needed" +text = "DRPC_NOTE" label_settings = SubResource("LabelSettings_p55k3") horizontal_alignment = 1 vertical_alignment = 1 @@ -97,7 +98,7 @@ layout_mode = 2 custom_minimum_size = Vector2(400, 26.975) layout_mode = 2 size_flags_vertical = 3 -text = "LOOKs" +text = "LOOKS" label_settings = SubResource("LabelSettings_2bhor") horizontal_alignment = 1 vertical_alignment = 1 @@ -136,13 +137,13 @@ size_flags_horizontal = 0 custom_minimum_size = Vector2(0, 25.35) layout_mode = 2 size_flags_horizontal = 4 -text = "Select Background" +text = "BS_SELECT" [node name="ResetBG" type="Button" parent="ScrollContainer/VBoxContainer/VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(0, 25.35) layout_mode = 2 size_flags_horizontal = 4 -text = "Reset BG" +text = "RESET_BG" [node name="SelectBGDialog" type="FileDialog" parent="ScrollContainer/VBoxContainer"] title = "Open a File" @@ -163,7 +164,7 @@ layout_mode = 2 custom_minimum_size = Vector2(400, 26.975) layout_mode = 2 size_flags_vertical = 3 -text = "SOUND SETTINGS" +text = "SETTINGS_SOUND" label_settings = SubResource("LabelSettings_2bhor") horizontal_alignment = 1 vertical_alignment = 1 @@ -207,11 +208,11 @@ vertical_alignment = 1 autowrap_mode = 2 [node name="FUN" type="Label" parent="ScrollContainer/VBoxContainer/PitchAdjustSettings/PitchAdjustSettings"] -custom_minimum_size = Vector2(94.52, 7.51) +custom_minimum_size = Vector2(100.49, 7.51) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 -text = "pitch/speed" +text = "PITCH_SPEED" horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 2 @@ -220,7 +221,7 @@ autowrap_mode = 2 layout_mode = 2 size_flags_horizontal = 0 focus_mode = 0 -text = "Reverb" +text = "REVERB" [node name="ReverbSettings" type="VBoxContainer" parent="ScrollContainer/VBoxContainer"] visible = false @@ -263,7 +264,7 @@ custom_minimum_size = Vector2(94.52, 7.51) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 -text = "Room size" +text = "ROOM_SIZE" horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 2 @@ -347,7 +348,7 @@ custom_minimum_size = Vector2(94.52, 7.51) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 -text = "Spread" +text = "SPREAD" horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 2 @@ -367,7 +368,7 @@ script = ExtResource("2_1n4m6") layout_mode = 2 size_flags_horizontal = 0 focus_mode = 0 -text = "Compression" +text = "COMPRESSION" [node name="CompressionContainer" type="VBoxContainer" parent="ScrollContainer/VBoxContainer"] visible = false @@ -411,7 +412,7 @@ custom_minimum_size = Vector2(94.52, 7.51) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 -text = "Threshold" +text = "THRESHOLD" horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 2 @@ -520,13 +521,13 @@ autowrap_mode = 2 [node name="NowPlayingWindowButton" type="CheckBox" parent="ScrollContainer/VBoxContainer"] layout_mode = 2 focus_mode = 0 -text = "Now playing window" +text = "STREAMER_WINDOW" [node name="NowPlayingInfo" type="Label" parent="ScrollContainer/VBoxContainer"] custom_minimum_size = Vector2(229.895, 0) layout_mode = 2 size_flags_horizontal = 0 -text = "This setting enables a dedicated window for displaying the currently playing song. This can be useful when streaming " +text = "STREAMER_NOTE" label_settings = SubResource("LabelSettings_p55k3") vertical_alignment = 1 autowrap_mode = 2 @@ -550,21 +551,21 @@ uri = "https://godotengine.org" [node name="Label2" type="LinkButton" parent="ScrollContainer/VBoxContainer/Credits"] layout_mode = 2 size_flags_horizontal = 4 -text = "Godot YT-DL by Noé Le Cam" +text = "YT_DL" underline = 1 uri = "https://github.com/Nolkaloid/godot-yt-dlp" [node name="Label3" type="LinkButton" parent="ScrollContainer/VBoxContainer/Credits"] layout_mode = 2 size_flags_horizontal = 4 -text = "Discord RPC by vaporee" +text = "DRPCL" underline = 1 uri = "https://github.com/vaporvee/discord-rpc-godot" [node name="Label4" type="LinkButton" parent="ScrollContainer/VBoxContainer/Credits"] layout_mode = 2 size_flags_horizontal = 4 -text = "Godot GIF by b0tlanner" +text = "GDGIF" underline = 1 uri = "https://github.com/BOTLANNER/godot-gif" diff --git a/addons/discord-rpc-gd/nodes/Debug.tscn b/addons/discord-rpc-gd/nodes/Debug.tscn index 9afc6d3..dc5e705 100644 --- a/addons/discord-rpc-gd/nodes/Debug.tscn +++ b/addons/discord-rpc-gd/nodes/Debug.tscn @@ -112,8 +112,8 @@ tracks/0/keys = { [sub_resource type="AnimationLibrary" id="AnimationLibrary_a7ofc"] _data = { -"RESET": SubResource("Animation_mmtmn"), -"pulsate": SubResource("Animation_5u02v") +&"RESET": SubResource("Animation_mmtmn"), +&"pulsate": SubResource("Animation_5u02v") } [node name="DebugNodeGroup" type="Node"] diff --git a/addons/discord-rpc-gd/restart_window.tscn b/addons/discord-rpc-gd/restart_window.tscn index 0291e94..d947cb7 100644 --- a/addons/discord-rpc-gd/restart_window.tscn +++ b/addons/discord-rpc-gd/restart_window.tscn @@ -9,7 +9,7 @@ Button/styles/focus = SubResource("StyleBoxEmpty_1t7mm") [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5vqdt"] -[sub_resource type="Image" id="Image_qsij4"] +[sub_resource type="Image" id="Image_4rf8i"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 168, 224, 224, 224, 233, 224, 224, 224, 236, 224, 224, 224, 170, 231, 231, 231, 31, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 234, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 239, 230, 230, 230, 30, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 168, 224, 224, 224, 255, 224, 224, 224, 186, 224, 224, 224, 32, 224, 224, 224, 33, 224, 224, 224, 187, 224, 224, 224, 255, 225, 225, 225, 167, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 237, 224, 224, 224, 255, 224, 224, 224, 33, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 255, 224, 224, 224, 234, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 237, 224, 224, 224, 255, 224, 224, 224, 33, 255, 255, 255, 0, 255, 255, 255, 0, 229, 229, 229, 38, 224, 224, 224, 255, 224, 224, 224, 229, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 164, 224, 224, 224, 255, 224, 224, 224, 187, 225, 225, 225, 34, 227, 227, 227, 36, 224, 224, 224, 192, 224, 224, 224, 255, 224, 224, 224, 162, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 24, 225, 225, 225, 215, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 229, 224, 224, 224, 32, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 24, 224, 224, 224, 216, 224, 224, 224, 255, 224, 224, 224, 210, 224, 224, 224, 161, 224, 224, 224, 232, 224, 224, 224, 231, 225, 225, 225, 159, 230, 230, 230, 30, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 107, 224, 224, 224, 255, 224, 224, 224, 210, 230, 230, 230, 20, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 105, 230, 230, 230, 20, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 221, 224, 224, 224, 130, 255, 255, 255, 1, 255, 255, 255, 1, 225, 225, 225, 134, 224, 224, 224, 224, 225, 225, 225, 223, 224, 224, 224, 132, 255, 255, 255, 1, 255, 255, 255, 6, 224, 224, 224, 137, 224, 224, 224, 231, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 130, 225, 225, 225, 133, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 129, 224, 224, 224, 137, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 65, 224, 224, 224, 255, 224, 224, 224, 220, 225, 225, 225, 223, 224, 224, 224, 255, 226, 226, 226, 61, 224, 224, 224, 65, 224, 224, 224, 255, 224, 224, 224, 222, 224, 224, 224, 231, 224, 224, 224, 255, 227, 227, 227, 62, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 67, 224, 224, 224, 255, 224, 224, 224, 219, 224, 224, 224, 222, 224, 224, 224, 255, 227, 227, 227, 63, 225, 225, 225, 67, 224, 224, 224, 255, 224, 224, 224, 219, 224, 224, 224, 230, 224, 224, 224, 255, 227, 227, 227, 63, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 127, 224, 224, 224, 129, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 126, 225, 225, 225, 135, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 221, 225, 225, 225, 127, 255, 255, 255, 0, 255, 255, 255, 1, 224, 224, 224, 128, 224, 224, 224, 220, 224, 224, 224, 219, 225, 225, 225, 127, 255, 255, 255, 0, 255, 255, 255, 5, 225, 225, 225, 134, 224, 224, 224, 229, 224, 224, 224, 255, 255, 255, 255, 0), "format": "RGBA8", @@ -19,7 +19,7 @@ data = { } [sub_resource type="ImageTexture" id="ImageTexture_gdtpn"] -image = SubResource("Image_qsij4") +image = SubResource("Image_4rf8i") [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7v0rg"] diff --git a/playing_now_window.gdshader b/playing_now_window.gdshader new file mode 100644 index 0000000..21aecbd --- /dev/null +++ b/playing_now_window.gdshader @@ -0,0 +1,17 @@ +shader_type canvas_item; + +uniform sampler2D alpha; +void vertex() { + // Called for every vertex the material is visible on. +} + +void fragment() { + COLOR.a = texture(alpha,UV).a; + //COLOR.a = 1.0-((cos((UV.x)*PI*2.0)+1.0)/2.0); + //COLOR.a -= ((cos(UV.y*PI*2.0)+1.0)/2.0); +} + +//void light() { +// // Called for every pixel for every light affecting the CanvasItem. +// // Uncomment to replace the default light processing function with this one. +//} diff --git a/playing_now_window.gdshader.uid b/playing_now_window.gdshader.uid new file mode 100644 index 0000000..8e7fa29 --- /dev/null +++ b/playing_now_window.gdshader.uid @@ -0,0 +1 @@ +uid://byan4wmg2pjl6 diff --git a/playing_now_window.tscn b/playing_now_window.tscn index 2656fd7..c93364c 100644 --- a/playing_now_window.tscn +++ b/playing_now_window.tscn @@ -1,16 +1,23 @@ -[gd_scene load_steps=5 format=3 uid="uid://n7cnapaftfse"] +[gd_scene load_steps=8 format=3 uid="uid://n7cnapaftfse"] -[ext_resource type="Script" path="res://playing_now_window.gd" id="1_f0rac"] +[ext_resource type="Script" uid="uid://q2gdlr10ncnb" path="res://playing_now_window.gd" id="1_f0rac"] +[ext_resource type="Shader" uid="uid://byan4wmg2pjl6" path="res://playing_now_window.gdshader" id="2_yr2ao"] +[ext_resource type="Texture2D" uid="uid://cq8jj63iyu2cs" path="res://d7hftxdivxxvm.cloudfront.webp" id="3_haeb5"] -[sub_resource type="Gradient" id="Gradient_5icyh"] -offsets = PackedFloat32Array(0.960432, 1) -colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0) +[sub_resource type="Gradient" id="Gradient_haeb5"] +offsets = PackedFloat32Array(0.670732, 1) +colors = PackedColorArray(0, 0, 0, 1, 1, 1, 1, 0) -[sub_resource type="GradientTexture2D" id="GradientTexture2D_wqq75"] -gradient = SubResource("Gradient_5icyh") +[sub_resource type="GradientTexture2D" id="GradientTexture2D_nf0dg"] +gradient = SubResource("Gradient_haeb5") fill = 1 -fill_from = Vector2(0.487179, 0.482906) -fill_to = Vector2(0.491453, 0) +fill_from = Vector2(0.5, 0.5) +fill_to = Vector2(0.5, 0) +metadata/_snap_enabled = true + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_haeb5"] +shader = ExtResource("2_yr2ao") +shader_parameter/alpha = SubResource("GradientTexture2D_nf0dg") [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ew3gl"] bg_color = Color(0.6, 0.6, 0.6, 0) @@ -19,7 +26,7 @@ corner_radius_top_right = 20 corner_radius_bottom_right = 20 corner_radius_bottom_left = 20 corner_detail = 10 -shadow_color = Color(0, 0, 0, 0.631373) +shadow_color = Color(0, 0, 0, 0.435294) shadow_size = 45 [node name="PlayingNowWindow" type="Control" node_paths=PackedStringArray("SongImage", "SongNameLabel", "SongNameScroller", "SongAuthorScroller", "SongAuthorLabel")] @@ -32,35 +39,15 @@ grow_vertical = 2 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource("1_f0rac") -SongImage = NodePath("Panel2/TextureRect") -SongNameLabel = NodePath("Panel2/Panel/VBoxContainer/ScrollContainer/SongName") -SongNameScroller = NodePath("Panel2/Panel/VBoxContainer/ScrollContainer") -SongAuthorScroller = NodePath("Panel2/Panel/VBoxContainer/ScrollContainer2") -SongAuthorLabel = NodePath("Panel2/Panel/VBoxContainer/ScrollContainer2/SongAuthor") +SongImage = NodePath("TextureRect") +SongNameLabel = NodePath("Panel/VBoxContainer/ScrollContainer/SongName") +SongNameScroller = NodePath("Panel/VBoxContainer/ScrollContainer") +SongAuthorScroller = NodePath("Panel/VBoxContainer/ScrollContainer2") +SongAuthorLabel = NodePath("Panel/VBoxContainer/ScrollContainer2/SongAuthor") -[node name="Panel2" type="TextureRect" parent="."] -clip_children = 1 -z_index = -85 -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -texture = SubResource("GradientTexture2D_wqq75") - -[node name="ColorRect" type="ColorRect" parent="Panel2"] -z_index = -3 -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -color = Color(0.114897, 0.114897, 0.114897, 1) - -[node name="TextureRect" type="TextureRect" parent="Panel2"] +[node name="TextureRect" type="TextureRect" parent="."] z_index = -1 +material = SubResource("ShaderMaterial_haeb5") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 @@ -68,10 +55,11 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 -expand_mode = 5 -stretch_mode = 6 +texture = ExtResource("3_haeb5") +expand_mode = 3 +stretch_mode = 5 -[node name="Panel" type="Panel" parent="Panel2"] +[node name="Panel" type="Panel" parent="."] z_index = -1 custom_minimum_size = Vector2(206.815, 60.71) layout_mode = 1 @@ -88,26 +76,27 @@ grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_ew3gl") -[node name="VBoxContainer" type="VBoxContainer" parent="Panel2/Panel"] +[node name="VBoxContainer" type="VBoxContainer" parent="Panel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -1.645 -offset_bottom = 1.645 +offset_right = 6.10352e-05 +offset_bottom = 1.64503 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 alignment = 1 -[node name="ScrollContainer" type="ScrollContainer" parent="Panel2/Panel/VBoxContainer"] +[node name="ScrollContainer" type="ScrollContainer" parent="Panel/VBoxContainer"] custom_minimum_size = Vector2(200, 25) layout_mode = 2 size_flags_horizontal = 4 horizontal_scroll_mode = 3 vertical_scroll_mode = 0 -[node name="SongName" type="RichTextLabel" parent="Panel2/Panel/VBoxContainer/ScrollContainer"] +[node name="SongName" type="RichTextLabel" parent="Panel/VBoxContainer/ScrollContainer"] custom_minimum_size = Vector2(200, 30) layout_mode = 2 size_flags_horizontal = 6 @@ -118,14 +107,14 @@ scroll_active = false autowrap_mode = 0 visible_characters_behavior = 3 -[node name="ScrollContainer2" type="ScrollContainer" parent="Panel2/Panel/VBoxContainer"] +[node name="ScrollContainer2" type="ScrollContainer" parent="Panel/VBoxContainer"] custom_minimum_size = Vector2(200, 25) layout_mode = 2 size_flags_horizontal = 4 horizontal_scroll_mode = 3 vertical_scroll_mode = 0 -[node name="SongAuthor" type="RichTextLabel" parent="Panel2/Panel/VBoxContainer/ScrollContainer2"] +[node name="SongAuthor" type="RichTextLabel" parent="Panel/VBoxContainer/ScrollContainer2"] custom_minimum_size = Vector2(200, 30) layout_mode = 2 size_flags_horizontal = 4 diff --git a/project.godot b/project.godot index f508977..b146626 100644 --- a/project.godot +++ b/project.godot @@ -12,11 +12,11 @@ config_version=5 config/name="Simplaudio" run/main_scene="res://Main.tscn" -config/features=PackedStringArray("4.3", "Forward Plus") +config/features=PackedStringArray("4.4", "Forward Plus") run/low_processor_mode=true boot_splash/bg_color=Color(0, 0, 0, 1) -boot_splash/image="res://BigLogo.png" boot_splash/use_filter=false +boot_splash/image="res://BigLogo.png" config/icon="res://Logo2.png" config/windows_native_icon="res://addons/godot-yt-dlp/src/favicon2.ico" @@ -47,6 +47,10 @@ version_control/autoload_on_startup=true enabled=PackedStringArray("res://addons/discord-rpc-gd/plugin.cfg", "res://addons/godot-yt-dlp/plugin.cfg") +[internationalization] + +locale/translations=PackedStringArray("res://translation/translations.de.translation", "res://translation/translations.en.translation") + [rendering] textures/canvas_textures/default_texture_filter=2 diff --git a/search_item.tscn b/search_item.tscn index e5610da..fbe3fae 100644 --- a/search_item.tscn +++ b/search_item.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=3 format=3 uid="uid://ctqcbjrmxaqsk"] -[ext_resource type="Script" path="res://search_item.gd" id="1_j4126"] +[ext_resource type="Script" uid="uid://c3aaxhp0oim08" path="res://search_item.gd" id="1_j4126"] [ext_resource type="Texture2D" uid="uid://dwvy6crqhardn" path="res://Dropdown.png" id="2_hicj1"] [node name="SearchItem" type="Control"] diff --git a/search_results.tscn b/search_results.tscn index e23acf4..59d1122 100644 --- a/search_results.tscn +++ b/search_results.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=2 format=3 uid="uid://bel6i6wdbexw4"] -[ext_resource type="Script" path="res://search_results.gd" id="1_mcn1o"] +[ext_resource type="Script" uid="uid://d0hvudugo3d37" path="res://search_results.gd" id="1_mcn1o"] [node name="SearchResults" type="Control"] layout_mode = 3 diff --git a/settings.gd b/settings.gd index 1f3cb2c..572a454 100644 --- a/settings.gd +++ b/settings.gd @@ -69,7 +69,7 @@ func _process(delta: float) -> void: compression_container.show() else: compression_container.hide() - time_listening_label.text = "Total listening time: %s!" % str(str(int(Parent.TimeSpentListening/60)/60 ) + time_listening_label.text = tr("LISTENING_TIME") + " %s!" % str(str(int(Parent.TimeSpentListening/60)/60 ) + "h : " + str((int(Parent.TimeSpentListening) / 60) % 60) + "m : " + str(int(Parent.TimeSpentListening) % 60) + "s") diff --git a/translation/translations.csv b/translation/translations.csv new file mode 100644 index 0000000..5e16591 --- /dev/null +++ b/translation/translations.csv @@ -0,0 +1,38 @@ +key,en,de +DOWNLOAD,Download,Herunterladen +DOWNLOAD_NOTE,NOTE: speed depends on your internet,Kann etwas dauern +DOWNLOAD_LINK,Link to download,Link zum herunterladen +RANDOMIZE,Randomize,Mischen +SONG_SELECT,Select a song,Lied auswälen +PLAYLIST,Playlist,Playlist +PLAYLISTS,PLAYLISTS,PLAYLISTEN +CREATE_PLAYLIST,"Create +Playlist","Playlist +Erstellen" +PLAYALL,Play all,alle abspielen +UPDATE,Update,Updaten +SETTINGS,SETTINGS,EINSTELLUNGEN +INTIGRATIONS,INTIGRATIONS,INTIGRATIONEN +DRPC,discord rich presense,discord aktivitäten +DRPC_NOTE,NOTE: After disableing a restart is needed,Nach deaktivieren neustarten +LOOKS,LOOKS,AUSEHEN +BS_SELECT,Select Background,Hintergrund auswählen +RESET_BG,Reset,Zurücksetzen +SETTINGS_SOUND,SOUND SETTINGS,AUDIO EINSTELLUNGEN +PITCH_SPEED,pitch/speed,Ton höhe/geschwindigkeit +REVERB,Reverb,Hall +EQ,EQ,EQ +COMPRESSION,Compression,Compression +THRESHOLD,Threshold,Threshold +SPREAD,Spread,Verbreitung +DAMPENING,Damping,Damping +ROOM_SIZE,Room size,Raum größe +MISC,MISC,WEITERES +STREAMER_WINDOW,Streamer window,Streamer fenster +STREAMER_NOTE,This setting enables a dedicated window for displaying the currently playing song. This can be useful when streaming ,"Diese eistellung aktiviert ein fenster das das grade speilende lied zeigt, ist hauptzächlich für streamer nützlich" +CREDITS,CREDITS,CREDITS +YT_DL,Godot YT-DL by Noé Le Cam,Godot YT-DL von Noé Le Cam +DRPCL,Discord RPC by vaporee,Discord RPC von vaporee +GDGIF,Godot GIF by b0tlanner,Godot GIF von b0tlanner +RESET_SETTINGS,RESET SETTINGS,EINSTELLUNGEN ZURÜCKSETZEN +LISTENING_TIME,Total listening time:,Gesamte hörzeit diff --git a/translation/translations.csv.import b/translation/translations.csv.import new file mode 100644 index 0000000..efaa551 --- /dev/null +++ b/translation/translations.csv.import @@ -0,0 +1,17 @@ +[remap] + +importer="csv_translation" +type="Translation" +uid="uid://b7q53jbw6maya" + +[deps] + +files=["res://translation/translations.en.translation", "res://translation/translations.de.translation"] + +source_file="res://translation/translations.csv" +dest_files=["res://translation/translations.en.translation", "res://translation/translations.de.translation"] + +[params] + +compress=true +delimiter=0 diff --git a/translation/translations.de.translation b/translation/translations.de.translation new file mode 100644 index 0000000000000000000000000000000000000000..344bcb23197736dc41b96eae50fcbf34ce8c5e62 GIT binary patch literal 1885 zcma)7Z)jUp6u(WPrhi;romkqfeWgoByUwf@RHE@H-{1C-q)w*W_GV^ z)w%y;%@9=sSy4{svJr70nT`m_0VO>kM?^_vTZ-2tAtka>Fey=%g&|R9Pr)ffh^!pb zm>|an6k#wavZvt=<{}AE(Foc}RVFS0nh<9P`E%J38 z*wa}!BUL~ z(m{(Opv|9!?YZG3_Z-4hWblWi}NZjq8 z)FL0#!r6W1X_F5Q?OEIx=baB;TLAa?yWMIGthm6_SA{?y!Fpgf4y?Lr*A~ZzOI4=! z)-)T8FJ3Y=)sp9_R1<8qX;0{%^*+l~yUILqG0F)!`B;87DN0Q39}i6SsjS~)KjLu* zg1lFw+Eo5${sICrOW`t``8sByOjJ-1!@Io@dORVo6LPmV=yv+;LATEf?_^o7qRyly zdQ#SnlKd=BNAcb}JzSv77n|RmUA~W0_E3O#(O#~~#m<8lD)0%eYH4uw|QT= z!NOlyo7p^lZKENMrQ_8T)f1g#!>_Kaw-0|~?pigNJB>Rnje|`#<0{=^YVylg*rndS z22--Pl%~ej$tjgN{Cu}N7+}tHG_7z)f_u6>+(=sDyy^U9&LeUTA%$HnsNjad-|t|l zGbxj;oE literal 0 HcmV?d00001 diff --git a/translation/translations.en.translation b/translation/translations.en.translation new file mode 100644 index 0000000000000000000000000000000000000000..dd524c426d2045ae6d7af6579c55a17544df7536 GIT binary patch literal 1790 zcma)7eP~-%6u(Vl*JfKght5)G`$A2nwX>6nl`gBxS7X{V$=-X_eW>9jeKc8zC8Ca)GTHF{^5M7Ha6UHX4L&c9_-5(W;ARAUx+$Q2ci^xQTSAVB_cZQ+hg&*gf z-#zD^d(J(15hXFe?B#?cQ~-AZ@uHc{XZNZ7vaS@2oML9R0_Yp79AekvNMU{LL#sIV ze`F<`Y5`p}v>`pMCUaU^$t6uKX{6PH%BoBE3QAsORbcX}VJHKt!B)Unj!@Z3s2Rn` zBuyoiQ`u^msiE|sYT5*4GE6;N7`PE;r1fmk1j$$#&32|Mq0uS3Z?epaY=P%(OgB~lfxgSZngiqOe22wBK z$?sX%&)M8dkYm7vZBN_s6y&?WZGZs04>$m-{lYW%wah}&R1gx|fA+7z2GvNQK_I{4 z%SVS5NO~c9GWT!Z*M6~enviVBF{;6lo`pa$gtuQ<>#T!9xe1)t_OHLx3WLUTxP)JP zadBi0{2FlUO8EAMBOg-l=xoZ*&pG#FOVxtS(LFfdG}=%$2fM}w=P$oI=Q=Z?d?ndia--A@XzseiWvJib*}_`M7UubaoG z_8;6tzYjW_YO9+Vczp_fl!w6k(^MYs%fROGe?B$$KKieqHcZ27Bru_!s8#n~DkwQ*W`q`2*7MDXEo%36F&u@9P zS-KRPIaF>jD_Ua>ijx(-s&y4V!4y}FS1vf9NT)A0zIjH5mKc?e_F60v_3em8Bw1os zzWPD6%^7V9haE2he%kSs@HVTnazawIJJ-E5RrUJEUU%{%9Bto(S-#ep zNsn{q6J2BO-gu*V$nUpUG#>9k2Fh;vf3*fT8{gMjOjHfkWKz5@78Gu#@U|WM)HRP7 zQ5{zG6bo&`&Bnd%sX>d$8GMy9TCSf-MO{VtK_y?r_mhd5mKO~C6|mlj6hNZ$dvZO# zn%W8vnGFVipUCp