Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
feat(i18n): Use symfony/translation and JSON format for locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhilip committed Sep 29, 2019
1 parent ae612e0 commit 02cc251
Show file tree
Hide file tree
Showing 14 changed files with 637 additions and 251 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- **Validator:** Upgrade siriusphp/validation to 2.3 (eb039eb)

### Docs
- **Release:** Version 'v0.1.6-alpha' (e5a6e3e)
- **bin:** Add doc for bin/rid-httpd (59e0828)
- **template:** Add git commit hash in `CHANGELOG.md` (76bc527)

Expand Down
30 changes: 0 additions & 30 deletions application/Lang/en.php

This file was deleted.

29 changes: 0 additions & 29 deletions application/Lang/zh_CN.php

This file was deleted.

4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
"phpmailer/phpmailer": "^6.0",
"soundasleep/html2text": "^1.1",
"siriusphp/validation": "^2.3",
"mjohnson/decoda": "^6.12"
"mjohnson/decoda": "^6.12",
"symfony/translation": "^4.3",
"symfony/config": "^4.3"
},
"require-dev": {
"eaglewu/swoole-ide-helper": "dev-master"
Expand Down
Loading

0 comments on commit 02cc251

Please sign in to comment.