-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security] Add missing French translations for logging throttling #40889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security] Add missing French translations for logging throttling #40889
Conversation
Q | A |
---|---|
Branch? | 5.2 |
Bug fix? | no |
New feature? | no |
Deprecations? | no |
Tickets | Fix #40863 (at least for French) |
License | MIT |
Doc PR | N/A |
* 5.1: Changed private static array-properties to const static properties newly introduced in 5.1
static properties newly introduced in 5.2
…simonberger) This PR was merged into the 5.2 branch. Discussion ---------- Changed private static array-properties to const (5.2) | Q | A | ------------- | --- | Branch? | 5.2 | Bug fix? | no | New feature? | no | Deprecations? | no | License | MIT This continues #39959 for 5.2 Just two array-properties and a string property in one class newly added. /cc @nicolas-grekas Commits ------- a5fd0c4 Changed private static array-properties to const static properties newly introduced in 5.2
This PR was merged into the 5.1 branch. Discussion ---------- Fix typo in test | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Commits ------- 79c9a1a Fix typo in test
* 5.1: Fix typo in test
… constraints (xabbuh) This PR was merged into the 5.1 branch. Discussion ---------- [Validator] propagate the object being validated to nested constraints | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #39145 | License | MIT | Doc PR | Commits ------- 8c1bac9 propagate the object being validated to sub-constraints
…yPointsPass (chalasr) This PR was merged into the 5.2 branch. Discussion ---------- [SecurityBundle] Fix referencing aliases from RegisterEntryPointsPass | Q | A | ------------- | --- | Branch? | 5.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | #39881 | License | MIT | Doc PR | - Resolving child definitions' classes in this pass unlocks registering it as `TYPE_BEFORE_OPTIMIZATION`, and get rid of the issue reported in #39881. The parent class resolution logic was borrowed from an existing pass (RegisterEventListenersAndSubscribersPass), that makes it the best solution I can think of. Commits ------- 8dcc3d6 [SecurityBundle] Fix referencing aliases from RegisterEntryPointPass
* 4.4: Fix transient tests Fix class resolution in Doctrine EventListenerPass [Serializer] Fix tests marked as incomplete [Translator] fix handling plural for floating numbers fix redis messenger options with dsn Update ConsoleEvents.php allow Doctrine persistence 2 too [Messenger] Fix transporting non-UTF8 payloads by encoding them using base 64 add doctrine/persistence as a dev requirement Exclude non-initialized properties accessed with getters
* 5.1: Fix transient tests Fix class resolution in Doctrine EventListenerPass [Serializer] Fix tests marked as incomplete propagate the object being validated to sub-constraints [Translator] fix handling plural for floating numbers fix redis messenger options with dsn Update ConsoleEvents.php allow Doctrine persistence 2 too [Messenger] Fix transporting non-UTF8 payloads by encoding them using base 64 add doctrine/persistence as a dev requirement Exclude non-initialized properties accessed with getters
* 4.4: Use createMock() and use import instead of FQCN
* 5.1: Use createMock() and use import instead of FQCN
This PR was merged into the 5.1 branch. Discussion ---------- [FrameworkBundle] add missing use statement | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- cfab105 add missing use statement
* 5.1: add missing use statement
* 5.1: Fix merge
* 5.1: Fix merge
* 5.1: More cleanups and fixes
This PR was merged into the 5.1 branch. Discussion ---------- Use import instead of FQCN | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | --- | License | MIT | Doc PR | --- Commits ------- b2fee7a Use import instead of FQCN
* 5.1: Use import instead of FQCN
…e service is private
…Noop when the service is private (fancyweb) This PR was merged into the 5.2 branch. Discussion ---------- [DependencyInjection] [AliasDeprecatedPublicServicesPass] Noop when the service is private | Q | A | ------------- | --- | Branch? | 5.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - If the service is already private, I think we can just ignore the tag and do nothing. Moreover, when we deprecate a public service, if an user already sets its definition to private, it will be transparent instead of throwing. Commits ------- 00048a9 [DependencyInjection][AliasDeprecatedPublicServicesPass] Noop when the service is private
@@ -70,6 +70,14 @@ | |||
<source>Invalid or expired login link.</source> | |||
<target>Invalid or expired login link.</target> | |||
</trans-unit> | |||
<trans-unit id="19"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the only difference between the two message is the singular/plural "minutes" ... shouldn't we use the pluralization feature of translation messages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the error message comes from here: https://github.com/symfony/symfony/blob/v5.3.0-BETA1/src/Symfony/Component/Security/Core/Exception/TooManyLoginAttemptsAuthenticationException.php#L44
So maybe it would require updating the Exception first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we should fix the message key. See my
8000
comment on the issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We usually add missing translations to the 4.4 branch, so we don't have to deal with merge conflicts on translation files. Also, as commented on the issue, we should fix the message key first.
Sorry for the confusion. We will leave the message keys as they are. Nevertheless, please target the 4.4 branch. |
As this PR was automatically closed somehow (maybe by the force-push, I'm not sure) I opened #41003 that targets 4.4 branch as asked. |
…hrottling (jmsche) This PR was merged into the 4.4 branch. Discussion ---------- [Security] Add missing French translations for logging throttling | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Fix #40863 (at least for French) | License | MIT | Doc PR | N/A Note: this PR replaces #40889 as somehow force-push closed the other PR. Also this one targets 4.4 branch directly :) Commits ------- b64efd2 [Security] Add missing French translations for logging throttling