From c46d302441819ee64c8af0170a9ac1aa29dc470f Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Thu, 7 Apr 2022 22:00:26 +0800 Subject: [PATCH] add more specific desc to s3 cors --- en.json | 4 ++-- zh_cn.json | 4 ++-- zh_tw.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/en.json b/en.json index 48c6fd0..1355531 100644 --- a/en.json +++ b/en.json @@ -110,7 +110,7 @@ "settings_s3": "Remote For S3 or compatible", "settings_s3_disclaimer1": "Disclaimer: This plugin is NOT an official Amazon product.", "settings_s3_disclaimer2": "Disclaimer: The information is stored in locally. Other malicious/harmful/faulty plugins could read the info. If you see any unintentional access to your bucket, please immediately delete the access key on your AWS (or other S3-service provider) settings.", - "settings_s3_cors": "You need to configure CORS to allow requests from origin app://obsidian.md and capacitor://localhost and http://localhost", + "settings_s3_cors": "You need to configure CORS to allow requests from origin app://obsidian.md and capacitor://localhost and http://localhost, and add ETag into exposed headers.", "settings_s3_prod": "Some Amazon S3 official docs for references:", "settings_s3_prod1": "Endpoint and region info", "settings_s3_prod2": "Access Key ID and Secret Access Key info", @@ -122,7 +122,7 @@ "settings_s3_secretaccesskey": "Secret Access Key", "settings_s3_bucketname": "Bucket Name", "settings_s3_bypasscorslocally": "bypass CORS issue locally", - "settings_s3_bypasscorslocally_desc": "The plugin allows skipping server CORS config in new version (Obsidian>={{ver}}). If you encounter any issues, please disable this setting and config CORS (app://obsidian.md and capacitor://localhost and http://localhost) on server.", + "settings_s3_bypasscorslocally_desc": "The plugin allows skipping server CORS config in new version (Obsidian>={{ver}}). If you encounter any issues, please disable this setting and config CORS on servers (allowing requests from app://obsidian.md and capacitor://localhost and http://localhost and add ETag into exposed headers).", "settings_s3_parts": "Parts Concurrency", "settings_s3_parts_desc": "Large files are split into small parts to upload in S3. How many parts do you want to upload in parallel at most?", "settings_s3_urlstyle": "S3 URL style", diff --git a/zh_cn.json b/zh_cn.json index 11f9b2b..ae47b84 100644 --- a/zh_cn.json +++ b/zh_cn.json @@ -110,7 +110,7 @@ "settings_s3": "S3 或兼容 S3 的服务的设置", "settings_s3_disclaimer1": "声明:本插件不是 Amazon 的官方产品。", "settings_s3_disclaimer2": "声明:您所输入的信息存储于本地。其它有害的或者出错的插件,是有可能读取到这些信息的。如果您发现了存储桶有不符合预期的访问,请立刻从 AWS(或其它 S3 服务商)删除记录于此的 access key。", - "settings_s3_cors": "您需要设置 CORS,从而允许这些源的请求访问:app://obsidian.md 和 capacitor://localhost 和 http://localhost", + "settings_s3_cors": "您需要设置 CORS,从而允许这些源的请求访问:app://obsidian.md 和 capacitor://localhost 和 http://localhost 且增加 ETag 到暴露 headers 里。", "settings_s3_prod": "一些可参考的 Amazon S3 官方文档:", "settings_s3_prod1": "服务地址(Endpoint)和区域(Region)信息", "settings_s3_prod2": "Access Key ID 和 Secret Access Key 信息", @@ -122,7 +122,7 @@ "settings_s3_secretaccesskey": "Secret Access Key", "settings_s3_bucketname": "存储桶(Bucket)的名字", "settings_s3_bypasscorslocally": "本地绕过 CORS 问题", - "settings_s3_bypasscorslocally_desc": "对于 Obsidian 新版本(>= {{ver}}),本插件可以跳过服务器设置 CORS 的步骤。如果您遇到任意问题,可以关闭此设定,并在服务端设置 CORS(app://obsidian.md 和 capacitor://localhost 和 http://localhost)。", + "settings_s3_bypasscorslocally_desc": "对于 Obsidian 新版本(>= {{ver}}),本插件可以跳过服务器设置 CORS 的步骤。如果您遇到任意问题,可以关闭此设定,并在服务端设置 CORS(允许来自 app://obsidian.md 和 capacitor://localhost 和 http://localhost 的请求且增加 ETag 到暴露 headers 里)。", "settings_s3_parts": "分块并行度", "settings_s3_parts_desc": "在 S3 里,大文件会被分块上传。您希望同一时间最多有多少个分块被上传?", "settings_s3_urlstyle": "S3 URL style", diff --git a/zh_tw.json b/zh_tw.json index 64e3b2a..e6ee15d 100644 --- a/zh_tw.json +++ b/zh_tw.json @@ -110,7 +110,7 @@ "settings_s3": "S3 或相容 S3 的服務的設定", "settings_s3_disclaimer1": "宣告:本外掛不是 Amazon 的官方產品。", "settings_s3_disclaimer2": "宣告:您所輸入的資訊儲存於本地。其它有害的或者出錯的外掛,是有可能讀取到這些資訊的。如果您發現了儲存桶有不符合預期的訪問,請立刻從 AWS(或其它 S3 服務商)刪除記錄於此的 access key。", - "settings_s3_cors": "您需要設定 CORS,從而允許這些源的請求訪問:app://obsidian.md 和 capacitor://localhost 和 http://localhost", + "settings_s3_cors": "您需要設定 CORS,從而允許這些源的請求訪問:app://obsidian.md 和 capacitor://localhost 和 http://localhost 且增加 ETag 到暴露 headers 裡。", "settings_s3_prod": "一些可參考的 Amazon S3 官方文件:", "settings_s3_prod1": "服務地址(Endpoint)和區域(Region)資訊", "settings_s3_prod2": "Access Key ID 和 Secret Access Key 資訊", @@ -122,7 +122,7 @@ "settings_s3_secretaccesskey": "Secret Access Key", "settings_s3_bucketname": "儲存桶(Bucket)的名字", "settings_s3_bypasscorslocally": "本地繞過 CORS 問題", - "settings_s3_bypasscorslocally_desc": "對於 Obsidian 新版本(>= {{ver}}),本外掛可以跳過伺服器設定 CORS 的步驟。如果您遇到任意問題,可以關閉此設定,並在服務端設定 CORS(app://obsidian.md 和 capacitor://localhost 和 http://localhost)。", + "settings_s3_bypasscorslocally_desc": "對於 Obsidian 新版本(>= {{ver}}),本外掛可以跳過伺服器設定 CORS 的步驟。如果您遇到任意問題,可以關閉此設定,並在服務端設定 CORS(允許來自 app://obsidian.md 和 capacitor://localhost 和 http://localhost 的請求且增加 ETag 到暴露 headers 裡)。", "settings_s3_parts": "分塊並行度", "settings_s3_parts_desc": "在 S3 裡,大檔案會被分塊上傳。您希望同一時間最多有多少個分塊被上傳?", "settings_s3_urlstyle": "S3 URL style",