ci: crowdin commit lint etc (#3372)

This commit is contained in:
James Elliott 2022-05-16 10:54:31 +10:00 committed by GitHub
parent 94ff0d9b8f
commit 28626113b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

View File

@ -1,12 +1,8 @@
---
pull_request_title: "i18n: update translations"
files:
# - source: /internal/server/locales/en/*
# translation: /internal/server/locales/%locale%/%original_file_name%
# skip_untranslated_strings: true
# skip_untranslated_files: true
- source: /internal/server/locales/en/*
translation: /internal/server/locales/%locale_with_underscore%/%original_file_name%
translation: /internal/server/locales/%two_letters_code%/%original_file_name%
skip_untranslated_strings: true
skip_untranslated_files: true
...

View File

@ -58,6 +58,7 @@ The `<type>` and `<summary>` fields are mandatory, the `(<scope>)` field is opti
* **docs** Documentation only changes
* **feat** A new feature
* **fix** A bug fix
* **i18n** Internationalization changes
* **perf** A code change that improves performance
* **refactor** A code change that neither fixes a bug nor adds a feature
* **release** Releasing a new version of Authelia

View File

@ -8,7 +8,7 @@ module.exports = {
"type-enum": [
2,
"always",
["build", "ci", "docs", "feat", "fix", "perf", "refactor", "release", "revert", "test"],
["build", "ci", "docs", "feat", "fix", "i18n", "perf", "refactor", "release", "revert", "test"],
],
"scope-enum": [
2,