remove fixed todo's, add new todos

pull/32/head
Miepee 4 years ago
parent bc51c18dd4
commit 514934cd1f

@ -995,7 +995,6 @@ namespace AM2RLauncher
// If the profile isn't installed, don't ask about archiving it
if (Profile.IsProfileInstalled(currentProfile))
{
//TODO: localize
DialogResult archiveResult = MessageBox.Show(HelperMethods.GetText(Text.ArchiveMod, currentProfile.Name + " " + Text.VersionLabel + currentProfile.Version), Text.WarningWindowTitle, MessageBoxButtons.YesNo, MessageBoxType.Warning, MessageBoxDefaultButton.No);
// User wants to archive profile

@ -167,7 +167,6 @@ namespace AM2RLauncher
settingsProfileLabel.TextColor = colGreen;
modSettingsProfileDropDown.Enabled = enabled;
profileButton.Enabled = enabled;
//TODO: these .replace($NAME) are in a lot of places, replace them with some fuction.
profileButton.ToolTip = HelperMethods.GetText(Text.OpenProfileFolderToolTip, selectedProfileName);
saveButton.Enabled = enabled;
saveButton.ToolTip = HelperMethods.GetText(Text.OpenSaveFolderToolTip, selectedProfileName);
@ -204,6 +203,7 @@ namespace AM2RLauncher
string profileName = ((profileDropDown != null) && (profileDropDown.Items.Count > 0)) ? profileDropDown.Items[profileDropDown.SelectedIndex].Text : "";
switch (updateState)
{
//TODO: seperate this into a "onenabledchanged" delegate?
case UpdateState.Download: playButton.Enabled = true; playButton.ToolTip = Text.PlayButtonDownloadToolTip; break;
case UpdateState.Downloading: playButton.Enabled = true; playButton.ToolTip = ""; playButton.ToolTip = Text.PlayButtonDownladingToolTip; break;
case UpdateState.Select11: playButton.Enabled = true; playButton.ToolTip = Text.PlayButtonSelect11ToolTip; break;
@ -286,7 +286,6 @@ namespace AM2RLauncher
// Archive version notes
if (!profile.Installable)
{
//TODO: localizations
if (profile.Name.Contains("Community Updates"))
profile.ProfileNotes = Text.ArchiveNotesCommunityUpdates;
else

@ -938,7 +938,7 @@ namespace AM2RLauncher
/// <summary>A <see cref="DropDown"/> where profiles can be chosen.</summary>
private DropDown profileDropDown;
/// <summary>A <see cref="DropDown"/> where profiles can be chosen (located in Profile Settings).</summary>
//TODO: having a second profiledropdown is technically unnecessary since they're supposed to mirror each other at (almost) all times.
//TODO: Use MVVM bindings: https://github.com/picoe/Eto/wiki/Data-Binding#mvvm-binding
private DropDown modSettingsProfileDropDown;
/// <summary>A <see cref="TextBox"/>, where the user can input their custom mirror.</summary>

Loading…
Cancel
Save