Skip to content

Commit

Permalink
Add missing translation string
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannify committed Sep 15, 2024
1 parent 43163fe commit 499f6e6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public static void ShowLoading()

instance.confirmObject.SetActive(false);
instance.loadingCircle.gameObject.SetActive(true);
instance.text.text = "Loading";
instance.text.text = Language.main.Get("Nitrox_Loading");
MainMenuRightSide.main.OpenGroup(NAME);
instance.confirmButtonLegend.legendButtonConfiguration = Array.Empty<LegendButtonData>();
instance.confirmButtonLegend.legendButtonConfiguration = [];
}

public static void ShowMessage(string message, string returningMenuPanel, Action continuationAction = null)
Expand Down Expand Up @@ -112,7 +112,7 @@ private void Update()
if (loadingCircle)
{
loadingCircle.transform.localRotation = Quaternion.Euler(0, 0, Time.time % 360 * 250); // 250 is the speed
loadingCircle.fillAmount = Mathf.Lerp(0.05f, 0.95f, Math.Abs(Time.time % 6 - 3) * 0.333f); // Lerps t fades from 0 to 1 and back to 0
loadingCircle.fillAmount = Mathf.Lerp(0.05f, 0.95f, Math.Abs(Time.time % 6 - 3) * 0.333f); // Lerp t fades from 0 to 1 and back to 0
uGUI_LegendBar.ClearButtons();
}
}
Expand Down

0 comments on commit 499f6e6

Please sign in to comment.