mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Use setLevelDirError for level not found & parse errors
This exports the previously-internal setLevelDirError function in FileSystemUtils and uses it for if a level is not found or there was a parsing error. Previously, if a level failed to load in these ways, it would take you to the error screen with no error, while printing it to the console. But this makes it more user-friendly. As a bonus, the text is localizable, just like the existing usage of FILESYSTEM_setLevelDirError for if a path couldn't be mounted.
This commit is contained in:
@@ -759,6 +759,8 @@ Você encontrou o laboratório secreto!" explanation="" max="34*4"/>
|
||||
<string english="MASTER OF THE UNIVERSE" translation="MESTRE DO UNIVERSO" explanation="achievement/trophy title - no death mode complete" max="38*2"/>
|
||||
<string english="Complete the game in no death mode" translation="Complete o jogo no modo sem mortes" explanation="achievement/trophy description" max="38*2"/>
|
||||
<string english="Could not mount {path}: real directory doesn't exist" translation="Não foi possível montar {path}: o diretório real não existe" explanation="mount: link/attach a directory (folder) in the filesystem into the game's filesystem so we can access it" max="38*6"/>
|
||||
<string english="Level {path} not found" translation="" explanation="" max="38*6"/>
|
||||
<string english="Error parsing {path}: {error}" translation="" explanation="we tried to parse the level file, but failed" max="38*6"/>
|
||||
<string english="ERROR: Could not write to language folder! Make sure there is no "lang" folder next to the regular saves." translation="ERRO: não foi possível gravar na pasta do idioma! Não pode ter "lang" ao lado dos salvamentos comuns." explanation="" max="38*5"/>
|
||||
<string english="" translation="" explanation=""/>
|
||||
<string english="" translation="" explanation=""/>
|
||||
|
||||
Reference in New Issue
Block a user