mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Update main.py
Replace UI occurrence of 'Liberation' with 'Retribution'
This commit is contained in:
parent
9840ed1444
commit
02b7cd7fb3
@ -122,14 +122,16 @@ def run_ui(game: Game | None, dev: bool) -> None:
|
|||||||
message_box.setWindowTitle("No DCS installation directory.")
|
message_box.setWindowTitle("No DCS installation directory.")
|
||||||
message_box.setText(
|
message_box.setText(
|
||||||
"The DCS Installation directory is not set correctly. "
|
"The DCS Installation directory is not set correctly. "
|
||||||
"This will prevent DCS Liberation from working properly, as the MissionScripting "
|
"This will prevent DCS Retribution from working properly, as the MissionScripting "
|
||||||
"file will not be modified."
|
"file will not be modified."
|
||||||
"<br/><br/>To solve this problem, you can set the Installation directory "
|
"<br/><br/>To solve this problem, you can set the Installation directory "
|
||||||
"within the preferences menu. You can also manually edit or replace the "
|
"within the preferences menu. You can also manually edit or replace the "
|
||||||
"following file:"
|
"following file:"
|
||||||
"<br/><br/><strong><dcs_installation_directory>/Scripts/MissionScripting.lua</strong>"
|
"<br/><br/><strong><dcs_installation_directory>/Scripts/MissionScripting.lua</strong>"
|
||||||
"<br/><br/>The easiest way to do it is to replace the original file with the file in dcs-liberation distribution (<dcs_liberation_installation>/resources/scripts/MissionScripting.lua)."
|
"<br/><br/>The easiest way to do it is to replace the original file with the file in dcs-retribution "
|
||||||
"<br/><br/>You can find more information on how to manually change this file in the Liberation Wiki (Page: Dedicated Server Guide) on GitHub.</p>"
|
"distribution (<dcs_retribution_installation>/resources/scripts/MissionScripting.lua)."
|
||||||
|
"<br/><br/>You can find more information on how to manually change this file in the Liberation Wiki "
|
||||||
|
"(Page: Dedicated Server Guide) on GitHub.</p>"
|
||||||
)
|
)
|
||||||
message_box.setDefaultButton(QtWidgets.QMessageBox.StandardButton.Ok)
|
message_box.setDefaultButton(QtWidgets.QMessageBox.StandardButton.Ok)
|
||||||
message_box.setCheckBox(ignore_checkbox)
|
message_box.setCheckBox(ignore_checkbox)
|
||||||
@ -141,7 +143,8 @@ def run_ui(game: Game | None, dev: bool) -> None:
|
|||||||
error_dialog = QtWidgets.QErrorMessage()
|
error_dialog = QtWidgets.QErrorMessage()
|
||||||
error_dialog.setWindowTitle("Wrong DCS installation directory.")
|
error_dialog.setWindowTitle("Wrong DCS installation directory.")
|
||||||
error_dialog.showMessage(
|
error_dialog.showMessage(
|
||||||
"Unable to modify Mission Scripting file. Possible issues with rights. Try running as admin, or please perform the modification of the MissionScripting file manually."
|
"Unable to modify Mission Scripting file. Possible issues with rights. "
|
||||||
|
"Try running as admin, or please perform the modification of the MissionScripting file manually."
|
||||||
)
|
)
|
||||||
error_dialog.exec_()
|
error_dialog.exec_()
|
||||||
|
|
||||||
@ -249,7 +252,7 @@ def create_game(
|
|||||||
first_start = liberation_install.init()
|
first_start = liberation_install.init()
|
||||||
if first_start:
|
if first_start:
|
||||||
sys.exit(
|
sys.exit(
|
||||||
"Cannot generate campaign without configuring DCS Liberation. Start the UI "
|
"Cannot generate campaign without configuring DCS Retribution. Start the UI "
|
||||||
"for the first run configuration."
|
"for the first run configuration."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user