File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -242,13 +242,13 @@ function generateCard(array $stats, array $params = null): string
242
242
}
243
243
244
244
// if the translations contain a newline, split the text into two tspan elements
245
- $ totalContributionsText = splitLines ($ localeTranslations ["Total Contributions " ], 24 , -9 );
245
+ $ totalContributionsText = splitLines ($ localeTranslations ["Total Contributions " ], 22 , -9 );
246
246
if ($ stats ["mode " ] === "weekly " ) {
247
247
$ currentStreakText = splitLines ($ localeTranslations ["Week Streak " ], 22 , -9 );
248
- $ longestStreakText = splitLines ($ localeTranslations ["Longest Week Streak " ], 24 , -9 );
248
+ $ longestStreakText = splitLines ($ localeTranslations ["Longest Week Streak " ], 22 , -9 );
249
249
} else {
250
250
$ currentStreakText = splitLines ($ localeTranslations ["Current Streak " ], 22 , -9 );
251
- $ longestStreakText = splitLines ($ localeTranslations ["Longest Streak " ], 24 , -9 );
251
+ $ longestStreakText = splitLines ($ localeTranslations ["Longest Streak " ], 22 , -9 );
252
252
}
253
253
254
254
// if the ranges contain over 28 characters, split the text into two tspan elements
You can’t perform that action at this time.
0 commit comments