Skip to content

Commit

Permalink
Removed changelog from about
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoCoderMatrix86 committed Apr 12, 2024
1 parent 108bce7 commit db647fc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 467 deletions.
1 change: 1 addition & 0 deletions AudioCuesheetEditor/AudioCuesheetEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<PackageProjectUrl>https://github.com/NeoCoderMatrix86/AudioCuesheetEditor</PackageProjectUrl>
<RazorLangVersion>3.0</RazorLangVersion>
<Version>4.0.0</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<PublishTrimmed>true</PublishTrimmed>
<RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>
Expand Down
14 changes: 3 additions & 11 deletions AudioCuesheetEditor/Pages/About.razor
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ along with Foobar. If not, see
<Layout>
<LayoutContent Margin="Margin.Is2">
<Heading Size="HeadingSize.Is1">@_localizer["About AudioCuesheetEditor"]</Heading>
<Heading Size="HeadingSize.Is3">@_localizer["Version"] : @VersionString</Heading>
<Paragraph>@((MarkupString)changelog)</Paragraph>
<Paragraph>@((MarkupString)_localizer["WrittenBy"])</Paragraph>
<Blazorise.Link To="https://www.paypal.com/donate/?cmd=_donations&business=sbbaus%40web%2ede&lc=DE&item_name=Cuesheet%20Project&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest" Target="Target.Blank">@_localizer["DonateForThisProject"]</Blazorise.Link>
<br />
<br />
<Blazorise.Link To="https://github.com/NeoCoderMatrix86/AudioCuesheetEditor" Target="Target.Blank">https://github.com/NeoCoderMatrix86/AudioCuesheetEditor</Blazorise.Link>
<Heading Size="HeadingSize.Is5">@_localizer["Version"]: @VersionString</Heading>
<Heading Size="HeadingSize.Is5">@_localizer["Project url"]: <Blazorise.Link To="https://www.github.com/NeoCoderMatrix86/AudioCuesheetEditor" Target="Target.Blank">https://www.github.com/NeoCoderMatrix86/AudioCuesheetEditor</Blazorise.Link></Heading>
<Blazorise.Link To="https://www.paypal.com/donate/?cmd=_donations&business=sbbaus%40web%2ede&lc=DE&item_name=Cuesheet%20Project&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest" Target="Target.Blank">@_localizer["Donate for this project"]</Blazorise.Link>
<br />
<br />
<Heading Size="HeadingSize.Is3">@_localizer["Licence"]</Heading>
Expand All @@ -38,19 +34,15 @@ along with Foobar. If not, see
</Layout>

@code {

[CascadingParameter]
public MainLayout? mainLayout { get; set; }

String licence = default!;
String changelog = default!;

protected override async Task OnInitializedAsync()
{
var licenceContent = await _httpClient.GetStringAsync("Licence.txt");
licence = Markdown.ToHtml(licenceContent);
var changelogContent = await _httpClient.GetStringAsync("CHANGELOG.md");
changelog = Markdown.ToHtml(changelogContent);
}

protected override async Task OnParametersSetAsync()
Expand Down
5 changes: 3 additions & 2 deletions AudioCuesheetEditor/Resources/Localization/About/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"translations": {
"About AudioCuesheetEditor": "Über AudioCuesheetEditor",
"Version": "Version",
"WrittenBy": "Entwickelt von Sven Baus (&lt;a href='mailto&amp;#58;%73&amp;#46;ba&amp;#117;%7386%4&amp;#48;g&amp;#37;6D%78&amp;#46;ne%&amp;#55;4'&gt;s&amp;#46;baus8&amp;#54;&amp;#64;&amp;#103;mx&amp;#46;net&lt;/a&gt;)",
"Licence": "Lizenz"
"Licence": "Lizenz",
"Donate for this project": "Spenden Sie für dieses Projekt",
"Project url": "Projekt website"
}
}
5 changes: 3 additions & 2 deletions AudioCuesheetEditor/Resources/Localization/About/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"translations": {
"About AudioCuesheetEditor": "About AudioCuesheetEditor",
"Version": "Version",
"WrittenBy": "Developed by Sven Baus (&lt;a href='mailto&amp;#58;%73&amp;#46;ba&amp;#117;%7386%4&amp;#48;g&amp;#37;6D%78&amp;#46;ne%&amp;#55;4'&gt;s&amp;#46;baus8&amp;#54;&amp;#64;&amp;#103;mx&amp;#46;net&lt;/a&gt;)",
"Licence": "Licence"
"Licence": "Licence",
"Donate for this project": "Donate for this project",
"Project url": "Project url"
}
}
Loading

0 comments on commit db647fc

Please sign in to comment.