Skip to content

Commit f9bf6d4

Browse files
committed
Merge branch 'weblate-app-progress'
2 parents 043c15f + 5128e55 commit f9bf6d4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/create-translation-issues.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ fi
5656

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

59-
# shellcheck disable=SC2034 # shellcheck can't know that this will be used with envsubst, so "unused" variable is correct here.
60-
START_DATE=$(date -Idate)
61-
6259
RELEASE=$1
6360
DEADLINE=$2
6461
TYPE=$3
6562
EXTRA_TEXT=${4:-}
6663
MILESTONE="Release ${RELEASE}"
6764
PROJECT=Tracking
6865

66+
# shellcheck disable=SC2034 # shellcheck can't know that this will be used with envsubst, so "unused" variable is correct here.
67+
START_DATE=$(date -Idate)
68+
6969
# Syntax:
7070
# TRANSLATORS_BY_LANG[TYPE_LANG]="github-handle1,github-handle2"
7171
# with TYPE being either app or web and
@@ -230,6 +230,7 @@ create_translation_issue_for_lang() {
230230
SPLIT_TRANSLATORS=$(sed -re 's/^/@/; s/,/, @/g' <<< "$translators") \
231231
TITLE="$title" \
232232
TRANSLATE_BRANCH=next-release \
233+
START_DATE="$START_DATE" \
233234
envsubst <<< "$body_template"
234235
)
235236

0 commit comments

Comments
 (0)