From b25f484ef37c4269de8f30ee1f84cc8012605582 Mon Sep 17 00:00:00 2001
From: Raffson
Date: Sat, 4 Feb 2023 22:38:15 +0100
Subject: [PATCH] More renaming of Liberation into Retribution
---
client/README.md | 4 ++--
qt_ui/windows/QLiberationWindow.py | 2 +-
qt_ui/windows/preferences/QLiberationPreferences.py | 6 +++---
resources/ui/templates/campaigntemplate_EN.j2 | 6 +++---
resources/ui/templates/mission_start_EN.j2 | 2 +-
resources/ui/units/readme.md | 2 +-
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/client/README.md b/client/README.md
index f9b5f8ba..f8ee0218 100644
--- a/client/README.md
+++ b/client/README.md
@@ -1,6 +1,6 @@
-# DCS Liberation Client
+# DCS Retribution Client
-This is a React app for the front-end of DCS Liberation. It is a work in
+This is a React app for the front-end of DCS Retribution. It is a work in
progress that just barely implements the map. This is not useful for players
yet.
diff --git a/qt_ui/windows/QLiberationWindow.py b/qt_ui/windows/QLiberationWindow.py
index 4b52f60b..7bf2791a 100644
--- a/qt_ui/windows/QLiberationWindow.py
+++ b/qt_ui/windows/QLiberationWindow.py
@@ -541,7 +541,7 @@ class QLiberationWindow(QMainWindow):
self._cp_dialog.show()
def _qsettings(self) -> QSettings:
- return QSettings("DCS Liberation", "Qt UI")
+ return QSettings("DCS Retribution", "Qt UI")
def _restore_window_geometry(self) -> None:
settings = self._qsettings()
diff --git a/qt_ui/windows/preferences/QLiberationPreferences.py b/qt_ui/windows/preferences/QLiberationPreferences.py
index 1cc9c7ee..41edec47 100644
--- a/qt_ui/windows/preferences/QLiberationPreferences.py
+++ b/qt_ui/windows/preferences/QLiberationPreferences.py
@@ -107,7 +107,7 @@ class QLiberationPreferences(QFrame):
self,
"The DCS Installation directory was not set",
"You set an empty DCS Installation directory! "
- "
Without this directory, DCS Liberation can not replace the MissionScripting.lua for you and will not work properly. "
+ "
Without this directory, DCS Retribution can not replace the MissionScripting.lua for you and will not work properly. "
"In this case, you need to edit the MissionScripting.lua yourself. The easiest way to do it is to replace the original file (<dcs_installation_directory>/Scripts/MissionScripting.lua) with the file in dcs-liberation distribution (<dcs_liberation_installation>/resources/scripts/MissionScripting.lua)."
"
You can find more information on how to manually change this file in the Liberation Wiki (Page: Dedicated Server Guide) on GitHub.
"
"
Are you sure that you want to leave the installation directory empty?"
@@ -122,8 +122,8 @@ class QLiberationPreferences(QFrame):
self,
"Wrong DCS installation directory.",
self.dcs_install_dir
- + " is not a valid directory. DCS Liberation requires the installation directory to replace the MissionScripting.lua"
- "
If you ignore this Error, DCS Liberation can not work properly and needs your attention. "
+ + " is not a valid directory. DCS Retribution requires the installation directory to replace the MissionScripting.lua"
+ "
If you ignore this Error, DCS Retribution can not work properly and needs your attention. "
"In this case, you need to edit the MissionScripting.lua yourself. The easiest way to do it is to replace the original file (<dcs_installation_directory>/Scripts/MissionScripting.lua) with the file in dcs-liberation distribution (<dcs_liberation_installation>/resources/scripts/MissionScripting.lua)."
"
You can find more information on how to manually change this file in the Liberation Wiki (Page: Dedicated Server Guide) on GitHub."
"
This is only recommended for expert users!",
diff --git a/resources/ui/templates/campaigntemplate_EN.j2 b/resources/ui/templates/campaigntemplate_EN.j2
index c9ee31e2..9005fbc0 100644
--- a/resources/ui/templates/campaigntemplate_EN.j2
+++ b/resources/ui/templates/campaigntemplate_EN.j2
@@ -2,17 +2,17 @@
{% if not campaign.version %}
This campaign was created for an unknown version
-of DCS Liberation.
+of DCS Retribution.
You can still attempt to play this campaign but there may be game breaking
bugs.
{% elif campaign.is_out_of_date %}
This campaign was created for an older version
-of DCS Liberation.
+of DCS Retribution.
You can still attempt to play this campaign but there may be game breaking
bugs.
{% elif campaign.is_from_future %}
This campaign was created for a newer version
-of DCS Liberation.
+of DCS Retribution.
You can still attempt to play this campaign but there may be game breaking
bugs.
{% else %}
diff --git a/resources/ui/templates/mission_start_EN.j2 b/resources/ui/templates/mission_start_EN.j2
index 54af110f..90daa2c0 100644
--- a/resources/ui/templates/mission_start_EN.j2
+++ b/resources/ui/templates/mission_start_EN.j2
@@ -37,7 +37,7 @@
- For advice on using a dedicated server to play DCS Liberation, see
+ For advice on using a dedicated server to play DCS Retribution, see