Renamed Liberation to Retribution in the following files: (#62)

This commit is contained in:
MetalStormGhost 2023-01-01 16:29:08 +02:00 committed by GitHub
parent d2a7de2775
commit 42f488df0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -19,4 +19,4 @@ def init_logging(version: str) -> None:
with log_config.open() as log_file:
logging.config.dictConfig(yaml.safe_load(log_file))
logging.info(f"DCS Liberation {version}")
logging.info(f"DCS Retribution {version}")

View File

@ -143,13 +143,13 @@ def run_ui(game: Game | None, ui_flags: UiFlags) -> None:
"<br/><br/><strong>&lt;dcs_installation_directory&gt;/Scripts/MissionScripting.lua</strong>"
"<br/><br/>The easiest way to do it is to replace the original file with the file in dcs-retribution "
"distribution (&lt;dcs_retribution_installation&gt;/resources/scripts/MissionScripting.lua)."
"<br/><br/>You can find more information on how to manually change this file in the Liberation Wiki "
"<br/><br/>You can find more information on how to manually change this file in the Retribution Wiki "
"(Page: Dedicated Server Guide) on GitHub.</p>"
)
message_box.setDefaultButton(QtWidgets.QMessageBox.StandardButton.Ok)
message_box.setCheckBox(ignore_checkbox)
message_box.exec_()
# Replace DCS Mission scripting file to allow DCS Liberation to work
# Replace DCS Mission scripting file to allow DCS Retribution to work
try:
liberation_install.replace_mission_scripting_file()
except:

View File

@ -94,10 +94,10 @@ class Linter(LinterBase):
self.reporter.write(report)
def stream_reports(self) -> ReportStream:
yield H1("Liberation data report")
yield H1("Retribution data report")
yield self.describe_version()
yield Paragraph(
"This report documents missing supplemental data in Liberation. This is "
"This report documents missing supplemental data in Retribution. This is "
"only able to report data that is missing as compared to pydcs. If pydcs "
"is missing DCS data, that cannot be reported."
)
@ -115,7 +115,7 @@ class Linter(LinterBase):
text=True,
).stdout.strip()
return Paragraph(
f"This report was generated for DCS Liberation {VERSION} ({sha}) on "
f"This report was generated for DCS Retribution {VERSION} ({sha}) on "
f"{date.today()} with pydcs {self.describe_pydcs()}."
)

View File

@ -118,7 +118,7 @@ def main() -> None:
first_start = liberation_install.init()
if first_start:
sys.exit(
"Cannot view payloads without configuring DCS Liberation. Start the UI for "
"Cannot view payloads without configuring DCS Retribution. Start the UI for "
"the first run configuration."
)