Skip to content

Commit 496daad

Browse files
committed
👷 Delete french translations to test PR job
1 parent ff0ffe5 commit 496daad

File tree

2 files changed

+5
-36
lines changed

2 files changed

+5
-36
lines changed

.github/workflows/i18n.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,28 +48,14 @@ jobs:
4848
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4949
run: ./gradlew generateTranslations
5050

51-
- name: Check for changes
52-
run: |
53-
if [[ -n "$(git status --porcelain)" ]]; then
54-
echo "Changes detected."
55-
git config user.name "github-actions[bot]"
56-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
57-
git checkout -b update-translations
58-
git add .
59-
git commit -m "Update translations"
60-
else
61-
echo "No changes detected."
62-
echo "::set-output name=changes::false"
63-
fi
64-
id: changes-check
65-
6651
- name: Create Pull Request
6752
if: steps.changes-check.outputs.changes != 'false'
6853
uses: peter-evans/create-pull-request@v5
6954
with:
70-
branch: update-translations
71-
title: "Update Translations"
72-
body: |
73-
This PR updates the translations by running `./gradlew updateStringsXml` and `./gradlew generateTranslations`.
55+
token: ${{ secrets.GITHUB_TOKEN }}
56+
title: "Update Translations ${{ github.event.pull_request.number }}"
57+
body: "Update Translations ${{ github.event.pull_request.number }}"
58+
branch: i18n-${{ github.event.pull_request.number }}
59+
base: main
7460
labels: |
7561
translations
Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<string name="app_name">app_name</string>
4-
<string name="Flash">Flash</string>
5-
<string name="OFF">DÉSACTIVÉ</string>
6-
<string name="ON">ACTIVÉ</string>
7-
<string name="AUTO">AUTO</string>
8-
<string name="Flash_Off">Flash désactivé</string>
9-
<string name="Flash_On">Flash activé</string>
10-
<string name="Flash_Auto">Flash auto</string>
11-
<string name="_16_9">16:9</string>
12-
<string name="_4_3">4:3</string>
13-
<string name="FULL">PLEIN</string>
14-
<string name="Zoom">Zoom</string>
15-
<string name="Capture">Capturer</string>
16-
<string name="Smart">Intelligent</string>
17-
<string name="Volume_Control_Mode">Mode de contrôle du volume</string>
18-
<string name="video">vidéo</string>
19-
<string name="QR_Scanner">Lecteur QR</string>
20-
<string name="Aspect_Ratio">Ratio d\'aspect</string>
214
</resources>

0 commit comments

Comments
 (0)