Skip to content

Commit ac01791

Browse files
committed
Update templates and the sync workflow to match new labels
1 parent e389802 commit ac01791

5 files changed

Lines changed: 32 additions & 9 deletions

File tree

‎.github/ISSUE_TEMPLATE/glossary_searcher_bug.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: اشکال در واژه‌یاب
33
about: گزارش مشکل یا رفتار نادرست در ابزار واژه‌یاب
44
title: "[واژه‌یاب] "
5-
labels: bug
5+
labels: اشکال
66
assignees: ''
77
---
88

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: پیشنهاد تغییرات در واژه‌یاب
3+
about: پیشنهاد ویژگی یا تغییرات در واژه‌یاب مستندات
4+
title: "[واژه‌یاب] "
5+
labels: پیشنهاد
6+
assignees: ''
7+
---
8+
9+
<!-- لطفا مطمئن شوید که از قبل برای مورد پیشنهادی شما ایشویی باز نباشد. -->
10+
11+
## تغییر پیشنهادی
12+
13+
<!-- لطفا تغییر پیشنهادی خود را کامل توضیح دهید. -->
14+
15+
## این پیشنهاد چه مشکلی را حل میکند؟
16+
17+
<!-- لطفا توضیح دهید که این پیشنهاد چه کاری انجام میدهد که در حالت فعلی واژه‌نامه قابل انجام نیست. -->
18+
19+
## اطلاعات بیشتر
20+
21+
<!--
22+
هر اطلاعات اضافه مرتبط به این پیشنهاد را در اینجا قرار دهید.
23+
-->
24+
25+
## آیین‌نامه رفتاری
26+
27+
- [ ] می‌پذیرم که از [آیین‌نامه‌ی رفتاری PSF](https://www.python.org/psf/conduct/) پیروی کنم.

‎.github/ISSUE_TEMPLATE/translation_bug.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: اشکال در ترجمه
33
about: گزارش نادرستی یا خطا در ترجمه‌ی یک صفحه
44
title: "[ترجمه] "
5-
labels: bug
5+
labels: اشکال
66
assignees: ''
77
---
88

.github/ISSUE_TEMPLATE/suggestion.md renamed to .github/ISSUE_TEMPLATE/translation_suggestion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: پیشنهاد تغییرات در ترجمه
33
about: پیشنهاد تغییر در ترجمه‌ی یک واژه، یک شیوه‌ی نگارشی، یا افزودن واژه‌ای به واژه‌نامه
4-
title: "[پیشنهاد] "
5-
labels: suggestion
4+
title: "[ترجمه] "
5+
labels: پیشنهاد
66
assignees: ''
77
---
88

‎.github/workflows/sync-with-cpython.yml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,11 @@ jobs:
124124
run: |
125125
report="$RUNNER_TEMP/report.md"
126126
if [ -s "$report" ]; then
127-
gh label create "translation" \
128-
--color "0075ca" \
129-
--description "Translation review needed" \
130-
--repo "${{ github.repository }}" 2>/dev/null || true
131127
echo "Triggered by sync with \`$CPYTHON_TAG\` (commit $(git rev-parse --short HEAD))." >> "$report"
132128
gh issue create \
133129
--title "🔍 Translation review needed after CPython sync ($(date +%Y-%m-%d))" \
134130
--body-file "$report" \
135-
--label "translation" \
131+
--label "تغییرات خودکار در ترجمه‌ها" \
136132
--repo "${{ github.repository }}"
137133
fi
138134

0 commit comments

Comments
 (0)