From 247e00ecd4e94e7b23a61e04c316271840b997d0 Mon Sep 17 00:00:00 2001 From: Shaun Walker Date: Fri, 18 Jun 2021 16:56:54 -0400 Subject: [PATCH] implement shared resources --- Oqtane.Client/Modules/Admin/Files/Add.razor | 7 +- .../Resources/Modules/Admin/Files/Add.resx | 9 -- Oqtane.Client/Resources/SharedResources.resx | 122 +++++++++--------- 3 files changed, 68 insertions(+), 70 deletions(-) diff --git a/Oqtane.Client/Modules/Admin/Files/Add.razor b/Oqtane.Client/Modules/Admin/Files/Add.razor index a720e52c..b131f1a6 100644 --- a/Oqtane.Client/Modules/Admin/Files/Add.razor +++ b/Oqtane.Client/Modules/Admin/Files/Add.razor @@ -5,6 +5,7 @@ @inject IFileService FileService @inject IFolderService FolderService @inject IStringLocalizer Localizer +@inject IStringLocalizer SharedLocalizer @@ -18,7 +19,7 @@ - @Localizer["Cancel"] + @SharedLocalizer["Cancel"] @if (_folders != null) @@ -47,8 +48,8 @@ - - @Localizer["Cancel"] + + @SharedLocalizer["Cancel"] } diff --git a/Oqtane.Client/Resources/Modules/Admin/Files/Add.resx b/Oqtane.Client/Resources/Modules/Admin/Files/Add.resx index f43d68d3..fae32989 100644 --- a/Oqtane.Client/Resources/Modules/Admin/Files/Add.resx +++ b/Oqtane.Client/Resources/Modules/Admin/Files/Add.resx @@ -120,15 +120,6 @@ Select Folder - - Upload - - - Cancel - - - Download - You Must Enter A Url And Select A Folder diff --git a/Oqtane.Client/Resources/SharedResources.resx b/Oqtane.Client/Resources/SharedResources.resx index 5296443a..477504d0 100644 --- a/Oqtane.Client/Resources/SharedResources.resx +++ b/Oqtane.Client/Resources/SharedResources.resx @@ -1,65 +1,65 @@  - + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + @@ -204,4 +204,10 @@ System Update + + Download + + + Upload + \ No newline at end of file