Small fixes!

This commit is contained in:
Ne_Eo
2024-10-25 01:02:10 +02:00
parent 377e080237
commit a57fc26550
3 changed files with 7 additions and 6 deletions
+4 -3
View File
@@ -4,10 +4,11 @@
<str id="editor.autosavingIn">Autosaving in {0} seconds{1}</str>
<str id="editor.autosavingCanceledSuffix">(Canceled)!</str>
<str id="editor.saveClose">Save &amp; Close</str>
<str id="editor.save">Save</str>
<str id="editor.close">Close</str>
<str id="editor.ok">Ok</str>
<str id="editor.cancel">Cancel</str>
<str id="editor.save">Save</str>
<str id="editor.saveClose">Save &amp; Close</str>
<str id="editor.close">Close</str>
</group>
<group name="CharterSelection" prefix="charterSelection.">
@@ -38,7 +38,7 @@ class CharterEventAdd extends UISliceSprite {
curCharterEvent = null;
this.step = step;
this.y = (step * 40) - (bHeight / 2);
text.text = TU.translate("editors.addEvent");
text.text = TU.translate("charter.addEvent");
framesOffset = 0;
x = -(bWidth = 37 + Math.ceil(text.width));
}
@@ -46,7 +46,7 @@ class CharterEventAdd extends UISliceSprite {
public function updateEdit(event:CharterEvent) {
curCharterEvent = event;
this.y = event.y;
text.text = TU.translate("editors.editEvent");
text.text = TU.translate("charter.editEvent");
framesOffset = 9;
x = -(bWidth = 27 + Math.ceil(text.width) + event.bWidth);
}
@@ -19,7 +19,7 @@ class KeybindsOptions extends MusicBeatSubstate {
public var categories:Array<KeybindCategory> = [];
public function translate(id:String, ?args:Array<Dynamic>)
return TU.translate("Keybinds." + id, args);
return TU.translate("KeybindsOptions." + id, args);
public var settingCam:FlxCamera;