Skip to content

Commit

Permalink
refactor: add additional contributor information
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGriefs committed Apr 1, 2024
1 parent 534181e commit 1061bee
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 7 deletions.
8 changes: 7 additions & 1 deletion en-GB/locale.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"contributors": ["Hagen <https://github.com/MrGriefs>"]
"contributors": [
{
"name": "Hagen",
"github": "https://github.com/MrGriefs",
"discord": "291656468493631488"
}
]
}
8 changes: 7 additions & 1 deletion fr/locale.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"contributors": ["Furie <https://github.com/FurieFox>"],
"contributors": [
{
"name": "Furie",
"github": "https://github.com/FurieFox",
"discord": "292959447444226048"
}
],
"crowdin": true
}
27 changes: 23 additions & 4 deletions locale.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,30 @@
"properties": {
"contributors": {
"description": "Translators of this locale",
"default": [
"Name <https://github.com/UserName>"
],
"items": {
"pattern": "^.+ <https:\\/\\/github\\.com\\/[\\w-]+>$"
"type": "object",
"properties": {
"email": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"discord": {
"type": "string",
"pattern": "^\\d+$"
},
"github": {
"type": "string",
"pattern": "^https:\\/\\/github\\.com\\/[\\w-]+$"
}
},
"required": ["name"],
"additionalProperties": false
},
"type": "array"
},
Expand Down
7 changes: 6 additions & 1 deletion sv-SE/locale.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"contributors": ["lesslih <https://github.com/lesslih>"],
"contributors": [
{
"name": "lesslih",
"github": "https://github.com/lesslih"
}
],
"crowdin": true
}

0 comments on commit 1061bee

Please sign in to comment.