Skip to content

Commit

Permalink
Already independent from TST
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 3, 2024
1 parent c9c0713 commit 23af348
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"config_copyToClipboardFormats_down": { "message": "Move Down" },
"config_copyToClipboardFormats_restoreDefaults": { "message": "Restore default formats keeping added formats" },
"config_copyToClipboardFormats_accesskey": { "message": "A non-whitespace character next to \"&\" (for example \"L\" in \"&Location\") in the label will become the accesskey for the item." },
"config_copyToClipboardFormats_placeholders": { "message": "Available place holders for formats:\n%URL%=Page URL,\n%TITLE%=Page Title,\n%TREE_INDENT(indenter1, indenter2, ... indenterN)%=Indent (powered by tabs management addon like Tree Style Tab)\n%TAB%=Tab,\n%EOL%=Line Feed,\n%CONTAINER_NAME(prefix, suffix)%=Container name with prefix and suffix (ex. `%CONTAINER_NAME(\"[\", \"]\")%` will be filled like \"[Personal]\" for \"Personal\" conainer tab),\n%CONTAINER_URL%=URL with \"ext+container:\" scheme (for Open external links in a container)" },
"config_copyToClipboardFormats_placeholders": { "message": "Available place holders for formats:\n%URL%=Page URL,\n%TITLE%=Page Title,\n%TREE_INDENT(indenter1, indenter2, ... indenterN)%=Indent\n%TAB%=Tab,\n%EOL%=Line Feed,\n%CONTAINER_NAME(prefix, suffix)%=Container name with prefix and suffix (ex. `%CONTAINER_NAME(\"[\", \"]\")%` will be filled like \"[Personal]\" for \"Personal\" conainer tab),\n%CONTAINER_URL%=URL with \"ext+container:\" scheme (for Open external links in a container)" },
"config_copyToClipboardFormats_placeholders_special": { "message": "Place holders based on page contents (you need to grant required permission):\n%AUTHOR%=Author name (specified by META),\n%DESCRIPTION%=Description (specified by META),\n%KEYWORDS%=Search keywords (specified by META),\n%RT%=Copy as a rich text (Note: this placeholder itself is cleared from the copied text),\n%PREFIX(...)%=Add given prefix at the first,\n%SUFFIX(...)%=Add given suffix at the last" },
"config_copyToClipboardFormats_placeholders_replace": { "message": "`%REPLACE(\"base text\", \"match pattern regular expression 1\", \"replaced text 1\", \"match pattern regular expression 2\", \"replaced text 2\", ...)%` will return text replaced with regular expressions. \nFor example: \n%REPLACE(\"%URL%\", \"\\?.*$\", \"\")% \n => URL with stripped query parameters \n%REPLACE(\"%URL%\", \"^((?!\\w+://([^/]*\\.)?(google\\.com|duckduckgo\\.com)/.*).*)\\?.*$\", \"$$1\")% \n => URL with stripped query parameters, except Google and DuckDuckGo" },
"config_copyToClipboardFormats_placeholders_html_safe": { "message": "`%HTML_SAFE(...)%` will return text escaped for HTML. For example:\n%HTML_SAFE(%TITLE%)% => Title escaped for HTML." },
Expand All @@ -107,7 +107,7 @@

"config_modeForNoSelection_caption": { "message": "Behavior on no multiselection" },
"config_modeForNoSelectionTab_caption": { "message": "On an Individual Tab" },
"config_modeForNoSelectionTree_caption": { "message": "On the Parent Tab of a Tree (require tabs management addon like Tree Style Tab)" },
"config_modeForNoSelectionTree_caption": { "message": "On the Parent Tab of a Tree" },
"config_modeForNoSelection_label": { "message": "Regular Operation" },
"config_modeForNoSelection_nothing_label": { "message": "(do nothing)" },
"config_modeForNoSelection_choose_label": { "message": "Choose from menu always" },
Expand Down
4 changes: 2 additions & 2 deletions _locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"config_copyToClipboardFormats_down": { "message": "下へ移動" },
"config_copyToClipboardFormats_restoreDefaults": { "message": "追加した書式を維持して既定の書式を復元する" },
"config_copyToClipboardFormats_accesskey": { "message": "ラベル内で「&」に続く空白以外の文字(例:「&Location」の「L」)はその項目のアクセスキーになります。" },
"config_copyToClipboardFormats_placeholders": { "message": "書式には以下のプレースホルダを使えます:\n%URL%=ページのURL,\n%TITLE%=ページのタイトル,\n%TREE_INDENT(indenter1, indenter2, ... indenterN)%=インデント(Tree Style Tabなどのタブ管理アドオンを使用)\n%TAB%=タブ文字,\n%EOL%=改行,\n%CONTAINER_NAME(prefix, suffix)%=コンテナーの名前(例:「%CONTAINER_NAME('[', ']')%」は「個人用」のコンテナータブであれば「[個人用]」になります),\n%CONTAINER_URL%=\"ext+container:\"スキームを伴ったURL(Open external links in a container用)" },
"config_copyToClipboardFormats_placeholders": { "message": "書式には以下のプレースホルダを使えます:\n%URL%=ページのURL,\n%TITLE%=ページのタイトル,\n%TREE_INDENT(indenter1, indenter2, ... indenterN)%=インデント\n%TAB%=タブ文字,\n%EOL%=改行,\n%CONTAINER_NAME(prefix, suffix)%=コンテナーの名前(例:「%CONTAINER_NAME('[', ']')%」は「個人用」のコンテナータブであれば「[個人用]」になります),\n%CONTAINER_URL%=\"ext+container:\"スキームを伴ったURL(Open external links in a container用)" },
"config_copyToClipboardFormats_placeholders_special": { "message": "ページの内容に基づくプレースホルダー(権限の許可が必要です):\n%AUTHOR%=metaタグで指定された作者名,\n%DESCRIPTION%=metaタグで指定された説明文,\n%KEYWORDS%=metaタグで指定された検索用キーワード,\n%RT%=リッチテキストとしてコピーする(このプレースホルダ自体は空文字に変換されます),\n%PREFIX(...)%=指定文字列を全体の前に足す,\n%SUFFIX(...)%=指定文字列を全体の後に足す" },
"config_copyToClipboardFormats_placeholders_html_safe": { "message": "%HTML_SAFE(...)% で文字列をHTML用にエスケープできます。\n例:\n%HTML_SAFE(%TITLE%)%→HTML用にエスケープされたタイトル" },
"config_copyToClipboardFormats_placeholders_md_safe": { "message": "%MD_SAFE(...)% や %MD_LINK_TITLE_SAFE(...)% で文字列をMarkdown用にもエスケープできます。\n例:\n[%MD_LINK_TITLE_SAFE(%TITLE%)%](%MD_SAFE(%URL%)%) → Markdownでのリンク" },
Expand All @@ -107,7 +107,7 @@

