From b261d8cf7cfd463a2c0f0883fc46ca52c866e892 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Wed, 24 Jul 2024 13:28:16 -0400 Subject: [PATCH 1/3] =?UTF-8?q?Switch=20=E2=80=A6Short=20on=20AliyunOSS/St?= =?UTF-8?q?rings.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Duplicati/Library/Backend/AliyunOSS/Strings.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Duplicati/Library/Backend/AliyunOSS/Strings.cs b/Duplicati/Library/Backend/AliyunOSS/Strings.cs index f0cc650fe..85e5172a9 100644 --- a/Duplicati/Library/Backend/AliyunOSS/Strings.cs +++ b/Duplicati/Library/Backend/AliyunOSS/Strings.cs @@ -7,20 +7,20 @@ namespace Duplicati.Library.Backend.Strings public static string DisplayName { get { return LC.L(@"Aliyun OSS (Object Storage Service)"); } } public static string Description { get { return LC.L(@"This backend can read and write data to Aliyun OSS."); } } - public static string OSSAccessKeyIdDescriptionShort { get { return LC.L(@"Access Key Id"); } } public static string OSSAccessKeyIdDescriptionLong { get { return LC.L(@"AccessKeyId is used to identify the user."); } } + public static string OSSAccessKeyIdDescriptionShort { get { return LC.L(@"Access Key Id"); } } - public static string OSSAccessKeySecretDescriptionShort { get { return LC.L(@"Access Key Secret"); } } public static string OSSAccessKeySecretDescriptionLong { get { return LC.L(@"AccessKeySecret is the key used by the user to encrypt signature strings and by OSS to verify these signature strings"); } } + public static string OSSAccessKeySecretDescriptionShort { get { return LC.L(@"Access Key Secret"); } } - public static string OSSBucketNameDescriptionShort { get { return LC.L(@"Bucket Name"); } } public static string OSSBucketNameDescriptionLong { get { return LC.L(@"A storage space is a container used to store objects (Object), and all objects must belong to a specific storage space."); } } + public static string OSSBucketNameDescriptionShort { get { return LC.L(@"Bucket Name"); } } - public static string OSSRegionDescriptionShort { get { return LC.L(@"Region"); } } public static string OSSRegionDescriptionLong { get { return LC.L(@"Region indicates the physical location of the OSS data center."); } } + public static string OSSRegionDescriptionShort { get { return LC.L(@"Region"); } } - public static string OSSEndpointDescriptionShort { get { return LC.L(@"Endpoint"); } } public static string OSSEndpointDescriptionLong { get { return LC.L(@"Endpoint refers to the domain name through which OSS provides external services."); } } + public static string OSSEndpointDescriptionShort { get { return LC.L(@"Endpoint"); } } } } From 203cb6aea81722108f144ce2036a29e609c8b7ee Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 25 Jul 2024 00:53:16 -0400 Subject: [PATCH 2/3] Sort Description and DisplayName on AliyunOSS/Strings.cs --- Duplicati/Library/Backend/AliyunOSS/Strings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Backend/AliyunOSS/Strings.cs b/Duplicati/Library/Backend/AliyunOSS/Strings.cs index 85e5172a9..e0d8bf1dc 100644 --- a/Duplicati/Library/Backend/AliyunOSS/Strings.cs +++ b/Duplicati/Library/Backend/AliyunOSS/Strings.cs @@ -4,8 +4,8 @@ namespace Duplicati.Library.Backend.Strings { internal static class OSSBackend { - public static string DisplayName { get { return LC.L(@"Aliyun OSS (Object Storage Service)"); } } public static string Description { get { return LC.L(@"This backend can read and write data to Aliyun OSS."); } } + public static string DisplayName { get { return LC.L(@"Aliyun OSS (Object Storage Service)"); } } public static string OSSAccessKeyIdDescriptionLong { get { return LC.L(@"AccessKeyId is used to identify the user."); } } public static string OSSAccessKeyIdDescriptionShort { get { return LC.L(@"Access Key Id"); } } From 21e001970a6e1b13c8b37bf3248dc45365bc1f29 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 25 Jul 2024 00:53:44 -0400 Subject: [PATCH 3/3] Remove blank lines on AliyunOSS/Strings.cs --- Duplicati/Library/Backend/AliyunOSS/Strings.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Duplicati/Library/Backend/AliyunOSS/Strings.cs b/Duplicati/Library/Backend/AliyunOSS/Strings.cs index e0d8bf1dc..da9a9972c 100644 --- a/Duplicati/Library/Backend/AliyunOSS/Strings.cs +++ b/Duplicati/Library/Backend/AliyunOSS/Strings.cs @@ -6,19 +6,14 @@ namespace Duplicati.Library.Backend.Strings { public static string Description { get { return LC.L(@"This backend can read and write data to Aliyun OSS."); } } public static string DisplayName { get { return LC.L(@"Aliyun OSS (Object Storage Service)"); } } - public static string OSSAccessKeyIdDescriptionLong { get { return LC.L(@"AccessKeyId is used to identify the user."); } } public static string OSSAccessKeyIdDescriptionShort { get { return LC.L(@"Access Key Id"); } } - public static string OSSAccessKeySecretDescriptionLong { get { return LC.L(@"AccessKeySecret is the key used by the user to encrypt signature strings and by OSS to verify these signature strings"); } } public static string OSSAccessKeySecretDescriptionShort { get { return LC.L(@"Access Key Secret"); } } - public static string OSSBucketNameDescriptionLong { get { return LC.L(@"A storage space is a container used to store objects (Object), and all objects must belong to a specific storage space."); } } public static string OSSBucketNameDescriptionShort { get { return LC.L(@"Bucket Name"); } } - public static string OSSRegionDescriptionLong { get { return LC.L(@"Region indicates the physical location of the OSS data center."); } } public static string OSSRegionDescriptionShort { get { return LC.L(@"Region"); } } - public static string OSSEndpointDescriptionLong { get { return LC.L(@"Endpoint refers to the domain name through which OSS provides external services."); } } public static string OSSEndpointDescriptionShort { get { return LC.L(@"Endpoint"); } } }