Skip to content

Commit a14b79b

Browse files
committed
Spore ModAPI Easy Installer: fix InstallationCompleted string
1 parent d63eed5 commit a14b79b

3 files changed

Lines changed: 15 additions & 20 deletions

File tree

Spore ModAPI Easy Installer/EasyInstaller.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,6 @@ static string[] ShowFileChooser(FileChooserType type, string title, string filte
207207
return paths;
208208
}
209209

210-
static string ShowDirectoryChooser()
211-
{string[] dirs = ShowFileChooser(FileChooserType.Directory, null, null, 0);
212-
if (dirs.Length > 0) return dirs[0]; else return null;
213-
}
214-
215210
static FileType GetFileType(string fileName)
216211
{
217212
if (fileName == null) return FileType.None;
@@ -724,7 +719,7 @@ static string GetResultText(ResultType result, string modName, string errorStrin
724719
}
725720
else if (result == ResultType.ModNotInstalled)
726721
{
727-
return Strings.ModInstalled1 + modName + Strings.InstallationCancelled;
722+
return Strings.ModInstalled1 + modName + Strings.CancelledInstallation;
728723
}
729724
else
730725
{

Spore ModAPI Easy Installer/Strings.Designer.cs

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Spore ModAPI Easy Installer/Strings.resx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,9 @@
132132
<data name="FileChooserTitle" xml:space="preserve">
133133
<value>Choose the mod to be installed</value>
134134
</data>
135-
<data name="InstallationCancelled" xml:space="preserve">
135+
<data name="CancelledInstallation" xml:space="preserve">
136136
<value>" cancelled installation</value>
137137
</data>
138-
<data name="InstallationCompleted" xml:space="preserve">
139-
<value>" completed installation</value>
140-
</data>
141138
<data name="InstallingModTitle" xml:space="preserve">
142139
<value>Installing mod...</value>
143140
</data>
@@ -166,4 +163,7 @@ Please, restart the launcher and allow it to update.</value>
166163
<data name="UnsupportedDllVersionTitle" xml:space="preserve">
167164
<value>Error: mod cannot be installed</value>
168165
</data>
166+
<data name="InstallationCompleted" xml:space="preserve">
167+
<value>Installation completed</value>
168+
</data>
169169
</root>

0 commit comments

Comments
 (0)