Adds localization to the register scene and the settings.

This commit is contained in:
Dylan Sarrazyn
2024-07-11 11:58:24 +02:00
parent ee4f8dac14
commit 80d58283b7
19 changed files with 123 additions and 93 deletions
+6
View File
@@ -0,0 +1,6 @@
extends ItemList
class_name TrItemLisst
func _ready():
for i in self.item_count:
self.set_item_text(i, tr(self.get_item_text(i)))
+6
View File
@@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://bi7ltpiskd1pm"]
[ext_resource type="Script" path="res://sources/ui/TrItemList.gd" id="1_j71th"]
[node name="TrItemList" type="ItemList"]
script = ExtResource("1_j71th")