Skip to content

Commit

Permalink
Merge pull request #10 from Laravel-Lang/main
Browse files Browse the repository at this point in the history
fork sync
  • Loading branch information
makowskid authored Aug 30, 2024
2 parents 7659119 + cf53eb1 commit 0010221
Show file tree
Hide file tree
Showing 229 changed files with 14,094 additions and 355 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ updates:
directory: /
schedule:
interval: daily
labels:
- dependabot
15 changes: 15 additions & 0 deletions .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Close Stale Issues and PRs

on:
schedule:
- cron: 34 0 * * *
workflow_dispatch:

permissions:
issues: write
pull-requests: write

jobs:
stale:
name: Close Stale
uses: Laravel-Lang/.github/.github/workflows/close-stale-issues.yml@main
18 changes: 2 additions & 16 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,5 @@ permissions: write-all

jobs:
style:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Check the code style
uses: TheDragonCode/codestyler@v3
if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/main' }}

- name: Fix the code style
uses: TheDragonCode/codestyler@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.COMPOSER_TOKEN }}
fix: true
name: Code Style
uses: Laravel-Lang/.github/.github/workflows/code-style.yml@main
24 changes: 24 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Documentation

on:
release:
push:
branches:
- main

permissions: write-all

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Generate docs trigger
uses: myrotvorets/trigger-repository-dispatch-action@v2.0.2
with:
token: ${{ secrets.COMPOSER_TOKEN }}
repo: Laravel-Lang/docs
type: docs
12 changes: 12 additions & 0 deletions .github/workflows/locales.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Add Locales

on:
schedule:
- cron: 29 1 * * *
workflow_dispatch:

permissions: write-all

jobs:
missing:
uses: Laravel-Lang/.github/.github/workflows/locales.yml@main
3 changes: 3 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
release:
types:
- unpublished
workflow_dispatch:

jobs:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/statuses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Translation Status

on:
push:
branches:
- main
workflow_dispatch:

permissions: write-all

jobs:
create:
uses: Laravel-Lang/.github/.github/workflows/statuses.yml@main
13 changes: 13 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Synchronization

on:
push:
branches:
- main
workflow_dispatch:

permissions: write-all

jobs:
create:
uses: Laravel-Lang/.github/.github/workflows/sync.yml@main
14 changes: 10 additions & 4 deletions .github/workflows/phpunit.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: phpunit
name: Tests

on: [ push, pull_request ]
on:
push:
branches-ignore:
- 'projects/**'
pull_request:
branches-ignore:
- 'projects/**'

permissions: read-all

Expand All @@ -12,7 +18,7 @@ jobs:
fail-fast: true
matrix:
php: [ "8.1", "8.2", "8.3" ]
publisher: [ "14.0", "15.0" ]
publisher: [ "14.0", "15.0", "16.0" ]

name: PHP ${{ matrix.php }}, Publisher ${{ matrix.publisher }}

Expand All @@ -24,7 +30,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv, json
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
coverage: xdebug
env:
COMPOSER_TOKEN: ${{ secrets.COMPOSER_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: translate
name: Machine Translation

on:
schedule:
- cron: 0 0 * * *
#schedule:
# - cron: 17 1 1,15 * *
workflow_dispatch:

permissions: write-all
Expand Down
91 changes: 0 additions & 91 deletions .github/workflows/update.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Laravel-Lang Team
Copyright (c) 2024 Laravel-Lang Team

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,26 @@

## Documentation

See the [documentation](https://laravel-lang.com) for detailed installation.
See the [documentation](https://laravel-lang.com/packages-attributes.html) for detailed installation.

## Communication

We also have official [chats](https://t.me/addlist/l0XGtvEIBiljMTMy) in Telegram.

## Contributing

Please see [CONTRIBUTING](https://laravel-lang.com/contributing.html) for details.
Please see [CONTRIBUTING](https://laravel-lang.com/contributions.html) for details.

## Support Us

❤️ Laravel Lang? Please consider supporting our collective on [Boosty](https://boosty.to/laravel-lang).

## License

This package is licensed under the [MIT License][link_license].
This package is licensed under the [MIT License](https://laravel-lang.com/license.html).


[badge_build]: https://img.shields.io/github/actions/workflow/status/laravel-lang/attributes/phpunit.yml?style=flat-square
[badge_build]: https://img.shields.io/github/actions/workflow/status/laravel-lang/attributes/tests.yml?style=flat-square

[badge_downloads]: https://img.shields.io/packagist/dt/laravel-lang/attributes.svg?style=flat-square

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "laravel-lang/attributes",
"description": "List of 78 languages for form field names",
"description": "List of 126 languages for form field names",
"license": "MIT",
"type": "library",
"keywords": [
Expand All @@ -27,12 +27,12 @@
"require": {
"php": "^8.1",
"ext-json": "*",
"laravel-lang/publisher": "^14.0 || ^15.0"
"laravel-lang/publisher": "^14.0 || ^15.0 || ^16.0"
},
"require-dev": {
"laravel-lang/status-generator": "^1.19 || ^2.0",
"phpunit/phpunit": "^10.0",
"symfony/var-dumper": "^6.0"
"symfony/var-dumper": "^6.0 || ^7.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
Expand Down
Loading

0 comments on commit 0010221

Please sign in to comment.