Skip to content

Commit 7d69561

Browse files
fix: trends modal should show the facet in the title (#1508)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 1aa9b6b commit 7d69561

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+248
-194
lines changed

app/components/Package/Versions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
10341034
<!-- Version Distribution Modal -->
10351035
<PackageChartModal
10361036
v-if="isDistributionModalOpen"
1037-
:title="$t('package.versions.distribution_modal_title')"
1037+
:modal-title="$t('package.versions.distribution_modal_title')"
10381038
@close="closeDistributionModal"
10391039
@transitioned="handleDistributionModalTransitioned"
10401040
>

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ const config = computed(() => {
264264
type="button"
265265
@click="openChartModal"
266266
class="text-fg-subtle hover:text-fg transition-colors duration-200 inline-flex items-center justify-center min-w-6 min-h-6 -m-1 p-1 focus-visible:outline-accent/70 rounded"
267-
:title="$t('package.downloads.analyze')"
267+
:title="$t('package.trends.title')"
268268
classicon="i-lucide:chart-line"
269269
>
270-
<span class="sr-only">{{ $t('package.downloads.analyze') }}</span>
270+
<span class="sr-only">{{ $t('package.trends.title') }}</span>
271271
</ButtonBase>
272272
<span v-else-if="isLoadingWeeklyDownloads" class="min-w-6 min-h-6 -m-1 p-1" />
273273
</template>
@@ -312,7 +312,7 @@ const config = computed(() => {
312312

313313
<PackageChartModal
314314
v-if="isChartModalOpen && hasWeeklyDownloads"
315-
:title="modalTitle"
315+
:modal-title="modalTitle"
316316
@close="handleModalClose"
317317
@transitioned="handleModalTransitioned"
318318
>

i18n/locales/ar.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@
371371
},
372372
"downloads": {
373373
"title": "التنزيلات الأسبوعية",
374-
"analyze": "تحليل التنزيلات",
375374
"community_distribution": "عرض توزيع تبنّي المجتمع"
376375
},
377376
"install_scripts": {

i18n/locales/az-AZ.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,7 @@
242242
"items": {}
243243
},
244244
"downloads": {
245-
"title": "Həftəlik Endirmələr",
246-
"analyze": "Endirmələri təhlil et"
245+
"title": "Həftəlik Endirmələr"
247246
},
248247
"install_scripts": {
249248
"title": "Quraşdırma Skriptləri",
@@ -666,6 +665,7 @@
666665
"managers": "var"
667666
}
668667
},
668+
"team": {},
669669
"contributors": {
670670
"title": "Əməkdaşlar",
671671
"description": "npmx tam açıq mənbəlidir, möhtəşəm əməkdaşlar icması tərəfindən hazırlanır. Bizə qoşulun və həmişə istədiyimiz npm baxış təcrübəsini birlikdə quraq.",
@@ -753,5 +753,11 @@
753753
"your_rights": {},
754754
"contact": {},
755755
"changes": {}
756+
},
757+
"a11y": {
758+
"approach": {},
759+
"measures": {},
760+
"limitations": {},
761+
"contact": {}
756762
}
757763
}

i18n/locales/bg-BG.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@
359359
},
360360
"downloads": {
361361
"title": "Седмични изтегляния",
362-
"analyze": "Анализ на изтеглянията",
363362
"community_distribution": "Преглед на разпределението на приемането от общността"
364363
},
365364
"install_scripts": {

i18n/locales/bn-IN.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@
271271
"items": {}
272272
},
273273
"downloads": {
274-
"title": "সাপ্তাহিক ডাউনলোড",
275-
"analyze": "ডাউনলোড বিশ্লেষণ করুন"
274+
"title": "সাপ্তাহিক ডাউনলোড"
276275
},
277276
"install_scripts": {
278277
"title": "ইনস্টল স্ক্রিপ্ট",
@@ -702,6 +701,7 @@
702701
"managers": "ম্যানেজার"
703702
}
704703
},
704+
"team": {},
705705
"contributors": {
706706
"title": "অবদানকারী",
707707
"description": "npmx সম্পূর্ণ ওপেন সোর্স, অসাধারণ অবদানকারীদের কমিউনিটি দ্বারা নির্মিত। আমাদের সাথে যোগ দিন এবং একসাথে আমাদের সবসময় চাওয়া npm ব্রাউজিং অভিজ্ঞতা তৈরি করি।",
@@ -847,5 +847,11 @@
847847
"your_rights": {},
848848
"contact": {},
849849
"changes": {}
850+
},
851+
"a11y": {
852+
"approach": {},
853+
"measures": {},
854+
"limitations": {},
855+
"contact": {}
850856
}
851857
}

i18n/locales/cs-CZ.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,7 @@
277277
"items": {}
278278
},
279279
"downloads": {
280-
"title": "Týdenní stažení",
281-
"analyze": "Analyzovat stažení"
280+
"title": "Týdenní stažení"
282281
},
283282
"install_scripts": {
284283
"title": "Instalační skripty",
@@ -717,6 +716,7 @@
717716
"managers": "správce balíčků"
718717
}
719718
},
719+
"team": {},
720720
"contributors": {
721721
"title": "Přispěvatelé | {count} přispěvatelé | {count} přispěvatelů",
722722
"description": "npmx je plně open source, postavený úžasnou komunitou přispěvatelů. Přidejte se k nám a společně vytvořme npm prohlížeč, jaký jsme vždy chtěli.",
@@ -908,5 +908,11 @@
908908
"your_rights": {},
909909
"contact": {},
910910
"changes": {}
911+
},
912+
"a11y": {
913+
"approach": {},
914+
"measures": {},
915+
"limitations": {},
916+
"contact": {}
911917
}
912918
}

i18n/locales/de-DE.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@
369369
},
370370
"downloads": {
371371
"title": "Wöchentliche Downloads",
372-
"analyze": "Downloads analysieren",
373372
"community_distribution": "Community-Adoptionsverteilung ansehen"
374373
},
375374
"install_scripts": {

i18n/locales/en.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@
371371
},
372372
"downloads": {
373373
"title": "Weekly Downloads",
374-
"analyze": "Analyze downloads",
375374
"community_distribution": "View community adoption distribution"
376375
},
377376
"install_scripts": {

i18n/locales/es.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@
367367
},
368368
"downloads": {
369369
"title": "Descargas Semanales",
370-
"analyze": "Analizar descargas",
371370
"community_distribution": "Ver distribución de adopción comunitaria"
372371
},
373372
"install_scripts": {

0 commit comments

Comments
 (0)