Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 2, 2024
0 parents commit 20572b4
Show file tree
Hide file tree
Showing 11 changed files with 8,779 additions and 0 deletions.
318 changes: 318 additions & 0 deletions README.md

Large diffs are not rendered by default.

318 changes: 318 additions & 0 deletions README_zh_CN.md

Large diffs are not rendered by default.

124 changes: 124 additions & 0 deletions i18n/en_US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"displayName": "WakaTime",
"settings": {
"generalSettings": {
"cleanCache": {
"description": "Delete all offline cache files (page refresh after deletion)",
"text": "Clean",
"title": "Clean offline cache"
},
"reset": {
"description": "Reset all settings options to default options (refresh page after reset)",
"text": "Reset",
"title": "Reset settings options"
},
"title": "General"
},
"wakatimeSettings": {
"generalTab": {
"editCategory": {
"description": "Action type tags for editing operations",
"title": "Edit operation tags"
},
"heartbeats": {
"description": "Enable to submit action information to Wakapi/WakaTime service while viewing/editing documents",
"title": "Heartbeat connection"
},
"interval": {
"description": "Time interval (in seconds) to push editing action information to Wakapi/WakaTime server",
"title": "Push interval"
},
"language": {
"description": "Custom language name for Source file<br/>Corresponds to <code class='fn__code'>Languages</code> in Wakapi/WakaTime statistics",
"title": "Language name"
},
"project": {
"description": "Custom current workspace name<br/>Corresponds to <code class='fn__code'>Projects</code> in Wakapi/WakaTime statistics",
"title": "Project name"
},
"systemArch": {
"description": "The kernel architecture of the current operating system",
"title": "Operating System Architecture"
},
"systemName": {
"description": "The name of the operating system on which the kernel resides",
"title": "Operating System Name"
},
"systemVersion": {
"description": "The version of the current operating system",
"title": "Operating System Version"
},
"title": "General",
"userAgent": {
"description": "Used to identify the editor currently used when pushing action information to the Wakapi/WakaTime service<br/>It is highly recommended to leave blank to use the default options<br/>Customizing this field may cause the Wakapi/WakaTime service to not recognize this plug-in",
"title": "<a href='https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent'>User-Agent</a>"
},
"viewCategory": {
"description": "Action type tags for viewing operations",
"title": "View operation tags"
}
},
"serviceTab": {
"apiKey": {
"description": "Wakapi/WakaTime API KEY<br/>Corresponds to <code class='fn__code'>api_key</code> in Wakapi/WakaTime configuration",
"title": "API KEY"
},
"apiURL": {
"description": "Wakapi/WakaTime API URL<br/>Corresponds to <code class='fn__code'>api_url</code> in Wakapi/WakaTime configuration",
"title": "API URL"
},
"exclude": {
"description": "Exclude documents with fields listed in the submission path.<br/>Each entry should be on a separate line. Use <code class='fn__code'>/</code> to enclose regular expressions.<br/>Corresponds to the <code class='fn__code'>exclude</code> option in the Wakapi/WakaTime configuration.",
"placeholder": "Exclude no notebooks or documents",
"title": "Exclude List"
},
"excludeID": {
"description": "Exclude documents with fields listed in the submission ID path.<br/>Each entry should be on a separate line. Use <code class='fn__code'>/</code> to enclose regular expressions.",
"placeholder": "Exclude no notebooks or documents",
"title": "ID Exclude List"
},
"hide_branch_names": {
"description": "Whether to hide notebook names. If enabled, the notebook name is replaced with the notebook ID<br/>Corresponds to <code class='fn__code'>hide_branch_names</code> in Wakapi/WakaTime configuration",
"title": "Hide notebook names"
},
"hide_file_names": {
"description": "Whether to hide document titles. If enabled, the document title is replaced with the document block ID<br/>Corresponds to <code class='fn__code'>hide_file_names</code> in Wakapi/WakaTime configuration",
"title": "Hide document titles"
},
"hostname": {
"description": "Custom current host name<br/>Corresponds to <code class='fn__code'>hostname</code> in Wakapi/WakaTime configuration",
"title": "Hostname"
},
"include": {
"description": "Only include documents with fields listed in the submission path.<br/>Each entry should be on a separate line. Use <code class='fn__code'>/</code> to enclose regular expressions.<br/>Corresponds to the <code class='fn__code'>include</code> option in the Wakapi/WakaTime configuration.",
"placeholder": "Include all notebooks and documents",
"title": "Include List"
},
"includeID": {
"description": "Only include documents with fields listed in the submission ID path.<br/>Each entry should be on a separate line. Use <code class='fn__code'>/</code> to enclose regular expressions.",
"placeholder": "Include all notebooks and documents",
"title": "ID Include List"
},
"offline": {
"description": "Whether to enable offline caching<br/>When the Wakapi/WakaTime service accesses abnormally or the heartbeat connection is not enabled, the action information will be cached to the ${1} directory<br/>Corresponds to the <code class='fn__code'>offline</code> option in the Wakapi/WakaTime configuration.",
"title": "Offline caching"
},
"test": {
"description": "Test if connected to Wakapi/WakaTime service correctly",
"messages": {
"error": "Cannot establish connection to ${1} service",
"success": "Connection to ${1} service is successful"
},
"text": "Test",
"title": "Test Wakapi/WakaTime service"
},
"timeout": {
"description": "Wakapi/WakaTime API request timeout<br/>Corresponds to <code class='fn__code'>timeout</code> in Wakapi/WakaTime configuration",
"title": "Timeout"
},
"title": "Service"
},
"title": "Wakapi/WakaTime"
}
}
}
124 changes: 124 additions & 0 deletions i18n/zh_CHT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"displayName": "WakaTime",
"settings": {
"generalSettings": {
"cleanCache": {
"description": "刪除所有離線緩存文件(刪除後將刷新頁面)",
"text": "清理",
"title": "清理離線緩存"
},
"reset": {
"description": "重置所有設置選項為默認選項(重置後將刷新頁面)",
"text": "重置",
"title": "重置設置選項"
},
"title": "常規設置"
},
"wakatimeSettings": {
"generalTab": {
"editCategory": {
"description": "為編輯操作設置的活動類型標籤",
"title": "編輯操作標籤"
},
"heartbeats": {
"description": "開啟後將在查看/編輯文檔時向 Wakapi/WakaTime 服務提交活動信息",
"title": "心跳連接"
},
"interval": {
"description": "將編輯活動推送到 Wakapi/WakaTime 服務器的時間間隔(單位:秒)",
"title": "推送時間間隔"
},
"language": {
"description": "自定義思源文件語言名稱<br/>對應 Wakapi/WakaTime 統計中的 <code class='fn__code'>Languages</code> 項",
"title": "語言名稱"
},
"project": {
"description": "自定義當前工作空間名稱<br/>對應 Wakapi/WakaTime 統計中的 <code class='fn__code'>Projects</code> 項",
"title": "項目名稱"
},
"systemArch": {
"description": "當前操作系統的內核架構",
"title": "操作系統架構"
},
"systemName": {
"description": "思源內核所在操作系統的名稱",
"title": "操作系統名稱"
},
"systemVersion": {
"description": "當前操作系統的版本",
"title": "操作系統版本"
},
"title": "常規設置",
"userAgent": {
"description": "用於將操作信息推送到 Wakapi/WakaTime 服務時標識當前所使用的編輯器<br/>強烈建議留空以使用默認選項<br/>自定義該字段可能導致 Wakapi/WakaTime 服務無法識別該插件",
"title": "用戶代理字段 <a href='https://developer.mozilla.org/zh-TW/docs/Web/HTTP/Headers/User-Agent'>User-Agent</a>"
},
"viewCategory": {
"description": "為查看操作設置的活動類型標籤",
"title": "查看操作標籤"
}
},
"serviceTab": {
"apiKey": {
"description": "Wakapi/WakaTime API 密鑰<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>api_key</code>",
"title": "API 密鑰"
},
"apiURL": {
"description": "Wakapi/WakaTime API URL<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>api_url</code>",
"title": "API URL"
},
"exclude": {
"description": "提交時排除路徑中包含列表字段的文檔<br/>每行一條記錄,若為正則表達式則需要使用 <code class='fn__code'>/</code> 包裹<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>exclude</code>",
"placeholder": "不排除任何筆記本與文檔",
"title": "排除列表"
},
"excludeID": {
"description": "提交時排除 ID 路徑中包含列表字段的文檔<br/>每行一條記錄,若為正則表達式則需要使用 <code class='fn__code'>/</code> 包裹",
"placeholder": "不排除任何筆記本與文檔",
"title": "ID 排除列表"
},
"hide_branch_names": {
"description": "是否隱藏筆記本名稱,開啟後將使用筆記本 ID 替換筆記本名稱<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>hide_branch_names</code>",
"title": "隱藏筆記本名稱"
},
"hide_file_names": {
"description": "是否隱藏文檔標題,開啟後將使用文檔塊 ID 替換文檔標題<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>hide_file_names</code>",
"title": "隱藏文檔標題"
},
"hostname": {
"description": "自定義當前主機名稱<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>hostname</code>",
"title": "主機名稱"
},
"include": {
"description": "僅提交路徑中包含列表字段的文檔<br/>每行一條記錄,若為正則表達式則需要使用 <code class='fn__code'>/</code> 包裹<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>include</code>",
"placeholder": "包含所有筆記本與文檔",
"title": "包含列表"
},
"includeID": {
"description": "僅提交 ID 路徑中包含列表字段的文檔<br/>每行一條記錄,若為正則表達式則需要使用 <code class='fn__code'>/</code> 包裹",
"placeholder": "包含所有筆記本與文檔",
"title": "ID 包含列表"
},
"offline": {
"description": "是否開啟離線緩存功能<br/>開啟後當 Wakapi/WakaTime 服務訪問異常或未開啟心跳連接時會將活動信息緩存至 ${1} 目錄<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>offline</code>",
"title": "離線緩存"
},
"test": {
"description": "測試是否正確連接到 Wakapi/WakaTime 服務",
"messages": {
"error": "無法與 ${1} 服務建立連接",
"success": "與 ${1} 服務的連接正常"
},
"text": "測試",
"title": "測試 Wakapi/WakaTime 服務"
},
"timeout": {
"description": "Wakapi/WakaTime API 請求超時時間<br/>對應 Wakapi/WakaTime 配置中的 <code class='fn__code'>timeout</code>",
"title": "超時時間"
},
"title": "服務設置"
},
"title": "Wakapi/WakaTime"
}
}
}

0 comments on commit 20572b4

Please sign in to comment.