"config_modeForNoSelection_caption": { "message": "タブが複数選択されていないときの動作" },
"config_modeForNoSelectionTab_caption": { "message": "単独のタブに対して操作した場合" },
"config_modeForNoSelectionTree_caption": { "message": "ツリーの親タブに対して操作した場合(Tree Style Tabなどのタブ管理アドオンが必要)" },
"config_modeForNoSelectionTree_caption": { "message": "ツリーの親タブに対して操作した場合" },
"config_modeForNoSelection_label": { "message": "通常の操作" },
"config_modeForNoSelection_nothing_label": { "message": "(何もしない)" },
"config_modeForNoSelection_choose_label": { "message": "その都度メニューから選択する" },
Expand Down
2 changes: 1 addition & 1 deletion _locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"hash": "7292b900eb5211e2a5c8cc8219de8a1b"
},
"config_copyToClipboardFormats_placeholders": {
"message": "格式栏可用的占位符:\n%URL%=页面网址,\n%TITLE%=页面标题,\n%AUTHOR%=作者名(META 信息指定),\n%DESCRIPTION%=描述(META 信息指定),\n%KEYWORDS%=搜索关键词(META 信息指定),\n%URL_HTMLIFIED%=为 HTML 转义的 URL,\n%TITLE_HTMLIFIED%=为 HTML 转义的标题,\n%AUTHOR_HTMLIFIED%=为 HTML 转义的作者名,\n%DESCRIPTION_HTMLIFIED%=为 HTML 转义的描述,\n%KEYWORDS_HTMLIFIED%=为 HTML 转义的关键词,\n%TST_INDENT(indenter)%、%TST_INDENT(indenter1)(indenter2)...(indenterN)%=层级(由 Tree Style Tab 提供)\n%TAB%=Tab,\n%EOL%=换行, \n%CONTAINER_NAME(prefix, suffix)%=Container name with prefix and suffix (ex. \"%CONTAINER_NAME('[', ']')%\" will be filled like \"[Personal]\" for \"Personal\" conainer tab),\n%CONTAINER_NAME_HTMLIFIED(prefix, suffix)%=Container name with prefix and suffix escaped for HTML,\n%CONTAINER_URL%=URL with \"ext+container:\" scheme (for Open external links in a container),\n%CONTAINER_URL_HTMLIFIED%=URL with \"ext+container:\" scheme escaped for HTML,\n%RT%=复制为富文本(注:复制的文本中不含此占位符),\n%PREFIX(...)%=Add given prefix at the first,\n%SUFFIX(...)%=Add given suffix at the last",
"message": "格式栏可用的占位符:\n%URL%=页面网址,\n%TITLE%=页面标题,\n%AUTHOR%=作者名(META 信息指定),\n%DESCRIPTION%=描述(META 信息指定),\n%KEYWORDS%=搜索关键词(META 信息指定),\n%URL_HTMLIFIED%=为 HTML 转义的 URL,\n%TITLE_HTMLIFIED%=为 HTML 转义的标题,\n%AUTHOR_HTMLIFIED%=为 HTML 转义的作者名,\n%DESCRIPTION_HTMLIFIED%=为 HTML 转义的描述,\n%KEYWORDS_HTMLIFIED%=为 HTML 转义的关键词,\n%TREE_INDENT(indenter)%、%TREE_INDENT(indenter1)(indenter2)...(indenterN)%=层级\n%TAB%=Tab,\n%EOL%=换行, \n%CONTAINER_NAME(prefix, suffix)%=Container name with prefix and suffix (ex. \"%CONTAINER_NAME('[', ']')%\" will be filled like \"[Personal]\" for \"Personal\" conainer tab),\n%CONTAINER_NAME_HTMLIFIED(prefix, suffix)%=Container name with prefix and suffix escaped for HTML,\n%CONTAINER_URL%=URL with \"ext+container:\" scheme (for Open external links in a container),\n%CONTAINER_URL_HTMLIFIED%=URL with \"ext+container:\" scheme escaped for HTML,\n%RT%=复制为富文本(注:复制的文本中不含此占位符),\n%PREFIX(...)%=Add given prefix at the first,\n%SUFFIX(...)%=Add given suffix at the last",
"hash": "e4fa53727b5f0e073c95814d82357d4a"
},
"config_shortcuts_caption": {
Expand Down

0 comments on commit 23af348

Please sign in to comment.