Skip to content

Commit f5303d6

Browse files
committed
naming²
1 parent ccaa0ad commit f5303d6

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

app/components/Package/TrendsChart.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ const chartConfig = computed<VueUiXyConfig>(() => {
16311631
})
16321632
16331633
const isDownloadsMetric = computed(() => selectedMetric.value === 'downloads')
1634-
const showFilterControls = shallowRef(false)
1634+
const showCorrectionControls = shallowRef(false)
16351635
16361636
// Trigger data loading when the metric is switched
16371637
watch(selectedMetric, value => {
@@ -1726,19 +1726,19 @@ watch(selectedMetric, value => {
17261726
<button
17271727
type="button"
17281728
class="self-start flex items-center gap-1 text-2xs font-mono text-fg-subtle hover:text-fg transition-colors"
1729-
@click="showFilterControls = !showFilterControls"
1729+
@click="showCorrectionControls = !showCorrectionControls"
17301730
>
17311731
<span
17321732
class="w-3.5 h-3.5 transition-transform"
1733-
:class="showFilterControls ? 'i-lucide:chevron-down' : 'i-lucide:chevron-right'"
1733+
:class="showCorrectionControls ? 'i-lucide:chevron-down' : 'i-lucide:chevron-right'"
17341734
aria-hidden="true"
17351735
/>
1736-
{{ $t('package.trends.filters') }}
1736+
{{ $t('package.trends.data_correction') }}
17371737
</button>
1738-
<div v-if="showFilterControls" class="flex items-end gap-3">
1738+
<div v-if="showCorrectionControls" class="flex items-end gap-3">
17391739
<label class="flex flex-col gap-1 flex-1">
17401740
<span class="text-2xs font-mono text-fg-subtle tracking-wide uppercase">
1741-
{{ $t('package.trends.average') }}
1741+
{{ $t('package.trends.average_window') }}
17421742
<span class="text-fg-muted">({{ settings.chartFilter.averageWindow }})</span>
17431743
</span>
17441744
<input

i18n/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@
386386
},
387387
"play_animation": "Play animation",
388388
"pause_animation": "Pause animation",
389-
"filters": "Filters",
390-
"average": "Average",
389+
"data_correction": "Data correction",
390+
"average_window": "Average window",
391391
"smoothing": "Smoothing",
392392
"anomalies_fixed": "Anomalies fixed",
393393
"copy_alt": {

i18n/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,10 +1162,10 @@
11621162
"pause_animation": {
11631163
"type": "string"
11641164
},
1165-
"filters": {
1165+
"data_correction": {
11661166
"type": "string"
11671167
},
1168-
"average": {
1168+
"average_window": {
11691169
"type": "string"
11701170
},
11711171
"smoothing": {

lunaria/files/en-GB.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@
385385
},
386386
"play_animation": "Play animation",
387387
"pause_animation": "Pause animation",
388-
"filters": "Filters",
389-
"average": "Average",
388+
"data_correction": "Data correction",
389+
"average_window": "Average window",
390390
"smoothing": "Smoothing",
391391
"anomalies_fixed": "Anomalies fixed",
392392
"copy_alt": {

lunaria/files/en-US.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@
385385
},
386386
"play_animation": "Play animation",
387387
"pause_animation": "Pause animation",
388-
"filters": "Filters",
389-
"average": "Average",
388+
"data_correction": "Data correction",
389+
"average_window": "Average window",
390390
"smoothing": "Smoothing",
391391
"anomalies_fixed": "Anomalies fixed",
392392
"copy_alt": {

0 commit comments

Comments
 (0)