Reapply photobooth uploader changes after sync

This commit is contained in:
Codex Agent
2026-01-12 17:10:47 +01:00
parent 7a205b11ec
commit dc5e5181b6
55 changed files with 2974 additions and 190 deletions

View File

@@ -138,6 +138,12 @@ const formatLimitWithRemaining = (limit: number | null, remaining: number | null
if (remaining !== null && remaining >= 0) {
const normalizedRemaining = Number.isFinite(remaining) ? Math.max(0, Math.round(remaining)) : remaining;
if (normalizedRemaining > limit) {
return t('mobileBilling.usage.remaining', {
count: normalizedRemaining,
defaultValue: 'Remaining {{count}}',
});
}
return t('mobileBilling.usage.remainingOf', {
remaining: normalizedRemaining,
limit,