游戏内再次封装saveFile和loadFile函数
原本的FILE模块更独立,不基于全局text变量和报错信息而是直接报错
This commit is contained in:
@@ -57,11 +57,19 @@ return{
|
||||
switchSpawnSFX="Activez les effets sonores d'apparition des pièces pour jouer",
|
||||
needRestart="Fonctionnera dès la prochaine partie",
|
||||
|
||||
-- loadError_errorMode="'$1' loading failed: no load mode '$2'",
|
||||
-- loadError_read="'$1' loading failed: read failed",
|
||||
-- loadError_noFile="'$1' loading failed no file:",
|
||||
-- loadError_other="'$1' loading failed: $2",
|
||||
-- loadError_unknown="'$1' loading failed: unknown reason",
|
||||
|
||||
-- saveError_duplicate="'$1' saving failed: duplicated filename",
|
||||
-- saveError_encode="'$1' saving failed: encode failed",
|
||||
-- saveError_other="'$1' saving failed: $2",
|
||||
-- saveError_unknown="'$1' saving failed: unknown reason",
|
||||
|
||||
-- copyDone="Copied!",
|
||||
saveDone="Données sauvegardées",
|
||||
saveError="Sauvegarde échouée : ",
|
||||
-- saveError_duplicate="Duplicate filename",
|
||||
loadError="Lecture échouée : ",
|
||||
exportSuccess="Exporté avec succès",
|
||||
importSuccess="Importé avec succès",
|
||||
dataCorrupted="Données corrompues",
|
||||
|
||||
Reference in New Issue
Block a user