Skip to content

Commit

Permalink
Merge branch 'main' into plugin-fields-advanced-compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurMinfotel authored Sep 19, 2024
2 parents 5525a07 + 4291b01 commit 28cb748
Show file tree
Hide file tree
Showing 28 changed files with 2,052 additions and 1,221 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/locales-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Synchronize locales"

on:
schedule:
- cron: "0 0 * * 1-5"
workflow_dispatch:

jobs:
sync-with-transifex:
name: "Sync with transifex"
uses: "glpi-project/plugin-translation-workflows/.github/workflows/transifex-sync.yml@v1"
secrets:
github-token: "${{ secrets.LOCALES_SYNC_TOKEN }}"
transifex-token: "${{ secrets.TRANSIFEX_TOKEN }}"
13 changes: 13 additions & 0 deletions .github/workflows/locales-update-source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Update locales sources"

on:
push:
branches:
- "main"

jobs:
push-on-transifex:
name: "Push locales sources"
uses: "glpi-project/plugin-translation-workflows/.github/workflows/transifex-push-sources.yml@v1"
secrets:
transifex-token: "${{ secrets.TRANSIFEX_TOKEN }}"
2 changes: 1 addition & 1 deletion .tx/config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[main]
host = https://www.transifex.com

[o:teclib:p:glpi-plugin-uninstall:r:uninstall-pot]
[o:teclib:p:glpi-project-plugin-uninstall:r:uninstall-pot]
file_filter = locales/<lang>.po
source_file = locales/uninstall.pot
source_lang = en
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"require-dev": {
"glpi-project/tools": "^0.7.3",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan": "^1.12",
"squizlabs/php_codesniffer": "^3.10"
},
"config": {
Expand Down
145 changes: 111 additions & 34 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified locales/cs_CZ.mo
Binary file not shown.
Loading

0 comments on commit 28cb748

Please sign in to comment.