diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs index f90ff96..3677e9f 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs @@ -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 diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.StateMachine.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.StateMachine.cs index 1fd8f61..fefc2e4 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.StateMachine.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.StateMachine.cs @@ -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 diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs index b714fbe..fafc1a8 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs @@ -938,7 +938,7 @@ namespace AM2RLauncher /// A where profiles can be chosen. private DropDown profileDropDown; /// A where profiles can be chosen (located in Profile Settings). - //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; /// A , where the user can input their custom mirror.