Small change so missing ids work better

This commit is contained in:
Ne_Eo
2024-10-04 18:40:30 +02:00
parent cdfddcde48
commit 75241a5b90
3 changed files with 3 additions and 3 deletions
-1
View File
@@ -45,7 +45,6 @@
<group name="Pause">
<group name="PauseOptions">
<!-- These are actually the only strings that dont require an english translation, you can still translate them though -->
<str id="pause.resume">Resume</str>
<str id="pause.restartSong">Restart Song</str>
<str id="pause.changeControls">Change Controls</str>
+1 -1
View File
@@ -63,7 +63,7 @@ class HttpUtil
{
// 301: Moved Permanently, 302: Found (Moved Temporarily), 307: Temporary Redirect, 308: Permanent Redirect - Nex
case 301 | 302 | 307 | 308:
Logs.traceColored([Logs.logText('[Connection Status] ', BLUE), Logs.logText('Redirected with status code: ', YELLOW), Logs.logText('$status', GREEN)], WARNING);
Logs.traceColored([Logs.logText('[Connection Status] ', BLUE), Logs.logText('Redirected with status code: ', YELLOW), Logs.logText('$status', GREEN)], VERBOSE);
return true;
}
return false;
+2 -1
View File
@@ -106,7 +106,8 @@ class PauseSubState extends MusicBeatSubstate
for (i in 0...menuItems.length)
{
var songText:Alphabet = new Alphabet(0, (70 * i) + 30, TU.translate("pause." + TU.raw2Id(menuItems[i]), null, menuItems[i]), true, false);
var pauseId = "pause." + TU.raw2Id(menuItems[i]);
var songText:Alphabet = new Alphabet(0, (70 * i) + 30, TU.translate(pauseId), true, false);
songText.isMenuItem = true;
songText.targetY = i;
grpMenuShit.add(songText);