Skip to content

Commit e6a3dc4

Browse files
committed
ModAPI.Common: fix typos in UI strings
1 parent 3dc3eac commit e6a3dc4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎ModAPI.Common/CommonStrings.Designer.cs‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎ModAPI.Common/CommonStrings.resx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Please see https://launcherkit.sporecommunity.com/support for further help.</val
152152
<value>An update to the Spore ModAPI Launcher Kit is now available. Would you like to install it now?
153153

154154
Current Launcher Kit version: $CURRENTLK$
155-
New Launcher Kit version: $NEWLKS$</value>
155+
New Launcher Kit version: $NEWLK$</value>
156156
</data>
157157
<data name="LKUpdateAvailableTitle" xml:space="preserve">
158158
<value>Launcher Kit Update Available</value>

‎ModAPI.Common/Update/UpdateManager.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public static void CheckForUpdates()
207207
string currentLKVersion = SupportInfo.LauncherKitVersionString;
208208
string newLKVersion = updateInfoLines[1];
209209

210-
if (MessageBox.Show(CommonStrings.LKUpdateAvailable.Replace("$NEWLK", newLKVersion).Replace("$CURRENTLK", currentLKVersion), CommonStrings.LKUpdateAvailableTitle, MessageBoxButtons.YesNo) == DialogResult.Yes)
210+
if (MessageBox.Show(CommonStrings.LKUpdateAvailable.Replace("$NEWLK$", newLKVersion).Replace("$CURRENTLK$", currentLKVersion), CommonStrings.LKUpdateAvailableTitle, MessageBoxButtons.YesNo) == DialogResult.Yes)
211211
{
212212
if (bool.Parse(updateInfoLines[2]))
213213
{
@@ -268,7 +268,7 @@ public static void CheckForUpdates()
268268
string newDllsVersion = githubRelease.tag_name;
269269
string currentDllsVersion = SupportInfo.ModAPIDllsVersionString;
270270
string currentLKVersion = SupportInfo.LauncherKitVersionString;
271-
var result = MessageBox.Show(CommonStrings.DllsUpdateAvailable.Replace("$NEWDLLS", newDllsVersion).Replace("$CURRENTDLLS", currentDllsVersion).Replace("$CURRENTLK$", currentLKVersion), CommonStrings.DllsUpdateAvailableTitle, MessageBoxButtons.YesNo);
271+
var result = MessageBox.Show(CommonStrings.DllsUpdateAvailable.Replace("$NEWDLLS$", newDllsVersion).Replace("$CURRENTDLLS$", currentDllsVersion).Replace("$CURRENTLK$", currentLKVersion), CommonStrings.DllsUpdateAvailableTitle, MessageBoxButtons.YesNo);
272272
if (result == DialogResult.Yes)
273273
{
274274
var dialog = new ProgressDialog(

0 commit comments

Comments
 (0)