-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Escalade Deploy Alpha | ||
|
||
env: | ||
module_app: app | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
tags: | ||
- "*" | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: main | ||
fetch-depth: 0 #To Fetch All Tags and Branches | ||
|
||
- name: Install Dependencies | ||
uses: php-actions/composer@v6 | ||
with: | ||
dev: no | ||
|
||
########################################## | ||
# Push / Pull translation files # | ||
########################################## | ||
# Push Transifex | ||
- name: Push source file using transifex client | ||
uses: transifex/cli-action@v2 | ||
with: | ||
args: push | ||
token: ${{ secrets.TX_TOKEN }} | ||
|
||
# Clean Transifex CLI | ||
- name: Clean Transifex CLI | ||
run: rm -fr /tmp/tx | ||
|
||
# Pull from Transifex | ||
- name: Pull source file using transifex client | ||
uses: transifex/cli-action@v2 | ||
with: | ||
args: pull | ||
token: ${{ secrets.TX_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ dist/ | |
vendor/ | ||
.gh_token | ||
*.min.* | ||
|
||
.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[main] | ||
host = https://www.transifex.com | ||
lang_map = es_ES: es-rES, ar_SA: ar-rSA, it_IT: it-rIT, eu_ES: eu-rES, fr_FR: fr-rFR, he_IL: he-rIL, pl_PL: pl-rPL, es_AR: es-rAR, th_TH: th-rTH, pt_BR: pt-rBR, fr: fr, gl_ES: gl-rES, es: es, zh_CN: zh-rCN, ja: ja, ja_JP: ja-rJP, nl_NL: nl-rNL, ko_KR: ko-rKR, cs_CZ: cs-rCZ, hi_IN: hi-rIN, es_MX: es-rMX, en_GB: en-rGB, ca_ES: ca-rES, de_DE: de-rDE, ru_RU: ru-rRU, hu_Hu: hu-rHU, ur_PK: ur-rPK, ar_EG: ar-rEG | ||
|
||
[o:teclib:p:glpi-project-plugin-escalade:r:escalade-pot] | ||
file_filter = locales/<lang>.po | ||
source_file = locales/escalade.pot | ||
source_lang = en | ||
type = PO | ||
source_lang = en | ||
type = PO | ||
replace_edited_strings = false | ||
keep_translations = false |