mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Change the backup dialog message
This commit is contained in:
parent
520e31cd7e
commit
93a8e75bcb
|
@ -1697,8 +1697,8 @@ msgstr ""
|
|||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Autosaved backup for %s was found.\n"
|
||||
"Do you want to reload it?"
|
||||
msgid "Autosaved project(s) from a crashed session were found.\n"
|
||||
"Do you want to recover the data?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Backup reloaded"
|
||||
|
|
|
@ -262,7 +262,6 @@ func handle_backup() -> void:
|
|||
backup_paths.append(Global.config_cache.get_value("backups", p_path))
|
||||
# Temporatily stop autosave until user confirms backup
|
||||
OpenSave.autosave_timer.stop()
|
||||
backup_confirmation.dialog_text = tr(backup_confirmation.dialog_text) % project_paths
|
||||
backup_confirmation.connect("confirmed", self, "_on_BackupConfirmation_confirmed", [project_paths, backup_paths])
|
||||
backup_confirmation.get_cancel().connect("pressed", self, "_on_BackupConfirmation_delete", [project_paths, backup_paths])
|
||||
backup_confirmation.popup_centered()
|
||||
|
|
|
@ -102,12 +102,12 @@ window_title = "Error"
|
|||
dialog_text = "This is an error message!"
|
||||
|
||||
[node name="BackupConfirmation" type="ConfirmationDialog" parent="Dialogs"]
|
||||
margin_right = 349.0
|
||||
margin_right = 200.0
|
||||
margin_bottom = 88.0
|
||||
rect_min_size = Vector2( 250, 87.5 )
|
||||
popup_exclusive = true
|
||||
dialog_text = "Autosaved backup for %s was found.
|
||||
Do you want to reload it?"
|
||||
resizable = true
|
||||
dialog_text = "Autosaved project(s) from a crashed session were found.
|
||||
Do you want to recover the data?"
|
||||
dialog_autowrap = true
|
||||
|
||||
[node name="FrameProperties" parent="Dialogs" instance=ExtResource( 9 )]
|
||||
|
|
Loading…
Reference in a new issue