mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Fix deceptive "successfully saved" messages for mappers (#5714)
* Actually check if map save succeeded before displaying success message It would be great to offer more clarity to the mapper about *why* the save didn't succeed, but at least they won't be deceived into thinking their work has been saved when it hasn't. Portuguese localization text is via DuckDuckGo Translate, so I hope it's reasonable. * Actually check save success for saving grids These messages need localization, too, but that seems out of scope for my PR. * Improve map save error message Now it tells the mapper to go look at the server log. Still translated via DuckDuckGo Translate. * Normalize indentation and style
This commit is contained in:
@@ -156,6 +156,7 @@ cmd-savemap-not-exist = Target map does not exist.
|
||||
cmd-savemap-init-warning = Attempted to save a post-init map without forcing the save.
|
||||
cmd-savemap-attempt = Attempting to save map {$mapId} to {$path}.
|
||||
cmd-savemap-success = Map successfully saved.
|
||||
cmd-savemap-error = Could not save map! See server log for details.
|
||||
cmd-hint-savemap-id = <MapID>
|
||||
cmd-hint-savemap-path = <Path>
|
||||
cmd-hint-savemap-force = [bool]
|
||||
|
||||
@@ -136,6 +136,7 @@ cmd-savemap-not-exist = O mapa de destino não existe.
|
||||
cmd-savemap-init-warning = Tentativa de salvar um mapa pós-inicialização sem forçar o salvamento.
|
||||
cmd-savemap-attempt = Tentando salvar o mapa {$mapId} em {$path}.
|
||||
cmd-savemap-success = Mapa salvo com sucesso.
|
||||
cmd-savemap-error = Não foi possível salvar o mapa! Consulte o log do servidor para obter detalhes.
|
||||
cmd-hint-savemap-id = <MapID>
|
||||
cmd-hint-savemap-path = <Path>
|
||||
cmd-hint-savemap-force = [bool]
|
||||
|
||||
Reference in New Issue
Block a user