Bladeren bron

Merge pull request #1690 from nettyso/patch-1

Digest options are not supported in infobar  #1175
Gildas 10 maanden geleden
bovenliggende
commit
ece5ed266e
2 gewijzigde bestanden met toevoegingen van 10 en 10 verwijderingen
  1. 5 5
      src/ui/pages/help.html
  2. 5 5
      src/ui/pages/help_zh_CN.html

+ 5 - 5
src/ui/pages/help.html

@@ -953,7 +953,7 @@
 					<li><code>{url-href}</code>: the URL of the page (e.g. "http://example.com/category/index.html")
 					</li>
 					<li><code>{url-href-digest-sha-1}</code>: the SHA-1 hash value of the URL of the page (e.g.
-						4b826844d9f5c128533e4ff14d746334f3ac9e00)</li>
+						4b826844d9f5c128533e4ff14d746334f3ac9e00) <strong>(note: only supported in filename, not infobar)</strong></li>
 					<li><code>{url-href-flat}</code>: the URL of the page with replaced slashes (e.g.
 						"http__example.com_category_index.html")</li>
 					<li><code>{url-pathname}</code>: the path name of the URL (e.g. "category/index.html")</li>
@@ -989,9 +989,9 @@
 					<li><code>{tab-id}</code>: the unique identifier of the tab (e.g. "326")</li>
 					<li><code>{tab-index}</code>: the index of the tab in the window (e.g. "1")</li>
 					<li><code>{digest-sha-256}</code>: the SHA-256 hash value of the entire page content (e.g.
-						e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855)</li>
-					<li><code>{digest-sha-384}</code>: the SHA-384 hash value of the entire page content</li>
-					<li><code>{digest-sha-512}</code>: the SHA-512 hash value of the entire page content</li>
+						e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855) <strong>(note: only supported in filename, not infobar)</strong></li>
+					<li><code>{digest-sha-384}</code>: the SHA-384 hash value of the entire page content <strong>(note: only supported in filename, not infobar)</strong></li>
+					<li><code>{digest-sha-512}</code>: the SHA-512 hash value of the entire page content <strong>(note: only supported in filename, not infobar)</strong></li>
 					<li><code>{profile-name}</code>: the name of the profile used to save the page</li>
 					<li><code>{filename-extension}</code>: the extension of the filename depending on the file format
 						(i.e. "html", "u.zip.html", "zip.html", "zip")</li>
@@ -1367,4 +1367,4 @@
 	<script type="module" src="../bg/ui-help.js"></script>
 </body>
 
-</html>
+</html>

+ 5 - 5
src/ui/pages/help_zh_CN.html

@@ -675,7 +675,7 @@
                     <li><code>{visit-seconds-locale}</code>: 访问日期的本地化秒数(例如 "31")</li>
                     <li><code>{url-href}</code>: 页面的 URL(例如 "http://example.com/category/index.html")</li>
                     <li><code>{url-href-digest-sha-1}</code>: 页面的 URL 的 SHA-1 哈希值(例如
-                        4b826844d9f5c128533e4ff14d746334f3ac9e00)</li>
+                        4b826844d9f5c128533e4ff14d746334f3ac9e00)<strong>注意:仅支持文件名,而不支持信息栏</strong></li>
                     <li><code>{url-href-flat}</code>: 替换斜杠后的页面 URL(例如 "http__example.com_category_index.html")</li>
                     <li><code>{url-pathname}</code>: URL 的路径名(例如 "category/index.html")</li>
                     <li><code>{url-pathname-flat}</code>: 替换斜杠后的 URL 路径名(例如 "category_index.html")</li>
@@ -702,9 +702,9 @@
                     <li><code>{tab-id}</code>: 标签的唯一标识符(例如 "326")</li>
                     <li><code>{tab-index}</code>: 标签在窗口中的索引(例如 "1")</li>
                     <li><code>{digest-sha-256}</code>: 整个页面内容的 SHA-256
-                        哈希值(例如e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855)</li>
-                    <li><code>{digest-sha-384}</code>: 整个页面内容的 SHA-384 哈希值</li>
-                    <li><code>{digest-sha-512}</code>: 整个页面内容的 SHA-512 哈希值</li>
+                        哈希值(例如e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855)<strong>注意:仅支持文件名,而不支持信息栏</strong></li>
+                    <li><code>{digest-sha-384}</code>: 整个页面内容的 SHA-384 哈希值<strong>注意:仅支持文件名,而不支持信息栏</strong></li>
+                    <li><code>{digest-sha-512}</code>: 整个页面内容的 SHA-512 哈希值<strong>注意:仅支持文件名,而不支持信息栏</strong></li>
                     <li><code>{profile-name}</code>: 用于保存页面的配置文件名称</li>
                     <li><code>{filename-extension}</code>: 根据文件格式的文件名扩展名(例如 "html"、"u.zip.html"、"zip.html"、"zip")</li>
                     <li><code>{save-action}</code>: 保存页面时使用的操作(例如 "page"、"selection")</li>
@@ -964,4 +964,4 @@
     <script src="../bg/ui-help.js" type="module"></script>
 </body>
 
-</html>
+</html>