Skip to content

Commit 250b8f4

Browse files
fix: Use angular style for conventional commits
Many tools take the angular preset as default for conventional commit checks. This means that commit types have to be all lower case. L10n updates do not follow the preset, so they are skipped by ``TriPSs/conventional-changelog-action``. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 parent 7bcdb82 commit 250b8f4

12 files changed

+23
-23
lines changed

translations-app/handleAppTranslations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ do
5454
tx migrate
5555
git add --force .tx/config
5656
rm .tx/config_*
57-
git commit -am "Fix(l10n): Update Transifex configuration" -s || true
57+
git commit -am "fix(l10n): Update Transifex configuration" -s || true
5858
git push
5959

6060
# build POT files
@@ -136,7 +136,7 @@ do
136136

137137
# create git commit and push it
138138
git add l10n/*.js l10n/*.json
139-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
139+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
140140
git push origin $version
141141

142142
echo "done with $version"

translations-desktop/handleDesktopTranslations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ do
4040
tx migrate
4141
git add .tx/config
4242
rm .tx/config_*
43-
git commit -am "Fix(l10n): Update Transifex configuration" -s || true
43+
git commit -am "fix(l10n): Update Transifex configuration" -s || true
4444
git push origin $version
4545

4646
if [[ -f './resources.qrc' ]]; then
@@ -88,7 +88,7 @@ do
8888

8989
# create git commit and push it
9090
git add .
91-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
91+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
9292
git push origin $version
9393
echo "done with $version"
9494
done

translations/handleAppsTranslations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ do
2525
tx migrate
2626
git add .tx/config
2727
rm .tx/config_*
28-
git commit -am "Fix(l10n): Update Transifex configuration" -s || true
28+
git commit -am "fix(l10n): Update Transifex configuration" -s || true
2929
git push
3030

3131

@@ -59,7 +59,7 @@ do
5959
done
6060

6161
# create git commit and push it
62-
git commit -m "Fix(l10n): Update translations from Transifex" -s || true
62+
git commit -m "fix(l10n): Update translations from Transifex" -s || true
6363
git push origin master
6464
echo "done"
6565

translations/handleAppstoreTranslations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pip3 install Django==1.9.8
2121
tx migrate
2222
git add .tx/config
2323
rm .tx/config_*
24-
git commit -am "Fix(l10n): Update Transifex configuration" -s || true
24+
git commit -am "fix(l10n): Update Transifex configuration" -s || true
2525
git push origin master
2626

2727
# push sources
@@ -38,6 +38,6 @@ rm -rf locale/ug/
3838

3939
# create git commit and push it
4040
git add locale/
41-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
41+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
4242
git push origin master
4343
echo "done"

translations/handleChangelogServerTranslations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cd /app
1919
tx migrate
2020
git add .tx/config
2121
rm .tx/config_*
22-
git commit -am "Fix(l10n): Update Transifex configuration" -s || true
22+
git commit -am "fix(l10n): Update Transifex configuration" -s || true
2323
git push
2424
cd -
2525

@@ -34,6 +34,6 @@ php /translationtool/generate-xml.php /app/data/
3434

3535
# create git commit and push it
3636
git add .
37-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
37+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
3838
git push origin master
3939
echo "done"

translations/handleExternalBranchedAndroidTranslations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ git checkout -B $3
1818
tx migrate
1919
git add .tx/config
2020
rm .tx/config_*
21-
git commit -am "Fix(l10n): Update Transifex configuration" -s || true
21+
git commit -am "fix(l10n): Update Transifex configuration" -s || true
2222
git push -f origin $3
2323

2424
# push sources
@@ -35,6 +35,6 @@ fi
3535

3636
# create git commit and push it
3737
git add .
38-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
38+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
3939
git push -f origin $3
4040
echo "done"

translations/handlePlainTranslations.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ do
203203
# create git commit and push it
204204
# if [ $1 = "nextcloud" -a $2 = "talk-android" ]; then
205205
# git add .
206-
# git commit -am "Fix(l10n): Update translations from Transifex" -s || true
207-
# gh pr create -t "Fix(l10n): Update translations from Transifex" --base $version --body ""
206+
# git commit -am "fix(l10n): Update translations from Transifex" -s || true
207+
# gh pr create -t "fix(l10n): Update translations from Transifex" --base $version --body ""
208208
# else
209209
git add .
210-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
210+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
211211
git push origin $version
212212
echo "done"
213213
# fi

translations/handleTranslations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cd /app
1616
tx migrate
1717
git add .tx/config
1818
rm .tx/config_*
19-
git commit -am "Fix(l10n): Update Transifex configuration" -s || true
19+
git commit -am "fix(l10n): Update Transifex configuration" -s || true
2020
git push
2121
cd -
2222

@@ -98,7 +98,7 @@ do
9898
# create git commit and push it
9999
git add apps core lib
100100

101-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
101+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
102102
git push origin $version
103103

104104
echo "done with $version"

translations/handleWindowsPhoneAppTranslations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ tx pull -f -a --minimum-perc=75
2020

2121
# create git commit and push it
2222
git add .
23-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
23+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
2424
git push origin master
2525
echo "done"

translations/handleiOSNotesTranslations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ mv Source/Screens/Settings/de_DE.lproj/Settings.strings Source/Screens/Settings/
4747

4848
# create git commit and push it
4949
git add .
50-
git commit -am "Fix(l10n): Update translations from Transifex" -s || true
50+
git commit -am "fix(l10n): Update translations from Transifex" -s || true
5151
git push origin develop
5252
echo "done"

0 commit comments

Comments
 (0)