feat(ci): add updated language names to the POEditor PR title (#3566)

* refactor(ci): add updated languages to the POEditor PR title

Signed-off-by: Deluan <deluan@navidrome.org>

* refactor(ci): add an author to the PR

Signed-off-by: Deluan <deluan@navidrome.org>

---------

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan Quintão
2024-12-20 18:46:00 -05:00
committed by GitHub
parent 3e47819f7a
commit c11fd9ce28
2 changed files with 16 additions and 2 deletions
+9
View File
@@ -42,3 +42,12 @@ for file in ${I18N_DIR}/*.json; do
echo "Downloading $lang ($code)"
check_lang_diff "$code"
done
# List changed languages to stderr
languages=""
for file in $(git diff --name-only --exit-code | grep json); do
lang=$(jq -r .languageName < "$file")
languages="${languages}$(echo $lang | tr -d '\n'), "
done
echo "${languages%??}" 1>&2