Adds localization to the register scene and the settings.
This commit is contained in:
@@ -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)))
|
||||
@@ -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")
|
||||
Reference in New Issue
Block a user