From 1c8a7de9ddd0f7ffa93cf0d81eba67193d321cb3 Mon Sep 17 00:00:00 2001 From: seognil LC Date: Sat, 23 Nov 2019 06:40:29 +0800 Subject: [PATCH] fix: chinese language tags standardization (#221) update zh-cn tools list from en --- config.yaml | 17 +++++++++++------ .../{index.zh-cn.md => index.zh-hans.md} | 0 .../{index.zh-cn.md => index.zh-hans.md} | 0 .../{index.zh-cn.md => index.zh-hans.md} | 2 +- .../{index.zh-cn.md => index.zh-hans.md} | 6 +++++- .../{index.zh-tw.md => index.zh-hant.md} | 2 +- .../{index.zh-cn.md => index.zh-hans.md} | 0 7 files changed, 18 insertions(+), 9 deletions(-) rename content/v1.0.0-beta.1/{index.zh-cn.md => index.zh-hans.md} (100%) rename content/v1.0.0-beta.2/{index.zh-cn.md => index.zh-hans.md} (100%) rename content/v1.0.0-beta.3/{index.zh-cn.md => index.zh-hans.md} (99%) rename content/v1.0.0-beta.4/{index.zh-cn.md => index.zh-hans.md} (94%) rename content/v1.0.0-beta.4/{index.zh-tw.md => index.zh-hant.md} (99%) rename content/v1.0.0-beta/{index.zh-cn.md => index.zh-hans.md} (100%) diff --git a/config.yaml b/config.yaml index 59aaf44..ff4963a 100755 --- a/config.yaml +++ b/config.yaml @@ -77,26 +77,31 @@ languages: - v1.0.0-beta.2 - v1.0.0-beta.1 - v1.0.0-beta - zh-cn: + + # zh-cn/zh-tw/zh-chs are legacy + # zh-hans specification usage from IETF language tag + # check https://www.ietf.org/rfc/rfc4646.txt + zh-hans: weight: 2 - languageName: "中国中文" + languageName: "简体中文" title: 约定式提交 - description: 一种用以给提交信息增加人机可读的信息的规范 + description: 一种用于给提交信息增加人机可读含义的规范 actions: - label: 阅读规范 url: '#约定式提交规范' - label: GitHub url: 'https://github.com/conventional-commits/conventionalcommits.org' versions: - current: v1.0.0-beta.3 + current: v1.0.0-beta.4 list: + - v1.0.0-beta.4 - v1.0.0-beta.3 - v1.0.0-beta.2 - v1.0.0-beta.1 - v1.0.0-beta - zh-tw: + zh-hant: weight: 2 - languageName: "臺灣中文" + languageName: "繁體中文" title: 約定式提交 description: 一種用於增加提交說明之人機可讀性意義的規範 actions: diff --git a/content/v1.0.0-beta.1/index.zh-cn.md b/content/v1.0.0-beta.1/index.zh-hans.md similarity index 100% rename from content/v1.0.0-beta.1/index.zh-cn.md rename to content/v1.0.0-beta.1/index.zh-hans.md diff --git a/content/v1.0.0-beta.2/index.zh-cn.md b/content/v1.0.0-beta.2/index.zh-hans.md similarity index 100% rename from content/v1.0.0-beta.2/index.zh-cn.md rename to content/v1.0.0-beta.2/index.zh-hans.md diff --git a/content/v1.0.0-beta.3/index.zh-cn.md b/content/v1.0.0-beta.3/index.zh-hans.md similarity index 99% rename from content/v1.0.0-beta.3/index.zh-cn.md rename to content/v1.0.0-beta.3/index.zh-hans.md index ffb6744..da4cf05 100644 --- a/content/v1.0.0-beta.3/index.zh-cn.md +++ b/content/v1.0.0-beta.3/index.zh-hans.md @@ -1,6 +1,6 @@ --- draft: false -aliases: ["/zh/", "/zh-cn/"] +aliases: ["/zh/", "/zh-hans/"] --- # 约定式提交 1.0.0-beta.3 diff --git a/content/v1.0.0-beta.4/index.zh-cn.md b/content/v1.0.0-beta.4/index.zh-hans.md similarity index 94% rename from content/v1.0.0-beta.4/index.zh-cn.md rename to content/v1.0.0-beta.4/index.zh-hans.md index e509c6b..65c44d5 100644 --- a/content/v1.0.0-beta.4/index.zh-cn.md +++ b/content/v1.0.0-beta.4/index.zh-hans.md @@ -1,6 +1,6 @@ --- draft: false -aliases: ["/zh/", "/zh-cn/"] +aliases: ["/zh/", "/zh-hans/"] --- # 约定式提交 1.0.0-beta.4 @@ -151,6 +151,7 @@ closes issue #12 该规范的首个草案来自下面这些项目中若干贡献者们的协作: * [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog):一套从 git 历史中解析出约定式提交说明的工具。 +* [parse-commit-message](https://github.com/olstenlarck/parse-commit-message):兼容规范的解析工具,可以将给定提交信息的字符串解析成对象,结果形如 `{ header: { type, scope, subject }, body, footer }`。 * [bumped](https://bumped.github.io):一个用于发布软件的工具,可以在为你的软件发布新版本前后轻松地执行操作。 * [unleash](https://github.com/netflix/unleash):一个用于自动化软件发行和发布生命周期的工具。 * [lerna](https://github.com/lerna/lerna):一个用于管理宏仓库(monorepo)的工具,源自 Babel 项目。 @@ -161,6 +162,7 @@ closes issue #12 可配置,并且可以作为 composer 依赖项用于 PHP 项目,或可在非 PHP 项目中全局使用。 * [conform](https://github.com/autonomy/conform):一个可用以在 git 仓库上施加配置的工具,包括约定式提交。 * [standard-version](https://github.com/conventional-changelog/standard-version) 基于 GitHub 的新 squash 按钮与推荐的约定式提交工作流,自动管理版本和 CHANGELOG。 +* [commitsar](https://github.com/commitsar-app/commitsar): 一个检查提交信息是否符合约定式提交规范的 Go 语言工具。可在 CI 的 Docker 镜像中使用。 ## 使用约定式提交的项目 @@ -172,6 +174,8 @@ closes issue #12 * [scroll-utility](https://github.com/LeDDGroup/scroll-utility):一个居中元素和平滑动画的滚屏工具包实例。 * [Blaze UI](https://github.com/BlazeUI/blaze):无框架开源 UI 套件。 * [Monica](https://github.com/monicahq/monica):一个开源的人际关系管理系统。 +* [mhy](https://mhy.js.org):🧩 一个零配置、开箱即用的、多用途工具箱与开发环境。 +* [sharec](https://github.com/lamartire/sharec):一个用于模板和配置文件版本化的极简工具。 [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) diff --git a/content/v1.0.0-beta.4/index.zh-tw.md b/content/v1.0.0-beta.4/index.zh-hant.md similarity index 99% rename from content/v1.0.0-beta.4/index.zh-tw.md rename to content/v1.0.0-beta.4/index.zh-hant.md index f49907c..2df0d7c 100644 --- a/content/v1.0.0-beta.4/index.zh-tw.md +++ b/content/v1.0.0-beta.4/index.zh-hant.md @@ -1,6 +1,6 @@ --- draft: false -aliases: ["/zh-tw/"] +aliases: ["/zh-hant/"] --- # 約定式提交 1.0.0-beta.4 diff --git a/content/v1.0.0-beta/index.zh-cn.md b/content/v1.0.0-beta/index.zh-hans.md similarity index 100% rename from content/v1.0.0-beta/index.zh-cn.md rename to content/v1.0.0-beta/index.zh-hans.md