@@ -84,13 +84,6 @@ function downloadIcs() {
8484 a .click ()
8585 URL .revokeObjectURL (url )
8686}
87-
88- const stats = {
89- weeks: ' 3' ,
90- contributors: ' 160+' ,
91- commits: ' 1.1k+' ,
92- pr: ' 900+' ,
93- }
9487 </script >
9588
9689<template >
@@ -125,13 +118,15 @@ const stats = {
125118 class =" text-fg-muted text-lg sm:text-xl"
126119 >
127120 <template #weeks >
128- {{ $t('vacations.stats.subtitle.weeks', [stats.weeks] ) }}
121+ {{ $t('vacations.stats.subtitle.weeks') }}
129122 </template >
130123 <template #contributors >
131- {{ $t('vacations.stats.subtitle.contributors', [stats.contributors]) }}
124+ {{
125+ $t('vacations.stats.subtitle.contributors', [$t('vacations.stats.contributors_text')])
126+ }}
132127 </template >
133128 <template #commits >
134- {{ $t('vacations.stats.subtitle.commits', [stats.commits ]) }}
129+ {{ $t('vacations.stats.subtitle.commits', [$t('vacations. stats.commits_text') ]) }}
135130 </template >
136131 <template #npmx >
137132 <strong >npmx</strong >
@@ -144,20 +139,24 @@ const stats = {
144139 >
145140 <div class =" space-y-1 text-center" >
146141 <div class =" font-mono text-2xl sm:text-3xl font-bold text-fg" >
147- {{ stats.contributors }}
142+ {{ $t('vacations. stats.contributors_text') }}
148143 </div >
149144 <div class =" text-xs sm:text-sm text-fg-subtle uppercase tracking-wider" >
150145 {{ $t('vacations.stats.contributors') }}
151146 </div >
152147 </div >
153148 <div class =" space-y-1 text-center" >
154- <div class =" font-mono text-2xl sm:text-3xl font-bold text-fg" >{{ stats.commits }}</div >
149+ <div class =" font-mono text-2xl sm:text-3xl font-bold text-fg" >
150+ {{ $t('vacations.stats.commits_text') }}
151+ </div >
155152 <div class =" text-xs sm:text-sm text-fg-subtle uppercase tracking-wider" >
156153 {{ $t('vacations.stats.commits') }}
157154 </div >
158155 </div >
159156 <div class =" space-y-1 text-center" >
160- <div class =" font-mono text-2xl sm:text-3xl font-bold text-fg" >{{ stats.pr }}</div >
157+ <div class =" font-mono text-2xl sm:text-3xl font-bold text-fg" >
158+ {{ $t('vacations.stats.pr_text') }}
159+ </div >
161160 <div class =" text-xs sm:text-sm text-fg-subtle uppercase tracking-wider" >
162161 {{ $t('vacations.stats.pr') }}
163162 </div >
0 commit comments