Adds es_UY locale to supported locales. Unmutes music.

This commit is contained in:
Dylan Sarrazyn
2024-07-10 14:42:39 +02:00
parent eab2aeb0b0
commit 1d22612490
6 changed files with 17 additions and 19 deletions
@@ -4,7 +4,7 @@
bus/0/volume_db = 0.0672607
bus/1/name = &"Music"
bus/1/solo = false
bus/1/mute = true
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = -8.99984
bus/1/send = &"Master"
+1 -1
View File
@@ -3,7 +3,7 @@ class_name DeviceSettings
const supported_locales: Array[String] = [
"fr_FR",
"fr_FR", "es_UY"
]
@export var language : String :
File diff suppressed because one or more lines are too long
@@ -81,8 +81,6 @@ func _copy_data(this: LocalPackageDownloader) -> void:
DirAccess.rename_absolute(user_language_resources_path.path_join(language), current_language_path)
# Cleanup unnecessary files
if FileAccess.file_exists(user_language_resources_path.path_join("__MACOSX")):
DirAccess.remove_absolute(user_language_resources_path.path_join("__MACOSX"))
DirAccess.remove_absolute(language_zip_path)
# Go to main menu
+1
View File
@@ -19,6 +19,7 @@ var right_password_speech: AudioStream
func _ready():
# Check if the database is connected, if not go to loader
if not Database.is_open:
await get_tree().process_frame
get_tree().change_scene_to_file(package_loader_scene_path)
help_speech = Database.load_external_sound(Database.get_kalulu_speech_path("login_screen", "help_code"))
+2 -3
View File
@@ -21,7 +21,7 @@ const video_extension: = ".ogv"
const image_extension: = ".png"
const sound_extension: = ".mp3"
var language: String = "fr_FR":
var language: String:
set(value):
language = value
db_path = base_path + language + "/language.db"
@@ -33,8 +33,7 @@ var db_path: String = base_path + language + "/language.db":
if db:
db.path = db_path
db.foreign_keys = true
# TODO For testing on iOS
#db.read_only = true
connect_to_db()
var words_path: String = base_path + language + "/words/"
var additional_word_list: Dictionary