Skip to content

Commit

Permalink
Merge branch 'weblate-app-progress'
Browse files Browse the repository at this point in the history
  • Loading branch information
pljones committed Sep 12, 2023
2 parents 043c15f + 5128e55 commit f9bf6d4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/create-translation-issues.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ fi

LOGGED_IN_AS=$(gh auth status | grep Logged | sed -e 's/^.*Logged in .*as //' -e 's/ ([^)]*)$//')

# shellcheck disable=SC2034 # shellcheck can't know that this will be used with envsubst, so "unused" variable is correct here.
START_DATE=$(date -Idate)

RELEASE=$1
DEADLINE=$2
TYPE=$3
EXTRA_TEXT=${4:-}
MILESTONE="Release ${RELEASE}"
PROJECT=Tracking

# shellcheck disable=SC2034 # shellcheck can't know that this will be used with envsubst, so "unused" variable is correct here.
START_DATE=$(date -Idate)

# Syntax:
# TRANSLATORS_BY_LANG[TYPE_LANG]="github-handle1,github-handle2"
# with TYPE being either app or web and
Expand Down Expand Up @@ -230,6 +230,7 @@ create_translation_issue_for_lang() {
SPLIT_TRANSLATORS=$(sed -re 's/^/@/; s/,/, @/g' <<< "$translators") \
TITLE="$title" \
TRANSLATE_BRANCH=next-release \
START_DATE="$START_DATE" \
envsubst <<< "$body_template"
)

Expand Down

0 comments on commit f9bf6d4

Please sign in to comment.