Fix bug in a warning not correctly formatted.

This commit is contained in:
Julian Murgia
2021-07-05 11:23:00 +02:00
parent ccb34e319b
commit e0de1de1ce
5 changed files with 11 additions and 3 deletions

View File

@@ -152,11 +152,12 @@ func activate(
escoria.logger.report_warnings(
"ESCActionManager.activate: Invalid action on item",
[
"Trying to run %s on object %s, "+
"but item must be in inventory." % [
"Trying to run %s on object %s, " %
[
action,
target.global_id
target.node.global_id
]
+ "but item must be in inventory."
]
)

View File

@@ -11,3 +11,4 @@ SOUND_VOLUME,Sound effects,Effets sonores
CANCEL,Cancel,Annuler
OK,OK,OK
ENTER_SAVE_NAME,Enter the save name:,Entrez un nom de sauvegarde
APPLY,Apply,Appliquer
1 keys en fr
11 CANCEL Cancel Annuler
12 OK OK OK
13 ENTER_SAVE_NAME Enter the save name: Entrez un nom de sauvegarde
14 APPLY Apply Appliquer

View File

@@ -330,6 +330,11 @@ _global_script_classes=[ {
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/queue_resource.gd"
}, {
"base": "ESCBaseCommand",
"class": "RandGlobalCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/rand_global.gd"
}, {
"base": "ESCBaseCommand",
"class": "RepeatCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/repeat.gd"
@@ -514,6 +519,7 @@ _global_script_class_icons={
"PlaySndCommand": "",
"QueueAnimationCommand": "",
"QueueResourceCommand": "",
"RandGlobalCommand": "",
"RepeatCommand": "",
"SayCommand": "",
"SchedEventCommand": "",