Skip to content

Commit 2a2783c

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents f063935 + 29d409f commit 2a2783c

File tree

14 files changed

+84
-175
lines changed

14 files changed

+84
-175
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/composer-normalize.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77

88
jobs:
99
normalize:
10+
timeout-minutes: 1
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: Git checkout
1314
uses: actions/checkout@v2
1415

15-
- name: normalize composer.json
16+
- name: Validate Composer configuration
17+
run: composer validate --strict
18+
19+
- name: Normalize composer.json
1620
run: |
1721
composer global require ergebnis/composer-normalize
1822
composer normalize
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: normalize markdown
2+
3+
on:
4+
push:
5+
paths:
6+
- '*.md'
7+
8+
jobs:
9+
normalize:
10+
timeout-minutes: 1
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Git checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Prettify markdown
17+
uses: creyD/[email protected]
18+
with:
19+
prettier_options: --write **/*.md

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 76 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![Code Climate](https://img.shields.io/codeclimate/maintainability/Astrotomic/laravel-translatable.svg?label=CodeClimate&logoColor=white&logo=code-climate&style=flat-square)](https://codeclimate.com/github/Astrotomic/laravel-translatable)
1111
[![Codecov Coverage](https://img.shields.io/codecov/c/github/Astrotomic/laravel-translatable?logo=codecov&logoColor=white&label=Codecov&style=flat-square)](https://codecov.io/gh/Astrotomic/laravel-translatable)
1212

13-
[![Total Downloads](https://img.shields.io/packagist/dt/astrotomic/laravel-translatable.svg?label=Downloads&style=flat-square)](https://packagist.org/packages/astrotomic/laravel-translatable)
13+
[![Total Downloads](https://img.shields.io/packagist/dt/astrotomic/laravel-translatable.svg?label=Downloads&style=flat-square)](https://packagist.org/packages/astrotomic/laravel-translatable)
1414
[![GitBook](https://img.shields.io/badge/GitBook-Astrotomic-7e57c2.svg?style=flat-square)](https://docs.astrotomic.info/laravel-translatable)
1515
[![Open Collective](https://img.shields.io/opencollective/all/astrotomic?label=Open%20Collective&style=flat-square)](https://opencollective.com/astrotomic)
1616

@@ -71,21 +71,21 @@ echo $post->translate('fr')->title; // Mon premier post
7171

7272
## Tutorials
7373

74-
* [How To Add Multilingual Support to Eloquent](https://laravel-news.com/how-to-add-multilingual-support-to-eloquent)
75-
* [How To Build An Efficient and SEO Friendly Multilingual Architecture For Your Laravel Application](https://mydnic.be/post/how-to-build-an-efficient-and-seo-friendly-multilingual-architecture-for-your-laravel-application)
76-
* [How to Add Multi-Language Models to Laravel QuickAdminPanel](https://quickadminpanel.com/blog/how-to-add-multi-language-models-to-laravel-quickadminpanel/)
74+
- [How To Add Multilingual Support to Eloquent](https://laravel-news.com/how-to-add-multilingual-support-to-eloquent)
75+
- [How To Build An Efficient and SEO Friendly Multilingual Architecture For Your Laravel Application](https://mydnic.be/post/how-to-build-an-efficient-and-seo-friendly-multilingual-architecture-for-your-laravel-application)
76+
- [How to Add Multi-Language Models to Laravel QuickAdminPanel](https://quickadminpanel.com/blog/how-to-add-multi-language-models-to-laravel-quickadminpanel/)
7777

7878
## Changelog
7979

8080
Please see [CHANGELOG](docs/changelog.md) for more information on what has changed recently.
8181

8282
## Contributing
8383

84-
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
84+
Please see [CONTRIBUTING](https://github.com/Astrotomic/.github/blob/master/CONTRIBUTING.md) for details. You could also be interested in [CODE OF CONDUCT](https://github.com/Astrotomic/.github/blob/master/CODE_OF_CONDUCT.md).
8585

8686
### Security
8787

88-
Please see [SECURITY](SECURITY.md) for details.
88+
If you discover any security related issues, please check [SECURITY](https://github.com/Astrotomic/.github/blob/master/SECURITY.md) for steps to report it.
8989

9090
## Credits
9191

@@ -96,11 +96,11 @@ Please see [SECURITY](SECURITY.md) for details.
9696

9797
## Versions
9898

99-
| Package | Laravel | PHP |
100-
| :--- | :--- | :--- |
101-
| **v11.6 - v11.8** | `5.8.* / 6.* / 7.*` | `>=7.2` |
99+
| Package | Laravel | PHP |
100+
| :---------------- | :---------------------------- | :-------- |
101+
| **v11.6 - v11.8** | `5.8.* / 6.* / 7.*` | `>=7.2` |
102102
| **v11.4 - v11.5** | `5.6.* / 5.7.* / 5.8.* / 6.*` | `>=7.1.3` |
103-
| **v11.0 - v11.3** | `5.6.* / 5.7.* / 5.8.*` | `>=7.1.3` |
103+
| **v11.0 - v11.3** | `5.6.* / 5.7.* / 5.8.*` | `>=7.1.3` |
104104

105105
## Treeware
106106

@@ -110,4 +110,4 @@ It’s now common knowledge that one of the best tools to tackle the climate cri
110110

111111
You can buy trees at [offset.earth/treeware](https://plant.treeware.earth/Astrotomic/laravel-translatable)
112112

113-
Read more about Treeware at https://treeware.earth
113+
Read more about Treeware at [treeware.earth](https://treeware.earth)

SECURITY.md

Lines changed: 0 additions & 19 deletions
This file was deleted.
177 KB
Loading

docs/README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
# Introduction
22

3-
[![Latest Version](http://img.shields.io/packagist/v/astrotomic/laravel-translatable.svg?label=Release&style=for-the-badge)](https://packagist.org/packages/astrotomic/laravel-translatable)
4-
[![MIT License](https://img.shields.io/github/license/Astrotomic/laravel-translatable.svg?label=License&color=blue&style=for-the-badge)](https://github.com/Astrotomic/laravel-translatable/blob/master/LICENSE)
5-
[![Offset Earth](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-green?style=for-the-badge)](https://plant.treeware.earth/Astrotomic/laravel-translatable)
3+
[![Latest Version](http://img.shields.io/packagist/v/astrotomic/laravel-translatable.svg?label=Release&style=for-the-badge)](https://packagist.org/packages/astrotomic/laravel-translatable) [![MIT License](https://img.shields.io/github/license/Astrotomic/laravel-translatable.svg?label=License&color=blue&style=for-the-badge)](https://github.com/Astrotomic/laravel-translatable/blob/master/LICENSE) [![Offset Earth](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-green?style=for-the-badge)](https://plant.treeware.earth/Astrotomic/laravel-translatable)
64

7-
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Astrotomic/laravel-translatable/run-tests?style=flat-square&logoColor=white&logo=github&label=Tests)](https://github.com/Astrotomic/laravel-translatable/actions?query=workflow%3Arun-tests)
8-
[![StyleCI](https://styleci.io/repos/192333549/shield)](https://styleci.io/repos/192333549)
9-
[![ScrutinizerCI](https://img.shields.io/scrutinizer/quality/g/Astrotomic/laravel-translatable/master.svg?label=Scrutinizer&logoColor=white&logo=scrutinizer-ci&style=flat-square)](https://scrutinizer-ci.com/g/Astrotomic/laravel-translatable/)
10-
[![Code Climate](https://img.shields.io/codeclimate/maintainability/Astrotomic/laravel-translatable.svg?label=CodeClimate&logoColor=white&logo=code-climate&style=flat-square)](https://codeclimate.com/github/Astrotomic/laravel-translatable)
11-
[![Codecov Coverage](https://img.shields.io/codecov/c/github/Astrotomic/laravel-translatable?logo=codecov&logoColor=white&label=Codecov&style=flat-square)](https://codecov.io/gh/Astrotomic/laravel-translatable)
12-
[![Total Downloads](https://img.shields.io/packagist/dt/astrotomic/laravel-translatable.svg?label=Downloads&style=flat-square)](https://packagist.org/packages/astrotomic/laravel-translatable)
5+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Astrotomic/laravel-translatable/run-tests?style=flat-square&logoColor=white&logo=github&label=Tests)](https://github.com/Astrotomic/laravel-translatable/actions?query=workflow%3Arun-tests) [![StyleCI](https://styleci.io/repos/192333549/shield)](https://styleci.io/repos/192333549) [![ScrutinizerCI](https://img.shields.io/scrutinizer/quality/g/Astrotomic/laravel-translatable/master.svg?label=Scrutinizer&logoColor=white&logo=scrutinizer-ci&style=flat-square)](https://scrutinizer-ci.com/g/Astrotomic/laravel-translatable/) [![Code Climate](https://img.shields.io/codeclimate/maintainability/Astrotomic/laravel-translatable.svg?label=CodeClimate&logoColor=white&logo=code-climate&style=flat-square)](https://codeclimate.com/github/Astrotomic/laravel-translatable) [![Codecov Coverage](https://img.shields.io/codecov/c/github/Astrotomic/laravel-translatable?logo=codecov&logoColor=white&label=Codecov&style=flat-square)](https://codecov.io/gh/Astrotomic/laravel-translatable) [![Total Downloads](https://img.shields.io/packagist/dt/astrotomic/laravel-translatable.svg?label=Downloads&style=flat-square)](https://packagist.org/packages/astrotomic/laravel-translatable)
136

14-
![Laravel Translatable](.gitbook/assets/laravel-translatable-2-1.png)
7+
![Laravel Translatable](.gitbook/assets/laravel-translatable-2-1%20%281%29.png)
158

169
**If you want to store translations of your models into the database, this package is for you.**
1710

@@ -72,10 +65,10 @@ echo $post->translate('fr')->title; // Mon premier post
7265

7366
## Credits
7467

75-
- [Tom Witkowski](https://github.com/Gummibeer)
76-
- [Dimitrios Savvopoulos](https://github.com/dimsav)
77-
- [David Llop](https://github.com/Lloople)
78-
- [All Contributors](https://github.com/Astrotomic/laravel-translatable/graphs/contributors)
68+
* [Tom Witkowski](https://github.com/Gummibeer)
69+
* [Dimitrios Savvopoulos](https://github.com/dimsav)
70+
* [David Llop](https://github.com/Lloople)
71+
* [All Contributors](https://github.com/Astrotomic/laravel-translatable/graphs/contributors)
7972

8073
## Versions
8174

@@ -93,4 +86,5 @@ It’s now common knowledge that one of the best tools to tackle the climate cri
9386

9487
You can buy trees at [https://offset.earth/treeware](https://plant.treeware.earth/Astrotomic/laravel-translatable)
9588

96-
Read more about Treeware at https://treeware.earth
89+
Read more about Treeware at [https://treeware.earth](https://treeware.earth)
90+

docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
* Drop PHP 7.1 support
2828
* Drop Laravel 5.6 & 5.7 support
29-
* Add PHP side translation cascade deletion - [\#98](https://github.com/Astrotomic/laravel-translatable/pull/98) (_disabled by default_)
29+
* Add PHP side translation cascade deletion - [\#98](https://github.com/Astrotomic/laravel-translatable/pull/98) \(_disabled by default_\)
3030

3131
### v11.5.2
3232

0 commit comments

Comments
 (0)