diff options
author | orwell <orwell@bleipb.de> | 2025-06-23 23:30:17 +0200 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2025-06-23 23:30:17 +0200 |
commit | 8724d23395890611e6ce2a70efb76ecb6c7f03cd (patch) | |
tree | 537e8826fcf959f0f13f2d27fa22b7411f976d76 /advtrains_line_automation/line_editor.lua | |
parent | e04728f0424d4e42943fc187f295eb62a73bc5ce (diff) | |
download | advtrains-8724d23395890611e6ce2a70efb76ecb6c7f03cd.tar.gz advtrains-8724d23395890611e6ce2a70efb76ecb6c7f03cd.tar.bz2 advtrains-8724d23395890611e6ce2a70efb76ecb6c7f03cd.zip |
Store line_state in train, fix button label in line editor
Diffstat (limited to 'advtrains_line_automation/line_editor.lua')
-rw-r--r-- | advtrains_line_automation/line_editor.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_line_automation/line_editor.lua b/advtrains_line_automation/line_editor.lua index fcba9dd..530eb6e 100644 --- a/advtrains_line_automation/line_editor.lua +++ b/advtrains_line_automation/line_editor.lua @@ -207,7 +207,7 @@ local function get_formspec(custom_state) end if has_rights_to_open_variant then table.insert(formspec, "button[10,15;4.5,0.75;save;".. - ifthenelse(custom_state.compiled_linevar == nil, S("Apply/Save").."]", S("Create/Save").."]")) + ifthenelse(custom_state.compiled_linevar == nil, S("Verify/Save").."]", S("Save changes").."]")) end table.insert(formspec, "button[15,15.25;4,0.5;reset;"..S("Reset changes").."]") table.insert(formspec, "tooltip[line;".. |