Skip to content

Commit

Permalink
Release for Flarum v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
datlechin committed Jan 20, 2022
1 parent 230d379 commit 4fa20a4
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 53 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.{diff,md}]
trim_trailing_whitespace = false

[*.{php,xml,json}]
indent_size = 4
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.gitattributes export-ignore
.gitignore export-ignore
.gitmodules export-ignore
.github export-ignore
.travis export-ignore
.travis.yml export-ignore
.editorconfig export-ignore
.styleci.yml export-ignore

phpunit.xml export-ignore
tests export-ignore

js/dist/* -diff
js/dist/* linguist-generated
js/dist-typings/* linguist-generated
js/yarn.lock -diff

* text=auto eol=lf
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/vendor
composer.lock
composer.phar

.DS_Store
Thumbs.db
tests/.phpunit.result.cache
/tests/integration/tmp
.vagrant
.idea/*
.vscode
js/coverage-ts
14 changes: 14 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
preset: recommended

enabled:
- logical_not_operators_with_successor_space

disabled:
- align_double_arrow
- blank_line_after_opening_tag
- multiline_array_trailing_comma
- new_with_braces
- phpdoc_align
- phpdoc_order
- phpdoc_separation
- phpdoc_types
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

![](https://extiverse.com/extension/flarum-lang/vietnamese/open-graph-image)

Gói ngôn ngữ tiếng Việt cho diễn đàn [Flarum](https://flarum.org) cùng với một số tiện ích mở rộng chính thức và bên thứ ba. Đây là bản phát hành đầu tiên, sẽ có các bản cập nhật tiếp theo để sửa các lỗi dịch chưa sát nghĩa ^^.
Gói ngôn ngữ tiếng Việt cho diễn đàn [Flarum](https://flarum.org) cùng với một số tiện ích mở rộng chính thức và bên thứ ba.

### Cài đặt (Installation)
Cài đặt bằng composer:
Expand All @@ -23,7 +23,7 @@ php flarum cache:clear
```

### Yêu cầu phiên bản (Required version)
- Khả dụng Flarum v1.0.0 (compatible with Flarum v1.0.0)
- Khả dụng Flarum v1.2 (compatible with Flarum v1.2)

### Tiện ích được hỗ trợ (Extentions supported)

Expand Down
120 changes: 69 additions & 51 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,74 @@
{
"name": "flarum-lang/vietnamese",
"description": "Vietnamese language pack for Flarum",
"type": "flarum-extension",
"keywords": ["extension", "flarum", "vietnamese", "locale", "translation"],
"license": "MIT",
"authors": [
{
"name": "Ngo Quoc Dat (datlechin)",
"email": "[email protected]",
"role": "Translator",
"homepage": "https://vieit.net"
}
],
"support": {
"issues": "https://github.com/flarum-lang/vietnamese/issues",
"source": "https://github.com/flarum-lang/vietnamese",
"forum": "https://discuss.flarum.org/d/28471"
},
"homepage": "https://vieit.net",
"funding": [
{
"type": "website",
"url": "https://nhantien.momo.vn/0372124043"
}
],
"require": {
"flarum/core": "^1.0.0"
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
},
"flarum-extension": {
"title": "Vietnamese",
"category": "language",
"info": {
"website": "https://vieit.net",
"support": "https://discuss.flarum.org/d/28471"
},
"icon": {
"image": "icon.svg",
"backgroundColor": "#00247d",
"backgroundSize": "cover",
"backgroundPosition": "center"
}
"name": "flarum-lang/vietnamese",
"description": "Vietnamese language pack for Flarum",
"type": "flarum-extension",
"keywords": [
"extension",
"flarum",
"vietnamese",
"locale",
"translation"
],
"license": "MIT",
"authors": [
{
"name": "Ngo Quoc Dat (datlechin)",
"email": "[email protected]",
"role": "Translator",
"homepage": "https://ngoquocdat.com"
}
],
"support": {
"issues": "https://github.com/flarum-lang/vietnamese/issues",
"source": "https://github.com/flarum-lang/vietnamese",
"forum": "https://discuss.flarum.org/d/28471"
},
"flarum-locale": {
"code": "vi",
"title": "Tiếng Việt"
"homepage": "https://ngoquocdat.com",
"funding": [
{
"type": "website",
"url": "https://nhantien.momo.vn/0372124043"
}
],
"require": {
"flarum/core": "^1.2"
},
"extiverse": {
"discuss": "https://discuss.flarum.org/d/28471"
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
},
"flarum-extension": {
"title": "Vietnamese",
"category": "language",
"icon": {
"image": "icon.svg",
"backgroundColor": "#00247d",
"backgroundSize": "cover",
"backgroundPosition": "center"
}
},
"flarum-locale": {
"code": "vi",
"title": "Tiếng Việt"
},
"extiverse": {
"discuss": "https://discuss.flarum.org/d/28471"
},
"flarum-cli": {
"modules": {
"admin": false,
"forum": false,
"js": false,
"jsCommon": false,
"gitConf": true,
"githubActions": true,
"prettier": false,
"typescript": false,
"bundlewatch": false,
"backendTesting": false,
"editorConfig": true,
"styleci": true
}
}
}
}
}

0 comments on commit 4fa20a4

Please sign in to comment.