Repository navigation
fix(notificări): acord corect pentru numărul de ore (#712) - #714
Merged
Merged
Conversation
Push-urile și emailurile pentru ore aprobate/respinse foloseau mereu pluralul („1 ore … au fost respinse”). Acum: „1 oră … a fost aprobată / respinsă”, „5 ore … au fost aprobate”, „20 de ore …” („de” de la 20, mai puțin când ultimele două cifre sunt 01-19), „1,5 ore”; în email „O găsești” la o oră. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rezolvă #712.
Problema
Push-ul (și emailul) pentru ore aprobate/respinse folosea mereu pluralul: „1 ore de voluntariat din 17/11/2026 au fost respinse”. Văzut pe iPhone la testul de pe staging.
Schimbarea
NOTIFICATIONS.APPROVED_HOURS/REJECTED_HOURS(push + email) urmează numărul:Subiectele emailurilor („Orele tale de voluntariat la … au fost aprobate”) rămân la plural, sunt generale.
Testat
notifications.spec.ts(4 teste); 3 pică fără fix. Unit backend: 378/378.volunteer-activities(4 ore, plural): 13/13, neschimbat.🤖 Generated with Claude Code