Skip to content

Commit

Permalink
增加词条: 新增账户升级选择页面
Browse files Browse the repository at this point in the history
  • Loading branch information
maboloshi committed Mar 14, 2024
1 parent 8a04b60 commit c0d7d5e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion locals.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ I18N.conf = {
* 导入仓库 /new/import
* ...
*/
rePagePath: /^\/($|dashboard|signup|login\/oauth|login|logout|sessions?|password_reset|orgs|explore|topics|notifications\/subscriptions|notifications|watching|stars|issues|pulls|search|trending|showcases|new\/(import|project)|new|import|settings\/(profile|admin|appearance|accessibility|notifications|billing|emails|security_analysis|security-log|security|auth|sessions|keys|ssh|gpg|organizations|enterprises|blocked_users|interaction_limits|code_review_limits|repositories|codespaces|deleted_repositories|packages|copilot|pages|replies|installations|apps\/authorizations|reminders|sponsors-log|apps|(?:personal-access-|)tokens|developers|applications\/new|applications|connections\/applications)|settings|installations\/new|marketplace|apps|account\/organizations\/new|projects|account\/billing\/history|redeem|discussions|events|collections|sponsors|github-copilot\/signup|codespaces|developer\/register)|^\/users\/[^\/]+\/(projects|packages)/,
rePagePath: /^\/($|dashboard|signup|login\/oauth|login|logout|sessions?|password_reset|orgs|explore|topics|notifications\/subscriptions|notifications|watching|stars|issues|pulls|search|trending|showcases|new\/(import|project)|new|import|settings\/(profile|admin|appearance|accessibility|notifications|billing|emails|security_analysis|security-log|security|auth|sessions|keys|ssh|gpg|organizations|enterprises|blocked_users|interaction_limits|code_review_limits|repositories|codespaces|deleted_repositories|packages|copilot|pages|replies|installations|apps\/authorizations|reminders|sponsors-log|apps|(?:personal-access-|)tokens|developers|applications\/new|applications|connections\/applications)|settings|installations\/new|marketplace|apps|account\/(organizations\/new|choose|billing\/history)|projects|redeem|discussions|events|collections|sponsors|github-copilot\/signup|codespaces|developer\/register)|^\/users\/[^\/]+\/(projects|packages)/,

// 仓库路径
rePagePathRepo: /^\/[^\/]+\/[^\/]+\/(issues|pull|watchers|stargazers|new|edit|delete|upload|find|wiki|branches|discussions|activity|rules|releases|packages|tags|labels|milestones|compare|commit|blob|blame|actions|runs|deployments|security|pulse|community|forks|fork|import|graphs\/(contributors|community|traffic|commit-activity|code-frequency)|network$|network\/(dependencies|dependents|updates|members)|settings\/(access|code_review_limits|interaction_limits|branches|branch_protection_rules|tag_protection|rules|actions|hooks|environments|codespaces|pages|security_analysis|dependabot_rules|keys|secrets|variables|installations|notifications)|settings|transfer|projects\/new|pkgs|contribute|subscription|invitations|codespaces)/,
Expand Down Expand Up @@ -15368,6 +15368,19 @@ I18N.zh["account/organizations/new"] = { // 创建组织
],
};

I18N.zh["account/choose"] = { // 账户升级选择
"static": { // 静态翻译
// https://github.com/account/choose?action=upgrade
"Which do you want to upgrade?": "您想升级哪个?",
"Your personal account": "您的个人账户",
"Organization": "组织",
"Create a new organization": "创建新组织",
"Try GitHub Enterprise": "试用 GitHub 企业版",
},
"regexp": [ // 正则翻译
],
};

I18N.zh["marketplace"] = { // GitHub 市场
"static": { // 静态翻译
// GitHub 市场主页 https://github.com/marketplace
Expand Down

0 comments on commit c0d7d5e

Please sign in to comment.