Skip to content

Commit 11b7ab3

Browse files
committed
small tweak
1 parent 7b1a9de commit 11b7ab3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

FlashpointSecurePlayer/EnvironmentVariables.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ private string GetValue(EnvironmentVariablesElement environmentVariablesElement)
208208
// because the compatibility layers only take effect
209209
// on process start
210210
if (values.Except(compatibilityLayerValues, StringComparer.OrdinalIgnoreCase).Any()) {
211-
throw new CompatibilityLayersException("The Compatibility Layers \"" + value + "\" require the application to restart to be set.");
211+
throw new CompatibilityLayersException("The Compatibility Layers \"" + value + "\" require an application restart to be set.");
212212
}
213213
}
214214
}

FlashpointSecurePlayer/FlashpointSecurePlayerGUI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ private void RestartApplication(bool runAsAdministrator, ref Mutex applicationMu
243243
LogExceptionToLauncher(ex);
244244
Show();
245245
ShowErrorFatal(Properties.Resources.ProcessUnableToStart);
246-
throw new InvalidModificationException("The Modification failed because the application failed to restart.");
246+
throw new InvalidModificationException("The Modification failed because the application restart failed.");
247247
}
248248

249-
throw new InvalidModificationException("The Modification requires the application to restart.");
249+
throw new InvalidModificationException("The Modification requires an application restart.");
250250
}
251251

252252
private void AskLaunch(string applicationRestartMessage, string descriptionMessage = null) {

FlashpointSecurePlayer/OldCPUSimulator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void Activate(string templateName, ref ProcessStartInfo softwareProcessSt
138138
case ModeElement.NAME.WEB_BROWSER:
139139
// server mode, need to restart the whole app
140140
// handled in the GUI side of things
141-
throw new OldCPUSimulatorRequiresApplicationRestartException("The Old CPU Simulator in Web Browser Mode requires the application to restart.");
141+
throw new OldCPUSimulatorRequiresApplicationRestartException("The Old CPU Simulator in Web Browser Mode requires an application restart.");
142142
case ModeElement.NAME.SOFTWARE:
143143
// USB the HDMI to .exe the database
144144
string commandLineExpanded = Environment.ExpandEnvironmentVariables(modeElement.CommandLine);

0 commit comments

Comments
 (0)