diff --git a/ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs b/ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs index 9a7ab22..c968861 100644 --- a/ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs +++ b/ModpackUpdater.Apps.Manager/Features/SharedFunctions.cs @@ -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)); diff --git a/ModpackUpdater.Apps.Manager/Features/Tools/GenerateModlistFeature.cs b/ModpackUpdater.Apps.Manager/Features/Tools/GenerateModlistFeature.cs index 3edb5c7..11de523 100644 --- a/ModpackUpdater.Apps.Manager/Features/Tools/GenerateModlistFeature.cs +++ b/ModpackUpdater.Apps.Manager/Features/Tools/GenerateModlistFeature.cs @@ -32,7 +32,7 @@ internal class GenerateModlistFeature : PluginFunction, IPluginFeatureProvider - /// Sucht eine lokalisierte Zeichenfolge, die Modlist ähnelt. + /// Sucht eine lokalisierte Zeichenfolge, die Modlist for v{0} ähnelt. /// - internal static string Text_Modlist { + internal static string Text_ModlistForVersion { get { - return ResourceManager.GetString("Text_Modlist", resourceCulture); + return ResourceManager.GetString("Text_ModlistForVersion", resourceCulture); } } } diff --git a/ModpackUpdater.Apps.Manager/LangRes/GeneralLangRes.resx b/ModpackUpdater.Apps.Manager/LangRes/GeneralLangRes.resx index 26bc033..eec2219 100644 --- a/ModpackUpdater.Apps.Manager/LangRes/GeneralLangRes.resx +++ b/ModpackUpdater.Apps.Manager/LangRes/GeneralLangRes.resx @@ -123,7 +123,7 @@ Update: {0} - - Modlist + + Modlist for v{0} \ No newline at end of file