diff --git a/Wave/Components/Pages/ArticleView.razor b/Wave/Components/Pages/ArticleView.razor index 4375e55..bee3c57 100644 --- a/Wave/Components/Pages/ArticleView.razor +++ b/Wave/Components/Pages/ArticleView.razor @@ -5,6 +5,7 @@ @using System.Globalization @inject IDbContextFactory ContextFactory; +@inject IStringLocalizer Localizer Wave - @Article.Title @@ -13,7 +14,7 @@ @Article.PublishDate.Humanize() @if (Article.LastModified is not null) { -  (Modified @Article.LastModified.Humanize()) +  (@Localizer["ModifiedOn"] @Article.LastModified.Humanize()) }

@@ -24,11 +25,12 @@ @Content +
- + @if (Article.Reviewer is not null && Article.Reviewer.Id != Article.Author.Id) { - + }
diff --git a/Wave/Resources/Components/Pages/ArticleView.de-DE.resx b/Wave/Resources/Components/Pages/ArticleView.de-DE.resx new file mode 100644 index 0000000..7082453 --- /dev/null +++ b/Wave/Resources/Components/Pages/ArticleView.de-DE.resx @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Autor + + + Geändert + + + Rezensent*in + + \ No newline at end of file diff --git a/Wave/Resources/Components/Pages/ArticleView.en-GB.resx b/Wave/Resources/Components/Pages/ArticleView.en-GB.resx new file mode 100644 index 0000000..4fdb1b6 --- /dev/null +++ b/Wave/Resources/Components/Pages/ArticleView.en-GB.resx @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Wave/Resources/Components/Pages/ArticleView.resx b/Wave/Resources/Components/Pages/ArticleView.resx new file mode 100644 index 0000000..c3ae74d --- /dev/null +++ b/Wave/Resources/Components/Pages/ArticleView.resx @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Modified + + + Author + + + Reviewer + + \ No newline at end of file