add the missing files from the last commit (wtf?)
This commit is contained in:
@@ -215,7 +215,7 @@ internal static class SharedFunctions
|
||||
public static ExcelPackage? GenerateModlist(InstallInfos installInfos)
|
||||
{
|
||||
var pkg = new ExcelPackage();
|
||||
var ws = pkg.Workbook.Worksheets.Add(GeneralLangRes.Text_Modlist);
|
||||
var ws = pkg.Workbook.Worksheets.Add(string.Format(GeneralLangRes.Text_ModlistForVersion, installInfos.Version));
|
||||
var cr = 1;
|
||||
var cc = 1;
|
||||
|
||||
@@ -241,7 +241,7 @@ internal static class SharedFunctions
|
||||
cellName.SetHyperlink(new Uri(action.Website));
|
||||
|
||||
var cellTag = ws.Cells[cr, cc++];
|
||||
cellTag.Value = action.SourceTag;
|
||||
cellTag.Value = string.IsNullOrWhiteSpace(action.SourceTag)? "direct link" : action.SourceTag;
|
||||
if (!string.IsNullOrWhiteSpace(action.SourceUrl))
|
||||
cellTag.SetHyperlink(new Uri(action.SourceUrl));
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ internal class GenerateModlistFeature : PluginFunction, IPluginFeatureProvider<G
|
||||
if (sfd.ShowDialog(p.Api.MainWindow) == DialogResult.OK)
|
||||
{
|
||||
pkg.SaveAs(sfd.FileName);
|
||||
RadMessageBox.Show(p.Api.MainWindow, MsgBoxLangRes., MsgBoxLangRes., MessageBoxButtons.OK, RadMessageIcon.Info);
|
||||
RadMessageBox.Show(p.Api.MainWindow, MsgBoxLangRes.ModlistGenerated, MsgBoxLangRes.ModlistGenerated_Title, MessageBoxButtons.OK, RadMessageIcon.Info);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
@@ -79,11 +79,11 @@ namespace ModpackUpdater.Apps.Manager.LangRes {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Modlist ähnelt.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Modlist for v{0} ähnelt.
|
||||
/// </summary>
|
||||
internal static string Text_Modlist {
|
||||
internal static string Text_ModlistForVersion {
|
||||
get {
|
||||
return ResourceManager.GetString("Text_Modlist", resourceCulture);
|
||||
return ResourceManager.GetString("Text_ModlistForVersion", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
<data name="Node_Update" xml:space="preserve">
|
||||
<value>Update: {0}</value>
|
||||
</data>
|
||||
<data name="Text_Modlist" xml:space="preserve">
|
||||
<value>Modlist</value>
|
||||
<data name="Text_ModlistForVersion" xml:space="preserve">
|
||||
<value>Modlist for v{0}</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user