Skip to content

Commit

Permalink
Merge #2801 Add menu option to report issues in the CKAN repo
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Jun 24, 2019
2 parents 4b61ee2 + f962124 commit c1c8c97
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
- [Core] Detect Breaking Ground DLC (#2768 by: dbent; reviewed: Olympic1, HebaruSan)
- [GUI] Internationalize the GUI (#2749 by: HebaruSan, DasSkelett; reviewed: DasSkelett, Olympic1)
- [NetKAN] Extract locales from downloads (#2760 by: HebaruSan; reviewed: DasSkelett)
- [GUI] Add menu option to report issues in the CKAN repo (#2801 by: DasSkelett; reviewed: HebaruSan)

### Bugfixes

Expand Down
3 changes: 2 additions & 1 deletion GUI/Localization/de-DE/Main.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@
<data name="kSPCommandlineToolStripMenuItem.Text" xml:space="preserve"><value>KSP Befehlszeile</value></data>
<data name="compatibleKSPVersionsToolStripMenuItem.Text" xml:space="preserve"><value>Kompatible KSP-Versionen</value></data>
<data name="helpToolStripMenuItem.Text" xml:space="preserve"><value>Hilfe</value></data>
<data name="reportAnIssueToolStripMenuItem.Text" xml:space="preserve"><value>Fehler melden</value></data>
<data name="reportClientIssueToolStripMenuItem.Text" xml:space="preserve"><value>Fehler mit dem CKAN Client melden</value></data>
<data name="reportMetadataIssueToolStripMenuItem.Text" xml:space="preserve"><value>Fehler mit Mod-Metadaten melden</value></data>
<data name="aboutToolStripMenuItem.Text" xml:space="preserve"><value>Über</value></data>
<data name="launchKSPToolStripMenuItem.Text" xml:space="preserve"><value>KSP starten</value></data>
<data name="RefreshToolButton.Text" xml:space="preserve"><value>Aktualisieren</value></data>
Expand Down
26 changes: 18 additions & 8 deletions GUI/Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions GUI/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,9 +1163,14 @@ private void MainTabControl_OnSelectedIndexChanged(object sender, EventArgs e)
}
}

private void reportAnIssueToolStripMenuItem_Click(object sender, EventArgs e)
private void reportClientIssueToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/KSP-CKAN/NetKAN/issues/new");
Process.Start("https://github.com/KSP-CKAN/CKAN/issues/new/choose");
}

private void reportMetadataIssueToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/KSP-CKAN/NetKAN/issues/new/choose");
}

private void ModList_MouseDown(object sender, MouseEventArgs e)
Expand Down
3 changes: 2 additions & 1 deletion GUI/Main.resx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@
<data name="kSPCommandlineToolStripMenuItem.Text" xml:space="preserve"><value>KSP command-line</value></data>
<data name="compatibleKSPVersionsToolStripMenuItem.Text" xml:space="preserve"><value>Compatible KSP versions</value></data>
<data name="helpToolStripMenuItem.Text" xml:space="preserve"><value>Help</value></data>
<data name="reportAnIssueToolStripMenuItem.Text" xml:space="preserve"><value>Report an issue...</value></data>
<data name="reportClientIssueToolStripMenuItem.Text" xml:space="preserve"><value>Report an issue with the CKAN client</value></data>
<data name="reportMetadataIssueToolStripMenuItem.Text" xml:space="preserve"><value>Report an issue with mod metadata</value></data>
<data name="aboutToolStripMenuItem.Text" xml:space="preserve"><value>About</value></data>
<data name="launchKSPToolStripMenuItem.Text" xml:space="preserve"><value>Launch KSP</value></data>
<data name="RefreshToolButton.Text" xml:space="preserve"><value>Refresh</value></data>
Expand Down

0 comments on commit c1c8c97

Please sign in to comment.