mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: MacCloud/Options: step-153: more clear notes
This commit is contained in:
parent
9c49da4e58
commit
0acfc8b593
3 changed files with 99 additions and 57 deletions
|
|
@ -30,6 +30,18 @@ msgctxt "uwfxconfig.rshuaweiobsdisplayname"
|
|||
msgid "Huawei Cloud OBS"
|
||||
msgstr ""
|
||||
|
||||
#: uwfxconfig.rsoauth2authnotes
|
||||
msgctxt "uwfxconfig.rsoauth2authnotes"
|
||||
msgid ""
|
||||
"1. Before successfully enabling the connection, Double Commander needs to obtain authorization from {driverName}\n"
|
||||
"\n"
|
||||
"2. Click the connect button to be redirected to the {driverName} official website in the Safari browser\n"
|
||||
"\n"
|
||||
"3. Please login your {driverName} account in Safari and authorize Double Commander to access\n"
|
||||
"\n"
|
||||
"4. The authorization is completed on the {driverName} official website, Double Commander will not get your password"
|
||||
msgstr ""
|
||||
|
||||
#: uwfxconfig.rsonedrivedisplayname
|
||||
msgctxt "uwfxconfig.rsonedrivedisplayname"
|
||||
msgid "OneDrive"
|
||||
|
|
@ -39,11 +51,25 @@ msgstr ""
|
|||
msgid "Qiniu Cloud KODO"
|
||||
msgstr ""
|
||||
|
||||
#: uwfxconfig.rss3autoconfignotes
|
||||
msgid ""
|
||||
"1. AccessKeyID and SerectAccessKey will be saved in the macOS KeyChains to obtain system-level security. The confidential data can only be read by your own macOS permissions.\n"
|
||||
"\n"
|
||||
"2. Access Key ID and Secret Access Key are required, and the others are optional. Double Commander can usually automatically obtain others such as Buckets. Therefore, Region / EndPoint / Bucket are only required if Access Key permissions are insufficient."
|
||||
msgstr ""
|
||||
|
||||
#: uwfxconfig.rss3compatibledisplayname
|
||||
msgctxt "uwfxconfig.rss3compatibledisplayname"
|
||||
msgid "S3 Compatible"
|
||||
msgstr ""
|
||||
|
||||
#: uwfxconfig.rss3manualconfignotes
|
||||
msgid ""
|
||||
"1. AccessKeyID and SerectAccessKey will be saved in the macOS KeyChains to obtain system-level security. The confidential data can only be read by your own macOS permissions.\n"
|
||||
"\n"
|
||||
"2. Access Key ID / Secret Access Key / Region / EndPoint / Bucket are required for {driverName}"
|
||||
msgstr ""
|
||||
|
||||
#: uwfxconfig.rstencentcosdisplayname
|
||||
msgctxt "uwfxconfig.rstencentcosdisplayname"
|
||||
msgid "Tencent Cloud COS"
|
||||
|
|
@ -93,28 +119,10 @@ msgctxt "uwfxoptionscommonrs.rssavebuttontitle"
|
|||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: uwfxoptionsoauth2.rsauthnotes
|
||||
msgid ""
|
||||
"1. Before successfully enabling the connection, Double Commander needs to obtain authorization from {driverName}\n"
|
||||
"\n"
|
||||
"2. Click the connect button to be redirected to the {driverName} official website in the Safari browser\n"
|
||||
"\n"
|
||||
"3. Please login your {driverName} account in Safari and authorize Double Commander to access\n"
|
||||
"\n"
|
||||
"4. The authorization is completed on the {driverName} official website, Double Commander will not get your password"
|
||||
msgstr ""
|
||||
|
||||
#: uwfxoptionss3.rsaccesskeyidlabel
|
||||
msgid "Access Key ID:"
|
||||
msgstr ""
|
||||
|
||||
#: uwfxoptionss3.rsauthnotes
|
||||
msgid ""
|
||||
"1. AccessKeyID and SerectAccessKey will be saved in the macOS KeyChains to obtain system-level security. The confidential data can only be read by your own macOS permissions.\n"
|
||||
"\n"
|
||||
"2. Access Key ID and Secret Access Key are required, and the others are optional. Double Commander can usually automatically obtain others such as Buckets. Therefore, Region / EndPoint / Bucket are only required if Access Key permissions are insufficient."
|
||||
msgstr ""
|
||||
|
||||
#: uwfxoptionss3.rsbucketlabel
|
||||
msgid "Bucket:"
|
||||
msgstr ""
|
||||
|
|
|
|||
|
|
@ -30,6 +30,25 @@ msgctxt "uwfxconfig.rshuaweiobsdisplayname"
|
|||
msgid "Huawei Cloud OBS"
|
||||
msgstr "华为云OBS"
|
||||
|
||||
#: uwfxconfig.rsoauth2authnotes
|
||||
msgctxt "uwfxconfig.rsoauth2authnotes"
|
||||
msgid ""
|
||||
"1. Before successfully enabling the connection, Double Commander needs to obtain authorization from {driverName}\n"
|
||||
"\n"
|
||||
"2. Click the connect button to be redirected to the {driverName} official website in the Safari browser\n"
|
||||
"\n"
|
||||
"3. Please login your {driverName} account in Safari and authorize Double Commander to access\n"
|
||||
"\n"
|
||||
"4. The authorization is completed on the {driverName} official website, Double Commander will not get your password"
|
||||
msgstr ""
|
||||
"1. 在成功激活之前,Double Commander 需要先从 {driverName} 获得授权\n"
|
||||
"\n"
|
||||
"2. 点击“连接”按钮,将在Safari浏览器中重定向至 {driverName} 官方网站\n"
|
||||
"\n"
|
||||
"3. 请在Safari浏览器中登录你的{driverName}账户,并授权 Double Commander 访问\n"
|
||||
"\n"
|
||||
"4. 授权完全在 {driverName} 官方网站完成,Double Commander 不会获得你的账户密码"
|
||||
|
||||
#: uwfxconfig.rsonedrivedisplayname
|
||||
msgctxt "uwfxconfig.rsonedrivedisplayname"
|
||||
msgid "OneDrive"
|
||||
|
|
@ -39,11 +58,31 @@ msgstr ""
|
|||
msgid "Qiniu Cloud KODO"
|
||||
msgstr "七牛云KODO"
|
||||
|
||||
#: uwfxconfig.rss3autoconfignotes
|
||||
msgid ""
|
||||
"1. AccessKeyID and SerectAccessKey will be saved in the macOS KeyChains to obtain system-level security. The confidential data can only be read by your own macOS permissions.\n"
|
||||
"\n"
|
||||
"2. Access Key ID and Secret Access Key are required, and the others are optional. Double Commander can usually automatically obtain others such as Buckets. Therefore, Region / EndPoint / Bucket are only required if Access Key permissions are insufficient."
|
||||
msgstr ""
|
||||
"1. 账户ID和密钥将被保存在 macOS KeyChains 中,从而获得系统级的安全保护。只有你的macOS权限,才能获取这些机密数据。\n"
|
||||
"\n"
|
||||
"2. 账户ID和密钥是必填的,其他项都是可选的。Double Commander 通常能自动获取其他项,例如储存桶。因此, 区域 / 端点 / 储存桶 仅在你的账户权限不足时才需要填写。"
|
||||
|
||||
#: uwfxconfig.rss3compatibledisplayname
|
||||
msgctxt "uwfxconfig.rss3compatibledisplayname"
|
||||
msgid "S3 Compatible"
|
||||
msgstr "S3兼容"
|
||||
|
||||
#: uwfxconfig.rss3manualconfignotes
|
||||
msgid ""
|
||||
"1. AccessKeyID and SerectAccessKey will be saved in the macOS KeyChains to obtain system-level security. The confidential data can only be read by your own macOS permissions.\n"
|
||||
"\n"
|
||||
"2. Access Key ID / Secret Access Key / Region / EndPoint / Bucket are required for {driverName}"
|
||||
msgstr ""
|
||||
"1. 账户ID和密钥将被保存在 macOS KeyChains 中,从而获得系统级的安全保护。只有你的macOS权限,才能获取这些机密数据。\n"
|
||||
"\n"
|
||||
"2. 对于 {driverName},账户ID / 密钥 / 区域 / 端点 / 储存桶 都是必填的。"
|
||||
|
||||
#: uwfxconfig.rstencentcosdisplayname
|
||||
msgctxt "uwfxconfig.rstencentcosdisplayname"
|
||||
msgid "Tencent Cloud COS"
|
||||
|
|
@ -93,38 +132,10 @@ msgctxt "uwfxoptionscommonrs.rssavebuttontitle"
|
|||
msgid "Save"
|
||||
msgstr "保存"
|
||||
|
||||
#: uwfxoptionsoauth2.rsauthnotes
|
||||
msgid ""
|
||||
"1. Before successfully enabling the connection, Double Commander needs to obtain authorization from {driverName}\n"
|
||||
"\n"
|
||||
"2. Click the connect button to be redirected to the {driverName} official website in the Safari browser\n"
|
||||
"\n"
|
||||
"3. Please login your {driverName} account in Safari and authorize Double Commander to access\n"
|
||||
"\n"
|
||||
"4. The authorization is completed on the {driverName} official website, Double Commander will not get your password"
|
||||
msgstr ""
|
||||
"1. 在成功激活之前,Double Commander 需要先从 {driverName} 获得授权\n"
|
||||
"\n"
|
||||
"2. 点击“连接”按钮,将在Safari浏览器中重定向至 {driverName} 官方网站\n"
|
||||
"\n"
|
||||
"3. 请在Safari浏览器中登录你的{driverName}账户,并授权 Double Commander 访问\n"
|
||||
"\n"
|
||||
"4. 授权完全在 {driverName} 官方网站完成,Double Commander 不会获得你的账户密码"
|
||||
|
||||
#: uwfxoptionss3.rsaccesskeyidlabel
|
||||
msgid "Access Key ID:"
|
||||
msgstr "账户ID:"
|
||||
|
||||
#: uwfxoptionss3.rsauthnotes
|
||||
msgid ""
|
||||
"1. AccessKeyID and SerectAccessKey will be saved in the macOS KeyChains to obtain system-level security. The confidential data can only be read by your own macOS permissions.\n"
|
||||
"\n"
|
||||
"2. Access Key ID and Secret Access Key are required, and the others are optional. Double Commander can usually automatically obtain others such as Buckets. Therefore, Region / EndPoint / Bucket are only required if Access Key permissions are insufficient."
|
||||
msgstr ""
|
||||
"1. 账户ID和密钥将被保存在 macOS KeyChains 中,从而获得系统级的安全保护。只有你的macOS权限,才能获取这些机密数据。\n"
|
||||
"\n"
|
||||
"2. 账户ID和密钥是必填的,其他项都是可选的。Double Commander 通常能自动获取其他项,例如储存桶。因此, 区域 / 端点 / 储存桶 仅在你的账户权限不足时才需要填写。"
|
||||
|
||||
#: uwfxoptionss3.rsbucketlabel
|
||||
msgid "Bucket:"
|
||||
msgstr "储存桶:"
|
||||
|
|
|
|||
|
|
@ -77,9 +77,12 @@ resourcestring
|
|||
'2. Click the connect button to be redirected to the {driverName} official website in the Safari browser'#13#13 +
|
||||
'3. Please login your {driverName} account in Safari and authorize Double Commander to access'#13#13 +
|
||||
'4. The authorization is completed on the {driverName} official website, Double Commander will not get your password';
|
||||
rsS3AuthNotes =
|
||||
rsS3AutoConfigNotes =
|
||||
'1. AccessKeyID and SerectAccessKey will be saved in the macOS KeyChains to obtain system-level security. The confidential data can only be read by your own macOS permissions.'#13#13 +
|
||||
'2. Access Key ID and Secret Access Key are required, and the others are optional. Double Commander can usually automatically obtain others such as Buckets. Therefore, Region / EndPoint / Bucket are only required if Access Key permissions are insufficient.';
|
||||
rsS3ManualConfigNotes =
|
||||
'1. AccessKeyID and SerectAccessKey will be saved in the macOS KeyChains to obtain system-level security. The confidential data can only be read by your own macOS permissions.'#13#13 +
|
||||
'2. Access Key ID / Secret Access Key / Region / EndPoint / Bucket are required for {driverName}';
|
||||
|
||||
type
|
||||
|
||||
|
|
@ -134,6 +137,17 @@ type
|
|||
class procedure saveConnectionCommon( const driver: TCloudDriver; const params: NSMutableDictionary ); override;
|
||||
class procedure loadConnectionSecurity( const driver: TCloudDriver; const params: NSDictionary ); override;
|
||||
class procedure saveConnectionSecurity( const driver: TCloudDriver; const params: NSMutableDictionary ); override;
|
||||
end;
|
||||
|
||||
{ TWFXS3AutoConfig }
|
||||
|
||||
TWFXS3AutoConfig = class( TWFXS3Config )
|
||||
class function getNotes: String; override;
|
||||
end;
|
||||
|
||||
{ TWFXS3ManualConfig }
|
||||
|
||||
TWFXS3ManualConfig = class( TWFXS3Config )
|
||||
class function getNotes: String; override;
|
||||
end;
|
||||
|
||||
|
|
@ -326,9 +340,18 @@ begin
|
|||
jsonAccessKey.release;
|
||||
end;
|
||||
|
||||
class function TWFXS3Config.getNotes: String;
|
||||
{ TWFXS3AutoConfig }
|
||||
|
||||
class function TWFXS3AutoConfig.getNotes: String;
|
||||
begin
|
||||
Result:= rsS3AuthNotes;
|
||||
Result:= rsS3AutoConfigNotes;
|
||||
end;
|
||||
|
||||
{ TWFXS3ManualConfig }
|
||||
|
||||
class function TWFXS3ManualConfig.getNotes: String;
|
||||
begin
|
||||
Result:= rsS3ManualConfigNotes;
|
||||
end;
|
||||
|
||||
{ TWFXCloudDriverConfigManager }
|
||||
|
|
@ -382,39 +405,39 @@ begin
|
|||
|
||||
WFXCloudDriverMenuItems.addSeparator;
|
||||
|
||||
WFXCloudDriverConfigManager.register( TAmazonS3Client.driverName, TWFXS3Config );
|
||||
WFXCloudDriverConfigManager.register( TAmazonS3Client.driverName, TWFXS3AutoConfig );
|
||||
cloudDriverManager.register( TAmazonS3Client );
|
||||
WFXCloudDriverMenuItems.add( TAmazonS3Client.driverName, rsAmazonS3DisplayName );
|
||||
|
||||
WFXCloudDriverConfigManager.register( TBackBlazeB2Client.driverName, TWFXS3Config );
|
||||
WFXCloudDriverConfigManager.register( TBackBlazeB2Client.driverName, TWFXS3ManualConfig );
|
||||
cloudDriverManager.register( TBackBlazeB2Client );
|
||||
WFXCloudDriverMenuItems.add( TBackBlazeB2Client.driverName, rsBackBlazeB2DisplayName );
|
||||
|
||||
WFXCloudDriverConfigManager.register( TS3CompatibleClient.driverName, TWFXS3Config );
|
||||
WFXCloudDriverConfigManager.register( TS3CompatibleClient.driverName, TWFXS3ManualConfig );
|
||||
cloudDriverManager.register( TS3CompatibleClient );
|
||||
WFXCloudDriverMenuItems.add( TS3CompatibleClient.driverName, rsS3CompatibleDisplayName );
|
||||
|
||||
WFXCloudDriverMenuItems.addSeparator;
|
||||
|
||||
WFXCloudDriverConfigManager.register( TAliyunOSSClient.driverName, TWFXS3Config );
|
||||
WFXCloudDriverConfigManager.register( TAliyunOSSClient.driverName, TWFXS3AutoConfig );
|
||||
cloudDriverManager.register( TAliyunOSSClient );
|
||||
WFXCloudDriverMenuItems.add( TAliyunOSSClient.driverName, rsAliyunOSSDisplayName );
|
||||
|
||||
WFXCloudDriverConfigManager.register( TTencentCOSClient.driverName, TWFXS3Config );
|
||||
WFXCloudDriverConfigManager.register( TTencentCOSClient.driverName, TWFXS3AutoConfig );
|
||||
cloudDriverManager.register( TTencentCOSClient );
|
||||
WFXCloudDriverMenuItems.add( TTencentCOSClient.driverName, rsTencentCOSDisplayName );
|
||||
|
||||
WFXCloudDriverConfigManager.register( THuaweiOBSClient.driverName, TWFXS3Config );
|
||||
WFXCloudDriverConfigManager.register( THuaweiOBSClient.driverName, TWFXS3AutoConfig );
|
||||
cloudDriverManager.register( THuaweiOBSClient );
|
||||
WFXCloudDriverMenuItems.add( THuaweiOBSClient.driverName, rsHuaweiOBSDisplayName );
|
||||
|
||||
WFXCloudDriverMenuItems.addSeparator;
|
||||
|
||||
WFXCloudDriverConfigManager.register( TQiniuKODOClient.driverName, TWFXS3Config );
|
||||
WFXCloudDriverConfigManager.register( TQiniuKODOClient.driverName, TWFXS3AutoConfig );
|
||||
cloudDriverManager.register( TQiniuKODOClient );
|
||||
WFXCloudDriverMenuItems.add( TQiniuKODOClient.driverName, rsQiniuKODODisplayName );
|
||||
|
||||
WFXCloudDriverConfigManager.register( TUpyunUSSClient.driverName, TWFXS3Config );
|
||||
WFXCloudDriverConfigManager.register( TUpyunUSSClient.driverName, TWFXS3AutoConfig );
|
||||
cloudDriverManager.register( TUpyunUSSClient );
|
||||
WFXCloudDriverMenuItems.add( TUpyunUSSClient.driverName, rsUpyunUSSDisplayName );
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue