mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
A failed action step on a greyed command showed the English "command `id` is not available right now: " wrapper (and the id twice) before the translated reason. translated_refusal now leaves out the wrapper that directly precedes the reason; outer text such as "action `X` step N failed: " stays, and the run status uses the same function. Test: a failed Brightness/Contrast or Global Light step shows "Step 1 (id) failed: <translation>" with no "command `", and a nested action failure keeps its outer text. The test the_gui_key_is_the_engines_reason was removed earlier (it only compared a constant to a literal).